Paste external text as a whole row while in Author mode

Post here questions and problems related to editing and publishing DITA content.
Tygopit
Posts: 27
Joined: Fri Nov 27, 2020 12:08 pm

Paste external text as a whole row while in Author mode

Post by Tygopit »

Hi,
When editing tables in Author mode: Is there any possibility to insert an external string of text into a DITA table as a well formatted row?

Ragards
Piotr
Radu
Posts: 9473
Joined: Fri Jul 09, 2004 5:18 pm

Re: Paste external text as a whole row while in Author mode

Post by Radu »

Hi Piotr,
Maybe you can elaborate on the question a bit.
We have a "Paste as XML" contextual menu action which would take a plain string from the clipboard and if it has XML tags would interpret them accordingly.
We also have a smart paste feature which automatically converts to DITA XML on paste an HTML flavored content set in the clipboard.
https://www.oxygenxml.com/doc/versions/ ... pport.html
One can also create their own Java or Javascript based AuthorOperation which may read the clipboard and use our APIs to insert content.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Tygopit
Posts: 27
Joined: Fri Nov 27, 2020 12:08 pm

Re: Paste external text as a whole row while in Author mode

Post by Tygopit »

Hi Radu,
Thank you for your response.
You are right; my description of the problem was far too vague. However, I appreciate you pointing me towards JavaScript-based plugins. I had completely forgotten about them.
To briefly explain, I was looking for a solution to extract data (either manually or automatically) from a document in Text mode, perform some modifications, calculations, and conversions, and then paste the results into a table in Author mode.
While handling all these actions in a JavaScript plugin is a bit beyond my skills, I have managed to create a custom action executed on a local LLM engine running on my workstation. A plugin might still save me some copy and paste operations, but the AI excels at searching for data in Text mode. ;-)

Best regards,
Piotr
Radu
Posts: 9473
Joined: Fri Jul 09, 2004 5:18 pm

Re: Paste external text as a whole row while in Author mode

Post by Radu »

Hello Piotr,
Sure, we also have an AI Positron Enterprise add-on which can connect using the OpenAI APIs to a LLM server if at some point you want a closer integration with custom AI actions run directly inside Oxygen.
https://blog.oxygenxml.com/topics/ai_positron.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply