Questions tagged [openoffice-writer]

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

229 questions
1
vote
0 answers

Is it possible to use Open Office where applications are calling Word OLE objects?

Ok so we purchased a piece of software that opens, updates, and closes Word documents stored on a file server. I have spoken with the developers of the software inquiring about using other Office systems instead of Microsoft Office. They informed me…
Steven Combs
  • 1,890
  • 6
  • 29
  • 54
1
vote
1 answer

Margin Openoffice python

I keep searching without any results so i would give it a try here. I'm trying to make a document for OpenOffice with Python.. I just can't find how to set the top margin of the document. Anybody has an idea how to do this? thanks in advance!
ProCx
  • 199
  • 5
  • 18
1
vote
2 answers

Impossible to generate an Open Document from scratch?

I've been searching from hours how to generate from scratch an Open Office document (but a .doc would be glad, no docx) with a Java API (I'm using Grails). Anyway it seems that every method require a preexisting document to work correctly. I've…
JackRackham
  • 61
  • 1
  • 5
0
votes
0 answers

django pod report tool insert with blank pages

I use pod to generate my reports from django. Really cool solution. For a very specific case pod inserts blanks pages into report. This is the scenario: The report has sections, at the end of each section they are a comment, but this comment is in a…
dani herrera
  • 48,760
  • 8
  • 117
  • 177
0
votes
1 answer

why can I access text properties through cursor object in OpenOffice?

I'm developing a simple script in OpenOffice Basic for Writer. I have a code like this: vText = ThisComponent.Text vc = ThisComponent.CurrentController.getViewCursor() c = vText.createTextCursorByRange(vc.getstart()) baseM =…
agsamek
  • 8,734
  • 11
  • 36
  • 43
0
votes
0 answers

Macro OpenOffice Writer: next record

I'm literally going crazy to create a simple macro in writer. How do I get the number of all records of the selected query and move to the next record? Below a piece of code. odoc=thiscomponent dispatcher =…
Fab
  • 31
  • 1
0
votes
0 answers

Random font i odt document

I have large odt document and I want change it so each character will have a random font (from a list of 5 fonts) with the same formatting (size, bolding etc). I wonder how to do this automatically. I know python, so I may write a script, but I…
MarcnB
  • 31
  • 3
0
votes
0 answers

How to import RichText/rtf and/or HTML content formatting into OpenOffice documents using PyUno

I'm looking to import RichText and/or HTML formatted text into OpenOffice documents, with the PyUno API. For now, the only solution I've found is to parse the format from source content and applying it to the document using text formatting (cursor's…
0
votes
1 answer

OpenOffice disable track changes via UNO (Java) interface

How can I disable track changes in OpenOffice Writer / LibreOffice Writer using the UNO Java API?
0
votes
1 answer

How to write macro for OpenOffice Writer to remove all index markerkers

OpenOffice Writer Index builder is very useful, but has some problems. For example even if terms are removed from the concordance file and a document is re-indexed the removed terms remain indexed. A macro can be written for Microsoft Word to remove…
David
  • 101
  • 6
0
votes
1 answer

LibreOffice Writer, how to copy style from one document to another?

LibreOffice Writer Version: 7.0.4.2 Build ID: 00(Build:2) I need copy style from one Writer document to another (all styles) to make formatting clone. How to make this? Tried varios guides, but without success, possibly due to LibreOffice versions…
0
votes
1 answer

Placing cursor in the document for a given position using PyUNO

I am having Libreoffice7 installed with custom python 3.8.6 in Windows. I want to use PyUNO to navigate the view cursor to a specific position based on the X, Y coordinates(of instance com.sun.star.awt.Point) in a writer document. Is there a way by…
0
votes
1 answer

Is there a way to prevent MS docx document editing in OpenOffice?

I know this is too strange question, but we have multiple authors of one document and some contributors use OpenOffice to edit document, originating and edited by majority in MS word. Document is quite complex with differently structured paragraphs…
harmi22
  • 41
  • 1
0
votes
1 answer

how to select header section in OpenOffice ODT document with TinyButStrong TBS

I can successfully manipulate fields in the header and footer sections of a DOCX document with TinyButStrong (TBS) through this code: $TBS->PlugIn(OPENTBS_SELECT_HEADER); $TBS->MergeField('abk', 'ainfo', true); …
patmin
  • 117
  • 1
  • 10
0
votes
0 answers

How to select all in Open Office writer

I'm going through the process of converting a PDF into a spreadsheet. After some effort, I found that I could get it into an acceptable format for in Writer, then copy it into Calc. But I can't select all, and there are too many pages to select,…