Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
afc2de3e
Kaydet (Commit)
afc2de3e
authored
Şub 01, 2012
tarafından
Winfried Donkers
Kaydeden (comit)
Muthu Subramanian
Şub 01, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
German comments translations.
üst
4ecc4a91
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
67 additions
and
64 deletions
+67
-64
tbcontrl.hxx
svx/inc/svx/tbcontrl.hxx
+67
-64
No files found.
svx/inc/svx/tbcontrl.hxx
Dosyayı görüntüle @
afc2de3e
...
...
@@ -30,130 +30,133 @@
/*--------------------------------------------------------------*\
Beschreibung
:
Description
:
-------------
ToolBox-Control
er fue
r:
Font-Name, Font-H
oehe, Font-Farbe
Vorder-/Hintergrundfarbe /-Muster
Rahmen, Linien
(
Absatz-)Vorlagen
ToolBox-Control
ler fo
r:
Font-Name, Font-H
eight, Font-Color
Fore-/Background color /-patterns
Frames, Lines
(
indentation-)templates
Bedienung
:
Use
:
----------
SvxFontNameToolBoxControl
-------------------------
Item
-Typ:
SvxFontItem
Item
type:
SvxFontItem
Execute-Id: SID_ATTR_CHAR_FONT
-> SvxFontItem
Zusatzdate
n
aus
DocShell: SvxFontListItem (SID_ATTR_CHAR_FONTLIST)
Additional informatio
n
from
DocShell: SvxFontListItem (SID_ATTR_CHAR_FONTLIST)
SvxFontHeightToolBoxControl
---------------------------
Item
-Typ:
SvxFontHeightItem
Item
type:
SvxFontHeightItem
Execute-Id: SID_ATTR_CHAR_FONTHEIGHT
-> SvxFontHeightItem
Zusatzdate
n
aus
DocShell: SvxFontListItem (SID_ATTR_CHAR_FONTLIST)
Additional informatio
n
from
DocShell: SvxFontListItem (SID_ATTR_CHAR_FONTLIST)
SvxFontColorToolBoxControl
--------------------------
Item
-Typ:
SvxFontColorItem
Item
type:
SvxFontColorItem
Execute-Id: SID_ATTR_CHAR_COLOR
-> SvxFontColorItem
Zusatzdate
n
aus DocShell: z.Zt. kei
ne
in
Zukunft: Farb
palette
Additional informatio
n
from DocShell: presently no
ne
in
future: color
palette
class SvxFontColorExtToolBoxControl
-----------------------------------
f
uer die Zeichenfarbe
Item
-Typ
SvxColorItem
f
or font color
Item
type:
SvxColorItem
und SfxBoolItem
Execute-Id SID_ATTR_CHAR_COLOR
Execute-Id SID_ATTR_CHAR_COLOR
2
und SID_ATTR_CHAR_COLOR_EXT
f
uer den Zeichenhintergrund
f
or character background color (writer)
Item-Typ SvxColorItem
und SfxBoolItem
Execute-Id SID_ATTR_CHAR_COLOR_BACKGROUND
und SID_ATTR_CHAR_COLOR_BACKGROUND_EXT
for cell background color (calc)
Item-Typ SvxColorItem
und SfxBoolItem
Execute-Id SID_ATTR_CHAR_COLOR_BACKGROUND
SvxColorToolBoxControl
--------------------------------
Item
-Typ:
SvxBrushItem
Item
type:
SvxBrushItem
Execute-Id: SID_BACKGROUND_COLOR
-> SvxColorItem
Zusatzdate
n
aus DocShell: z.Zt. kei
ne
in
Zukunft: Farb
palette
Additional informatio
n
from DocShell: presently no
ne
in
future: color
palette
SvxPatternToolBoxControl
------------------------
Item
-Typ:
SvxBrushItem
Item
type:
SvxBrushItem
Execute-Id: SID_BACKGROUND_PATTERN
-> SvxBrushItem
Zusatzdaten
aus DocShell: z.Zt. keine
in Zukunft: Farbpalette
Bemerkung: Auswertung des BrushItems:
Die Brush-FillColor() wird als Schalter
missbraucht, um zu unterscheiden, ob ein
neuer Style oder eine neue Farbe
gesetzt wurde:
GetFillColor() == COL_BLACK -> GetStyle() auswerten,
GetFillColor() == COL_WHITE -> GetColor() auswerten
Additional information
from DocShell: presently none
in future: color palette
Note: Analysis of BrushItem:
Brush-FillColor() is misused as switch,
to distinguish whether a new style
or a new color has been set
GetFillColor() == COL_BLACK -> GetStyle() ,
GetFillColor() == COL_WHITE -> GetColor()
SvxFrameToolBoxControl
----------------------
Item
-Typ:
SvxBoxItem
Item
type:
SvxBoxItem
Execute-Id: SID_ATTR_BORDER
-> SvxBoxItem & SvxBoxInfoItem
Zusatzdaten
aus DocShell: keine
Bemerkung: liefert je nach gewaehltem ValueSet-Item
nur SvxBoxItem oder zusaetzlich SvxBoxInfoItem
Wird dem Controller ein SfxUInt16Item mit einem
Wert != 0 geschickt, so wird der Paragraph-Mode
eingeschaltet, d.h. die letzte Zeile wird
ausgeblendet. Ein Wert == 0 schaltet wieder in
den Tabellenmodus.
Additional information
from DocShell: none
Bemerkung: provides dependant of chosen ValueSet-Item
only SvxBoxItem or additionally SvxBoxInfoItem
If the Controller ein SfxUInt16Item receives a
value != 0, paragraph mode will be switched on,
i.e. the last line will be hidden.
A value == 0 switches again to Tabel mode.
SvxFrameLineStyleToolBoxControl
-------------------------------
Item
-Typ:
SvxLineItem
Item
type:
SvxLineItem
Execute-Id: SID_FRAME_LINESTYLE
-> SvxLineItem
Zusatzdate
n
aus DocShell: kei
ne
Bemerkung:
liefert ein SvxLineItem, welches eine
SvxBorderLine
ohne Farbinformation liefert
.
Additional informatio
n
from DocShell: no
ne
Bemerkung:
provides a SvxLineItem, which provides a
SvxBorderLine
without color information
.
SvxFrameLineColorToolBoxControl
-------------------------------
Item
-Typ:
SvxColorItem
Item
type:
SvxColorItem
Execute-Id: SID_FRAME_LINECOLOR
-> SvxColorItem
Zusatzdate
n
aus DocShell: kei
ne
Additional informatio
n
from DocShell: no
ne
SvxStyleToolBoxControl
----------------------
Item
-Typ:
SfxTemplateItem
Item
type:
SfxTemplateItem
Execute-Id: SID_TEMPLATE_APPLY
-> StyleName (SfxStringItem)
-> eStyleFamily (SfxUInt16Item)
Zusatzdate
n
aus DocShell: kei
ne
Bemerkung:
Umschalten der Familie ueber
Invalidate
a
n den
Bindings (->SfxStyleControllerItem)
Additional informatio
n
from DocShell: no
ne
Bemerkung:
Switch family by
Invalidate
a
t the
Bindings (->SfxStyleControllerItem)
\*--------------------------------------------------------------*/
// include ---------------------------------------------------------------
// ITEMID_...-Defines i
m
*.cxx
// ITEMID_...-Defines i *.cxx
#include <rsc/rscsfx.hxx>
#include <svl/lstner.hxx>
...
...
@@ -163,7 +166,7 @@
#include <com/sun/star/awt/FontDescriptor.hpp>
//
wichtig im mit HeDaBu erzeugtem tbxctrls.hxx
!!!
//
important im tbxctrls.hxx created HeDaBu
!!!
class
SvxLineItem
;
class
SvxBoxInfoItem
;
class
SvxFontItem
;
...
...
@@ -214,9 +217,9 @@ private:
SfxStyleControllerItem_Impl
*
pBoundItems
[
MAX_FAMILIES
];
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
lang
::
XComponent
>
m_xBoundItems
[
MAX_FAMILIES
];
SfxTemplateItem
*
pFamilyState
[
MAX_FAMILIES
];
sal_uInt16
nActFamily
;
// Id in
der
ToolBox = Position - 1
sal_uInt16
nActFamily
;
// Id in
the
ToolBox = Position - 1
sal_uInt16
nActFilter
;
// FilterIdx
sal_uInt16
nAppFilter
;
// Filter,
den die App gesetzt ha
t
sal_uInt16
nAppFilter
;
// Filter,
that the App has se
t
String
aCurSel
;
sal_Bool
bListening
;
Impl
*
pImpl
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment