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


Hallo *,

ich suche den Makrocode, der mir in einer Tabelle den Cursor in die unterste rechte Zelle einer Tabelle setzt. Beispiel: Tabellen mit zwei Zeilen und zwei Spalten (A1, A2, B1 und B2) -> Cursor soll in B2 gesetzt werden. ACHTUNG: "B2" geht nicht, da variabel. Es könnte genauso gut "B5" oder "C3" sein.

Der folgende Code funktioniert leider nicht, da "gotoEnd(True)" den Cursor an das Dokument-Ende setzt.

ThisComponent.CurrentController.select(oTable)
oVCursor = ThisComponent.CurrentController.getViewCursor()
oVCursor.gotoEnd(True)

Hat jemand noch eine Idee?

LO: LibreOffice 3.4.5 OOO340m1 (Build:502)
OS: Windows 7 Prof 64 Bit

Gruß

Jochen

--
Informationen zum Abmelden: E-Mail an users+help@de.libreoffice.org
Probleme? http://de.libreoffice.org/hilfe-kontakt/mailing-listen/abmeldung-liste/
Tipps zu Listenmails: http://wiki.documentfoundation.org/Netiquette/de
Listenarchiv: http://listarchives.libreoffice.org/de/users/
Alle E-Mails an diese Liste werden unlöschbar öffentlich archiviert

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.