Hi On 27/08/11 07:18, 20rdj04 wrote: > 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? > > > Must be nabble or something because the formatting is fine in my view of the mailing list. steve
-- For unsubscribe instructions e-mail to: [email protected] 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
