related to OpenOffice.org Writer, a word processing application which is similar to Microsoft Word.
Questions tagged [openoffice-writer]
229 questions
0
votes
1 answer
getPageNumber Open Office
I have the below code which returns the total number of pages in my document. I can call this with javascript soapplet.getNumberOfPages()
I want to do a similar method that will return just the PageNumber. I have found this class…

topcat3
- 2,561
- 6
- 33
- 57
0
votes
1 answer
open office api text size
I am using open office API with Java UNO. I need to get size of selected text in the document content (for example embedded pictures have own size in mm but text inserted via XText.insertString(...) method doesn't have any size).
In other words: I…

Arek Woźniak
- 695
- 3
- 12
- 25
0
votes
1 answer
Convert PPT to HTML and word doc to HTML using PHP code
In my new (PHP) project my requirement is to convert ppt and doc to html using php.
Does anybody know how it can be done?
I search so many forums and found that we can convert ppt to html using EXEC() command from php code by calling OPENOFFICE…

Hemant Agrawal
- 85
- 2
- 7
0
votes
1 answer
OpenOffice.org Writer
I want to write text on the OenOffice.org Writer with 1.15 line spacing but I don't know how to change line spacing .From Format > Paragraph > Indents & Spacing > Line Spacing I couldn't found 1.15.Please help me.

user1548222
- 5
- 2
0
votes
1 answer
How to make justified alignment in open office writer with normal distance between words?
i want to write a 2 column paper for the university and the standard template is using justified alignment like this :
My document My document My document My document My do-
cument My document My document My document My docume-
nt My…

Ted
- 1
- 3
0
votes
1 answer
Data loss in conversion of documents from .odt to .doc
I have a plugin developed for both MS word and Open Office.
Using the open office plugin it is possible to add a set of Marked references (using XNamed) the xml in content.xml for this mark is:
-

user1534341
- 1
- 2
0
votes
2 answers
Replacing bookmarks in a MS Word 2010 document looses formatting
I've created a MS Word document with some bookmarks I want to replace at run-time with some text fetched from a database.
Originally this application was using OLE Automation (Word) to do these kind of things but then I had decided to find some…

LeftyX
- 35,328
- 21
- 132
- 193
0
votes
1 answer
Color palette in OpenOffice Writer
How to load another color palette (*.soc file) in OpenOffice Writer?

czuk
- 6,218
- 10
- 36
- 47
0
votes
2 answers
What is a regex to replace "### " with "###. "
where ### is a three or four digit number followed by a space and I want to replace it with the same number followed by a space and a period.
I am using the regex search & replace in Open Office and I tried
"[0-9][0-9][0-9] "
which found the…

Fred Zimmerman
- 1,178
- 3
- 13
- 29
0
votes
2 answers
Unregistering datasource and deleting associated CSV file
I'm automating a mailmerge process which uses a CSV file. Part of this process requires creating a database (OpenOffice odb file) and then registering this as a datasource. When I come to delete the database I get an exception stating 'Cannot…

Jezza
- 31
- 2
0
votes
1 answer
Importerror Python with Openoffice
I'm trying to import a TabStop into my Python script to create an openoffice document. Only i keep getting this error:
Traceback (most recent call last):
File "C:\Users\Sander\Desktop\macroTest.py", line 10, in
from com.sun.star.style…

procx
- 43
- 1
- 1
- 8
0
votes
1 answer
Get xml with openoffice 3.3
I have a open office document. I want to get its xml. (Not save as word 2003 xml). I want to build up a xml from that. Does anybody know? (probably by making the zip from it?)(I have Windows.)

Setinger
- 169
- 3
- 11
0
votes
1 answer
Cannot retrieve XBookmarksSupplier from text document
I have various text documents (.odt, .doc) etc. which i use as templates for populating them with text using Java. In order to achieve that i have added TextFields to the documents on every position that i would like to insert text and i enumerate…

nvrs
- 720
- 2
- 17
- 25
-1
votes
2 answers
openoffice writer java sdk replace text in a writer document
I have searched on google but I can not find a solution for this. So I ask the StackOverflow community.
I want to use the SDK for OpenOffice (Java) to replace the text content in an OpenOffice Writer document.
How can I do that? The examples on the…

sm_a
- 11
- 4
-1
votes
2 answers
Saving files openoffice Python
I'm working on a script to create an OpenOffice document. After this i want to save the file. Maybe later also as an PDF.. Google doesn't give me any information how to fix this..
My question here is: What method should be used to save an…

ProCx
- 199
- 5
- 18