Le 11/08/2012 08:38, Jean-Francois Nifenecker a écrit :
 Le 10/08/2012 20:56, Jellyroll a écrit :
> Le symbole « degré » n'est pas la lettre « o » en exposant.
> Comment faites-vous pour écrire, en abrégé, « numéros » (numéro au
> pluriel) ?
>
> Je ne fais que me conformer à l'orthotypographie en écrivant « no »
> avec la lettre « o » en exposant, pour le mot « numéro » en
> abrégé.
 +1
 Je confirme que, typographiquement, l'abrégé de "numéro" est "n"
 suivi de "o" mis en exposant et non pas n suivi du symbole degré.
Bonjour,
Peut-être en créant une macro et en lui assignant un bouton ?
/REM  *****  BASIC  *****
Sub Main
End Sub
sub Numero
rem ----------------------------------------------------------------------
rem define variables
dim document   as object
dim dispatcher as object
rem ----------------------------------------------------------------------
rem get access to the document
document   = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")
rem ----------------------------------------------------------------------
dim args1(0) as new com.sun.star.beans.PropertyValue
args1(0).Name = "Text"
args1(0).Value = "n"
dispatcher.executeDispatch(document, ".uno:InsertText", "", 0, args1())
rem ----------------------------------------------------------------------
dim args2(2) as new com.sun.star.beans.PropertyValue
args2(0).Name = "Escapement.Escapement"
args2(0).Value = 101
args2(1).Name = "Escapement.Height"
args2(1).Value = 58
args2(2).Name = "Escapement.Auto"
args2(2).Value = true
dispatcher.executeDispatch(document, ".uno:Escapement", "", 0, args2())
rem ----------------------------------------------------------------------
dim args3(0) as new com.sun.star.beans.PropertyValue
args3(0).Name = "Text"
args3(0).Value = "o"
dispatcher.executeDispatch(document, ".uno:InsertText", "", 0, args3())
rem ----------------------------------------------------------------------
dispatcher.executeDispatch(document, ".uno:ResetAttributes", "", 0, Array())
rem ----------------------------------------------------------------------
dim args5(0) as new com.sun.star.beans.PropertyValue
args5(0).Name = "Text"
args5(0).Value = " "
dispatcher.executeDispatch(document, ".uno:InsertText", "", 0, args5())
end sub/
--
Envoyez un mail à users+help@fr.libreoffice.org pour savoir comment vous désinscrire
Les archives de la liste sont disponibles à http://listarchives.libreoffice.org/fr/users/
Tous les messages envoyés sur cette liste seront archivés publiquement et ne pourront pas être 
supprimés
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.