Questions tagged [openoffice-writer]

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

229 questions
194
votes
10 answers

How do I read a text file of about 2 GB?

I have a .txt file whose memory is more than 2 GB. The problem is I cannot open it with Notepad, Notepad++ or any other editor programs. Any solutions?
Abhishek Singh
  • 10,243
  • 22
  • 74
  • 108
35
votes
1 answer

Transferring table styles using OpenOffice::OODoc

I'm attempting to copy the formatting of a table from one OpenOffice Writer file to another... I can tell that I'm writing the name of the style to the second document, but not the style data. I suspect that this has something to do with the…
Barton Chittenden
  • 4,238
  • 2
  • 27
  • 46
15
votes
5 answers

Set columnwidth of a table in XWPFTableCell (docx)

I'm generating a docx file with apache-poi. In the wordfile, I add tables, whose columns have a width I would like to see fixed. Currently, I use the technique described here:…
Yves V.
  • 775
  • 1
  • 7
  • 20
8
votes
9 answers

Trouble Removing Highlight from Bullet Points and Numbered Lists

I edited a document from a client with some highlights then later decided to remove the highlights for comments instead. For whatever reason, the document highlighted a number of bullet point and numbered list sections which I could not revert when…
Bret Royster
  • 541
  • 1
  • 5
  • 15
8
votes
2 answers

Convert source code to syntax highlighted image

Background OpenOffice Writer lacks the ability to link to an ASCII text source file, apply syntax highlighting, wrap it in a frame, and update the frame contents whenever the source file changes. However, OpenOffice Writer can link to images, and…
7
votes
6 answers

From MS Word or Libre Office to clean HTML

People that send content to my website use Word, so I get a lot of Word documents to convert to HTML. I want to conserve only the basic formatting - headings, lists and emphasis - no images. When I convert them with Libre Office "Save as HTML", the…
Erel Segal-Halevi
  • 33,955
  • 36
  • 114
  • 183
7
votes
3 answers

Libre Office Writer: Strike-out on delete rather than remove?

We occasionally see revision-suggestions for documents (usually from our attorneys) where removed content gets color coded and has a strike through it. Added content also gets its own color coding. I had always presumed that some specialty software…
mOrloff
  • 2,547
  • 4
  • 29
  • 48
6
votes
2 answers

Scripting OpenOffice Forms with VB or python

I'm trying to script my OpenOffice document (Writer in my case) to do some simple things with widgets. Namely I'd like to copy text from widget to widget. For this I want to get one component and than get text from it. I've been trying to do sth…
Marcin Cylke
  • 2,100
  • 2
  • 21
  • 40
5
votes
1 answer

OpenOffice writer - programmatically updating tables with cell formulas

I'm really stuck trying to find out how to force a programmatic refresh of openoffice writer (3.3) cell calculations when the cell values are bookmarks and the bookmarks are updated programmatically (via UNO calls in Java). Example | start | stop …
Adam
  • 35,919
  • 9
  • 100
  • 137
5
votes
1 answer

How to insert an image in to an openoffice writer document with java?

I'm trying to create an openoffice writer document from a template. I can replace text parts of report with this code private static void searchAndReplace(final String search, final String replace, final XTextDocument mxDoc) { …
Sinan Goker
  • 249
  • 1
  • 3
  • 16
5
votes
2 answers

In OpenOffice, how do I check if my XComponentContext has been closed?

I have a small application that generates three different template documents in OOo Writer. When one of the three "generate" buttons is clicked, this is part of the code that is executed (in C#): // Connect to OOo if (componentContext == null) …
Matthew
  • 28,056
  • 26
  • 104
  • 170
5
votes
2 answers

Mail Merge with Open Office from C# .NET

I need to be able to mail merge from an ASP.NET web form in C# .net to Open Office. I can connect with OpenOffice and open a file but that is where things stop at the moment. I have a table of mail merge items that need inserting into a document…
SB
4
votes
1 answer

Making a LaTex looking justified text in libre office

I'm writing at my thesis at the moment. I'm using Libre Office instead of LaTex - stupid me, i know! But at this time there is no way to change to LaTex, so i have to deal with it... I want to make the whole text justified... But if I do it with the…
Joergi
  • 1,527
  • 3
  • 39
  • 82
4
votes
2 answers

How to run unoconv without xServer

I want to run unoconv on Cent OS machine server obviously without any GUI. Unoconv uses OpenOffice with -headless parameter, but it does not work either. I got the following error: /usr/lib64/openoffice.org3/program/soffice.bin X11 error: Can't open…
4
votes
1 answer

How to Search text tags and replace with Image in Header/Footer/Table of Openoffice Document using Delphi

I have open office template documents where i need to search for tags like [CHART=100] and replace it with a Image file reside in some folder at PC. I am using approach mentioned in my previous question. How to insert image in OpenOffice Document…
Girish
  • 323
  • 3
  • 10
1
2 3
15 16