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


Hello,
---
Envoyez un mail à users+help@fr.libreoffice.org pour savoir comment vous désinscrire
---
;-)

On 01/10/2012 19:17, mariedervin16 wrote:
Merci de me dés abonner. Impossible depuis mon mac.

claude<pref-open-office@haute-garonne.gouv.fr>  a écrit :

Bonjour,

Merci cela fonctionne en passant par les cellules.

Bonne journée

Claude

-------- Message original --------
Sujet : [fr-users] Re: macro : bordure de tableau dans Writer
De : pierre-yves samyn<pierre-yves.samyn@laposte.net>
Pour : users@fr.libreoffice.org
Date : 30/09/2012 14:32
Suite...


En complément un exemple utilisant une structure BorderLine2
pour modifier cette fois une cellule:


sub PysBorderCell

dim PysTable as object
dim PysCell as object
dim PysLine as new com.sun.star.table.BorderLine2

with PysLine
        .Color = 0
        .InnerLineWidth = 10
        .LineDistance = 60
        .LineStyle = com.sun.star.table.BorderLineStyle.DOUBLE
        .LineWidth = 2
        .OuterLineWidth = 10
end with

PysTable = thiscomponent.TextTables.getByName("Tableau1")
PysCell = PysTable.getCellByName("B2")

with PysCell
        .LeftBorder = PysLine
        .LeftBorderDistance = 100
        .RightBorder = PysLine
        .RightBorderDistance = 100
        .TopBorder = PysLine
        .TopBorderDistance = 100
        .BottomBorder = PysLine
        .BottomBorderDistance = 100
end with

end sub



--
View this message in context: 
http://nabble.documentfoundation.org/macro-bordure-de-tableau-dans-Writer-tp4009763p4010102.html
Sent from the Users mailing list archive at Nabble.com.





--
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



--
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.