LibreOffice Module sw (master) 1
|
Defines the vertical position of a fly frame. More...
#include <fmtornt.hxx>
Public Member Functions | |
SwFormatVertOrient (SwTwips nY=0, sal_Int16 eVert=css::text::VertOrientation::NONE, sal_Int16 eRel=css::text::RelOrientation::PRINT_AREA) | |
SwFormatVertOrient (SwFormatVertOrient const &)=default | |
virtual bool | operator== (const SfxPoolItem &) const override |
"Pure virtual methods" of SfxPoolItem. More... | |
virtual SwFormatVertOrient * | Clone (SfxItemPool *pPool=nullptr) 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 |
sal_Int16 | GetVertOrient () const |
sal_Int16 | GetRelationOrient () const |
void | SetVertOrient (sal_Int16 eNew) |
void | SetRelationOrient (sal_Int16 eNew) |
SwTwips | GetPos () const |
void | SetPos (SwTwips nNew) |
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 Attributes | |
SwTwips | m_nYPos |
Contains always the current RelPos. More... | |
sal_Int16 | m_eOrient |
sal_Int16 | m_eRelation |
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) | |
Defines the vertical position of a fly frame.
For example: from top (orientation), by 1cm (relative position), to the entire page (relation).
Definition at line 36 of file fmtornt.hxx.
SwFormatVertOrient::SwFormatVertOrient | ( | SwTwips | nY = 0 , |
sal_Int16 | eVert = css::text::VertOrientation::NONE , |
||
sal_Int16 | eRel = css::text::RelOrientation::PRINT_AREA |
||
) |
Definition at line 1370 of file atrfrm.cxx.
Referenced by Clone().
|
default |
|
overridevirtual |
Implements SfxPoolItem.
Definition at line 1386 of file atrfrm.cxx.
References SwFormatVertOrient().
Referenced by SwDoc::GetBoxAttr(), SwFEShell::NewFlyFrame(), SwXNumberingRules::SetPropertiesToNumFormat(), and SwBoxAutoFormat::SetVerticalAlignment().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 1451 of file atrfrm.cxx.
References m_eOrient, m_eRelation, m_nYPos, and SfxPoolItem::Which().
|
inline |
Definition at line 62 of file fmtornt.hxx.
Referenced by SwWrapTabPage::ActivatePage(), SwFmDrawPage::add(), objectpositioning::SwAsCharAnchoredObjectPosition::CalcPosition(), objectpositioning::SwToContentAnchoredObjectPosition::CalcPosition(), objectpositioning::SwToLayoutAnchoredObjectPosition::CalcPosition(), SwDrawContact::Changed_(), SwTextBoxHelper::doTextBoxPositioning(), SwView::ExecTabWin(), SwDrawBaseShell::Execute(), SwFramePage::FillItemSet(), DocxAttributeOutput::FormatVertOrientation(), WW8AttributeOutput::FormatVertOrientation(), RtfAttributeOutput::FormatVertOrientation(), DocxAttributeOutput::GetOLEStyle(), GetPresentation(), objectpositioning::SwAsCharAnchoredObjectPosition::GetRelPosToBase(), SwFramePage::Init(), SwTextFrame::IsEmptyWithSplitFly(), SwFlyAtContentFrame::MakeAll(), SwFlyInContentFrame::MakeObjPos(), SwWW8ImplReader::MatchSdrItemsIntoFlySet(), SwVirtFlyDrawObj::NbcMove(), SwHTMLWriter::OutCSS1_FrameFormatOptions(), DocxAttributeOutput::PopulateFrameProperties(), QueryValue(), SwFEShell::RequestObjectResize(), SwUndoFormatAttr::RestoreFlyAnchor(), SwDoc::SetFlyFrameAnchor(), SwAnchoredDrawObject::SetPositioningAttr(), SwHTMLParser::SetSpace(), DocxSdrExport::startDMLAnchorInline(), legacy::SwFormatVert::Store(), SwFlyInContentFrame::SwFlyInContentFrame(), SwGrfNumPortion::SwGrfNumPortion(), SwTextBoxHelper::syncFlyFrameAttr(), RtfAttributeOutput::TablePositioning(), WW8AttributeOutput::TablePositioning(), and PlcDrawObj::WritePlc().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 332 of file attrdesc.cxx.
References EditResId(), GetPos(), GetVertOrient(), SwPostItHelper::NONE, and SwResId().
|
inline |
Definition at line 58 of file fmtornt.hxx.
Referenced by SwWrapTabPage::ActivatePage(), SwFrame::AdjustNeighbourhood(), CalcClipRect(), objectpositioning::SwToContentAnchoredObjectPosition::CalcPosition(), objectpositioning::SwToLayoutAnchoredObjectPosition::CalcPosition(), SwTextBoxHelper::changeAnchor(), SwDrawContact::Changed_(), SwEditWin::ChangeFly(), SwAnchoredObject::CheckCharRect(), SwFlyFrame::ChgRelPos(), WinwordAnchoring::ConvertPosition(), SwTextBoxHelper::doTextBoxPositioning(), SwDrawBaseShell::Execute(), SwFramePage::FillItemSet(), DocxAttributeOutput::FormatVertOrientation(), RtfAttributeOutput::FormatVertOrientation(), DocxAttributeOutput::GetOLEStyle(), SwTextFly::GetTop(), SwFrameNotify::ImplDestroy(), SwFramePage::Init(), lcl_ArrangeLowers(), SwVirtFlyDrawObj::NbcMove(), SwHTMLWriter::OutCSS1_FrameFormatOptions(), DocxAttributeOutput::PopulateFrameProperties(), SwFlyAtContentFrame::SetAbsPos(), WinwordAnchoring::SetAnchoring(), SwDoc::SetFlyFrameAnchor(), DocxSdrExport::startDMLAnchorInline(), legacy::SwFormatVert::Store(), SwTextBoxHelper::syncFlyFrameAttr(), WW8AttributeOutput::TableDefinition(), WW8AttributeOutput::TableOrientation(), RtfAttributeOutput::TablePositioning(), WW8AttributeOutput::TablePositioning(), DocxAttributeOutput::WriteActiveXControl(), PlcDrawObj::WritePlc(), and DocxSdrExport::writeVMLDrawing().
|
inline |
Definition at line 57 of file fmtornt.hxx.
Referenced by SwWrapTabPage::ActivatePage(), SwFmDrawPage::add(), SwXMLTableFrameFormatsSort_Impl::AddCell(), SwFrame::AdjustNeighbourhood(), CalcClipRect(), SwTextFly::CalcMinBottom(), objectpositioning::SwAsCharAnchoredObjectPosition::CalcPosition(), objectpositioning::SwToContentAnchoredObjectPosition::CalcPosition(), objectpositioning::SwToLayoutAnchoredObjectPosition::CalcPosition(), SwEditWin::ChangeFly(), ChgNumToText(), SwFlyFrame::ChgRelPos(), ChgTextToNum(), WinwordAnchoring::ConvertPosition(), SwTextBoxHelper::doTextBoxPositioning(), SwBaseShell::Execute(), SwDrawBaseShell::Execute(), SwFramePage::FillItemSet(), SwCellFrame::Format(), DocxAttributeOutput::FormatVertOrientation(), WW8AttributeOutput::FormatVertOrientation(), RtfAttributeOutput::FormatVertOrientation(), SwDoc::GetBoxAlign(), DocxAttributeOutput::GetOLEStyle(), GetPresentation(), objectpositioning::SwAsCharAnchoredObjectPosition::GetRelPosToBase(), SwDrawBaseShell::GetState(), SwFrameNotify::ImplDestroy(), SwContentNotify::ImplDestroy(), SwFramePage::Init(), SwTextFly::InitAnchoredObjList(), lcl_TCFlags(), SwVirtFlyDrawObj::NbcMove(), SwFEShell::NewFlyFrame(), Notify_Background(), SwHTMLWriter::OutCSS1_FrameFormatOptions(), SwHTMLWriter::OutFrameFormatOptions(), WW8Export::OutGrf(), DocxAttributeOutput::PopulateFrameProperties(), SvXMLExportItemMapper::QueryXMLValue(), WinwordAnchoring::SetAnchoring(), SwHTMLParser::SetAttr_(), SwDoc::SetFlyFrameAnchor(), SwHTMLParser::SetSpace(), DocxSdrExport::startDMLAnchorInline(), legacy::SwFormatVert::Store(), SwGrfNumPortion::SwGrfNumPortion(), RtfAttributeOutput::TablePositioning(), WW8AttributeOutput::TablePositioning(), RtfAttributeOutput::TableVerticalCell(), SwTableAutoFormat::UpdateToSet(), DocxAttributeOutput::WriteActiveXControl(), SwHTMLWriter::writeFrameFormatOptions(), PlcDrawObj::WritePlc(), and DocxSdrExport::writeVMLDrawing().
|
overridevirtual |
"Pure virtual methods" of SfxPoolItem.
Implements SfxPoolItem.
Definition at line 1378 of file atrfrm.cxx.
References m_eOrient, m_eRelation, and m_nYPos.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 1416 of file atrfrm.cxx.
References CONVERT_TWIPS, lcl_IntToRelation(), m_eOrient, m_eRelation, MID_VERTORIENT_ORIENT, MID_VERTORIENT_POSITION, MID_VERTORIENT_RELATION, o3tl::mm100, SwPostItHelper::NONE, SetPos(), and o3tl::toTwips().
Referenced by SwXTextCellStyle::setPropertyToDefault(), and SwXTextCellStyle::setPropertyValue().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 1391 of file atrfrm.cxx.
References convertTwipToMm100(), GetPos(), m_eOrient, m_eRelation, MID_VERTORIENT_ORIENT, MID_VERTORIENT_POSITION, and MID_VERTORIENT_RELATION.
Referenced by SwXNumberingRules::GetPropertiesForNumFormat(), SwXTextCellStyle::getPropertyStates(), SwXTextCellStyle::getPropertyValue(), and SwXTextCellStyle::setPropertyToDefault().
|
inline |
Definition at line 63 of file fmtornt.hxx.
Referenced by SwFmDrawPage::add(), SwFEShell::AlignFormulaToBaseline(), objectpositioning::SwAsCharAnchoredObjectPosition::CalcPosition(), objectpositioning::SwToContentAnchoredObjectPosition::CalcPosition(), objectpositioning::SwToLayoutAnchoredObjectPosition::CalcPosition(), SwEditWin::ChangeFly(), SwFlyFrame::ChgRelPos(), WinwordAnchoring::ConvertPosition(), legacy::SwFormatVert::Create(), SwTextBoxHelper::doTextBoxPositioning(), SwView::ExecTabWin(), SwDrawBaseShell::Execute(), SwFramePage::FillItemSet(), SwFlyAtContentFrame::MakeAll(), SwFlyInContentFrame::MakeObjPos(), SwWW8ImplReader::MatchSdrItemsIntoFlySet(), PutValue(), SwDoc::SetFlyFrameAnchor(), SwFlyFrameAttrMgr::SetPos(), SwAnchoredDrawObject::SetPositioningAttr(), SwHTMLParser::SetSpace(), and SwTextBoxHelper::syncFlyFrameAttr().
|
inline |
Definition at line 60 of file fmtornt.hxx.
Referenced by SwTextBoxHelper::changeAnchor(), SwFlyFrame::ChgRelPos(), legacy::SwFormatVert::Create(), SwTextBoxHelper::doTextBoxPositioning(), SwDrawBaseShell::Execute(), SwFramePage::FillItemSet(), SwFEShell::ImpEndCreate(), SwVirtFlyDrawObj::NbcMove(), SwFlyFrameAttrMgr::SetAnchor(), SwHTMLParser::SetAttr_(), SwDoc::SetFlyFrameAnchor(), and SwTextBoxHelper::syncFlyFrameAttr().
|
inline |
Definition at line 59 of file fmtornt.hxx.
Referenced by SwFEShell::AlignFormulaToBaseline(), SwEditWin::ChangeFly(), SwFlyFrame::ChgRelPos(), WinwordAnchoring::ConvertPosition(), legacy::SwFormatVert::Create(), SwTextBoxHelper::doTextBoxPositioning(), SwView::ExecTabWin(), SwDrawBaseShell::Execute(), SwFramePage::FillItemSet(), SwFEShell::ImpEndCreate(), SwModule::InsertLab(), SwVirtFlyDrawObj::NbcMove(), SvXMLImportItemMapper::PutXMLValue(), SwFlyFrameAttrMgr::SetAbsPos(), SwDoc::SetFlyFrameAnchor(), SwNumFormat::SetGraphicBrush(), SwFlyFrameAttrMgr::SetPos(), and SwFlyFrameAttrMgr::SetVertOrientation().
|
private |
Definition at line 39 of file fmtornt.hxx.
Referenced by dumpAsXml(), operator==(), PutValue(), and QueryValue().
|
private |
Definition at line 40 of file fmtornt.hxx.
Referenced by dumpAsXml(), operator==(), PutValue(), and QueryValue().
|
private |
Contains always the current RelPos.
Definition at line 38 of file fmtornt.hxx.
Referenced by dumpAsXml(), and operator==().