Questions tagged [odt]

.ODT, the word processing file format of OpenDocument, an open standard for electronic documents

217 questions
2
votes
1 answer

ASP window.open file ODT

I have some problems with a function window.open('url'). My variable "url" focus on a ODT file and when i try to open this file with a web browser (http://localhost//../test.odt), I have "HTTP 404 PAGE NOT FOUND". I have already tried with diferent…
Deos
  • 55
  • 2
  • 9
2
votes
1 answer

Internal links broken when exporting from org mode to markdown and odt

Edit : source example shortened and outputs provided When exporting from org-mode, the internal links are okay for latex or html export but are broken for markdown (and odt as well but that's not my main purpose). For instance, the following .org…
Denis Bitouzé
  • 520
  • 6
  • 18
2
votes
1 answer

ParseException: Encountered "/" content.xml for list type

I was trying to generate a PDF from an existing ODT template with list fields. My ODT template looks like the following. And I have a method to get ByteArrayOutputStream object for further processing. public ByteArrayOutputStream…
Philip John
  • 5,275
  • 10
  • 43
  • 68
2
votes
1 answer

How to count characters with spaces in docx/odt(rtf) files?

is there any way how to online (meaning as part of upload form, so in php/javasctipt) get number of characters with spaces of document saved in DOCX and ODT (and RTF if possible)? I mean, to get same character count as shown in Words statistics? I…
Karolína Vyskočilová
  • 1,305
  • 1
  • 18
  • 29
2
votes
1 answer

Editing a .odt File using python

First off i must say i am VERY new to programming (less then a week experience in total). I set out to write a program that generates a series of documents of an .odt template. I want to use a template with a specific keyword lets say "X1234X" and…
Inesophet
  • 61
  • 1
  • 6
2
votes
1 answer

LibreOffice commandline convert with template

I have a little app to convert a HTML file to ODT, with the soffice command line. I want to add a template to conversion. Is that possible? I tried with -n template.ott (from man libreoffice) but not work. The template.ott is a simple template with…
jotapdiez
  • 1,456
  • 13
  • 28
2
votes
1 answer

What is the best way to load XML from a byte array or string with a document specification, as obtained from an OpenDocument ODT file?

(NB: the original question title was: What is the best way to load XML from a string with a document specification?) I need to get the XML content from an ODT opendocument (LibreOffice) file in an XmlDocument object. The ODT is a zip archive and I…
Roland
  • 4,619
  • 7
  • 49
  • 81
2
votes
1 answer

How to set page margins for ODT export in org-mode?

I think the margins in the .odt documents I export with Emacs and org-mode are too big. How can I change them? Is there a special #+OPTION that org-mode provides for this? Thank you.
zobi8225
  • 2,258
  • 4
  • 20
  • 20
2
votes
1 answer

Colored horizontal lines in ODT template for Pandoc

I'm trying to draw a coloured horizontal line at the beginning of an ODT file (OpenDocumentText for LibreOffice/OpenOffice) obtained by conversion from a md (Markdown text) file by using pandoc. First I get the default template: pandoc -D odt >…
Stéphane Laurent
  • 75,186
  • 15
  • 119
  • 225
2
votes
3 answers

Oracle Data Tools (ODT) - schema compare

We are wanting to source control our Oracle Schema - as we have a number of SQL Server databases on our estate we would like to use a common tool - for the SQL Server databases we use Visual Studio 2010 / dbpro which nicely source controls each…
Travis Ingram
  • 387
  • 5
  • 21
2
votes
1 answer

Libraries for .odt formatting

Are there any C/C++ libraries available that can be used in creating, loading and saving files in .odt-format? Alternatively, where can I find tutorial-like information on implementing .odt(/ODF) specifications?
slashmais
  • 7,069
  • 9
  • 54
  • 80
2
votes
1 answer

How to print OpenDocument Text using OdfToolkit?

Can I print a ODF text document using OdfToolkit? Or is there a open source lib that provide this usability? I can't find any. Target machine must not have installed Open/Libre Office. Alternatively how to print files using installed Open/Libre…
kbec
  • 3,415
  • 3
  • 27
  • 42
2
votes
0 answers

JODReports fill in table in .odt file from list in xml

I'm working with JODReports and I have to fill in a table in odt file from given xml. In other words I have to prepare odt template file. Hopefully someone's familiar with jodreports here and could help me out... Here's my xml:
maybemabe
  • 33
  • 2
  • 6
1
vote
1 answer

Extract fields from ODT document using Java library

I need to use a Java library - or code - to extract field tags from the content of an ODT document. I know odt is some sort of zipped file and it has its contents ina a content.xml file. Of course I could just extract the files, open content.xml and…
dannyxyz22
  • 978
  • 9
  • 18
1
vote
1 answer

Reading word file and saving it as odt

I have downloaded ODFToolkit, and I don't have to setup OpenOffice. I can create odt file as following. And my question is - May I read .doc and .docx files and save them as .odt ? Could you help me please? Here is the code: import…
serdar
  • 337
  • 1
  • 2
  • 9