How do I open/populate a Writer “master document” programmatically?
Caolán McNamara
caolanm at redhat.com
Mon Mar 26 11:32:48 UTC 2018
On Mon, 2018-03-26 at 09:36 +1000, Jens Tröger wrote:
> Hello,
>
> This email is a repost of the same question to the AOO forums: in
> short, I’d like to open a Writer “Master Document” programmatically,
> and then load multiple files into that document to iterate over all
> of their contents. I haven’t quite figured out how to open that
> Master Document though: is it a predefined URL argument to
> loadComponentFromURL() like e.g. private:factory/swriter?
private:factory/swriter/GlobalDocument should do it I think
More information about the LibreOffice
mailing list