When pasting RTF text with indentations into LO writer the text imports fine. Usually the text is copied from a powerpoint or PDF version of powerpoint which includes multiple line indentation parameters, which I wish to remove or set to 0/automatic. I can right-click on the newly imported text, select paragraph → paragraph and ensure that “Don’t add space between paragraphs of the same stvle” is ticked and line spacing is set to single.
Tried capturing these two setting changes in a paragraph style but it also resets all the indentations essentially ruining the formatting and structure of the text. Have to copy a lot of text and cannot do it all in one action. Tried capturing these settings into a paragraph style but applying the style seems to break the indentation so that everything is flush against the side of the margin.
Am wondering how to set these two options via a macro, which should get around this problem.
How can I set the following options via a macro?
paragraph options
- “Don’t add space between paragraphs of the same stvle” is ticked
- line spacing is set to single.
character options
set character spacing 0 - (character… → position tab → character spacing)