How to use XMultiPropertySet interface (API) to read a text in which different properties are used in the text? [closed]

asked 2013-04-22 07:56:34 +0200

SNM90 gravatar image

updated 2015-10-04 18:52:57 +0200

Alex Kemp gravatar image

I'm using LibreOffice 4.0.1 SDK, and while trying to run a program using the API as mentioned in the question, I'm not able to figure out how to read text from a .odt file with properties. Using XTextViewCursorSupplier and XTextViewCursor, I'm able to read the text individually as lines rather than a block of text as achieved through xTextDocument->gettext(). But I'm not able to use this interface for accessing the multiple properties in that text file. Using XPropertySet, I'm able to achieve this, but that is cumbersome as I have to individually write a line for getting/setting properties. Can anyone help me with this?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2015-10-04 18:53:05.964030