Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index

Am 09.08.2015 um 16:52 schrieb Hi-Angel:
In python I have an opened document, and I need to change styles of
some «Heading 1»'s. (actually I need to do the thing like here
, but in script)

I couldn't figure out, what is a function or property of an opened
with «loadComponentFromURL» document to iterate over these? I guess
that would be something like «getAllParagraphs», or
«getParagraphsByStyle»… Either way, I couldn't find anything relevant.

In the GUI you simply modify the paragraph style in order to change the
appearance of all the paragraphs where the stye applies.
Without MRI you should not even try to write any macros.

[Tutorial] Introduction into object inspection with MRI

It leads you to the StyleFamilies of your documents and the built-in
ParagraphStyles which are accessible by their English names. On the fly
it records macros in 4 langauges.

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.