915 questions
1
vote
1
answer
308
views
How to store hidden, persistent metadata in DOCX files that survives edits
I am looking for a way to add machine-readable metadata to DOCX reports I generate. The goal is to allow users to modify the document's styles and re-upload it to the system while preserving the ...
1
vote
0
answers
61
views
How to write text to currently opened Apache OpenOffice Writer document
Using c#, I am loading a new Writer document and writing a text into it.
(My version is Apache OpenOffice 4.1.4).
I have referred to below link and done some changes and was able to load a document ...
0
votes
0
answers
46
views
Is there a way to automatically export OpenOffice/LibreOffice drawings to bitmaps, with options?
I have some drawings in multi-paged .ODG files. I would like to have a way to automatically export them to bitmaps, with a controlled set of export options.
I'd like the exported format to be PNG or ...
0
votes
1
answer
542
views
Error While Loading Document using OpenOffice SDK in JAVA
I'm trying to Load a document using OpenOffice SDK in JAVA. I'm Using XComponentContext xContext = Bootstrap.bootstrap(), and trying to get the remote office component context of OpenOffice through ...
0
votes
1
answer
186
views
Table containing the count of multiple columns?
I've got the following table:
Question 1
Question 2
Question 3
a
a
b
b
a
c
a
c
e
c
b
e
a
d
a
How do I create a pivot table (or something similar) containing the count of answers per question?
i.e. ...
-1
votes
1
answer
984
views
Code or command-line for converting ODG (open document graphic) to PNG, JPEG, etc? (Windows and/or macOS)
I've spent many hours searching for open-source code or utilities (but NOT the full LibreOffice suite) that would let me convert an ODG (Open Document Graphic) image to any standard format like PNG or ...
0
votes
1
answer
268
views
Angular frontend Spring backend file download not working or corrupt
I have some files (.odt) stored in a mysql database which I try to download
Spring backend (not Spring boot):
Controller:
@RequestMapping(value = "/downloadRequest", method = RequestMethod....
0
votes
0
answers
79
views
How a can open programmaticly LibreOffice in modal mode in separate process
How a can open programmaticly LibreOffice in modal mode in separate process, like winword.exe /w?
under windows/linux
Didn't find anything...
2
votes
0
answers
451
views
.net LibreOffice Handle is not initialized exception
Our team updated an existing winform application to .net 6. Since this update we cannot open files with open office anymore. The SDK cannot be initialized anymore.
the following code throws an ...
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?
0
votes
1
answer
372
views
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....
0
votes
1
answer
236
views
How to use Imports System.Xml in Open Office (Basic)?
Whenever I place Imports System.Xml above the rest of the code I get an error:
BASIC syntax error. Expected: Sub.
And when I place it inside any of the Subs I get another error:
BASIC syntax error. ...
0
votes
1
answer
689
views
LibreOffice Tree with columns
I am writing an extension for LibreOffifce.
A tree with columns on my sidebar is needed. (example - https://doc.qt.io/qt-5/qtwidgets-itemviews-simpletreemodel-example.html)
I found information about ...
1
vote
1
answer
142
views
Read data in OpenOffice xlsx file then convert to a list using python
Good day. I am using pandas to read a column of data in a xlsx file. I only have 1 column and it is filled with ages of people. This is my code:
import math
import pandas as pd
import openpyxl
df = ...
1
vote
1
answer
609
views
Basic Wrapper for LibreOffice Calc Python UDF
How is the Basic wrapper call formed to run a LibreOffice Calc Python User Defined Function using non-integer spreadsheet ranges?
I'm not clear on how to declare the function properly for the values ...
0
votes
1
answer
122
views
go to end of word is not always followed
I have this macro that works as expected. I type any junk word for e.g.
testd
on a new line, place the cursor at the beginning of the word and run the macro. The word is added to standard dic. I can ...
-1
votes
1
answer
65
views
Regular Expression 65 CPL and No Word Breaks
I'm trying to perfect a regular expression to take paragraphs of text and arrange them with a 65 character per line limit, and specifically not to split any words.
I'm using Apache OpenOffice to Find ...
0
votes
1
answer
39
views
Cannot retrieve container for XShape in LibreOffice
I'm struggling with some code using LibreOffice 7.1.0 on Windows 10 to append images from a folder into separate slides in Impress. I've been looking here and OpenOffice documentation. This call ...
1
vote
2
answers
784
views
How to trigger AutoFit / SetOptimalHeight in LibreOffice Calc programmatically?
I'm using unoconv to convert XLSX => PDF. I need LibreOffice to wrap text and increase row heights dynamically depending on the contents of the XLSX file. Is there a way to do this programmatically,...
1
vote
2
answers
2k
views
org.artofsolving.jodconverter.office.OfficeManager is not initializing in wicket
I have upgraded my application from Wicket 1.x to 8.x version.
I am facing an issue to convert Excel file into PDF format.
Using this below dependencies:
<dependency>
<groupId>net.sf....
1
vote
1
answer
1k
views
PHP convert docx file to pdf
I am using PHP as a backend end, I generate a Docx file on the backend and I want to send it to the frontend to make the user print it directly without downloading it.
So I wanted to convert the Docx ...
0
votes
1
answer
256
views
python to auto fill in import text in open office
(character set ,seperator options, and Fields in Apache Open Office)
The original file I have is a csv file. I want to change the character set ,seperator options, and Fields using python code and ...
0
votes
0
answers
688
views
Can the XML-based Document files be rendered in the web browser
Open Office Document types (like .odt,.ods,...) are based on an extended version of XML.
XML documents with XSL documents can be easily used to make web browser renderable web pages.
I created an Open ...
0
votes
1
answer
161
views
How can a formula be used in scalc (Apache OpenOffice) to count cells with content, while the count should stop at the first empty cell?
Here (https://www.howtoexcel.org/formulas/how-to-find-the-position-of-the-first-non-blank-cell-in-a-range/) is a source for Excel where the following formula is described:
{=MATCH(FALSE,ISBLANK(B3:B9),...
0
votes
1
answer
324
views
OpenOffice Basic macro vs openoffice API
I am planning to write openoffice macros using openoffice basic language. I am struggling to find the objects and methods related to openoffice documents. I googled and found some example codes and ...