related to OpenOffice.org Writer, a word processing application which is similar to Microsoft Word.
Questions tagged [openoffice-writer]
229 questions
2
votes
1 answer
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…

Des
- 21
- 1
- 2
2
votes
2 answers
Converting SXW to PDF without OpenOffice automation
I have to convert old OpenOffice.org Writer documents (.sxw) to PDF without an installation of OpenOffice present. Is there a (open source or commercial) component (.NET) or commandline tool to do this?

Hinek
- 9,519
- 12
- 52
- 74
2
votes
1 answer
Remote control or script Open Office to edit Word document from Python
I want to (preferably on Windows) start Open Office on a particular document, search for a fixed string and replace it with another string selected by my program.
How do I do that, from an external Python program? OLE-something? The native Python…

Prof. Falken
- 24,226
- 19
- 100
- 173
2
votes
0 answers
Broken hyperlinks when converting .docx files to PDF via LibreOffice
I'm attempting to convert .docx files to .pdf via soffice, using the following command:
soffice --convert-to pdf input.docx --outdir
The conversion succeeds without any error. However, the hyperlinks do not work. The hyperlinks in the file…

gacharya
- 21
- 1
2
votes
1 answer
OpenOffice Writer. Macro : replacing the selected text
I'm trying to create a macro that would change and replace the current selected text in OpenOffice Writer.
So far my macro looks like this:
sub myReplaceSelection
Dim oDoc
Dim oVC
Dim R As String
oDoc = ThisComponent
oVC =…

Pierre
- 34,472
- 31
- 113
- 192
2
votes
1 answer
Is there a Word processing software built for inline annotations, references and line count?
I think this is a tall order for Libreoffice, my regular processor. The goal is a column of narrative with annotations in one margin when needed and references on the other. The appearance of 5, 10, 15, 20 for line counting would be a welcomed…

HelloHiHola
- 121
- 3
2
votes
1 answer
XForms with JSF, is it a reasonable solution?
We are creating a business process management solution, which involves creating forms to be used by the process. At the moment we create the forms using xhtml, which is part of a component with a backing bean. I've been asked to investigate to use…

Emerson
- 935
- 4
- 13
- 27
2
votes
1 answer
set page orientation using header
Given a php file, I export its output to an .odt file (OpenOffice Writer) by means of the following lines:
header('Content-Type: application/vnd.oasis.opendocument.text');
header('Content-Disposition: attachment; filename="myfile.odt"');
I can't…

Alex
- 497
- 5
- 22
2
votes
0 answers
How to import external module in python macro for OpenOffice?
I'm writing a macro for OpenOffice in python, and I have a problem. I want to import external module (gdata) so i write
import uno
import gdata.calendar.service
but when I try execute macro (Tools -> Marcos -> Run Macro..) I always get ImportError…

BPS
- 135
- 1
- 10
2
votes
1 answer
libreoffice - run (python) macro to insert cross reference from Gnu/Linux command line
I have verified that I can run both normal office and python macros from within office but I still haven't figured out how to run one (even the hello world one) from the command line.
I have googled and looked at other answers here but I'm still not…

Bruce Adams
- 4,953
- 4
- 48
- 111
2
votes
1 answer
hunspell match words with apostrophe
How can I make OpenOffice find words with initial and final apostrophe like: 'sa and int' but not sa or int?
OpenOffice seems to exclude the apostrophe from the word, returning a non-match for 'sa (in fact it matches sa, that is a bad word).
I have…

MauroT
- 320
- 2
- 12
2
votes
1 answer
Get content from Open Office document
How can I get text from Open Office document?
I use OO to convert ms word and excel files to PDF format in order to display in a web page. But in some cases, it is possible to face corrupted files, and corrupted files opens as very big xml.
To…
user5094402
2
votes
1 answer
PyUno file types conversion for writer
All,
I am modifying a python script (using PyUno) that will read in MSword document (.docx) and convert it to xml. I have a script that will do everything I need here, except it will convert from doc to pdf. I cannot find a list of acceptable…

NotCharlie
- 43
- 2
- 9
2
votes
0 answers
OpenOffice Writer, deleting text between two text fields
Working with old program for creating reports with Open Office writer. In the program text inserts between two text fields named ''. Now I need to rewrite text between this text fields. Code is:
//Method GetTextField() geting text field by…

Gleb
- 1,412
- 1
- 23
- 55
2
votes
2 answers
How can I convert an OpenOffice Writer document (.odt) to multiple HTML files with navigation?
I have an OpenOffice Writer document (.odt) with a table of contents, sections, subsections, etc.
Is there a quick way to convert (export) this into multiple HTML files with a navigation sidebar, converting the sections into links?

As Good As It Gets
- 21
- 1