LibreOffice Module svx (master)
1
|
#include <xcolit.hxx>
Public Member Functions | |
XColorItem () | |
XColorItem (sal_uInt16 nWhich, sal_Int32 nIndex, const Color &rTheColor) | |
virtual bool | QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override |
virtual bool | PutValue (const css::uno::Any &rVal, sal_uInt8 nMemberId) override |
XColorItem (sal_uInt16 nWhich, const Color &rTheColor) | |
XColorItem (sal_uInt16 nWhich, const OUString &rName, const Color &rTheColor) | |
XColorItem (const XColorItem &rItem) | |
virtual bool | operator== (const SfxPoolItem &rItem) const override |
virtual XColorItem * | Clone (SfxItemPool *pPool=nullptr) const override |
const Color & | GetColorValue () const |
void | SetColorValue (const Color &rNew) |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const override |
![]() | |
NameOrIndex () | |
NameOrIndex (sal_uInt16 nWhich, sal_Int32 nIndex) | |
NameOrIndex (sal_uInt16 nWhich, const OUString &rName) | |
NameOrIndex (const NameOrIndex &rNameOrIndex) | |
OUString const & | GetName () const |
void | SetName (const OUString &rName) |
bool | IsIndex () const |
sal_Int32 | GetPalIndex () const |
void | dumpAsXml (xmlTextWriterPtr pWriter) const override |
![]() | |
SfxStringItem (sal_uInt16 which=0) | |
SfxStringItem (sal_uInt16 which, const OUString &rValue) | |
![]() | |
CntUnencodedStringItem (sal_uInt16 which) | |
CntUnencodedStringItem (sal_uInt16 which, const OUString &rTheValue) | |
virtual bool | operator< (const SfxPoolItem &rItem) const override |
virtual bool | IsSortable () const override |
virtual bool | GetPresentation (SfxItemPresentation, MapUnit, MapUnit, OUString &rText, const IntlWrapper &) const override |
const OUString & | GetValue () const |
void | SetValue (const OUString &rTheValue) |
![]() | |
void | AddRef (sal_uInt32 n=1) const |
virtual | ~SfxPoolItem () |
void | SetWhich (sal_uInt16 nId) |
sal_uInt16 | Which () const |
T & | StaticWhichCast (TypedWhichId< T > nId) |
const T & | StaticWhichCast (TypedWhichId< T > nId) const |
T * | DynamicWhichCast (TypedWhichId< T > nId) |
const T * | DynamicWhichCast (TypedWhichId< T > nId) const |
bool | operator!= (const SfxPoolItem &rItem) const |
virtual void | ScaleMetrics (tools::Long lMult, tools::Long lDiv) |
virtual bool | HasMetrics () const |
std::unique_ptr< SfxPoolItem > | CloneSetWhich (sal_uInt16 nNewWhich) const |
std::unique_ptr< T > | CloneSetWhich (TypedWhichId< T > nId) const |
sal_uInt32 | GetRefCount () const |
SfxItemKind | GetKind () const |
virtual boost::property_tree::ptree | dumpAsJSON () const |
virtual bool | IsVoidItem () const |
Static Public Member Functions | |
static SfxPoolItem * | CreateDefault () |
![]() | |
static OUString | CheckNamedItem (const NameOrIndex *pCheckItem, const sal_uInt16 nWhich, const SfxItemPool *pPool1, SvxCompareValueFunc pCompareValueFunc, const char *pPrefixResId, const XPropertyListRef &pDefaults) |
this static checks if the given NameOrIndex item has a unique name for its value. More... | |
![]() | |
static SfxPoolItem * | CreateDefault () |
Private Attributes | |
Color | aColor |
Additional Inherited Members | |
![]() | |
void | Detach () |
![]() | |
SfxPoolItem (sal_uInt16 nWhich=0) | |
SfxPoolItem (const SfxPoolItem &rCopy) | |
Definition at line 32 of file xcolit.hxx.
|
inline |
Definition at line 38 of file xcolit.hxx.
Referenced by Clone(), and CreateDefault().
XColorItem::XColorItem | ( | sal_uInt16 | nWhich, |
sal_Int32 | nIndex, | ||
const Color & | rTheColor | ||
) |
XColorItem::XColorItem | ( | sal_uInt16 | nWhich, |
const Color & | rTheColor | ||
) |
XColorItem::XColorItem | ( | sal_uInt16 | nWhich, |
const OUString & | rName, | ||
const Color & | rTheColor | ||
) |
XColorItem::XColorItem | ( | const XColorItem & | rItem | ) |
|
overridevirtual |
Reimplemented from NameOrIndex.
Reimplemented in XFillColorItem, XFormTextShadowColorItem, XLineColorItem, and XSecondaryFillColorItem.
Definition at line 284 of file xattr.cxx.
References XColorItem().
|
static |
Definition at line 258 of file xattr.cxx.
References XColorItem().
|
overridevirtual |
Reimplemented from SfxStringItem.
Reimplemented in XFillColorItem.
Definition at line 317 of file xattr.cxx.
References aColor, Color::AsRGBHexString(), NameOrIndex::dumpAsXml(), SDRATTR_SHADOWCOLOR(), and SfxPoolItem::Which().
const Color & XColorItem::GetColorValue | ( | ) | const |
Definition at line 295 of file xattr.cxx.
References aColor, assert(), and NameOrIndex::IsIndex().
Referenced by EnhancedCustomShape3d::Create3DObject(), sdr::contact::ViewContactOfSdrCaptionObj::createViewIndependentPrimitive2DSequence(), XFillColorItem::dumpAsJSON(), XFillColorItem::dumpAsXml(), getExtrusionColorState(), svx::sidebar::EffectPropertyPanel::NotifyItemUpdate(), svx::sidebar::ShadowPropertyPanel::NotifyItemUpdate(), XLineColorItem::QueryValue(), QueryValue(), XFillColorItem::QueryValue(), and SvxFontWorkDialog::SetShadowColor_Impl().
|
overridevirtual |
|
overridevirtual |
Reimplemented from CntUnencodedStringItem.
Reimplemented in XFillColorItem, and XLineColorItem.
Definition at line 308 of file xattr.cxx.
References nValue, and SetColorValue().
|
overridevirtual |
Reimplemented from CntUnencodedStringItem.
Reimplemented in XFillColorItem, and XLineColorItem.
Definition at line 302 of file xattr.cxx.
References GetColorValue(), and Color::GetRGBColor().
Definition at line 52 of file xcolit.hxx.
References NameOrIndex::Detach().
Referenced by XLineColorItem::PutValue(), PutValue(), and XFillColorItem::PutValue().
|
private |
Definition at line 34 of file xcolit.hxx.
Referenced by dumpAsXml(), GetColorValue(), and operator==().