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


Hi Pavel,

On Wed, Nov 27, 2013 at 01:45:11PM +0100, Pavel Laštovička <pavel.lastovicka@blue-point.cz> wrote:
is there a way to reformat parts or whole text document e.g. from a
Basic macro? Without inserting / changing a text content to force
formatting.

It's possible to create a text range that covers the whole document,
then you can set properties on it, if you mean something like paragraph
or text portion formatting.

I am thinking about a macro changing a compatibility option called
by user during document editing.

Here is an example how you can set such compatibility options using UNO:

http://opengrok.libreoffice.org/xref/core/writerfilter/source/filter/ImportFilter.cxx#267

This is C++, but you can do the same from a macro as well.

Miklos

Attachment: signature.asc
Description: Digital signature


Context


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.