Questions tagged [odf]

The Open Document Format for Office Applications, also known as OpenDocument.

The Open Document Format for Office Applications (ODF), also known as OpenDocument (OD), is an XML-based file format for spreadsheets, charts, presentations and word processing documents. It was developed with the aim of providing a universal document format that could be used with any office software suite.

111 questions
3
votes
1 answer

ODF Toolkit-Casting Problem

I am developing a webservice to create an odt document with odf toolkit. I did use below code to create a new document but i am getting an casting error. What o you think about it? How can i create formatted(colored etc) text? Thanks My Code Just …
Güngör Basa
  • 628
  • 2
  • 9
  • 27
3
votes
1 answer

Write ODF Spreadsheet documents with ODFDOM Java API

I want to update an old program from Java 8 to Java 15 with modules and therefore I rewrite and update a lot of code. Everything works fine until the update of the library to write spreadsheet documents. In the old version, I used the org.odftoolkit…
3
votes
2 answers

Does anyone use AODL in a real application?

We are currently using the Excel interop API in .NET to generate simple spreadsheet documents from a template. So we load the template first, insert some rows, fill in some data (dates, text, and numbers), and make Excel visible so that the user can…
HyperQuantum
  • 1,532
  • 1
  • 10
  • 12
3
votes
2 answers

Open *.doc files in LibreOffice and Microsoft Word using python 3.6

Hello community! I got quite hard question (at least i think so), my client uses Microsoft Word documents (I omit the naming of those files, many of them have silly names e.g. "ść ..doc"), is it possible to open those documents under e.g. Eclipse…
Eldiane
  • 43
  • 5
3
votes
1 answer

the line that cause odfWeave-generated odt file to be considered as corrupted

I have tried odfWeave a bit, nice app. But at the very beginning, even I tried exactly as the example provided in the manual, I can't generate any file. I have searched a bit inside the odt file and found a statement inside the content.xml cause the…
lokheart
  • 23,743
  • 39
  • 98
  • 169
3
votes
1 answer

Testing WebOdf Collaborative editor on localServer

I am trying to add document editor support in my website. I found Opensource WebODF and tried to test it on my local server. The git repository ReadMe gives instructions on how to add Odf viewer support. I was able to test the localeditor. Can some…
user3296385
  • 121
  • 1
  • 4
3
votes
0 answers

View ODF file on a website

Good Day, I have created an .ods file. How can i view the whole spreadsheet on my website? I have searched for odf-php, WebODF and a few other but i dont know how to implement it. I'm creating a custom website and I want users to view the .ods file…
user3426235
  • 61
  • 1
  • 3
3
votes
1 answer

ODF Toolkit: Get string value from cell without the comment from ods or odf dodument

ODF Toolkit provides the method getStringValue() to get the cell string content. If the cell has or even had a comment the getStringValue() returns the existing or former existing comment + the cell content. Cell cell =…
3
votes
3 answers

How to identify an ODF file?

I need to be able to identify that a given file is an ODF file based on the contents of the file, and not on the file's extension. ODF files are really a collection of XML files in a zip container, which means that I cannot use the file's magic…
jwaddell
  • 1,892
  • 1
  • 23
  • 32
3
votes
3 answers

Leaky java library slowly takes all memory, no OutOfMemoryException is thrown, workarounds?

I am using java odftoolkit library (simple-odf-0.6.6) for odf document manipulations. We iterate all documents in the loop : TextDocument textdoc = TextDocument.loadDocument(odtFileName); . changing content of…
Martin V.
  • 3,560
  • 6
  • 31
  • 47
2
votes
1 answer

OOXML\ODF libraries

I want to create a .NET application, which would allow me to perform semantic markup of OOXML (Custom XML Part and ContentControls) and ODF (RDF metadata) documents. I am looking for suitable libraries. For OOXML, the ideal choice is Open XML SDK…
Tenere
  • 361
  • 5
  • 11
2
votes
2 answers

Convert ODT to single XML file

I know that standards define two versions of ODT file: - one is a archive of different files, i.e. meta.xml, content.xml etc, - second is one big XML file with all the data. (I know above from…
WojtusJ
  • 1,318
  • 1
  • 12
  • 19
2
votes
1 answer

Is it possible to build a LibreOffice document from code similar to the way a web page is built from HTML and CSS?

Is it possible to build a LibreOffice document from code similar to the way a web page is built from HTML and CSS? Can one write an ODF file in which the content and styling are separate, and then/view open in LibreOffice? If so, can one write the…
Gary
  • 2,393
  • 12
  • 31
2
votes
2 answers

Editing `ods` file in C++ code

I need to edit LibreOffice Calc document programmatically in C++. I know that there is odfkit library, which uses webodf, but it looks like it doesn't support editing .ods files. Is there any alternative that can deliver me this feature?
Krzysztof Stanisławek
  • 1,267
  • 4
  • 13
  • 27
2
votes
4 answers

Possible to output to .doc format using Qt?

I am writing a program using Qt. I want it to output to .doc to preserve formatting, but all that is supported by Qt are plain text, ODF, and HTML formats. ODF and HTML will preserve the formatting, but then I would have to copy and paste this to a…
Aaron McKellar
  • 627
  • 4
  • 10
  • 20