Questions tagged [odt]

1

votes
0

answer
134

Views

How can I programmatically create an ODT document?

I'm attempting to produce an ODT document using Node.js, and I'm a little lost as to how I can, or whether templates are a suitable alternative. The document I want to create is simple: table of contents, heading 1s, and paragraphs following each heading. I have my book represented simply in program...
GreenTriangle
1

votes
1

answer
24

Views

How to detect nested lists in XML using an XPath expression in PowerShell?

We use a PowerShell script and an XSLT stylesheet to publish our release notes in HTML and ODT format on our customer website. But any nested lists in the release notes don't render in the ODT file. We'll tell our tech writers not to create release notes with nested lists anymore but in case they do...
Shamili Kovvuru
1

votes
0

answer
17

Views

I am trying to run Karma ODTs but I am unable to map paths for .json files

Some of my spec files contain the reference to .json files like below but the actual path of the .json file is different define([ 'Redux/Redux', .., .., 'text!/XYZ/assets/state.json' ], Actual Path is /XYZ/somedir/src/assets/state.json So just how .js files can be mapped in karma.conf.js file, can J...
Shivmurti Dubal
1

votes
1

answer
935

Views

Perl OpenOffice::OODoc - accessing header/footer elements

How do you get elements in a header/footer of a odt doc? for example I have: use OpenOffice::OODoc; my $doc = odfDocument(file => 'whatever.odt'); my $t=0; while (my $table = $doc->getTable($t)) { print 'Table $t exists\n'; $t++; } When I check the tables they are all from the body. I can't seem...
Myforwik
1

votes
1

answer
982

Views

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 Office binaries? I want to control printer properties l...
kbec
1

votes
1

answer
1.3k

Views

ODT and OpenOffice.org: Apply formatting to text under a text:span using text:class-names attribute?

I'm trying to apply some simple formatting to text, but it isn't working. The example is below and passes a RNG validator. I'm using Apache OpenOffice3.4 and ODT1.2 flat document. The ODT spec says that a element can have an text:class-names attribute; and the attribute specifies a white space sep...
ljdelight
1

votes
1

answer
398

Views

OpenOffice 3 text document - set page size and margins

Based on 'Hello World' using OpenOffice 3 sample code I have managed to create the Open Office text file from C#. But I still couldn't find a way to set page size and margins. Any clue how this can be done? Thank you
Sandra S.
1

votes
2

answer
510

Views

How can I extract the tables, text and the pictures in ODT(OpenDocumentText) format using Python?

How can I extract the tables, text and the pictures in an ODT(OpenDocumentText) file to output them to another ODT file using Python on Ubuntu?
lost
1

votes
1

answer
98

Views

Why am I getting “�” characters?

I've written a quick-and-dirty utility to parse a text file, but in some cases it's writing out a '�' character. My utility reads from a .txt file which contains 'records' in this format: Biography Title:George F. Kennan: An American Life Author:John Lewis Gaddis Kindle: B0054TVO1G Hardcover: B00...
B. Clay Shannon
1

votes
2

answer
672

Views

Webodf display odf from bytes

Is it possible for webodf to read a odf / odt file from its bytes? instead of an url? Currently using: var odfelement = document.getElementById('odf'); var odfcanvas = new odf.OdfCanvas(odfelement); odfcanvas.load('url/to/file.odt'); and would like something like odfcanvas.loadFromBytes(bytes);
cipriota
1

votes
2

answer
505

Views

Error on variable with XML tags when parsing ODT files

I'm implementing TinyButStrong / OpenTBS in a system that needs to process ODT documents and I'm facing an issue with a specific template that has tags inside the variable name. The situation is as follows: The template part: The relevant part of content.xml Tipo de documento [b.tipoDocumento] As yo...
Luís Cruz
1

votes
1

answer
225

Views

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 extentions : png, pdf, docx, etc. and it's work. Fo...
Deos
1

votes
1

answer
257

Views

Converting odt document to pdf with fr.opensagres.xdocreport: variables remain empty

opensagres.xdocreport to convert odt documents to PDF in the past. But this time the variables in the PDF document remain empty even though the pojo and the context have all the Information. I use this Code: private ByteArrayOutputStream makePdf(Object sheet, String file) { final java.util.logging.L...
Solitär
1

votes
2

answer
0

Views

Use odt2txt for Diff on Gitweb

I followed the instructions here and I cannot get them to work. I am using Git and Gitweb 1.7.5 on shared hosting, custom compiled and deployed using GNU Stow but basically following this howto on Dreamhost (just forked, no modifications made to reflect Stow and other stuff). Essentially I modfied...
songei2f
1

votes
1

answer
1.1k

Views

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 parse it, but I believe some higher level code exi...
dannyxyz22
1

votes
1

answer
708

Views

Generate PDF from ODT

I use appy pod for reporting in my django app. At this moment, I need to generate pdf file instead odt document. pod is able to generate pdf if OO is available, but this is not my case because app runs in heroku provider. Someone knows a way to convert .odt to a pdf in this scenario?
dani herrera
1

votes
3

answer
1.2k

Views

LibreOffice - Registered IFilter is not found - Windows 7 x64

I am unable to index contents of LibreOffice files. Files such as .odt files cannot be indexed on Windows Search. The error says 'Registered IFilter is not found' Any help please?
fall
1

votes
1

answer
1.9k

Views

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
1

votes
2

answer
2.1k

Views

How generate docx/odt file with math formulas from java

Good day. I must generete docx or odt file with many math formulas inside. i try to find solution in Apashe POI & ODFtoolkit but i am not was able. google doesn't help. ( May be anybody can help me with solution in this task? (any example?) Thanks.
1

votes
2

answer
4.1k

Views

Oracle Developer Tools (ODT) & Visual Studio 2017 Integration

I need to create ADO.NET model from Oracle 12 DB. We are using VS2017. I've installed ODAC and ODT for VS (2015, since there is no version for 2017) according to recommendations in internet. However, EDMX model creation dialog does not show up Oracle DB in data source list (it's present in Connect t...
Alexander
1

votes
1

answer
3.9k

Views

Oracle Connection in C# - connection string

I'm currently trying to build an application in C# and connecting it to a live db running in Oracle 11g. I have the following connection details Host IP: 10.204.1.3 Port: 1521 DB Name: PROD My source code string connString = 'DATA SOURCE=10.204.1.3:1521/PROD;PERSIST SECURITY' + 'INFO=True;USER ID...
Fen Ignacio
1

votes
2

answer
323

Views

Which are the safest ways to accented characters in xsl transformations?

My boss told me to be sure about that, cause there is a small possibility that the character can get a strange output, something like 'solución' output 'soluci&3n'. There are some words that need to be accented, that's the original code in xsl, it's so simple: Fecha inicio cómputo intereses The th...
jvillegas
0

votes
0

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

votes
2

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

votes
2

answer
328

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?
1

votes
2

answer
928

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
3

votes
2

answer
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
19

votes
6

answer
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
6

votes
2

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

votes
2

answer
5.6k

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
4

votes
1

answer
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

votes
2

answer
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.
2

votes
3

answer
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
22

votes
6

answer
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
4

votes
1

answer
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
3

votes
1

answer
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.
4

votes
1

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

votes
2

answer
59

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

votes
2

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

votes
1

answer
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

View additional questions