related to OpenOffice.org Writer, a word processing application which is similar to Microsoft Word.
Questions tagged [openoffice-writer]
229 questions
1
vote
0 answers
Blank 1st page while converting from HTML to PDF using OpenOffice
While converting HTML (the very basic HTML) to PDF, the output PDF always has 1st page blank. How to solve this?
Do I miss any specific properties?
xComponent = InitDocument(aLoader, PathConverter(inputFile), "_blank"); …

1gn1ter
- 1,414
- 2
- 22
- 47
1
vote
1 answer
Creating a new cell on a table border in LibreOffice
I am preparing for a class project and I am using LibreOffice (version 4.2.0 - Win32) to create the title page of my report. In sWriter, I created a 1 row, 2 column table that I pulled down so it spans the length of the page (essentially resembling…

CaitlinG
- 1,955
- 3
- 25
- 35
1
vote
3 answers
A good Code snippet tool or plugin for Word documents?
Does anyone know of a good tool or plugin that enables Microsoft Word or OpenOffice Writer to add code snippets to a document in a clean manner?
I'm not sure if such a plug-in even exists, so redirecting me to any other tool that can help me would…

user21785
- 314
- 4
- 8
1
vote
0 answers
How to show Grid Lines in Open Office Draw permanently
I am programmatically drawing a flowchart using Java UNO Runtime Reference in which I want to display grid Lines permanently.Using following code I was able to display the Grid Lines but they are toggled ON and OFF alternately when the code…

Alok
- 929
- 10
- 26
1
vote
0 answers
How can I intercept the drag and drop inside an openoffice/libre office document in python/pyuno?
I would like to intercept the drag and drop handling inside of a python/pyuno script inside of openoffice/libreoffice, how can this be done?

user2646177
- 175
- 1
- 1
- 7
1
vote
1 answer
How do I remove all comments from the active writer document
I am trying to write a macro on my OpenOffice Writer to remove all comments from the active word document, so far the code I have actually researched and cobbled together can be found below.
Sub RemoveAllComments()
Dim i as Integer
For i =…

user965480
- 11
- 2
1
vote
0 answers
how to load OpenOffice from ByteArray in JAVA
I am trying to work with Open Office in my Java app.
Based on SDK, with extra help from bootstrapconnector.jar I successfully started empty swritter and can write to the document.
Now, I would like to open document stored in ByteArray and after some…

norbi771
- 814
- 2
- 12
- 29
1
vote
2 answers
How to create table in Word document open in OpenOffice using REALbasic on Mac OS
This code i used to create binary file:
dim eFile as FolderItem
dim output as BinaryStream
eFile= GetSaveFolderItem("application/vnd.ms-word", "mydocument.doc")
output.write "User Name: "+" User Name field"+chr(13)
output.write "Website: "+"…

Amol Deshpande
- 23
- 2
- 7
1
vote
1 answer
How to format text in pdf template with iText
I have created a pdf template with 'open office writer' and filled the fields with iText. In pseudo code like this:
PdfReader reader = new PdfReader("C:/temp/Template.pdf");
FileOutputStream fileOutputStream = new…
user2290913
1
vote
1 answer
how to export a checkbox to a .doc document in OpenOffice?
I use OpenOffice through the java API, and make him open the .odt file, fill in some values and save as .doc and .pdf. The .doc have no checkboxes in it.
I'm basically looking for a workaround of bug 45347
Correcting the bug by myself is not an…

nraynaud
- 4,924
- 7
- 39
- 54
1
vote
1 answer
Howto programmatically get the default template on Openoffice writer
How do i get the default template for openoffice writer programmatically?
What is the equivalent to the following code for openoffice:
var word = new Microsoft.Office.Interop.Word.Application();
string template = word.NormalTemplate.FullName;

CloudyMarble
- 36,908
- 70
- 97
- 130
1
vote
0 answers
How is the versatile 2010 OpenDocument Text format (.odt) different from the easily damaged 2012 ODT one?
As you probably know, an .odt file is just a .zip file containing some folders and .xml files.
I used to appreciate this, for I could make a document template using $KEYWORDS$ that I could later replace using a script (e.g. PHP) to replace these…

Redsandro
- 11,060
- 13
- 76
- 106
1
vote
0 answers
OpenOffice - java - add header in a RTF file.
I have a java based desktop application. There are a bunch of RTF files that it needs to read and modify. We are using OpenOffice for this.
We are successfully reading the RTF files and doing some modifications in them as well. However, we are not…

partha
- 2,286
- 5
- 27
- 37
1
vote
1 answer
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.
- 181
- 1
- 3
- 22
1
vote
1 answer
OpenOffice API - OptimalWidth option for table(all columns)
I am working on Java API which interacts with OpenOffice(swriter) through UNO.
For TextTable, I am having hard time setting TableColumn's "OptimalWidth" property.
I have tried the following code and it seems that getColumns() method cannot take me…

k.park
- 33
- 6