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 SwFormatSurround * | 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 |
Public Member Functions inherited from SfxEnumItem< css::text::WrapTextMode > | |
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 |
Public Member Functions inherited from SfxEnumItemInterface | |
virtual bool | operator== (const SfxPoolItem &rItem) const override |
virtual bool | GetPresentation (SfxItemPresentation, MapUnit, MapUnit, OUString &rText, const IntlWrapper &) const override |
virtual bool | QueryValue (css::uno::Any &rVal, sal_uInt8=0) const override |
virtual bool | PutValue (const css::uno::Any &rVal, sal_uInt8) override |
virtual sal_uInt16 | GetValueCount () const=0 |
virtual sal_uInt16 | GetEnumValue () const=0 |
virtual void | SetEnumValue (sal_uInt16 nValue)=0 |
virtual bool | HasBoolValue () const |
virtual bool | GetBoolValue () const |
virtual void | SetBoolValue (bool bValue) |
Public Member Functions inherited from SfxPoolItem | |
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 |
virtual bool | operator== (const SfxPoolItem &) const=0 |
bool | operator!= (const SfxPoolItem &rItem) const |
virtual bool | operator< (const SfxPoolItem &) const |
virtual bool | IsSortable () const |
virtual bool | HasLookup () const |
virtual lookup_iterator | Lookup (lookup_iterator, lookup_iterator end) const |
virtual bool | GetPresentation (SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const |
virtual void | ScaleMetrics (tools::Long lMult, tools::Long lDiv) |
virtual bool | HasMetrics () const |
virtual bool | QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) const |
virtual bool | PutValue (const css::uno::Any &rVal, sal_uInt8 nMemberId) |
virtual SfxPoolItem * | Clone (SfxItemPool *pPool=nullptr) const=0 |
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 void | dumpAsXml (xmlTextWriterPtr pWriter) 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 | |
Public Types inherited from SfxPoolItem | |
typedef std::vector< SfxPoolItem * >::const_iterator | lookup_iterator |
Protected Member Functions inherited from SfxEnumItem< css::text::WrapTextMode > | |
SfxEnumItem (sal_uInt16 const nWhich, EnumT const nValue) | |
SfxEnumItem (const SfxEnumItem &)=default | |
Protected Member Functions inherited from SfxEnumItemInterface | |
SfxEnumItemInterface (sal_uInt16 which) | |
SfxEnumItemInterface (const SfxEnumItemInterface &)=default | |
Protected Member Functions inherited from SfxPoolItem | |
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 1265 of file atrfrm.cxx.
References m_bAnchorOnly, m_bContour, and m_bOutside.
Referenced by Clone().
|
overridevirtual |
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 1351 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 288 of file attrdesc.cxx.
References SfxEnumItem< css::text::WrapTextMode >::GetValue(), IsAnchorOnly(), and SwResId().
Referenced by dumpAsXml().
|
inline |
Definition at line 51 of file fmtsrnd.hxx.
References SfxEnumItem< typename EnumT >::GetValue().
Referenced by SwWrapTabPage::ActivatePage(), SwFEShell::CalcBoundRect(), SwRootFrame::CalcFrameRects(), objectpositioning::SwToContentAnchoredObjectPosition::CalcOverlap(), objectpositioning::SwToContentAnchoredObjectPosition::CalcPosition(), objectpositioning::SwToLayoutAnchoredObjectPosition::CalcPosition(), objectpositioning::SwAnchoredObjectPosition::CalcRelPosX(), SwDrawContact::Changed_(), SwAnchoredObject::ConsiderObjWrapInfluenceOnObjPos(), SwTextFly::DrawFlyRect(), SwTextFly::DrawTextOpaque(), SwBaseShell::Execute(), DocxAttributeOutput::ExportOLESurround(), SwTextFly::ForEach(), SwCellFrame::Format(), DocxAttributeOutput::FormatSurround(), WW8AttributeOutput::FormatSurround(), RtfAttributeOutput::FormatSurround(), objectpositioning::SwAnchoredObjectPosition::GetInfoAboutObj(), SwTextBoxHelper::getShapeWrapThrough(), SwBaseShell::GetState(), SwTextFly::GetSurroundForTextWrap(), objectpositioning::SwAnchoredObjectPosition::GetTopForObjPos(), HasWrap(), SwFramePage::Init(), SwAnchoredObject::IsDraggingOffPageAllowed(), lcl_MinMaxNode(), SwFlyAtContentFrame::MakeAll(), Notify_Background(), SwHTMLWriter::OutFrameFormatOptions(), OutHTML_FrameFormatOLENode(), OutHTML_SwTableNode(), QueryValue(), SwHTMLParser::RegisterFlyFrame(), SwWrapTabPage::Reset(), SwBaseShell::SetWrapMode(), SwFEShell::ShouldObjectBeSelected(), SwContentFrame::ShrinkFrame(), DocxSdrExport::startDMLAnchorInline(), docx::SurroundToVMLWrap(), SwHTMLWriter::writeFrameFormatOptions(), and PlcDrawObj::WritePlc().
|
overridevirtual |
Implements SfxEnumItemInterface.
Definition at line 1285 of file atrfrm.cxx.
|
inline |
Definition at line 52 of file fmtsrnd.hxx.
Referenced by SwTextFly::CalcMinBottom(), SwTextFly::DrawTextOpaque(), SwTextFly::ForEach(), GetPresentation(), SwBaseShell::GetState(), SwTextFly::GetSurroundForTextWrap(), SwTextFly::InitAnchoredObjList(), SwHTMLWriter::OutFrameFormatOptions(), QueryValue(), SwWrapTabPage::Reset(), SwBaseShell::SetWrapMode(), and SwHTMLWriter::writeFrameFormatOptions().
|
inline |
Definition at line 53 of file fmtsrnd.hxx.
Referenced by SwContourCache::CalcBoundRect(), SwRootFrame::CalcFrameRects(), SwNoTextFrame::ClearCache(), SwTextFly::DrawFlyRect(), SwTextFly::DrawTextOpaque(), SwBaseShell::Execute(), DocxAttributeOutput::ExportOLESurround(), RtfAttributeOutput::FlyFrameGraphic(), SwTextFly::ForEach(), RtfAttributeOutput::FormatSurround(), SwBaseShell::GetState(), IMPL_LINK_NOARG(), lcl_SubtractFlys(), SwWW8ImplReader::MapWrapIntoFlyFormat(), SwFlyFrame::PaintSwFrame(), SwLayAction::PaintWithoutFlys(), QueryValue(), SwWrapTabPage::Reset(), SwBaseShell::SetWrapMode(), DocxSdrExport::startDMLAnchorInline(), SwEscherEx::WriteFlyFrameAttr(), and PlcDrawObj::WritePlc().
|
inline |
Definition at line 54 of file fmtsrnd.hxx.
Referenced by SwContourCache::ContourRect(), QueryValue(), SwWrapTabPage::Reset(), and DocxSdrExport::startDMLAnchorInline().
|
overridevirtual |
Reimplemented from SfxEnumItem< css::text::WrapTextMode >.
Definition at line 1271 of file atrfrm.cxx.
References SfxEnumItem< css::text::WrapTextMode >::GetValue(), m_bAnchorOnly, m_bContour, and m_bOutside.
|
overridevirtual |
Reimplemented from SfxEnumItemInterface.
Definition at line 1316 of file atrfrm.cxx.
References 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 1290 of file atrfrm.cxx.
References 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(), PutValue(), SwBaseShell::SetWrapMode(), and WW8FlySet::WW8FlySet().
|
inline |
Definition at line 57 of file fmtsrnd.hxx.
Referenced by SwBaseShell::Execute(), SwWrapTabPage::FillItemSet(), SwWW8ImplReader::MapWrapIntoFlyFormat(), PutValue(), SwWW8ImplReader::Read_GrafLayer(), and SwBaseShell::SetWrapMode().
|
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< typename EnumT >::SetValue().
Referenced by SwBaseShell::Execute(), SwWrapTabPage::FillItemSet(), SwFlyAtContentFrame::MakeAll(), and SwBaseShell::SetWrapMode().
|
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().