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


Bonjour Luc

une piste par macro

regarde du coté de cette api
http://api.libreoffice.org/docs/idl/ref/servicecom_1_1sun_1_1star_1_1text_1_1textfield_1_1Annotation.html

HTH

Laurent

'--------------

sub boucleNotes
' sans garantie ;)

doc = thisComponent

for f = 0 to doc.sheets.count - 1

        feuille = doc.sheets(f)
        annotations = feuille.annotations

        for a = 0 to annotations.count - 1
                
                note = annotations(a)
                
                ' la bulle
                shape = note.annotationShape
                shape.cornerRadius = 200
                shape.FillTransparence = 0
                shape.charHeight = 10
                size = shape.getSize()
                size.width = 6500
                shape.setSize(size)

                ' le texte, tu as aussi la propriété text
                note.string = "test"

        next a

next f

print "fin"

end sub

--
Envoyez un mail à users+unsubscribe@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.