Hallo *,
wenn man öfters in WRITER spezielle Zeichen einfügen will, ist es
nützlich, für jedes Zeichen ein kleines Makro zu schreiben und diese
Makros mit bestimmten Tasten oder Tastenkombinationen zu verknüpfen.
Ich habe das für die Guillemet-Zeichen gemacht und die Makros mit den
Tasten F2-F5 verknüpft. Funktioniert prima ...
' Guillemet: https://de.wikipedia.org/wiki/Guillemets
' Unicode : http://www.unicode.org/charts/
' » = [Alt]+[0187] Ziffernblock {windows} = U+00BB {unicode} = 0187
{decimal}
Sub F2_Guillemet_RECHTS
Dim oVC As Object
oVC = ThisComponent.CurrentController.getViewCursor()
oVC.getText.insertString(oVC.getStart(),Chr(187),False)
End Sub
' « = [Alt]+[0171] Ziffernblock {windows} = U+00AB {unicode} = 0171
{decimal}
Sub F3_Guillemet_LINKS
Dim oVC As Object
oVC = ThisComponent.CurrentController.getViewCursor()
oVC.getText.insertString(oVC.getStart(),Chr(171),False)
End Sub
' › = [Alt]+[0155] Ziffernblock {windows} = U+203A {unicode} = 8250
{decimal}
Sub F4_Guillemet_EINFACH_RECHTS
Dim oVC As Object
oVC = ThisComponent.CurrentController.getViewCursor()
oVC.getText.insertString(oVC.getStart(),Chr(8250),False)
End Sub
' ‹ = [Alt]+[0139] Ziffernblock {windows} = U+2039 {unicode} = 8249
{decimal}
Sub F5_Guillemet_EINFACH_LINKS
Dim oVC As Object
oVC = ThisComponent.CurrentController.getViewCursor()
oVC.getText.insertString(oVC.getStart(),Chr(8249),False)
End Sub
Grüße
Hans-Werner ;-))
--
Liste abmelden mit E-Mail an: users+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/users/
Datenschutzerklärung: https://www.documentfoundation.org/privacy
Context
- Re: [de-users] LO 7.6.3.2 und ALT 16 · OoOHWHOoO
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.