LibreOffice Module sw (master) 1
|
Format of a fly content. More...
#include <fmtflcnt.hxx>
Public Member Functions | |
SwFormatFlyCnt (SwFrameFormat *pFrameFormat) | |
virtual bool | operator== (const SfxPoolItem &) const override |
"Pure virtual methods" of SfxPoolItem. More... | |
virtual SwFormatFlyCnt * | Clone (SfxItemPool *pPool=nullptr) const override |
SwFrameFormat * | GetFrameFormat () const |
void | SetFlyFormat (SwFrameFormat *pNew=nullptr) |
For Undo: delete the FlyFrameFormat "logically"; it is kept in Undo-object. More... | |
const SwTextFlyCnt * | GetTextFlyCnt () const |
void | dumpAsXml (xmlTextWriterPtr pWriter) const override |
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 Member Functions | |
SwFormatFlyCnt & | operator= (const SwFormatFlyCnt &rFlyCnt)=delete |
Private Attributes | |
SwTextFlyCnt * | m_pTextAttr |
SwFrameFormat * | m_pFormat |
My Fly/DrawFrame-format. More... | |
Friends | |
class | SwTextFlyCnt |
Additional Inherited Members | |
Public Types inherited from SfxPoolItem | |
typedef std::vector< SfxPoolItem * >::const_iterator | lookup_iterator |
Protected Member Functions inherited from SfxPoolItem | |
SfxPoolItem (sal_uInt16 nWhich=0) | |
SfxPoolItem (const SfxPoolItem &rCopy) | |
Format of a fly content.
A pool item that is attached to the placeholder character of an as-character frame. (TextFrame, etc.)
Definition at line 32 of file fmtflcnt.hxx.
SwFormatFlyCnt::SwFormatFlyCnt | ( | SwFrameFormat * | pFrameFormat | ) |
Definition at line 39 of file atrflyin.cxx.
Referenced by Clone().
|
overridevirtual |
Implements SfxPoolItem.
Definition at line 54 of file atrflyin.cxx.
References m_pFormat, and SwFormatFlyCnt().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 59 of file atrflyin.cxx.
References SfxPoolItem::dumpAsXml(), m_pFormat, and m_pTextAttr.
Referenced by SwTextAttr::dumpAsXml().
|
inline |
Definition at line 45 of file fmtflcnt.hxx.
Referenced by SwWW8ImplReader::ContainsSingleInlineGraphic(), SwTextFlyCnt::CopyFlyFormat(), SwWW8ImplReader::CoreLoad(), SwUndoFlyBase::DelFly(), sw::DocumentLayoutManager::DelLayoutFormat(), SwTextNode::DestroyAttr(), SwTextFlyCnt::GetFlyFrame_(), SwTextNode::GetMinMaxSize(), SwTextNode::InsertHint(), lcl_ExportHints(), lcl_InsertLabel(), lcl_SaveAnchor(), operator==(), OutHTML_SwFlyCnt(), SwUndoFormatAttr::RestoreFlyAnchor(), SwTextFlyCnt::SetAnchor(), SwDoc::SetFlyFrameAnchor(), SwXShape::setPropertyValue(), SwTextNode::SplitContentNode(), AttributeOutputBase::TextFlyContent(), and SwUndoSetFlyFormat::UndoImpl().
|
inline |
Definition at line 49 of file fmtflcnt.hxx.
|
privatedelete |
|
overridevirtual |
"Pure virtual methods" of SfxPoolItem.
Implements SfxPoolItem.
Definition at line 46 of file atrflyin.cxx.
References GetFrameFormat(), SwTextAttr::GetStart(), m_pFormat, and m_pTextAttr.
|
inline |
For Undo: delete the FlyFrameFormat "logically"; it is kept in Undo-object.
Definition at line 47 of file fmtflcnt.hxx.
|
friend |
Definition at line 34 of file fmtflcnt.hxx.
|
private |
My Fly/DrawFrame-format.
Definition at line 36 of file fmtflcnt.hxx.
Referenced by Clone(), dumpAsXml(), and operator==().
|
private |
Definition at line 35 of file fmtflcnt.hxx.
Referenced by dumpAsXml(), operator==(), and SwTextFlyCnt::SwTextFlyCnt().