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
2
votes
1 answer

creating ODF files in Java

I have a Java EE web application wherein I need to create an ODF file and fill it with submitted data. How can I create and fill an ODF file using Java? Is there a library to use? I have noticed Apache POI, but I haven't found a well documented way…
mohamed abdelbassat
  • 271
  • 1
  • 3
  • 10
2
votes
1 answer

How can the Page Size, Page Orientation, and Page Margins of an ods Spreadsheet Be Set Using ODFDOM?

The Apache Incubation Project ODFDOM allows users to programmatically read and create various open document format files, including spreadsheets. I am trying to set various print options for a spreadsheet I am creating, using their re-vamped "Simple…
romeara
  • 1,426
  • 1
  • 17
  • 26
2
votes
1 answer

odfWeave error source document containing non-ASCII chars

Getting this error calling ODFWeave on my doc. Pre-processing the contents Sweaving content.Rnw Error: ‘content.Rnw’ is not ASCII and does not declare an encoding I've seen some ways you can add an encoding switch in LaTeX docs "(Sweave…
paulusm
  • 786
  • 6
  • 19
2
votes
4 answers

How to convert OpenOffice ODF files to HTML

I have some ODF files with math formulas and I need to render them...or else the boss will fire me (lol). Please, is there any way to do this ? or they can only be rendered in OpenOffice ?
Wartin
  • 1,965
  • 5
  • 25
  • 40
2
votes
1 answer

MS Word won't read ODF file written with QTextDocumentWriter

I gave a try for QTextDocumentWriter and managed to generate ODF file copy-pasting sample code. The code looked pretty straightforward. But although OpenOffice opens generated document very well, my MS Word 2010 reports an error. If I choose to…
MaksymB
  • 1,267
  • 10
  • 33
1
vote
2 answers

OpenOffice.org API or LibreOffice API?

Which API should I use? Which one is more promising? My main goal is to generate ODF documents. It's important for me to support ODF 1.2. And I want to use C++ and CLI bingings.
Tenere
  • 361
  • 5
  • 11
1
vote
1 answer

C++ library to read a document, created within "Open Office Calc"

I have the file created within "Open Office Calc" which I need to load into my C++ program to generate some game-specific code for which this design file was written. All I need is spreadsheets names, fields data and formulas results. Is there a way…
Slaus
  • 2,086
  • 4
  • 26
  • 41
1
vote
0 answers

Problem with softPageBreaks when reading a odf file with lxml to create a LaTeX file

I have a Google Doc that I want to convert into a LaTeX file while stripping out some content of the Google Doc. Specifically I want to remove all headlines in the Google Doc. I also currently have four-line paragraphs in the Google Doc where each…
Christian
  • 25,249
  • 40
  • 134
  • 225
1
vote
1 answer

Parsing ODF in Python with lxml

I'm trying to parse the content.xml inside a ODF-file. I've read the file into a string and i've got a tree object with lxml.etree: tree = etree.XML(string) But now I need to find every subelement that is text:a OR text:h. I've been told in previous…
Niclas Nilsson
  • 5,691
  • 3
  • 30
  • 43
1
vote
1 answer

While parsing .ods file with pandas using read_excel() (and odf), how to drop comments in cells?

I'm trying to parse .ods files with pandas, using pd.read_excel() function, which uses odf under the hood. The problem I face is simple: some cells have comments, and pandas treat them as if they were some regular content. Here is a basic example ;…
Clej
  • 416
  • 3
  • 13
1
vote
0 answers

How to use version odfdom-java 0.10.0?

I've been studying ODF Toolkit to generate .odt files. This example Creating Text Documents Using ODFDOM runs when I use 0.8.6 version, but fails when I change to the newer version 0.10.0 (or even the 0.9.0). Does anybody there know a site or…
1
vote
2 answers

Add line in Writer (odt) document using odfpy

I am trying to insert an horizontal line in a LibreOffice Writer (odt) document using odfpy. (In Writer: Menu->Insert->Horizontal line) This is my attempt (adapting this example): from odf import opendocument, chart, text, draw drawdoc =…
user3733164
  • 531
  • 4
  • 17
1
vote
3 answers

PHP Html to DOC , XLS and ODF convertor

Hi everybody I'm using CKeditor to edit and generate some reports for my php project. But I need to export the edited texts from CkEditor to Open office and Microsoft word format. So what I need is a class or component which has a function like…
Nil Null
  • 414
  • 5
  • 14
1
vote
1 answer

Is there any handy converter between html odf ooxml and rtf?

Question1 Is there any lib which can convert between OOXML and HTML, I mean OOXML2HTML and HTML2OOXML both. Question2 And is there any lib which can convert between ODF and HTML(ODF2HTML HTML2ODF) Question3 and is there any lib which can convert…
sxingfeng
  • 971
  • 4
  • 15
  • 32
1
vote
1 answer

Is there any method to make ckedit read odf file directly?

I want to build an webOffice platform, which can read odf and save odf. I found ckeditor is really good, however it save files in html, is there any way to let ckeditor read odf and edit odf file directly? Many thanks!
sxingfeng
  • 971
  • 4
  • 15
  • 32