gaqscope.blogg.se

.odt file format messed up
.odt file format messed up






.odt file format messed up

but I want to keep it as simple as possible.

.odt file format messed up

I'm aware that there are various add-ins and things you can use (UNO). Zipfile.writestr( zip_info, document_root.toxml() ) mess around with the contents DOM document.

.odt file format messed up

If ( zip_info.filename = "content.xml" ): zipfile = ZipFile( file_path, "a" )Ĭontents = zipfile.read( zip_info.filename ) strangely, both these (if unzipped as "content.xml" and "content_1.xml" for example) seem to contain the content as modified. What might be wrong with this? If I try this I get 2 content.xmls in the zip file (ODT file). I like the fact CafeTran accepts ODF files, and allows/supports the use of OO/LO in various ways (unless I am mistaken, export as ODT for bilingual review is lacking, but hardly an issue because the resulting DOCX can be opened in LibreOffice - the issue is with documents that you can't save as DOCX without loosing some formatting/layout, and they are more common than you might think).Īt least my own use certainly defies the preponderance of MS Office, although I keep a copy handy for when it's absolutely necessary.I want to do a very simple bit of manipulation of a LibreOffice Writer document.

.odt file format messed up

However, I'm also using LibreOffice extensively for other translation related tasks: saving OCRed documents as ODT, working on literary translations, Free Software localization, CV and other business documents. In my line of work, I have received ODT files from some French clients in the past, although I admit DOCX is the majority for sure, in business environment. This is to be expected because ODF is an Open Standard and not a closed format.Īnd being an Open Standard, I guess it may be easier to implement such a filter than it might have been for Word DOCX. OpenDocument is an accepted, recommended, adopted or even required file format (sometimes along with Linux as you said, see ) by several governmental and other organizations across the world.įor example, according to French government's RGI (general interoperability framework), ODF is the "recommended format for office documents within French administrations".








.odt file format messed up