Questions tagged [libreoffice-writer]

135 questions
7
votes
1 answer

Which output format of Libre Office can I use to track the history of my files?

I thought of using the FODT output format for tracking the history of files using Git SCM. But it seems that FODT is quite verbose. For example I generated a file That contains Hello Wordld! I changed the Text to Hello World. Then I checked the…
Edward
  • 4,453
  • 8
  • 44
  • 82
5
votes
1 answer

How do I check for broken internal links in Star Basic?

I am creating a Basic macro for LibreOffice Writer to check for broken internal links. In a nutshell: generate a list of all anchors loop through the document, finding internal hyperlinks if the internal hyperlink is not on the anchor list, open it…
4
votes
1 answer

LibreOffice writer field calculations

In a LibreOffice writer document with a field of #temperature_farenheit. Is there a way to create a field named #temperature_celcius that would automatically calculate and insert the correct temperature? And if this is possible, what types of…
BrianWilson
  • 1,653
  • 2
  • 12
  • 16
4
votes
1 answer

Generate new writer document from template with calc cell values

I have a LO Calc spreadsheet to collect my invoices in. I would like to automagically fill a new writer doc from a specific template with the values from one row of the invoice spreadsheet. Best would be to set the filename according to the calc…
3
votes
1 answer

How to convert pdf to docx in libreoffice 6.4?

I have libreoffice 6.4 installed in my ubuntu 18.04 container. The goals is to convert a pdf file to docx. I have already tried these commands : libreoffice --headless --convert-to docx:"Microsoft Word 2007/2010/2013 XML" /pdf/pdf.pdf --outdir…
Budianto IP
  • 1,118
  • 1
  • 13
  • 27
3
votes
1 answer

How to prevent line breaks (general)

I'm writing a text on C++. But often the line breaks after the first "+", so I get C+ + This is just an example. How can I prevent line breaking of arbitrary parts in my odt doc?
DarkTrick
  • 2,447
  • 1
  • 21
  • 39
3
votes
0 answers

How to create conditional text in Libreoffice Writer?

I want to create a template for a contract document and maintain several options within the same ODT file instead of maintaining multiple files for each variant of the contract. This means that some paragraphs should be optional and some parts of…
Brain
  • 311
  • 2
  • 12
3
votes
1 answer

Enumerate FieldMarks in a libreoffice document

Libreoffice represents docx text fields as fieldmarks. I can create them via the UNO bridge with the following MWE: # to connect as client` import uno from pythonscript import ScriptContext resolver =…
tstenner
  • 10,080
  • 10
  • 57
  • 92
2
votes
0 answers

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 The conversion succeeds without any error. However, the hyperlinks do not work. The hyperlinks in the file…
2
votes
2 answers

Is there an equivalent to odt2txt to generate a readable git diff for fodt-format LibreOffice files?

I have LibreOffice Writer files under git control. I've previously used .odt format and used odt2txt to get readable diffs, by including [diff "odt"] textconv = odt2txt in my git config file. I'm trying to use the XML-text .fodt format instead,…
codingatty
  • 2,026
  • 1
  • 23
  • 32
2
votes
7 answers

Can you Print the wavy lines generated by Spell check in writer?

As per google group, this macro can be used to print mis-spelled words in MS office. https://groups.google.com/g/microsoft.public.word.spelling.grammar/c/OiFYPkLAbeU Is there similar option in libre-office writer?
shantanuo
  • 31,689
  • 78
  • 245
  • 403
2
votes
0 answers

Accessibility-Tweak in LibreOffice: How to prevent accidentally selected text from getting replaced when typing?

I'm trying to make my 97 years old grandma's laptop(Ubuntu 20.04) more accessible for her. She often is frustrated because text that she has written in LibreOffice Writer vanishes. Disabling the touchpad and using an external mouse already helped a…
Anton S.
  • 141
  • 4
2
votes
1 answer

How to make part of my sentence left aligned and rest as right aligned

Let say I have a sentence as This is my whole sentence. Now I want a part of above sentence This is left aligned. And the remaining part of same sentence my whole sentence as right aligned. I basically wanted to have option to configure Footer of my…
Bogaso
  • 2,838
  • 3
  • 24
  • 54
2
votes
2 answers

How to start a Paragraph always in a new page?

Let say I have 3 paragraphs in one page. Now if I add few new sentences in 1st Paragraph, all 2 Paragraphs below the first, will move downwards in a continuous fashion. However I want all these 3 paragraphs will start in a new page. Let say, first…
Bogaso
  • 2,838
  • 3
  • 24
  • 54
2
votes
1 answer

Copy and paste svg image to libreoffice writer using xclip

I am used to use xclip to copy/paste png files into libreoffice writer. The command I use is: xclip -selection clipboard -t "image/png" -i Now, I want to copy/paste svg images, but I cannot figure out what is the appropriate "target"…
Carlos Galdino
  • 302
  • 3
  • 14
1
2 3
8 9