
Hi Andreas, We added in the latest version of Oxygen (Oxygen 17.0) support to open a file at a certain line and/or column:
http://www.oxygenxml.com/doc/ug-oxygen/#topics/opening-document-from-cli.htm...
There would be other two possibilities (besides using our Java API from a plugin): 1) Integrate the external tool as an external validator, an external validator can return messages with a particular format which will be displayed by Oxygen as a list of links:
http://www.oxygenxml.com/doc/ug-oxygen/#topics/linked-output-messages-of-ext...
2) The external tool could produce an HTML document with a table of links like:
<a href="samples/personal.xml#line=4"/>
You could save that HTML document somewhere, open it in Oxygen in the Author editing mode and click links in order to open the file in Oxygen at that specific line. So you would no longer need to call the Oxygen main executable with a parameter. Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 5/12/2015 3:50 PM, Andreas Wagner wrote:
Hi list,
we are currently exploring ways to establish a semi-automatic workflow for post-digitization tasks with TEI files. An external tool will generate lists of unknown words along with a value that uniquely identifies the line that the respective word is in, so I would like to be able to make oxygen go to the relevant line easily while still working in that list. (I am currently thinking along the lines of hyperlinks, or office macros in the list/spreadsheet.)
Can I pass an action like "open file xy and go to line number yz" or "open file xy and search for string 'yz'" to oxygen as a commandline option (like 'vim +yz xy' or 'vim +/yz xy')?
Of course I am also open to alternative approaches, although I suppose coding an oXygen plugin in java for that purpose surpasses my abilities.
Thanks for any pointers,
Andreas
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user