Questions tagged [openoffice-writer]

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

229 questions
1
vote
2 answers

export images and graphics in doc files to images in openoffice

I am using openoffice sdk to get all info from doc file, what I need now is to be able to extract all images in a doc file and save them as images png or gif. I am using Java, Is there any working example? thanks;
mmohab
  • 2,303
  • 4
  • 27
  • 43
1
vote
1 answer

Replicate the look of an HTML style table in MS Word

I have this html table that I want to replicate the appearance of in Word: It uses this css (though the Word version doesn't have to be exact): .cell { padding: 8px; border: 1px #000 solid; text-align:…
user-44651
  • 3,924
  • 6
  • 41
  • 87
1
vote
0 answers

JOptionPane is not modal

I have created a small Plugin for Open Office that can upload files directly. The Plugin returns the Following JOptionPane when a File was uploaded. JOptionPane.showMessageDialog(null, "Das Dokument wurde erfolgreich hochgeladen" ,"Success",…
Frekell
  • 115
  • 14
1
vote
1 answer

openoffice: duplicating rows of a table in writer

I need to programmatically duplicate rows of a Table in openoffice writer. It's not difficult to add rows via table.Rows.insertByIndex(idx, count), that adds empty rows and it's easy to add text in that row assigning DataArray to the CellRange.…
Alessandro Dentella
  • 1,250
  • 2
  • 16
  • 30
1
vote
1 answer

openTBS - new page after 4 rows in table

i need to create a page break in my ods file after 4 rows in my table. i have tried some suggestion i found here but nothing worked. Here is my code for the table: [ps.pos]…
creadude
  • 11
  • 4
1
vote
1 answer

Is it possible to include OpenOffice Writer or MS Word data in a ReportLab generated PDF?

The desire is to have the user provide information in an OpenOffice Writer or MS Word file that is inserted into part of a ReportLab generated PDF. I am comfortable with ReportLab; but, I don't have any experience with using Writer or Word data in…
tnt
  • 3,411
  • 5
  • 24
  • 23
1
vote
0 answers

Office Writer / MS Word macro: select all words / characters that are underlined

I want to automatically select all Text in a document that has a certain formatting property (i.e. every character that is underlined). Is there way to achieve this? In the documentation I've found the SearchStyles property that comes most close to…
ascripter
  • 5,665
  • 12
  • 45
  • 68
1
vote
3 answers

Chrome: Open links to OpenOffice documents on WebDAV directly in OpenOffice

is there any way to open OpenOffice with the URL when I click on the link in Chrome browser? To be a bit more precise: I have a WebDAV folder that contains documents. https://myserver/documents/doc1.odt https://myserver/documents/doc1.odt I…
magomi
  • 6,599
  • 5
  • 31
  • 38
1
vote
1 answer

ODT files not opened on button click in browser. How to open an ODT file using C# code?

I need to develop a web application to open an ODT file when I click an image button in the browser. Below is the code that I used to open the file on a button click. It works for a Word document but it is not working for an Open Office document.…
user7295551
1
vote
1 answer

ODT table styles in XML not working

I'm working on an application that generates a sizeable ODT file. The app writes the XML to the content.xml, styles.xml, etc. I'm trying to get some simple table styling through on a table, and after generating the file, I can verify it's all coming…
1
vote
1 answer

How to replace certain character combination with another in OpenOffice?

I'd like to replace wrongly formatted text in multiple documents. Instead of the proper way like this »Citation« words have been cited like this «Citation» (or some other combination like »Citation») Now, I know there is the Regular Expression,…
luftikus143
  • 1,285
  • 3
  • 27
  • 52
1
vote
0 answers

save an opened openoffice document in delphi

With many thanks to f.i. TLama I could set up a workaround for opening a file, replacing some fields and store the result to pdf using Delphi 2007. I have a document opened in OpenOffice like this: FileParams := VarArrayCreate([0, 0],…
I.Hirs
  • 11
  • 2
1
vote
1 answer

How to set XTextTable name dynamically

I can't find how to set the name property of a table. //I create the table here and the default name is table1 XTextTable xTT = (XTextTable) UnoRuntime.queryInterface(XTextTable.class, oInt); xTT.initialize(1, 1); How do I proceed to change this…
1
vote
0 answers

Euro symol acting weirdly in a text area of an exported pdf form from OpenOffice-writer

It somehow seems that the width of the symbol's "collision" is almost 0, but it is rendered as normal. What causes this and is it possible to fix it? I tried searching everywhere but I can't find anything on this bug/feature. Example Files of this…
ViliM
  • 11
  • 1
1
vote
1 answer

openoffice-writer check viewcursor in table

I have a table with the Property: Name = 'Images'. I want to write a check if my ViewCursor is present in this table or not. You can get the location of the ViewCursor with this code: vViewCursor =…
476rick
  • 2,764
  • 4
  • 29
  • 49