Questions tagged [openoffice-writer]

related to OpenOffice.org Writer, a word processing application which is similar to Microsoft Word.

229 questions
2
votes
0 answers

insert image into table cells in writer using openoffice API

I'm trying to insert images into cell of a table inside document using openoffice api. However, I got blank images like the image below This is the code: private void insertFigureIntoTable(Hashtable tblTable) { if (document…
Kien Dang Ngoc
  • 1,079
  • 5
  • 15
  • 25
2
votes
1 answer

OpenOffice bullets and numbering: moving subpoints of line without a number

I'm trying to create a numbered section in OpenOffice writer using the bullets and numbering feature like so: 1. Line 1 Line 2 Line 3 Line 4: 1. Sub-line 1 2. Sub-line 2 3. Sub-line 3 where Lines 2, 3 and 4 have been…
A. Post
  • 21
  • 1
2
votes
1 answer

using OOoWrite, i would like to add custom html elements

I have 35 pages list of scientific references. In order to upload them to a webpage, I would like to add custom fields before and after each reference. I would also like to find italicized text and add around it. For instance, I would like this…
Roman Luštrik
  • 69,533
  • 24
  • 154
  • 197
2
votes
1 answer

How do you select what printer to print to using OpenOffice oleautomation?

I am using OpenOffice Writer, and I wish to Print under Program control. However, I do not wish to print to the default printer, but rather direct certain documents to certain printers, according to the type of document I generate. Using Bernard…
Warren P
  • 65,725
  • 40
  • 181
  • 316
2
votes
2 answers

How to update the "table of contents" in an ODT document with Delphi and the com interface

at first to the background what I try to achieve. I am basically creating a report and depending on the user selecting export it to different formats (odt, doc & pdf). So my approach is that I generate the whole document in the open document format…
Niels
  • 193
  • 2
  • 13
2
votes
3 answers

OpenOffice PDF Export Library

I am looking for a library which will allow me to render text and graphics output onto a PDF document. (Cairo is certainly an option.) I would like to know how OpenOffice writes PDF files to see if I could use the same library. What library is being…
Agnel Kurian
  • 57,975
  • 43
  • 146
  • 217
2
votes
1 answer

How to add/insert a xml node into text

I am generating a text document in the open document format (odt) which is based on XML. But I have a problem when adding a tabulator in a text passage. When I create it in the Open Office application and save the document the passage has the…
Niels
  • 193
  • 2
  • 13
2
votes
1 answer

How to create a style within OpenDocument/LibreOffice Writer to get titles on their own page?

I would like to make a style within a LibreOffice text document that formats all my top-level headlines to appear alone on a dedicated page. Actually, I would like to have quite the same as the chapters title pages of the LibreOffice Writer…
user1919510
2
votes
1 answer

How do I create an XTextTable in OpenOffice.org uno using C#?

Discussion on OOoForum.org In python, using pyuno, I can do it like this: table = self.model.createInstance("com.sun.star.text.TextTable") This doesn't seem to work in C#. Here is my test code (I realize I probably don't need all those using…
Matthew
  • 28,056
  • 26
  • 104
  • 170
2
votes
1 answer

OpenOffice Macro to Access Contents of a Table

I wrote a Macro, which should take two Dates (dd.mm.yyyy) as a String from a table in an OpenOffice Document (Writer, not Calc). These two Dates should be merged to this: ddmmyyyy-ddmmyyyy. This should be used as the filename then. The Table has…
Vaelor
  • 69
  • 2
  • 13
2
votes
1 answer

Insert html text into .odt OpenOffice document with C#

Please, help anyone who worked with OpenOffice Writer document in C#. How can insert an HTML formated text into the document? The following code: ((unoidl.com.sun.star.text.XTextDocument)xComponent).getText().getStart(). setString("The first…
Sandra S.
  • 181
  • 1
  • 3
  • 22
2
votes
1 answer

How to know the property value in Open Office Java API

To use the XPropertySet's setPropertyValue() method I need to know the arguments to be passed inside the method.For e.g., to underline a Text in OpenOffice Writer I use xTextProps.setPropertyValue("CharUnderline",…
Alok
  • 929
  • 10
  • 26
2
votes
1 answer

Openoffice Writer macro that uploads current file to a web service on save

I want to know if this is doable and get some hints about how to achieve this. I guess at least it would need a confirmation dialog to run the (possibly evil) macro. I want to produce an OpenOffice document that will upload itself on save to a…
silviot
  • 4,615
  • 5
  • 38
  • 51
2
votes
1 answer

Odt file, shown with all styles

I'm using odt file as some kind of template and Libre Office as tool to create this template. It usually works fine except one thing. Let assume our odt file has a paragraph of text. There is my text. XML file may or may not look (seems random)…
Drachenfels
  • 3,037
  • 2
  • 32
  • 47
2
votes
1 answer

How to setup Microsoft Word to fill in certain fields with data from a SQL Server database using a web service?

I would like to fill in a Microsoft Word document using a SQL Server database, preferably without doing the document processing on the server side. From what I read, Microsoft does not recommend server side word processing as it was not designed to…