Questions tagged [odf]

The Open Document Format for Office Applications, also known as OpenDocument.

The Open Document Format for Office Applications (ODF), also known as OpenDocument (OD), is an XML-based file format for spreadsheets, charts, presentations and word processing documents. It was developed with the aim of providing a universal document format that could be used with any office software suite.

111 questions
0
votes
0 answers

Read basic object properties from PPTX or ODF

I need to read a few "basic" information from PPTX or ODF slides, such as objects' position, size, font, color, media source in the case of pictures and videos. I have been looking around for libraries (PHP / Javascript) or even just for format…
resle
  • 2,254
  • 4
  • 19
  • 37
0
votes
1 answer

underline text with odfpy

I'd like to generate an odf file with odfpy, and am stuck on underlining text. Here is a minimal example inspired from official documentation, where i can't find any information about what attributes can be used and where. Any suggestion? from…
spacm
  • 190
  • 3
  • 18
0
votes
2 answers

Is there any java library to convert / parse ODF to html output?

I need to convert ODF document to html. Is there any java library for this?
Nadeem Ullah
  • 907
  • 1
  • 9
  • 16
0
votes
1 answer

Pandas "read_excel" : How to read multi-line cell from "ods" file?

I've a simple "ods" file (Test01.ods) with the below data in "sheet1" :- also I saved it as "xlsx" (Test01.xlsx) so I've two files contains exactly the same data. Now when I try to read them using Pandas "read_excel" with the below code the "xslx"…
MsAmeen
  • 86
  • 1
  • 4
0
votes
1 answer

How to count words in a Libre Office file using a script?

I am trying to write a script that takes a folder with X .odt files and compute the number of words. It has to write it in a csv file, with the date. I tried to do it using odfpy. import odf import glob import pandas as pd import os from…
0
votes
0 answers

AttributeError: 'str' object has no attribute 'P' when trying to extract text from all .odt files, recursively, using odfpy library

I wrote a script in order to convert all my .odt files, recursively - that is in the CWD and all the subdirectories, to text files. The code in question: import glob, os from odf import text, teletype from odf.opendocument import load fileList =…
John Smith
  • 835
  • 1
  • 7
  • 19
0
votes
4 answers

Does ExtJS support decoding of OOXML or ODF files?

I want to develop a web office project just like Google Docs and ExtJS seems good. Can ExtJS read OOXML or ODF natively? Or is there any open source project which can help ExtJS decode OOXML or ODF files and edit them? Many Thanks!
sxingfeng
  • 971
  • 4
  • 15
  • 32
0
votes
1 answer

ODF Toolkit TextNavigation can't find string containing a special character (dollar sign)

I am trying to find a placeholder in an ODT-Document. Therefor I am using the Apache ODF Toolkit - Simple API. I created an odt-file containing the text $TestString. The following code is supposed to find it: Document doc =…
Yannick Huber
  • 607
  • 2
  • 16
  • 35
0
votes
1 answer

Elegant way to import table from ODF document into R

I started to fill some measurement data (that accumulated over a long time) into a table of an OpenOffice Writer document (saved as ODF), originally solely for documentation purposes. Now I had the idea to process the data in the table with R,…
U. Windl
  • 3,480
  • 26
  • 54
0
votes
1 answer

ODFDOM Java PDF converter messed up encoding

I want to convert an .odt file to .pdf in my web java application. I have an .odt file in Bulgarian (cyrillic) and it converts successfully on my local machine. However, on the cloud server all the cyrillics are skipped and only the latin symbols…
Ivan Ivanov
  • 243
  • 4
  • 15
0
votes
1 answer

Parsing XML tags with hyphens not working as expected

Thanks in part to SO I was able to figure out how I can access XML tags with hyphens (). All the examples I have seen do it something like this. $content = $xml->{'document-content'}; But for me that doesn't work, and this does $content =…
Krik
  • 445
  • 5
  • 15
0
votes
1 answer

How to set cell style using OpenOffice::OODoc?

How to apply a style to cell using OpenOffice::OODoc module in Perl? I tried: my $container = odfContainer("report1.ods", create => 'spreadsheet'); my $doc = odfDocument ( container => $container, part …
0
votes
1 answer

Opening large ODS file takes a long time (48 min) on Windows 8.1 x64

Tried using LibreOffice 5.0.3 rc2, 2015-11-03-nightly, and 4.4.6.3, all with the same result. I've tried: Deleting my user profile Upping the Memory settings Opening the file on an Ubuntu 14.04 VM (it opened immediately) Opening the file on a…
ijustlovemath
  • 703
  • 10
  • 21
0
votes
1 answer

ODFDom set Page Size, Page Orientation, and Page Margins of .odt Text document

Apparently these settings can be changed for ods spreadsheet documents, but with odt only certain parameters can be changed: StyleMasterPageElement defaultPage = templateDocument.getOfficeMasterStyles().getMasterPage("Default"); String…
sarah.ferguson
  • 3,167
  • 2
  • 23
  • 31
0
votes
2 answers

ODF document load

Is there any quick way to read/write an ODF file from PHP? ---- edit ----- I needed this for an ODS(spreadsheet) file http://www.opendocumentphp.org/ seems to be unmaintained so i didn't even…
Quamis
  • 10,924
  • 12
  • 50
  • 66