20 #ifndef INCLUDED_SC_INC_ATTRIB_HXX
21 #define INCLUDED_SC_INC_ATTRIB_HXX
52 namespace editeng {
class SvxBorderLine; }
72 bool IsMerged()
const {
return nColMerge>1 || nRowMerge>1; }
108 bool HasPivotButton()
const;
109 bool HasPivotPopupButton()
const;
124 bool bHFormula =
false,
126 bool bHPrint =
false);
130 OUString GetValueText()
const;
142 virtual bool PutValue(
const css::uno::Any& rVal,
sal_uInt8 nMemberId )
override;
145 void SetProtection(
bool bProtect);
147 void SetHideFormula(
bool bHFormula);
149 void SetHideCell(
bool bHCell);
151 void SetHidePrint(
bool bHPrint);
164 #define SC_HF_LEFTAREA 1
165 #define SC_HF_CENTERAREA 2
166 #define SC_HF_RIGHTAREA 3
183 virtual bool PutValue(
const css::uno::Any& rVal,
sal_uInt8 nMemberId )
override;
247 void Set( sal_uInt16 nWidth, sal_uInt16 nHeight )
256 virtual bool PutValue(
const css::uno::Any& rAny,
sal_uInt8 nMemberId )
override;
sal_uInt16 GetHeight() const
SCCOL GetColMerge() const
std::unique_ptr< EditTextObject > pLeftArea
bool bHideFormula
hide formula
virtual SfxBoolItem * Clone(SfxItemPool *=nullptr) const override
struct _xmlTextWriter * xmlTextWriterPtr
virtual bool GetPresentation(SfxItemPresentation, MapUnit, MapUnit, OUString &rText, const IntlWrapper &) const override
virtual bool operator==(const SfxPoolItem &) const =0
virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const override
virtual SfxPoolItem * Clone(SfxItemPool *pPool=nullptr) const =0
const sal_uInt8 SC_MID_PAGE_SCALETO_WIDTH
Member ID for "page scale to width" value in QueryValue() and PutValue().
const EditTextObject * GetCenterArea() const
bool IsOverlapped() const
dp field button with presence of hidden member
SfxPoolItem & operator=(const SfxPoolItem &)=delete
const sal_uInt8 SC_MID_PAGE_SCALETO_HEIGHT
Member ID for "page scale to height" value in QueryValue() and PutValue().
void SetHeight(sal_uInt16 nHeight)
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const
o3tl::sorted_vector< sal_uInt32 > ScCondFormatIndexes
virtual bool GetPresentation(SfxItemPresentation, MapUnit, MapUnit, OUString &rText, const IntlWrapper &) const override
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId)
ScProtectionAttr & operator=(const ScProtectionAttr &rProtection)
void Set(sal_uInt16 nWidth, sal_uInt16 nHeight)
sal_uInt16 GetWidth() const
dp button with popup arrow
bool IsVerOverlapped() const
virtual SdrAngleItem * Clone(SfxItemPool *pPool=nullptr) const override
virtual SfxInt16Item * Clone(SfxItemPool *=nullptr) const override
ScMergeAttr & operator=(const ScMergeAttr &rMerge)
sal_Int16 GetValue() const
bool bProtection
protect cell
bool GetHideFormula() const
ScHyphenateCell(bool bHyphenate=false)
virtual ScHyphenateCell * Clone(SfxItemPool *pPool=nullptr) const override
virtual bool GetPresentation(SfxItemPresentation, MapUnit, MapUnit, OUString &rText, const IntlWrapper &) const override
std::unique_ptr< EditTextObject > pRightArea
bool GetHidePrint() const
std::unique_ptr< EditTextObject > pCenterArea
bool SC_DLLPUBLIC ScHasPriority(const ::editeng::SvxBorderLine *pThis, const ::editeng::SvxBorderLine *pOther)
General Help Function.
bool IsHorOverlapped() const
virtual bool GetPresentation(SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const
Contains the "scale to width/height" attribute in page styles.
const EditTextObject * GetRightArea() const
const EditTextObject * GetLeftArea() const
bool GetProtection() const
field button for datapilot
virtual sal_uInt16 GetValueCount() const =0
virtual SfxUInt16Item * Clone(SfxItemPool *=nullptr) const override
bool bHidePrint
don't print cell
SCROW GetRowMerge() const
bool HasAutoFilter() const
void SetWidth(sal_uInt16 nWidth)
virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &rIntl) const override
virtual void dumpAsXml(xmlTextWriterPtr pWriter) const