Hi,
Shreyas Ganesh schrieb:
Hi,
I have a word document which I have converted to ODT format, using java
converter api (jodconverter).
I want to retrieve the text, from content.xml and also the positional
information of the different words in the document.
I am able to retrieve the text but the coordinates of the words are not
directly available.

The position depends on the output device, you can get the position of your XTextRanges by jumping to them with the XViewCursor.
The cursor gives you the x,y coordinates and the page number (XPageCursor).

Peter


I do see that svg information gives me some positional information, but I do
not see this information in all documents. Could you please explain why?

Also I heard that the x and y coordinates of various keywords in the odt
document could be retrieved from the rendering engine. I wanted to know how
to get started on this.
Could you please point me to some links on how to do this? Or are there any
api available for this?

Thanks in advance,
Shreyas




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to