First time here? Check out the FAQ!
asked 2012-06-26 12:22:34 +0200
Is it possible for a LibreOffice (I'm using 22.214.171.124. beta2 version now) to configure specified special characters (for example - ʃ - or - ƥ -) to bet be put in a Writer using keyboard shortcut?
You could use the following macro , and assign it to a shortcut key.
Sample U+222B INTEGRAL ∫
Sub insert_integral Dim oDoc as variant oDoc = ThisComponent Dim oCurrentController as variant oCurrentController = oDoc.getCurrentController() Dim oTextViewCursor as variant oTextViewCursor = oCurrentController.getViewCursor() Dim oText as variant If IsEmpty(oTextViewCursor.Cell) Then oText=oTextViewCursor.Text Else oText=oTextViewCursor.Cell.Text End If oText.insertString(oTextViewCursor,chr(clng("&H222B")),false) End Sub
(1) Tools → Macros → Organize Macros → LOdev Basic... → Edit
(2) Tools → Customize... → Keyboard
Category: LOdev Macros/user/Standard/Module 1
Modify → OK
(3) Test with LibreOffice 126.96.36.199.beta2
 Source: Writer - Macro für Zeichen einfügen
Thanks to Regina Henschel!
You could use this extension → Compose Special Characters.
("There are two ways to create special characters - Compose Special Characters and Compose Unicode Characters.")
Tools → Extension Manager → Add... → ComposeSpecialCharacters-2.0.10.oxt
answered 2012-06-27 22:51:57 +0200mouflon
Thank you very much for your kind contribution. I wish someday creators of Libre- will invent an equivalent for an option "paste->special symbols", like in (ergh) Office. I'll try both ways and maybe I'll reply.
LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!
Asked: 2012-06-26 12:22:34 +0200
Seen: 1,794 times
Last updated: Dec 09 '12