Questions tagged [libreoffice]

LibreOffice (LibO) is a free and open source office suite, developed by The Document Foundation. It was forked from OpenOffice.org (OOo) in 2010.

LibreOffice (LibO) is a free and open source office suite, developed by The Document Foundation. It was forked from OpenOffice.org (OOo) in 2010.

The tag can be used for all LibreOffice questions. If your question is limited to one of the programs included in LibreOffice you can further add , , or . Questions targeting LibreOffice API and extension development should additionally be tagged with .

Resources:

1725 questions
0
votes
1 answer

libreoffice python: how to set text wrap properties of images

From stackoverflow I learned how to set image properties in LibreOffice Writer with pyhton macros, via com.sun.star.text.WrapTextMode. Now I use that to set the text wrap to THOUGHT. Now I would like to set the image to background, like a watermark.…
Lonerider
  • 11
  • 2
0
votes
1 answer

Django server crashes with exit codes 139, 77

Foreword Okay, I have a really complex perfomance issue. I'm building a content managment system and one of the features should be generating tons of .docx files with different templates. I started with Webodt + Abiword. But then templates got too…
Viktor
  • 4,218
  • 4
  • 32
  • 63
0
votes
0 answers

Take a screenshot of a file

I work for PHPOffice library. I wish testing rendering of generated files (Excel, Word or PowerPoint & LibreOffice equivalents). I thought generating files, opening the Office application, taking a screenshot, and verifying that there is no…
0
votes
1 answer

How can I write a simple color formatting script for LibreOffice?

Select a Range Iterate rows of selection. For each iteration, if value of first column of selection equals x, make current row colored red, else make current row colored green?
Jonathan Komar
  • 2,678
  • 4
  • 32
  • 43
0
votes
1 answer

ActiveCell.Offset for libreoffice

How can I get access to nearby of selected cell in LibreOffice (OpenOffice)? I can get only selected cell with "ThisComponent.getCurrentSelection". I just need an alternative for MS Excel VBA function "ActiveCell.Offset".
0
votes
1 answer

How to put this sign in LibreOffice Writer

The sign is in this image: Unterschrift Kunde This is my first question; thank you for your understanding.
internacional
  • 47
  • 1
  • 7
0
votes
0 answers

Correct usage of a command line in a process start in C#

I have following problem: I'm trying to convert odt files to pdf with libre office. When I use this cmd line this works great: "C:\Program Files (x86)\LibreOffice 5\program\soffice.exe" --headless --convert-to pdf --outdir "C:\tmp" "C:\Program…
Canox
  • 557
  • 1
  • 7
  • 20
0
votes
1 answer

Excel Index of Bottom Element in Column but > 0

I have column A that is full of numbers ranging from 0 to 100. How can I get the index of the bottom element, but which is bigger than 0. For example 6 7 9 1 0 8 0 In this example the number returned should be "6", as it's the index of the cell…
0
votes
1 answer

Parameter "--outdir" is not recognised via pythons subprocess.call but does work in terminal

I would like to write a python script to automate the conversion of libreoffice ott templates to normal odt files. if I go to the terminal (bash shell) and I type: soffice --headless --convert-to odt "/path/template.ott" --outdir…
Tom
  • 3
  • 3
0
votes
1 answer

Run xslt from macro

I am going to make a xslt from data in Calc. Really I need to replace some data in ready xml files. I supposed to use a RegEx but sometimes I need to add/delete more siblings. So XSLT would be a good here. I played with xslt filters, it works, but…
YuryL
  • 1
  • 4
0
votes
1 answer

LibreOffice - Replacing specific parts of a text line

I have a series of lines in LibreOffice/OpenOffice, formatted like so: title(tab)data1(tab)data2(tab)data3 (tab) is an actual tab character. What I would like to be able to do is: prepend the line with "____ " bold "title" remove the first (tab),…
SlowCoder74
  • 103
  • 12
0
votes
1 answer

Open document format: meaning of "G" command in drawooo:enhanced-path attribute

I'm writing converter from .odp to .html with some cutomized formatting. I represent elements as with path in it. Everything works until there is "drawooo:enhanced-path" attribute, like:
Juraj
  • 161
  • 1
  • 2
  • 11
0
votes
1 answer

How to get the Style name of a paragraph in a libreoffice document with a python macro?

I'm in need to create a python macro for some odt and ods documents. I need to find the style name of a line and do some specific work for every style i found. I can open the documents, get the line but not the style. I've searched on internet and…
LordMax
  • 166
  • 1
  • 1
  • 9
0
votes
1 answer

Remove carriage return in python macro for libre or open office

I try to write a macro for libre/Open office in python. i use this for replace some string and it's work : document = XSCRIPTCONTEXT.getDocument() search = document.createSearchDescriptor() search.SearchString = "\:\Z" search.SearchAll =…
Slaan
  • 152
  • 1
  • 8
0
votes
1 answer

Aeroo Reports: Error while generating the report. ascii

I used aeroo report for generating xls report in openerp 7, I created ods file containing data as input file, and xls as output I used python function return arabic string, def _test(self, data): res=[] for item in data : …
khelili miliana
  • 3,730
  • 2
  • 15
  • 28