Kaydet (Commit) 73e36094 authored tarafından Enrico Weigelt, metux ITS's avatar Enrico Weigelt, metux ITS Kaydeden (comit) Andras Timar

translated german comments to english

Change-Id: I4df4f471578f78f586d4a69b5eb7561415f3994b
Reviewed-on: https://gerrit.libreoffice.org/1098Reviewed-by: 's avatarAndras Timar <atimar@suse.com>
Tested-by: 's avatarAndras Timar <atimar@suse.com>
üst 04ac967f
...@@ -64,55 +64,52 @@ typedef ::std::vector< FontInfo > ImplFontList; ...@@ -64,55 +64,52 @@ typedef ::std::vector< FontInfo > ImplFontList;
/************************************************************************* /*************************************************************************
Beschreibung Description
============ ============
class ColorListBox class ColorListBox
Beschreibung Description
Erlaubt die Auswahl von Farben. Allows color selection
-------------------------------------------------------------------------- --------------------------------------------------------------------------
class LineListBox class LineListBox
Beschreibung Description
Erlaubt die Auswahl von Linien-Styles und Groessen. Es ist darauf zu achten, Allows selection of line styles and sizes. Not that before first insert,
das vor dem ersten Insert die Units und die Fesntergroesse gesetzt sein units and window size need to be set. Supported units are typographic point
muessen. An Unit wird Point und mm unterstuetzt und als SourceUnit Point, (pt) and millimeters (mm). For SourceUnit, pt, mm and twips are supported.
mm und Twips. Alle Angaben muessen in 100teln der jeweiligen Einheit All scalar numbers in 1/100 of the corresponding unit.
vorliegen.
Line1 ist aeussere, Line2 die innere und Distance die Distanz zwischen Line1 is the outer, Line2 the inner line, Distance is the distance between
den beiden Linien. Wenn Line2 = 0 ist, wird nur Line1 angezeigt. Als these two lines. If Line2 == 2, only Line1 will be shown. Defaults for
Default sind sowohl Source als auch Ziel-Unit FUNIT_POINT. source and target unit are FUNIT_POINT.
Mit SetColor() kann die Linienfarbe eingestellt werden. SetColor() sets the line color.
Anmerkungen und Ausnahmen Remarks
Gegenueber einer normalen ListBox, koennen keine User-Daten gesetzt Contrary to a simple ListBox, user-specific data are not supported.
werden. Ausserdem sollte wenn der UpdateMode ausgeschaltet ist, keine If UpdateMode is disabled, no data should be read, no selections
Daten abgefragt oder die Selektion gesetzt werden, da in diesem Zustand should be set, and the return code shall be ignore, as in these are
die Daten nicht definiert sind. Wenn der UpdateMode ausgeschaltet ist, not defined in this mode. Also the bit WinBit WB_SORT may not be set.
sollte der Rueckgabewert bei Insert nicht ausgewertet werden, da er keine
Bedeutung hat. Ausserdem darf nicht das WinBit WB_SORT gesetzt sein.
-------------------------------------------------------------------------- --------------------------------------------------------------------------
class FontNameBox class FontNameBox
Beschreibung Description
Erlaubt die Auswahl von Fonts. Die ListBox wird mit Fill gefuellt, wo Allows selection of fonts. The ListBox will be filled using Fill parameter,
ein Pointer auf eine FontList uebergeben werden muss. which is pointer to an FontList object.
Mit EnableWYSIWYG() kann man einstellen, das die Fontnamen in Ihrer Schrift Calling EnableWYSIWYG() enables rendering the font name in the currently
angezeigt werden. selected font.
Querverweise See also
FontList; FontStyleBox; FontSizeBox; FontNameMenu FontList; FontStyleBox; FontSizeBox; FontNameMenu
...@@ -120,20 +117,21 @@ FontList; FontStyleBox; FontSizeBox; FontNameMenu ...@@ -120,20 +117,21 @@ FontList; FontStyleBox; FontSizeBox; FontNameMenu
class FontStyleBox class FontStyleBox
Beschreibung Description
Erlaubt die Auswahl eines FontStyles. Mit Fill wird die ListBox mit Allows select of FontStyle's. The parameter Fill points to a list
den Styles zum uebergebenen Font gefuellt. Nachgebildete Styles werden of available font styles for the font.
immer mit eingefuegt (kann sich aber noch aendern, da vielleicht
nicht alle Applikationen [StarDraw,Formel,FontWork] mit Syntetic-Fonts
umgehen koennen). Bei Fill bleibt vorherige Name soweit wie moeglich
erhalten.
Fuer DontKnow sollte die FontStyleBox mit String() gefuellt werden. Reproduced styles are always added - this could change in future, as
Dann enthaellt die Liste die Standardattribute. Der Style, der gerade potentially not all applications [Draw,Equation,FontWork] can properly
angezeigt wird, muss gegebenenfalls noch vom Programm zurueckgesetzt werden. handle synthetic fonts. On filling, the previous name will be retained
if possible.
Querverweise For DontKnow, the FontStyleBox should be filled with String(),
so it will contain a list with the default attributes. The currently
shown style probably needs to be reset by the application.
See also
FontList; FontNameBox; FontSizeBox; FontList; FontNameBox; FontSizeBox;
...@@ -141,24 +139,25 @@ FontList; FontNameBox; FontSizeBox; ...@@ -141,24 +139,25 @@ FontList; FontNameBox; FontSizeBox;
class FontSizeBox class FontSizeBox
Beschreibung Description
Allows selection of font sizes. The values are retrieved via GetValue()
and set via SetValue(). The Fill parameter fills the ListBox with the
available sizes for the passed font.
All sizes are in 1/10 typographic point (pt).
Erlaubt die Auswahl von Fontgroessen. Werte werden ueber GetValue() The passed FontList must be retained until the next fill call.
abgefragt und ueber SetValue() gesetzt. Fill fuellt die ListBox mit den
Groessen zum uebergebenen Font. Alle Groessen werden in 10tel Point
angegeben. Die FontListe, die bei Fill uebergeben wird, muss bis zum
naechsten Fill-Aufruf erhalten bleiben.
Zusaetzlich erlaubt die FontSizeBox noch einen Relative-Mode. Dieser Additionally it supports an relative mod, which allows entering
dient dazu, Prozent-Werte eingeben zu koennen. Dies kann zum Beispiel percentage values. This, eg., can be useful for template dialogs.
nuetzlich sein, wenn man die Box in einem Vorlagen-Dialog anbietet. This mode can only be enabled, but not disabled again.
Dieser Modus ist nur anschaltbar, jedoch nicht wieder abschaltbar.
Fuer DontKnow sollte die FontSizeBox mit FontInfo() gefuellt werden. For DontKnow the FontSizeBox should be filled FontInfo(), so it will
Dann enthaellt die Liste die Standardgroessen. Die Groesse, die gerade contain an list with the standard sizes. Th currently shown size
angezeigt wird, muss gegebenenfalls noch vom Programm zurueckgesetzt werden. probably needs to be reset by the application.
Querverweise See also
FontList; FontNameBox; FontStyleBox; FontSizeMenu FontList; FontNameBox; FontStyleBox; FontSizeMenu
...@@ -170,7 +169,7 @@ FontList; FontNameBox; FontStyleBox; FontSizeMenu ...@@ -170,7 +169,7 @@ FontList; FontNameBox; FontStyleBox; FontSizeMenu
class SVT_DLLPUBLIC ColorListBox : public ListBox class SVT_DLLPUBLIC ColorListBox : public ListBox
{ {
ImpColorList* pColorList; // Separate Liste, falls UserDaten von aussen verwendet werden. ImpColorList* pColorList; // separate liste, in case of user data are required from outside
Size aImageSize; Size aImageSize;
#ifdef _CTRLBOX_CXX #ifdef _CTRLBOX_CXX
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment