Uncertain where to start to fill your gap of knowledge. You know you can rename the ODT file with an ZIP suffix to unpack the XML content? Try it and take a look at the content.xml. You might access the XML via the ODF Toolkit. If you need high level components as represented in an HTML editor, you might want to read the OASIS mail reference I posted before: https://lists.oasis-open.org/archives/office-collab/201507/msg00003.html There had been a fork, where the operations had been implemented, I have attached previously.
Hope I could help, Svante On Sun, Jan 31, 2016 at 2:25 PM, Ritesh Kapoor < [email protected]> wrote: > Apologies. I could not understand how to just parse file using odftoolkit > and to just print the odf file structure to console. In case of formula i > would just want the XML contents. Again apologies if there is a gap in my > understanding. > > Thanks and Regards > On 31-Jan-2016 5:34 PM, "Svante Schubert" <[email protected]> > wrote: > >> Hi, >> >> I guess some of what you are requiring was already done. >> I have worked in the past years to split the ODF XML files into an >> equivalent of a sequence of document changes of user known object, I call >> components such as table, image, character, etc. >> >> The advantage is to be able to dispatch for collaboration only the new >> changes instead a complete edited document. Sending a document means >> letting the other side find out what the change had been with heuristics. >> In addition the merge of new changes would only rely on the amount of >> changes and is independent of the size of the document. >> Tried to summarize the concept once on a hand of pages, you may find here >> >> https://dl.dropboxusercontent.com/u/49473263/ACM-WorkInProgress-Interoperable-Document-Collaboration-final.pdf >> >> In addition I tried - and still trying - to standardize these changes for >> ODF at OASIS, I am the chair of the subcommittee of Advanced Document >> Collaboration, see >> https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=office-collab >> >> I mentioned my work earlier on the OASIS list here >> https://lists.oasis-open.org/archives/office-collab/201507/msg00003.html >> >> I have a version of your document as changes attached. but from a quick >> view I guess the formula is not implemented, yet. >> >> Regards, >> Svante >> >> PS: I will be on a short trip with the kids till mid of next week, my >> responses might be quite delayed.. >> >> On Sun, Jan 31, 2016 at 7:44 AM, Ritesh Kapoor < >> [email protected]> wrote: >> >>> Hi >>> I'm new to the community. I would be very thankful if someone could help >>> me with parsing attached file. I'm writing custom odf to html converter. (I >>> don't want to use any direct odf to html converter library) >>> >>> Thanks and Regards >>> >> >>
