Hallo,
ich bin soeben auf einen interessantes Posting zum Thema gestoßen, in
dem ein Benutzer die gleiche Funktion sucht.
http://www.oooforum.org/forum/viewtopic.phtml?t=126403
Der API-Link aus dem Posting hat sich allerdings geändert:
http://www.openoffice.org/api/docs/common/ref/com/sun/star/awt/grid/UnoControlGridModel.html
Wenn ich das richtig deute, wurden zumindest in Openoffice bereits neue
Eigenschaften für die abwechselnden Farben implementiert (seit Version
3.3.0).
Er spricht diese zwei Properties an:
-----
| :: RowBackgroundColor
| Description
| Specifies the background color of rows. If color for even rows is set,
| then specifies the color of odd rows. Default value is white.
|
| :: EvenRowBackgroundColor
| Description
| Specifies the background color of even rows. Default value is white.
-----
Die Libreoffice-API unterscheidet sich von der Openoffice-API an der Stelle.
Hier gibt es die beiden Properties nicht, dafür aber:
-----
| :: RowBackgroundColors
|
| Description
| specifies the colors to be used as background for data rows.
| If this sequence is non-empty, the data rows will be rendered with
alternating
| background colors: Assuming the sequence has n elements,
| each row will use the
| background color as specified | by its number's remainder modulo n.
| If this sequence is empty, all rows will use the same background color
as the
| control as whole.
| If this property does not exist at a particular implementation, or is
void, rows will be
| painted in alternating background colors,
| every second row having a background color
| derived from the
| control's selection color.
-----
http://api.libreoffice.org/common/ref/com/sun/star/awt/grid/UnoControlGridModel.html
Leider bin ich nicht genug mit der Materie (UNO) vertraut.
Ich würde mich freuen wenn mir jemand etwas dazu sagen kann. Vielen Dank.
--
Informationen zum Abmelden: E-Mail an discuss+help@de.libreoffice.org
Probleme? http://de.libreoffice.org/hilfe-kontakt/mailing-listen/abmeldung-liste/
Tipps zu Listenmails: http://wiki.documentfoundation.org/Netiquette/de
Listenarchiv: http://listarchives.libreoffice.org/de/discuss/
Alle E-Mails an diese Liste werden unlöschbar öffentlich archiviert
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.