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
0 answers

How can I find a replace a string in an .odt file in Python and output it to another .odt file?

Let's say I have an .odt file called "myfile.odt" in a specific directory (that's not the current working directory) and I want to replace "astring" by "anewstring", then export the modified file into a new .odt file in the current directory. How…
Michael Gauthier
  • 135
  • 1
  • 10
1
vote
1 answer

How to save base64 images in ODT opendocument/ODT files?

I am trying to create an ODT file from xml. I have been trying to add an image using , it is a base64 image. After trying to do as it is told in documentation, the image is not displayed in text editors (Word and…
1
vote
0 answers

How to merge multiple ODP (Open Document Presentation) files into a single ODP?

I'm doing some modular presentations divided into several sections. Each section have it own file. At the moment when I prepare a presentation I copy manually each section onto a new file. What I'm looking for is a way to automat the…
Angel115
  • 2,135
  • 1
  • 17
  • 20
1
vote
3 answers

Relationship between standards DocBook DITA OpenDocument and CMIS, MoReq2

Can anybody explain /for dummies :)/ relationship between these (mostly oasis) standards? DocBook, DITA, OpenDocument CMIS MoReq2 As i understand yet: DITA, DocBook and OpenDocument - are standards for file formats of documents CMIS is something…
kobame
  • 5,766
  • 3
  • 31
  • 62
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
2 answers

How to pass multiple parameters in an open doc URL for a webi report in repository?

I want to pass multiple parameters like year, month, week, etc., to a webi report in repository. How can I achieve this? Thanks
TKV
  • 2,533
  • 11
  • 43
  • 56
1
vote
2 answers

How to export in ODT in org-mode?

When using org-mode, I would like to be able to save my org file (called here pad.org) in a ODT format. Here is what I have when trying save the file pad.org, Auto-saving...done org-babel-exp process python at position 2716... Evaluate this python…
jchopin
  • 13
  • 4
1
vote
1 answer

Simple ODT in Android Studio

I would like to try to create an OpenDocument with my Android app. I've already added the simple-odf-0.8.2-incubating-jar-with-dependencies, but I get an error. Are there other methods to recommend or tips? 07-10 20:49:11.024…
Karolis D.
  • 47
  • 4
1
vote
1 answer

OpenDocument format: parse & split text by lines

I'm parsing (using Groovy) the content.xml obtained from an LibreOffice .odt (Writer) file. I want to make sure I hoover up all the text in the file, splitting by line breaks. In Java's org.w3c.dom.Node (or Groovy's groovy.util.Node) there is a…
mike rodent
  • 14,126
  • 11
  • 103
  • 157
1
vote
1 answer

Extracting structural data from ODP or ODF files

I'm trying to extract the information hierarchy within ODP (OpenDocument Presentation) files : Titles, subtitles, body text... Do you know any tool or technique that would do the job? Else, is there a mean to parse those ODP documents in order to…
1
vote
1 answer

How to store open documents (.docx, .vsdx, ...) on Git?

I would like to store Microsoft Visio 2013 diagrams on my Git repository. These diagrams are later converted into SVG and PDF for the software documentation built with Sphinx. Unfortunately, the open-documents files are binary files (in fact they…
nowox
  • 25,978
  • 39
  • 143
  • 293
1
vote
1 answer

OpenDocument used from BI launchpad does not access current user session

Issue: A Dashboard (created in SAP Dashboards) has URL Buttons set up with OpenDocument URLs as links. When this ‘landing page dashboard’ is opened from the BI Launchpad (whether it’s saved as your default/home page or accessed directly from…
1
vote
2 answers

How to generate ODF charts with Perl

How to create Open Document Format spreadsheet with charts using Perl?
1
vote
1 answer

Setting style on a paragraph using ODF toolkit

I'm trying to generate a well structured OpenDocument Text file with Apache's ODF tookit. I hope to achieve this by using styles for different portions of data. So I generated a template file that contains all of the styles I wish to use. My next…
StanB123
  • 477
  • 5
  • 14
1
vote
2 answers

exporting mysql data to ODF with php

I would like to know if someone triend exporting data from MySQL to an ODF format ? Any information / documentation would be very much appreciated. I am going to try to export a MySQL result set to ODF spreadsheet if possible.
user18383
  • 551
  • 3
  • 8
  • 12