# Questions tagged [odt]

55 questions

0

7

Views

### Updating edmx from VS 2017 showing error (Oracle database)

I am trying to update my edmx file using VS 2017 but each time I click on Update model from database option it is showing me the below error . In my system ODTwithODAC1120320_32bit is installed. I could update the edmx from VS 2010 successfully. Now I have installed ODAC for VS 2017 from link bu...
Arunprasanth K V

2

152

Views

### How to see diffs of ODT files in Bazaar?

By default, bzr diff does not show differences in binary files. However, a large part of ODT (open office, libre office) files contain XML data under the surface. (ODT stores xml data as an archive (zip ?)) Is there a plugin which allows bazaar to look into archives? Or are there any special plugins...
taper

2

326

Views

### Changing backgroundcolor of a table-cell based on its value

I'm using this nice tool pod to generate ODT-Files in my django-application. Is there a way to change the backgroundcolor of a table-cell based on its value?

2

897

Views

### why LibreOffice creates inverse question mark in equation when odt file imported from word doc or docx

I have equation in .docx file is when I save word file to .odt this equation becomes how can avoid this inverse question mark?
sachin pawar

2

192

Views

### Open .odp, .odt, .ods files using WebView

I'm using an UIWebView for viewing .pdf, .txt, .xls, .ppt files. I used webView loadRequest method for viewing these files and its working fine. I need to view files such as .odp, .odt, .ods etc, but its showing only blank page in UIWebView. Is there any effective method for viewing these files usin...
Vishnu Kumar. S

6

8.7k

Views

### Add styling rules in pandoc tables for odt/docx output (table borders)

I'm generating some odt/docx reports via markdown using knitr and pandoc and am now wondering how you'd go about formating tables. Primarily I'm interested in adding rules (at least top, bottom and one below the header, but being able to add arbitrary ones inside the table would be nice too). Runni...
Tilo Wiklund

2

3.9k

Views

### Is there a simple way to write an ODT using Python?

My point is that using either pod (from appy framework, which is a pain to use for me) or the OpenOffice UNO bridge that seems soon to be deprecated, and that requires OOo.org to run while launching my script is not satisfactory at all. Can anyone point me to a neat way to produce a simple yet clean...
MP0

2

5.5k

Views

### Convert ODT to PDF with Openoffice on Windows

I have many .odt files in my Windows system. I would like to convert these files to PDF. I tried that in command line soffice.bin --headless -convert-to pdf:"writer_pdf_Export" c:\MyOdtFile.odt But, It does not work. This method can only open file, does not convert! How can I do this?
esquare

1

203

Views

### Which output format of Libre Office can I use to track the history of my files?

I thought of using the FODT output format for tracking the history of files using Git SCM. But it seems that FODT is quite verbose. For example I generated a file That contains Hello Wordld! I changed the Text to Hello World. Then I checked the diff. I found the expected change: Hello World! became...
Edward

2

2.6k

Views

### Number of pages of a word document with Python

Is there a way to get efficiently the number of pages of a word document (.doc, .docx) with Python ? And for an .odt file ? I want to use this for a web application based on Web2py on Linux. Thank you !
Xavier R.

3

2k

Views

### 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 object, integrates into our CI environment, and assists...
Travis Ingram

6

27.9k

Views

### how to create an odt file programmatically with java?

How can I create an odt (LibreOffice/OpenOffice Writer) file with Java programmatically? A "hello world" example will be sufficient. I looked at the OpenOffice website but the documentation wasn't clear.
baris

1

329

Views

### How to treat uncompressed folder as compressed file?

