Hi :) It's the "Getting Started" Guide that has a chapter about Macros, chapter 13 http://wiki.documentfoundation.org/Documentation/Publications#Getting_Started_with_LibreOffice I think that's the one you meant.
Also Andrew Pitonyak's guide listed in the 3rd party guides is excellent apparently http://wiki.documentfoundation.org/Documentation/Publications#Programmers It's the last guide in that list. Good luck and regards from Tom :) --- On Mon, 14/5/12, Dotan Cohen <dotanco...@gmail.com> wrote: From: Dotan Cohen <dotanco...@gmail.com> Subject: Re: [libreoffice-users] Writer: How to know the X, Y coordinates of an object on the page? To: users@global.libreoffice.org Date: Monday, 14 May, 2012, 19:15 On Mon, May 14, 2012 at 7:22 PM, Fernand Vanrie <s...@pmgroup.be> wrote: > On 14/05/2012 17:55, Dotan , > > OK, then we use the table and some basic macro code > > oDesktop = createUnoService("com.sun.star.frame.Desktop") > oDocument = ThisComponent > oVCursor = ThisComponent.CurrentController.getViewCursor() > oText = oDocument.getText() > oFrame = oDocument.CurrentController.Frame > oDispatcher = createUnoService("com.sun.star.frame.DispatchHelper") > oTable = ThisComponent.getTextTables().getByName("Table1") > ovcursor.gotoStart(false) > > now the Viewcursor is in the top left cell of the table > > do xray on oVcursor to find the rest > Wow, thanks Fernand. I must admit that I don't even know where to begin with macros and I will have to do some reading before I get very far with this. The official Writer Guide does not have any real information on macros, but with your example code I should be able to google my way around. Thank you very much! For the archives, that is for my future self next time I get stuck with this: I simply increased the page zoom to a few hundred percent and then looked at where on the ruler fell the cell border in question. It was at 5.6 units, which makes sense as it represents the fold of the page, which is itself just a tad over 11 units tall. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- For unsubscribe instructions e-mail to: users+h...@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 -- For unsubscribe instructions e-mail to: users+h...@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