Questions tagged [opendocument]

opendocument is intended for questions related to one of the XML file formats defined in the Open Document Format for Office Applications specifications.

opendocument is an ISO standard which encompases three file formats:

  • .odt (word processor documents)
  • .ods (spreadsheet documents)
  • .odp (presentation documents)

These formats are defined by the following specifications:

  • ODF 1.0
  • ODF 1.0 (Second Edition)
  • ODF 1.1
  • ODF 1.2
  • ODF 1.3 (In Development)

Apache OpenOffice is the reference implementation.

References

88 questions
1
vote
1 answer

An ODS document created with jOpenDocument cannot be opened Google Docs

I am trying to use the jOpenDocument library to create documents. I have executed the example where it creates a spreadsheet - the code compiles and runs OK but when I tried to open the document with Excel Office 2012 or with Google Docs they…
dlopezgonzalez
  • 4,217
  • 5
  • 31
  • 42
1
vote
0 answers

How is the versatile 2010 OpenDocument Text format (.odt) different from the easily damaged 2012 ODT one?

As you probably know, an .odt file is just a .zip file containing some folders and .xml files. I used to appreciate this, for I could make a document template using $KEYWORDS$ that I could later replace using a script (e.g. PHP) to replace these…
Redsandro
  • 11,060
  • 13
  • 76
  • 106
1
vote
2 answers

How to pass parameter value containing parentheses via URL

I am trying to pass a parameter value via the URL and it works for most values unless the value contains parenthesis. I have tried the backslash () to escape them but it doesn't appear to work. Here is the…
1
vote
4 answers

When using ZipOutputStream to create an ODT file in java fails to open in OpenOffice

I have the following method to add zip entries to a ZipOutputStream: private void addFile(String filename, byte[] bytes, ZipOutputStream zos, boolean encrypt) throws IOException { ZipEntry entry = new ZipEntry(filename); if…
0
votes
1 answer

Add Section to OpenDocument Text file with ODFpy

I am using Python2.7 and ODFpy to write an OpenDocument Text (ODT) file. Is there a way using the existing ODFpy API to add sections (a la Format->Sections...) to the document? Is there a way to import them from another document and then populate…
Keith Pinson
  • 7,835
  • 7
  • 61
  • 104
0
votes
2 answers

How to install and set up the ODF-DOM API

I am having troubles with the installation and set-up if the odf-toolkit. I tried to follow this instruction but don't understand how to set up the dependencies since some of the instruction-links from the readme-files are gone. Tips or instructions…
HeapUnderStop
  • 378
  • 1
  • 9
0
votes
0 answers

Custom style for a inline reference

Is there a possibility to set a custom OpenDocument style for inline references generated from Markdown in Pandoc? I've tried to use Panflute (following this) but replacing Header with Citation, but it hasn't worked.
MWP
  • 48
  • 8
0
votes
1 answer

How to generrate odt files from templates in Python

I'm working on a Python program that takes in input data from a database and open document templates (either .ott or .odt files directly) with anchors. I would like the program to be able to generate at output .odt files filled with data from the…
ibi0tux
  • 2,481
  • 4
  • 28
  • 49
0
votes
1 answer

How to validate an ODS (LibreOffice Spreadsheet) file?

I'm building a library to create ODS files in TypeScript. For simplicity reasons I'm currently using the "Flat" format (fods file extension, single xml file, not zipped). I'm not an expert in XML but I think it should be possible to validate the…
Florian Wilhelm
  • 600
  • 4
  • 17
0
votes
1 answer

Memory leak using editor Open and close document (Codetools.matlab.desktop.editor)

Programmatically opening and closing files in the Matlab editor results in a memory leak. The following code illustrates the problem: function TestEditorMemoryLeak(filepaths) for i = 1 : numel(filepaths) docobj =…
skm
  • 329
  • 2
  • 9
0
votes
1 answer

How to open a document located on a WebDAV server from a Java applet on MAC OS X?

I need to open a document for editing with associated application on MAC OS X from Java applet. The document is located on a WebDAV server. What command should I use to open a document? Is it necessary to mount a volume first?
IT Hit WebDAV
  • 5,652
  • 12
  • 61
  • 98
0
votes
1 answer

Using $.couch.db("dir").openDoc() to fetch a Json string

Is it possible to fetch a Json string from a couch server using code such as $.couch.db(getDir).openDoc(getDoc, { success: function(data) { console.log(data); var myJson = data.toString(); alert(myJson); }, …
0
votes
1 answer

How to read and process Open Document Spreadsheet (*.ods) files with javascript?

I am able to read and process *.xlsx files using an input element of type file and the library exceljs. Also see example code below. Unfortunately, exceljs does not seem to support open document spreadsheet files *.ods. (The worksheet is…
Stefan
  • 10,010
  • 7
  • 61
  • 117
0
votes
1 answer

ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION - unable to find out why

I'm getting ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION when returning my docx file, however I'm not sure where in my header the error comes from. I've tried my best to remove anything that is dynamic and hardcoded to figure it out, to no…
Meik F
  • 61
  • 1
  • 10
0
votes
0 answers

Cannot open openxml document created with openoffice writer

I am trying to create a docx file that I can open in open office writer with the following code. The app runs and creates the doc, but when I try to open it I get a "general input/output error" message. If I try to open in word it works fine. …