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


These four statements, and others, stand on their own: 
dispatcher.executeDispatch(document, ".uno:GoToNextPara", "", 0, Array()) 
dispatcher.executeDispatch(document, ".uno:InsertPara", "", 0, Array()) 
dispatcher.executeDispatch(document, ".uno:GoToEndOfLine", "", 0, Array()) 
dispatcher.executeDispatch(document, ".uno:Delete", "", 0, Array())  

But moving the cursor Up, Down, Left, or Right requires a DIM set of
statements.  And if I want to move Up or Down 5 lines, 5 arrays are needed,
args1, args2, args3, etc.  I recognize that I can change the Value from 1 to
5 and delete the following 4 sets, but why is it necessary?  

I have a macro now (Re Arrange) which requires that I move down 3 lines to
get part of the old record, and then up 3 lines to place the part, then down
3 lines, and up...  

Also, in the set  

dim args38(1) as new com.sun.star.beans.PropertyValue
args38(0).Name = "Count"
args38(0).Value = 1
args38(1).Name = "Select"
args38(1).Value = false

dispatcher.executeDispatch(document, ".uno:GoDown", "", 0, args38())

what does Value = false mean; what does Value = true mean?  In the last
line, what is "" for (a missing parameter, I expect); and what is the 0 for? 
Can the zero be replaced by another number upon occasion?


--
View this message in context: 
http://nabble.documentfoundation.org/Macro-Questions-tp3287764p3287820.html
Sent from the Users mailing list archive at Nabble.com.

-- 
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

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.