Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index

Bonjour Jean Baptiste

apres test sur document reel, ce qui suit marche
le truc est de forcer le updateMode a priori

tiens moi au courant



 Sub Main

     embeddedObjects = ThisComponent.getEmbeddedObjects()
     elementNames = embeddedObjects.getElementNames()
     for i=0 to UBOUND(elementNames)
         element = embeddedObjects.getByName(elementNames(i)).Model

         if (not isNull(element)) then
if (element.supportsService("")) then

                ' forcer l'update
realElem = embeddedObjects.getByName(elementNames(i)).EmbeddedObject realElem.updateMode =
                 element.BaseFontHeight = 50
                 element.FontNameVariables= "Arial"
                 element.FontNameFunctions = "Arial"
                 element.FontNameNumbers= "Arial"
                 element.FontNameText= "Arial"

     next i

 End Sub

Envoyez un mail à pour savoir comment vous désinscrire
Les archives de la liste sont disponibles à
Tous les messages envoyés sur cette liste seront archivés publiquement et ne pourront pas être 


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.