[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libreoffice-users] special characters from keyboard?
- Subject: Re: [libreoffice-users] special characters from keyboard?
- From: Regina Henschel <email@example.com>
- Date: Fri, 9 Aug 2019 12:31:36 +0200
- To: firstname.lastname@example.org
if you want to go with macros, the following will work:
The general part once (you might need to correct line breaks):
Sub lcl_InsertCharacter_Writer(byval sChar as string)
Dim oDoc as variant
oDoc = ThisComponent
Dim oCurrentController as variant
oCurrentController = oDoc.getCurrentController()
if not(oCurrentController.supportsService("com.sun.star.text.TextDocumentView")) then
msgbox("only for text documents")
Dim oTextViewCursor as variant
oTextViewCursor = oCurrentController.getViewCursor()
Dim oText as variant
If IsEmpty(oTextViewCursor.Cell) Then
And then for each desired character, for example:
Of cause you need to adapt the number "&H0161" or "&Hc7" to your character. You can assign a short-cut to macros. Macros are at the bottom of the Category list in the Keyboard tab of the Customize dialog.
I found it difficult to remember short-cuts. Therefore I had made an own toolbar for these characters, where I used the character itself as name for the icon. I had added the macros and the toolbar to a document template. I had used it many yours ago for my pupils, so that they could easily write French texts. But with the new special character dialog, such is not really needed nowadays.
To unsubscribe e-mail to: email@example.com
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
|[libreoffice-users] Problema sicurezza CVE-2019-9848 e CVE-2019-9848 e patch per Fresh non per Steel||Andrea Ferraris - Comune di Cossato <firstname.lastname@example.org>|
|Re: [libreoffice-users] Security Problema CVE-2019-9848 e CVE-2019-9848 and patch for Fresh not for Steel||Andrea Ferraris - Comune di Cossato <email@example.com>|
|[libreoffice-users] Re: Security Problema CVE-2019-9848 e CVE-2019-9848 and patch for Fresh not for Steel||V Stuart Foote <VStuart.Foote@utsa.edu>|
|[libreoffice-users] special characters from firstname.lastname@example.org|
- Prev by Date: Re: [libreoffice-users] special characters from keyboard?
- Next by Date: Re: [libreoffice-users] special characters from keyboard?
- Previous by thread: Re: [libreoffice-users] special characters from keyboard?
- Next by thread: [libreoffice-users] No spellcheck on fields.