LibreOffice Module svx (master) 1
|
#include <cellproperties.hxx>
Public Member Functions | |
CellProperties (SdrObject &rObj, ::sdr::table::Cell *pCell) | |
CellProperties (const CellProperties &rProps, SdrObject &rObj, sdr::table::Cell *pCell) | |
~CellProperties () | |
std::unique_ptr< BaseProperties > | Clone (SdrObject &rObj) const override |
void | ForceDefaultAttributes () override |
void | ItemSetChanged (o3tl::span< const SfxPoolItem *const > aChangedItems, sal_uInt16 nDeletedWhich) override |
void | ItemChange (const sal_uInt16 nWhich, const SfxPoolItem *pNewItem=nullptr) override |
Public Member Functions inherited from sdr::properties::TextProperties | |
TextProperties (SdrObject &rObj) | |
TextProperties (const TextProperties &rProps, SdrObject &rObj) | |
virtual | ~TextProperties () override |
virtual std::unique_ptr< BaseProperties > | Clone (SdrObject &rObj) const override |
virtual void | SetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr, bool bBroadcast) override |
virtual void | ForceDefaultAttributes () override |
virtual void | ForceStyleToHardAttributes () override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
void | SetObjectItemNoBroadcast (const SfxPoolItem &rItem) |
virtual sal_uInt32 | getVersion () const override |
void | increaseVersion () |
Public Member Functions inherited from sdr::properties::AttributeProperties | |
AttributeProperties (SdrObject &rObj) | |
AttributeProperties (const AttributeProperties &rProps, SdrObject &rObj) | |
virtual std::unique_ptr< BaseProperties > | Clone (SdrObject &rObj) const override |
virtual const SfxItemSet & | GetObjectItemSet () const override |
virtual | ~AttributeProperties () override |
virtual void | SetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr, bool bBroadcast) override |
virtual SfxStyleSheet * | GetStyleSheet () const override |
virtual void | ForceStyleToHardAttributes () override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
virtual bool | isUsedByModel () const override |
Public Member Functions inherited from sdr::properties::DefaultProperties | |
DefaultProperties (SdrObject &rObj) | |
DefaultProperties (const DefaultProperties &rProps, SdrObject &rObj) | |
virtual | ~DefaultProperties () override |
void | dumpAsXml (xmlTextWriterPtr pWriter) const override |
virtual std::unique_ptr< BaseProperties > | Clone (SdrObject &rObj) const override |
virtual const SfxItemSet & | GetObjectItemSet () const override |
virtual void | SetObjectItem (const SfxPoolItem &rItem) override |
virtual void | SetObjectItemDirect (const SfxPoolItem &rItem) override |
virtual void | ClearObjectItem (const sal_uInt16 nWhich=0) override |
virtual void | ClearObjectItemDirect (const sal_uInt16 nWhich) override |
virtual void | SetObjectItemSet (const SfxItemSet &rSet) override |
virtual void | SetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr, bool bBroadcast) override |
virtual SfxStyleSheet * | GetStyleSheet () const override |
virtual void | ForceDefaultAttributes () |
Public Member Functions inherited from sdr::properties::BaseProperties | |
BaseProperties (SdrObject &rObj) | |
virtual | ~BaseProperties () |
virtual SfxItemSet | CreateObjectSpecificItemSet (SfxItemPool &pPool)=0 |
virtual std::unique_ptr< BaseProperties > | Clone (SdrObject &rObj) const =0 |
virtual const SfxItemSet & | GetObjectItemSet () const =0 |
virtual const SfxItemSet & | GetMergedItemSet () const |
virtual void | SetObjectItemSet (const SfxItemSet &rSet)=0 |
virtual void | SetMergedItemSet (const SfxItemSet &rSet, bool bClearAllItems=false) |
virtual void | SetObjectItem (const SfxPoolItem &rItem)=0 |
virtual void | SetObjectItemDirect (const SfxPoolItem &rItem)=0 |
virtual void | ClearObjectItem (const sal_uInt16 nWhich=0)=0 |
virtual void | SetMergedItem (const SfxPoolItem &rItem) |
virtual void | ClearMergedItem (const sal_uInt16 nWhich) |
virtual void | ClearObjectItemDirect (const sal_uInt16 nWhich)=0 |
virtual void | SetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr, bool bBroadcast)=0 |
virtual SfxStyleSheet * | GetStyleSheet () const =0 |
virtual void | ForceStyleToHardAttributes () |
void | SetMergedItemSetAndBroadcast (const SfxItemSet &rSet, bool bClearAllItems=false) |
const SfxPoolItem & | GetItem (const sal_uInt16 nWhich) const |
template<class T > | |
const T & | GetItem (TypedWhichId< T > nWhich) const |
void | BroadcastItemChange (const ItemChangeBroadcaster &rChange) |
virtual sal_uInt32 | getVersion () const |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
Public Member Functions inherited from SfxListener | |
SfxListener () | |
SfxListener (const SfxListener &rCopy) | |
virtual | ~SfxListener () COVERITY_NOEXCEPT_FALSE |
void | StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected) |
void | EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false) |
void | EndListeningAll () |
bool | IsListening (SfxBroadcaster &rBroadcaster) const |
sal_uInt16 | GetBroadcasterCount () const |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
virtual bool | IsSdrView () const |
Protected Member Functions | |
SfxItemSet | CreateObjectSpecificItemSet (SfxItemPool &rPool) override |
const svx::ITextProvider & | getTextProvider () const override |
Get the TextProvider related to our SdrObject. More... | |
virtual SfxItemSet | CreateObjectSpecificItemSet (SfxItemPool &rPool) override |
virtual void | ItemChange (const sal_uInt16 nWhich, const SfxPoolItem *pNewItem=nullptr) override |
virtual void | ItemSetChanged (o3tl::span< const SfxPoolItem *const > aChangedItems, sal_uInt16 nDeletedWhich) override |
virtual const svx::ITextProvider & | getTextProvider () const |
Get the TextProvider related to our SdrObject. More... | |
Protected Member Functions inherited from sdr::properties::AttributeProperties | |
virtual SfxItemSet | CreateObjectSpecificItemSet (SfxItemPool &pPool) override |
virtual void | ItemChange (const sal_uInt16 nWhich, const SfxPoolItem *pNewItem=nullptr) override |
virtual void | ItemSetChanged (o3tl::span< const SfxPoolItem *const > aChangedItems, sal_uInt16 nDeletedWhich) override |
virtual void | applyDefaultStyleSheetFromSdrModel () |
Protected Member Functions inherited from sdr::properties::DefaultProperties | |
virtual SfxItemSet | CreateObjectSpecificItemSet (SfxItemPool &pPool) override |
virtual bool | AllowItemChange (const sal_uInt16 nWhich, const SfxPoolItem *pNewItem=nullptr) const |
virtual void | ItemChange (const sal_uInt16 nWhich, const SfxPoolItem *pNewItem=nullptr) |
virtual void | PostItemChange (const sal_uInt16 nWhich) |
virtual void | ItemSetChanged (o3tl::span< const SfxPoolItem *const > aChangedItems, sal_uInt16 nDeletedWhich) |
bool | HasSfxItemSet () const |
Protected Member Functions inherited from sdr::properties::BaseProperties | |
const SdrObject & | GetSdrObject () const |
SdrObject & | GetSdrObject () |
Private Attributes | |
sdr::table::CellRef | mxCell |
const CellTextProvider | maTextProvider |
Additional Inherited Members | |
Protected Attributes inherited from sdr::properties::DefaultProperties | |
std::optional< SfxItemSet > | mxItemSet |
Definition at line 47 of file cellproperties.hxx.
sdr::properties::CellProperties::CellProperties | ( | SdrObject & | rObj, |
::sdr::table::Cell * | pCell | ||
) |
Referenced by Clone().
sdr::properties::CellProperties::CellProperties | ( | const CellProperties & | rProps, |
SdrObject & | rObj, | ||
sdr::table::Cell * | pCell | ||
) |
|
overridevirtual |
Reimplemented from sdr::properties::TextProperties.
Definition at line 176 of file cell.cxx.
References CellProperties().
|
overrideprotectedvirtual |
Reimplemented from sdr::properties::TextProperties.
Definition at line 137 of file cell.cxx.
References EE_ITEMS_END(), EE_ITEMS_START(), svl::Items, SDRATTR_MISC_FIRST(), SDRATTR_MISC_LAST(), SDRATTR_SHADOW_LAST(), SDRATTR_START(), SDRATTR_TABLE_FIRST(), SDRATTR_TABLE_LAST(), and SDRATTR_TEXTDIRECTION().
|
overridevirtual |
Reimplemented from sdr::properties::TextProperties.
|
overrideprotectedvirtual |
Get the TextProvider related to our SdrObject.
Reimplemented from sdr::properties::TextProperties.
Definition at line 153 of file cell.cxx.
References maTextProvider.
|
overridevirtual |
Reimplemented from sdr::properties::TextProperties.
Definition at line 261 of file cell.cxx.
References SfxItemSet::Get(), SdrObject::GetObjectItemSet(), SfxItemSet::GetPool(), sdr::properties::BaseProperties::GetSdrObject(), SdrAttrObj::GetSnapRect(), GetValue, SvxTextRotateItem::IsTopToBottom(), SvxTextRotateItem::IsVertical(), sdr::properties::AttributeProperties::ItemChange(), makeSdrTextAutoGrowHeightItem(), makeSdrTextAutoGrowWidthItem(), mxCell, SfxItemSet::Put(), rSet, SDRATTR_TABLE_TEXT_ROTATION(), SDRATTR_TEXT_AUTOGROWHEIGHT(), SDRATTR_TEXT_AUTOGROWWIDTH(), SDRATTR_TEXTDIRECTION(), SdrObject::SetObjectItemSet(), OutlinerParaObject::SetRotation(), SdrObject::SetSnapRect(), OutlinerParaObject::SetVertical(), and sdr::table::SdrTableObj::SetVerticalWriting().
|
overridevirtual |
Reimplemented from sdr::properties::TextProperties.
Definition at line 186 of file cell.cxx.
References Outliner::Clear(), SfxItemSet::ClearItem(), Outliner::CreateParaObject(), GetAllCharPropIds(), sdr::properties::AttributeProperties::GetObjectItemSet(), Outliner::GetParaAttribs(), Outliner::GetParagraphCount(), sdr::properties::BaseProperties::GetSdrObject(), SdrTextObj::GetTextEditOutliner(), SdrTextObj::ImpGetDrawOutliner(), sdr::properties::AttributeProperties::ItemSetChanged(), mxCell, sdr::properties::DefaultProperties::mxItemSet, SfxItemSet::Put(), Outliner::RemoveCharAttribs(), Outliner::SetParaAttribs(), and Outliner::SetText().
|
private |
Definition at line 75 of file cellproperties.hxx.
Referenced by getTextProvider().
|
private |
Definition at line 74 of file cellproperties.hxx.
Referenced by ItemChange(), and ItemSetChanged().