We all know about tools, 3rd-party or built in to the OS, for treating compressed files as folders. But does anyone know how to do the reverse: trick the OS into thinking that a standard folder containing some files is actually a zipped file? Solutions for Windows, Linux and Mac are sought (though...
textral

1

3.5k

Views

### Using variable images with django-webodt

Is anyone using django-webodt? Looking through the documentation, I can't find anything about using images in a document. I want to insert "variable" images (ImageField) in my ODT document. Is this possible? I'm using the OpenOffice backend.

1

1.3k

Views

### Jasper Reports - Set Document properties (author, title..) in docx, xlsx, odt

Is there any way to set document properties (such as author, title and comment) of docx, xlsx and odt in Jasper Reports from Java? I have a version 3.7.0 of the Jasper Reports.
user2550605

2

58

Views

### Completing Paragraph with character using macro in ODT

Supposse that you have the next paragraph in openoffice ESCRITURA PÚBLICA NÚMERO ESCRITURA PÚBLICA NÚMERO DDSDSSDDS/2015 ESCRITURA PÚBLICA DE DSDSSDDSPODER ESPECIAL, QUE OTORGA HEZ GONZALES A FAVOR DE CARLOS ESANCHEZ YADOS SANCHEZ. How Can I to use macros to complete automatically the paragraph...
Juan

2

4.3k

Views

### 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 http://en.wikipedia.org/wiki/OpenDocument_technical_specification#Document_Representation) The latter versi...
WojtusJ

1

9.2k

Views

### 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? [duplicate]

This question already has an answer here: Why does C# XmlDocument.LoadXml(string) fail when an XML header is included? 9 answers (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 opendocumen...
Roland

2

1.1k

Views

### Dynamically creating ODT using WebODF / Javascript

Using javascript, I need to create an .odt file and populate the contents with data in javascript variables. The only thing that I have found that might work is WebODF. An example that seems similar to it is here. When I am trying to do something similar to PDF with pdfkit (using node) I can do some...

1

2.2k

Views

### Create OpenOffice ODT document RUBY

I am looking for a Ruby Gem that will allow me to create openoffice odt documents from scratch. There is also a requirement to include images in said documents. Has anyone come across a gem offering this functionality. I have not been able to find any that will facilitate the creation of new documen...
Des

1

3.6k

Views

### How to Search and Replace in odt Open Office document?

In my Delphi application I am currently do Search&Replace programmatically for doc and docx word documents using office ole automation. Does anyone has the code to do the same (for doc, docs, odt) in OpenOffice? I also asked a related question on saving to pdf.
LaBracca

1

1.5k

Views

### openoffice: duplicating rows of a table in writer

I need to programmatically duplicate rows of a Table in openoffice writer. It's not difficult to add rows via table.Rows.insertByIndex(idx, count), that adds empty rows and it's easy to add text in that row assigning DataArray to the CellRange. Doing this way you loose control on the style of the c...
Alessandro Dentella

2

183

Views

### Open .odp, .odt, .ods files usig WebView

I'm using an UIWebView for viewing .pdf, .txt, .xls, .ppt files. I used webView loadRequest method for viewing these files and its working fine. I need to view files such as .odp, .odt, .ods etc, but its showing only blank page in UIWebView. Is there any effective method for viewing these files usin...
Vishnu Kumar. S

1

230

Views

### R Markdown - no ODT and LaTeX options as an output

I found R markdown/knitr useful tool to document my work and generate summary document. I work with .Rmd (R markdown) files in RStudio. It seems that knitr provide appropriate functionality to generate .odt (Open Document Text) and .tex (LaTeX) documents from .Rmd. However, R studio allows to choose...
matandked

1

876

Views

### 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

1

788

Views

### 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 know, that word has stored in his app.xml file, but...
kybernaut.cz

0

160

Views

### What is the purpose of the Configurations2 directory inside of an ODF-Document?

The directory is not mentioned in the OASIS-Specification of ODF. Does anyone know the purpose of this directory? Its structure is as follows: accelerator/current.xml floater images/Bitmaps menubar popupmenu progressbar statusbar toolbar toolpanel There is no content in the directories or files insi...
AlexTheBird

1

3k

Views

### ODT to PDF conversion using PHP/OO

I am currently trying to convert an ODT to PDF using OO silently from PHP. Here is the code for that: function MakePropertyValue($name,$value,$osm){$oStruct = $osm->Bridge_GetStruct("com.sun.star.beans.PropertyValue");$oStruct->Name = $name;$oStruct->Value = $value; return$oStruct; } func...
Resurgent

1

11.2k

Views

### Can I use 32 bit Oracle Developer Tools with x64 ODAC in VS2010?

From the Oracle website here: http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html This is for their latest Oracle Data Access Components, 64-bit ODAC 11.2 Release 4 (11.2.0.3.0) for Windows x64. I want to use the developer tools (ODT) but they aren't available in 64 bit (...
DaveN59

1

1.5k

Views

### Search and replace text odfpy

I'm trying to make reports for a program using odfpy. My idea is to search for each keywords like [[[e_mail_address]]] and replace it by a word from the database. I found the function text in odfpy api, but converted into string looses the formating. There is an document in the odfpy installation...
Maciek

15

20.2k

Views

### PHP PDF template library with PDF output?

Is there any PHP PDF library that can replace placeholder variables in an existing PDF, ODT or DOCX document, and generate a PDF file as the end result, without screwing up the layout? Requirements: Needs no 3rd party web service Ability to run on shared web hosting would be ideal (no binary inst...
Pekka 웃

1

1.1k

Views

### 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 execute(Map data, byte[] templateData) { ByteArrayOutputStream odt = n...
Philip John

5

21.5k

Views

### Converting HTML to odt, doc, docx

Is there an easy way to convert HTML(with CSS styles and embedded images) to ODT, DOCX, DOC from the command line on linux server. I searched a lot but have not found a good option. There was a problem the same way to convert to PDF, decided by wkhtmltopdf. Perhaps there are ways to convert the resu...
user1081056

0

1.9k

Views

### 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: Finansavimo šaltinių klasifikatorius 2012-04-02 15:10:05 2012-04-02 Ko...
Skittl3s

0

573

Views

### Add Image with jOpenDocument in odt document (writer)

I'm trying jOpenDocument API and I want to add/insert an Image. Can I do that with this API? I'm interested in jOpenDocument because it enables me to create a template and then process the document afterwards with Java (which I don't think it's possible with ODFDOM from Apache). The only thing I fou...
azelix

1

2.1k

Views

### 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 so on. This will then be replaced by values generate...
Inesophet

1

46

Views

### declaring arbitrary variables for pandoc conversion using YAML metadata block

I've only recently discovered Pandoc, so I'm still getting to used to it a lot of its features. It looks like an incredibly useful tool and I'm excited to find out some applications for it. I've been consulting the User's Guide, and while there is a section on what I'd like to know, I can't seem to...
jbowman

1

399

Views

### 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 > template_odt.xml I am able to draw a black horizontal...
Stéphane Laurent

0

146

Views

### Aligned glosses in orgmode (for export to odt/doc)

I'm contemplating writing linguistics articles in orgmode in cases where I know I will need to provide a doc(x) file (normally I would otherwise use LaTeX). One of things I will need to be able to is produce numbered examples with aligned interlinear glosses (like these: http://www.eva.mpg.de/lingua...
emacsomancer

1

278

Views

### How to embed latex result to ODT file emacs org-mode?

In org-mode, try to push LaTex code to generate matrix like this The code is like this: #+BEGIN_SRC latex \[ G_{x} = \left[ \begin{array}{ccc} -1 & 0 & 1 \\ -2 & 0 & 2 \\ -1 & 0 & 1 \end{array} \right] {\hspace{2em}} G_{y} = \left[ \begin{array}{ccc} -1 & -2 & -1 \\ 0 & 0 & 0 \\ 1 & 2 & 1 \end{arr...
enchanter