LibreOffice Module sw (master)
1
|
#include <fmtsrnd.hxx>
Public Member Functions | |
SwFormatSurround (css::text::WrapTextMode eNew=css::text::WrapTextMode_PARALLEL) | |
virtual bool | operator== (const SfxPoolItem &) const override |
virtual SfxPoolItem * | Clone (SfxItemPool *pPool=nullptr) const override |
virtual sal_uInt16 | GetValueCount () const override |
virtual bool | GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &rIntl) const override |
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 |
css::text::WrapTextMode | GetSurround () const |
bool | IsAnchorOnly () const |
bool | IsContour () const |
bool | IsOutside () const |
void | SetSurround (css::text::WrapTextMode eNew) |
void | SetAnchorOnly (bool bNew) |
void | SetContour (bool bNew) |
void | SetOutside (bool bNew) |
void | dumpAsXml (xmlTextWriterPtr pWriter) const override |
![]() | |
EnumT | GetValue () const |
void | SetValue (EnumT nTheValue) |
virtual sal_uInt16 | GetEnumValue () const override |
virtual void | SetEnumValue (sal_uInt16 nTheValue) override |
virtual bool | operator== (SfxPoolItem const &other) const override |
![]() | |
virtual bool | HasBoolValue () const |
virtual bool | GetBoolValue () const |
virtual void | SetBoolValue (bool bValue) |
![]() | |
void | AddRef (sal_uInt32 n=1) const |
virtual | ~SfxPoolItem () |
void | SetWhich (sal_uInt16 nId) |
sal_uInt16 | Which () const |
bool | operator!= (const SfxPoolItem &rItem) const |
virtual bool | operator< (const SfxPoolItem &) const |
virtual bool | IsSortable () const |
virtual void | ScaleMetrics (long lMult, 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 |
Private Attributes | |
bool | m_bAnchorOnly:1 |
bool | m_bContour:1 |
bool | m_bOutside:1 |
Additional Inherited Members | |
![]() | |
SfxEnumItem (sal_uInt16 const nWhich, EnumT const nValue) | |
SfxEnumItem (const SfxEnumItem &)=default | |
![]() | |
SfxEnumItemInterface (sal_uInt16 which) | |
SfxEnumItemInterface (const SfxEnumItemInterface &)=default | |
![]() | |
SfxPoolItem (sal_uInt16 nWhich=0) | |
SfxPoolItem (const SfxPoolItem &rCopy) | |
Definition at line 31 of file fmtsrnd.hxx.
SwFormatSurround::SwFormatSurround | ( | css::text::WrapTextMode | eNew = css::text::WrapTextMode_PARALLEL | ) |
Definition at line 1154 of file atrfrm.cxx.
References m_bAnchorOnly, m_bContour, and m_bOutside.
Referenced by Clone().
|
overridevirtual |
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 1240 of file atrfrm.cxx.
References GetPresentation(), SfxEnumItem< css::text::WrapTextMode >::GetValue(), m_bAnchorOnly, m_bContour, m_bOutside, and SfxPoolItem::Which().
|
overridevirtual |
Reimplemented from SfxEnumItemInterface.
Definition at line 292 of file attrdesc.cxx.
References GetValue, and SwResId().
Referenced by dumpAsXml().
|
inline |
Definition at line 51 of file fmtsrnd.hxx.
References SfxEnumItem< class >::GetValue().
Referenced by SwWrapTabPage::ActivatePage(), SwFlowFrame::BwdMoveNecessary(), SwFEShell::CalcBoundRect(), SwTabFrame::CalcFlyOffsets(), SwRootFrame::CalcFrameRects(), objectpositioning::SwToContentAnchoredObjectPosition::CalcOverlap(), objectpositioning::SwToLayoutAnchoredObjectPosition::CalcPosition(), objectpositioning::SwToContentAnchoredObjectPosition::CalcPosition(), objectpositioning::SwAnchoredObjectPosition::CalcRelPosX(), SwDrawContact::Changed_(), SwAnchoredObject::ConsiderObjWrapInfluenceOnObjPos(), SwTextFly::DrawFlyRect(), SwTextFly::DrawTextOpaque(), SwBaseShell::Execute(), SwTextFly::ForEach(), SwCellFrame::Format(), WW8AttributeOutput::FormatSurround(), RtfAttributeOutput::FormatSurround(), DocxAttributeOutput::FormatSurround(), SwTextBoxHelper::getShapeWrapThrough(), SwBaseShell::GetState(), SwTextFly::GetSurroundForTextWrap(), objectpositioning::SwAnchoredObjectPosition::GetTopForObjPos(), SwHTMLParser::HasCurrentParaFlys(), HasWrap(), SwFramePage::Init(), SwHTMLParser::InsertLineBreak(), InvaPercentFlys(), lcl_MinMaxNode(), Notify_Background(), SwHTMLWriter::OutFrameFormatOptions(), OutHTML_FrameFormatOLENode(), OutHTML_SwTableNode(), QueryValue(), SwHTMLParser::RegisterFlyFrame(), SwWrapTabPage::Reset(), SwFEShell::ShouldObjectBeSelected(), SwContentFrame::ShrinkFrame(), SwHTMLWriter::writeFrameFormatOptions(), and PlcDrawObj::WritePlc().
|
overridevirtual |
Implements SfxEnumItemInterface.
Definition at line 1174 of file atrfrm.cxx.
|
inline |
Definition at line 52 of file fmtsrnd.hxx.
Referenced by SwTextFly::CalcMinBottom(), SwTextFly::DrawTextOpaque(), SwTextFly::ForEach(), SwBaseShell::GetState(), SwTextFly::GetSurroundForTextWrap(), SwTextFly::InitAnchoredObjList(), SwHTMLWriter::OutFrameFormatOptions(), QueryValue(), SwWrapTabPage::Reset(), and SwHTMLWriter::writeFrameFormatOptions().
|
inline |
Definition at line 53 of file fmtsrnd.hxx.
Referenced by SwContourCache::CalcBoundRect(), SwRootFrame::CalcFrameRects(), SwNoTextFrame::ClearCache(), SwTextFly::DrawFlyRect(), SwTextFly::DrawTextOpaque(), RtfAttributeOutput::FlyFrameGraphic(), SwTextFly::ForEach(), RtfAttributeOutput::FormatSurround(), SwBaseShell::GetState(), IMPL_LINK_NOARG(), lcl_MoveAllLowerObjs(), lcl_SubtractFlys(), SwWW8ImplReader::MapWrapIntoFlyFormat(), Notify(), SwFlyFrame::PaintSwFrame(), SwLayAction::PaintWithoutFlys(), QueryValue(), SwWrapTabPage::Reset(), DocxSdrExport::startDMLAnchorInline(), SwEscherEx::WriteFlyFrameAttr(), and PlcDrawObj::WritePlc().
|
inline |
Definition at line 54 of file fmtsrnd.hxx.
Referenced by SwContourCache::ContourRect(), QueryValue(), and SwWrapTabPage::Reset().
|
overridevirtual |
Reimplemented from SfxEnumItemInterface.
Definition at line 1160 of file atrfrm.cxx.
References SfxEnumItem< css::text::WrapTextMode >::GetValue(), m_bAnchorOnly, m_bContour, and m_bOutside.
|
overridevirtual |
Reimplemented from SfxEnumItemInterface.
Definition at line 1205 of file atrfrm.cxx.
References CONVERT_TWIPS, SWUnoHelper::GetEnumAsInt32(), MID_SURROUND_ANCHORONLY, MID_SURROUND_CONTOUR, MID_SURROUND_CONTOUROUTSIDE, MID_SURROUND_SURROUNDTYPE, SetAnchorOnly(), SetContour(), SetOutside(), and SfxEnumItem< css::text::WrapTextMode >::SetValue().
|
overridevirtual |
Reimplemented from SfxEnumItemInterface.
Definition at line 1179 of file atrfrm.cxx.
References CONVERT_TWIPS, GetSurround(), IsAnchorOnly(), IsContour(), IsOutside(), MID_SURROUND_ANCHORONLY, MID_SURROUND_CONTOUR, MID_SURROUND_CONTOUROUTSIDE, and MID_SURROUND_SURROUNDTYPE.
|
inline |
Definition at line 56 of file fmtsrnd.hxx.
Referenced by WW8TabDesc::CreateSwTable(), SwWrapTabPage::FillItemSet(), SwHTMLParser::InsertLineBreak(), and PutValue().
|
inline |
Definition at line 57 of file fmtsrnd.hxx.
Referenced by SwBaseShell::Execute(), SwWrapTabPage::FillItemSet(), SwWW8ImplReader::MapWrapIntoFlyFormat(), PutValue(), and SwWW8ImplReader::Read_GrafLayer().
|
inline |
Definition at line 58 of file fmtsrnd.hxx.
Referenced by SwWrapTabPage::FillItemSet(), PutValue(), and SwWW8ImplReader::Read_GrafLayer().
|
inline |
Definition at line 55 of file fmtsrnd.hxx.
References SfxEnumItem< class >::SetValue().
Referenced by CalcContent(), SwWrapTabPage::FillItemSet(), and SwFlyAtContentFrame::MakeAll().
|
private |
Definition at line 33 of file fmtsrnd.hxx.
Referenced by dumpAsXml(), operator==(), and SwFormatSurround().
|
private |
Definition at line 34 of file fmtsrnd.hxx.
Referenced by dumpAsXml(), operator==(), and SwFormatSurround().
|
private |
Definition at line 35 of file fmtsrnd.hxx.
Referenced by dumpAsXml(), operator==(), and SwFormatSurround().