228 questions
1
vote
1
answer
46
views
Where do table cells get their CharHeight from in LibreOffice Writer
In a Libre Office Writer text document, i would like to reset all explicitely applied font size settings, both in text paragraphs as well as in tables.
For paragraphs i can find such explicit settings ...
0
votes
0
answers
87
views
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
...
0
votes
1
answer
125
views
OpenOffice disable track changes via UNO (Java) interface
How can I disable track changes in OpenOffice Writer / LibreOffice Writer using the UNO Java API?
4
votes
0
answers
905
views
Broken hyperlinks when converting .docx files to PDF via LibreOffice
I'm attempting to convert .docx files to .pdf via soffice, using the following command:
soffice --convert-to pdf input.docx --outdir <outdir>
The conversion succeeds without any error. However, ...
1
vote
1
answer
1k
views
XDocReport: Issue by filling tables with Freemarker in ODT-file
I tried to rebuild the sample from the XDocReport documentation, but when i try to create tables or fill them. It always fails due to the follwing error. I cannot figure out what the issue is...
I ...
-2
votes
1
answer
72
views
How do I resolve this error in saving a new odt after a regex?
I've been trying to find good documentation to solve this ... but from what I can see from what little documentation, this code should have worked ... I'm rather curious as to why this isn't working, ...
1
vote
1
answer
233
views
HTML table does not display correctly in Open Office Writer
I have below html table which is displaying correctly by browser but has a wrongly shifted border when viewed by OpenOffice Writer (see the last image).
Please suggest what's gone wrong and can it be ...
0
votes
1
answer
325
views
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->...
0
votes
0
answers
897
views
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 ...
1
vote
0
answers
82
views
How to automatically/programmatically hide a column with empty data in OpenOffice
I have a table with some data like this
I want to hide or delete the column (with empty data) in the center using openoffice (programmatically)
4
votes
1
answer
384
views
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 ...
0
votes
0
answers
219
views
Cannot open openxml document created with openoffice writer
I am trying to create a docx file that I can open in open office writer with the following code. The app runs and creates the doc, but when I try to open it I get a "general input/output error" ...
0
votes
1
answer
745
views
How to remove paragraph breaks in openoffice
I am using openoffice 4 and i have a Paragraph Breaks between two pages and i want to avoid it
1
vote
2
answers
1k
views
Fonts problem with OpenOffice + jodconverter
I´m using staroffice9 as service in a Solaris.
With a Java aplication, with jodconverter-2.2.2, trying to convert a doc into a PDF, the PDF generated shows with wrong chars, and seems Fonts are not ...
1
vote
1
answer
261
views
LibreOffice Writer: get contents of the next cell to the found one
I need to find some text in the Writer table, then get contents of the cell right of the found text into the variable. Text is found successfully with this code:
Sub get_contr_num
dim oDoc as ...
0
votes
0
answers
580
views
Open office sdk create xls, doc,ppt files in Java
How to create a xls file using open office sdk? Please give Java example source code. Also needed to create word and power point files. I’m not able to get any examples
Below is the code I tried. ...
0
votes
1
answer
2k
views
How to print a .ODT file in C # or VB.NET?
I have a program in VB.NET that opens and changes a document with ODT extension, I am using the AODL dll, below a trex of code:
Imports AODL.Document.TextDocuments
Dim document As New TextDocument
...
4
votes
1
answer
325
views
libreoffice/openoffice Auto Spell Check has never worked
I have used OpenOffice/LibreOffice for at least a decade. I do not write documents very often, and the biggest pet peeve I have is that I have to google the recipe to turn spell check on EVERY TIME ...
3
votes
1
answer
2k
views
How to insert image in OpenOffice Document using Delphi
I am using approach mentioned in accepted solution of
How to Search and Replace in odt Open Office document?
for search and replace text in odt document using Delphi
now my requirement is replace ...
0
votes
1
answer
107
views
Pixelwise scrolling for LO/OO Writer
In LO/OO Writer vertical scrolling can be done e.g. by moving the text cursor up/down, using the mouse wheel, clicking the up/down arrows on the vertical scrolling bar, etc.
Touch scrolling (on touch ...
0
votes
0
answers
294
views
How to export text document containing astral Unicode characters to PDF
I regularly create documents that need Unicode characters above U+FFFF. Unfortunately, OpenOffice and LibreOffice are both unable to correctly export these characters when creating a PDF. The actual ...
1
vote
0
answers
294
views
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 ...
0
votes
1
answer
398
views
LibreOffice Writer — a way to protect a shape from deleting
Is there a way to protect (to lock) a shape not just from resizing or moving but from deleting too? The shape should be visible, but not movable, resizable or deletable.
I need something like Object ⟶ ...
0
votes
0
answers
46
views
OpenOffice dynamically resized texbox
I am creating template of PDF file that consists of key-value data.
This data is inserted via Java-application. I am creating this template using OpenOffice. There are textbox elements located in ...
1
vote
1
answer
2k
views
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 ...