html,body{background-color:#fff;color:#333;line-height:1.4;font-family:arial, helvetica,
sans-serif;;}
Das ist ein Teilaspekt meiner Mailkette "Seitenvorschau im Writer"
Ich habe mich mit dem Makro zur Umschaltung der Ansicht beschäftigt.
"Tools - Macros - Record Macro" funktioniert gut. Das Ergebnis ist folgendes:
REM ***** BASIC *****
sub ViewOverviewPagesrem ----------------------------------------------------------------------rem
define variablesdim document as objectdim dispatcher as objectrem
----------------------------------------------------------------------rem get access to the
documentdocument = ThisComponent.CurrentController.Framedispatcher =
createUnoService("com.sun.star.frame.DispatchHelper")
rem ----------------------------------------------------------------------dim args1(2) as new
com.sun.star.beans.PropertyValueargs1(0).Name = "Zoom.Type"args1(0).Value = 0args1(1).Name =
"Zoom.ValueSet"args1(1).Value = 28703args1(2).Name = "Zoom.Value"args1(2).Value = 65
dispatcher.executeDispatch(document, ".uno:Zoom", "", 0, args1())
end sub
Man kann das Makro leicht anpassen an die gewünschte Zoomstufe entsprechend dem Monitor.
Drei der Makros für drei Zoomstufen eingebunden in die Toobar - bedient sich super.
Aber: Obwohl ich bewusst den Wert von "Columns" geändert habe, das kommt nicht an. Damit ist das
Ganze nutzlos.
Das makro heißt ja auch nur "Zoom" und nicht "Page view" oder so.
Für die Einstellung der Anzahl Seiten nebeneinander "Columns" habe ich nichts gefunden. Ich vermute
mal, die viele der uno Befehle stammen noch aus Star- oder OpenOffice und da gab es sowas noch
nicht (....?)
Gibt es einen Weg, programmtechnisch hier komplett zu werden, einen programmierten Button zu haben?
Ähm was ist die Magic number 28703, nichts in der Doku gefunden.
--
Liste abmelden mit E-Mail an: discuss+unsubscribe@de.libreoffice.org
Probleme? https://de.libreoffice.org/hilfe-kontakt/mailing-listen/abmeldung-liste/
Tipps zu Listenmails: https://wiki.documentfoundation.org/Netiquette/de
Listenarchiv: https://listarchives.libreoffice.org/de/discuss/
Datenschutzerklärung: https://www.documentfoundation.org/privacy
Context
- [de-discuss] Seitenvorschau im, Writer: Makro uno:Zoom: es fehlt Angabe der Anzahl Seiten (Columns) · 9876
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.