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

Hi Alain,

Alain Van Utterbeeck schrieb:

I'm writing a macro and have a problem:

in my macro I insert a table in my document:
                     args4(0).Name = "TableName"
                     args4(0).Value = "Tabel1"
                     args4(1).Name = "Columns"
                     args4(1).Value = 3
                     args4(2).Name = "Rows"
                     args4(2).Value = 2
                     args4(3).Name = "Flags"
                     args4(3).Value = 11
".uno:InsertTable", "", 0, args4())

".uno:InsertText", "", 0, args1())
".uno:JumpToNextCell", "", 0, Array())

I fill my table and JumpToNextCell automaticaly adds rows when I come to
the last cell.

I don't find however how to jump out of the table to continue and insert
a new paragraph after my table.

Any ideas how I get out of the table?

Precondition: The cursor is after the text in the bottom right cell.
Recording it, I get

dim args1(1) as new
args1(0).Name = "Count"
args1(0).Value = 1
args1(1).Name = "Select"
args1(1).Value = false
dispatcher.executeDispatch(document, ".uno:GoDown", "", 0, args1())

Kind regards

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.