LibreOffice Module sw (master)
1
|
#include <fmtfsize.hxx>
Public Types | |
enum | PercentFlags { SYNCED = 0xff } |
Private Member Functions | |
void | ScaleMetrics (tools::Long lMult, tools::Long lDiv) override |
bool | HasMetrics () const override |
Private Attributes | |
SwFrameSize | m_eFrameHeightType |
SwFrameSize | m_eFrameWidthType |
sal_uInt8 | m_nWidthPercent |
sal_Int16 | m_eWidthPercentRelation |
sal_uInt8 | m_nHeightPercent |
sal_Int16 | m_eHeightPercentRelation |
Additional Inherited Members | |
![]() | |
static SfxPoolItem * | CreateDefault () |
Definition at line 43 of file fmtfsize.hxx.
Enumerator | |
---|---|
SYNCED |
Definition at line 86 of file fmtfsize.hxx.
SwFormatFrameSize::SwFormatFrameSize | ( | SwFrameSize | eSize = SwFrameSize::Variable , |
SwTwips | nWidth = 0 , |
||
SwTwips | nHeight = 0 |
||
) |
Definition at line 226 of file atrfrm.cxx.
Referenced by Clone().
|
overridevirtual |
Reimplemented from SvxSizeItem.
Definition at line 246 of file atrfrm.cxx.
References SwFormatFrameSize().
Referenced by lcl_InsertLabel().
|
override |
Definition at line 446 of file atrfrm.cxx.
References SvxSizeItem::GetSize(), m_eFrameHeightType, m_eFrameWidthType, m_eHeightPercentRelation, m_eWidthPercentRelation, m_nHeightPercent, and m_nWidthPercent.
|
inline |
Definition at line 88 of file fmtfsize.hxx.
Referenced by SwWrapTabPage::ActivatePage(), CalcHeightWithFlys(), objectpositioning::SwToContentAnchoredObjectPosition::CalcPosition(), SwFlyFrame::CalcRel(), SwFrameShell::Execute(), SwGrfShell::Execute(), SwFramePage::FillItemSet(), SwFlyFrame::Format(), SwFramePage::Init(), InvaPercentFlys(), SwLayoutFrame::InvaPercentLowers(), SwFlyAtContentFrame::MakeAll(), operator==(), SwHTMLWriter::OutFrameFormatOptions(), PutValue(), QueryValue(), SwFramePage::Reset(), SwGrfNode::ScaleImageMap(), DocxSdrExport::writeDMLTextFrame(), and SwHTMLWriter::writeFrameFormatOptions().
|
inline |
Definition at line 89 of file fmtfsize.hxx.
Referenced by SwFEShell::CalcBoundRect(), SwFlyFrame::CalcRel(), SwFramePage::Init(), operator==(), QueryValue(), and DocxSdrExport::writeDMLTextFrame().
|
inline |
Definition at line 80 of file fmtfsize.hxx.
Referenced by SwWrapTabPage::ActivatePage(), SwXMLTableFrameFormatsSort_Impl::AddRow(), SwTableHeightDlg::Apply(), SwTextFormatter::BuildMultiPortion(), myImplHelpers::CalcHdFtDist(), SwTabFrame::CalcHeightOfFirstContentLine(), SwTable::ConvertSubtableBox(), SwFramePage::FillItemSet(), SwLayoutFrame::Format(), WW8AttributeOutput::FormatFrameSize(), DocxAttributeOutput::FormatFrameSize(), SwFlyFrame::FrameSizeChg(), SwXTextTableRow::getPropertyValue(), SwFrameShell::GetState(), SwFlyFreeFrame::HasEnvironmentAutoSize(), SwFramePage::Init(), lcl_CalcMinRowHeight(), lcl_GetFrameMinHeight(), lcl_PreprocessRowsInCells(), PageDescToItemSet(), QueryValue(), SvXMLExportItemMapper::QueryXMLValue(), SwFrame::ReinitializeFrameSizeAttrFlags(), SwRowFrame::ShrinkFrame(), SwFlyFrame::SwFlyFrame(), SwLayoutFrame::SwLayoutFrame(), WW8AttributeOutput::TableHeight(), RtfAttributeOutput::TableHeight(), DocxAttributeOutput::TableHeight(), and DocxSdrExport::writeDMLTextFrame().
|
overridevirtual |
Reimplemented from SvxSizeItem.
Definition at line 217 of file attrdesc.cxx.
References EditResId(), Fixed, unicode::formatPercent(), GetMetricId(), Application::GetSettings(), SwResId(), and Variable.
|
inline |
Definition at line 91 of file fmtfsize.hxx.
Referenced by SwWrapTabPage::ActivatePage(), SwColumnPage::ActivatePage(), SwLayoutFrame::CalcRel(), SwFlyFrame::CalcRel(), SwFrameShell::Execute(), SwGrfShell::Execute(), SwXMLExport::ExportTableAutoStyles(), SwFramePage::FillItemSet(), SwFlyFrame::Format(), SwTextNode::GetMinMaxSize(), AttributeOutputBase::GetTablePageSize(), GetTableWidth(), SwRootFrame::ImplCalcBrowseWidth(), SwFramePage::Init(), InvaPercentFlys(), SwLayoutFrame::InvaPercentLowers(), lcl_GetSpecialProperty(), SwFlyAtContentFrame::MakeAll(), SwContentFrame::MakePrtArea(), SwXMLTableContext::MakeTable(), operator==(), OutCSS1_SwFormatFrameSize(), SwHTMLWriter::OutFrameFormatOptions(), OutHTML_SwTableNode(), PutValue(), QueryValue(), SvXMLExportItemMapper::QueryXMLValue(), SwFEShell::RequestObjectResize(), SwFramePage::Reset(), SwGrfNode::ScaleImageMap(), SwTable::SetColWidth(), WW8AttributeOutput::TableDefinition(), DocxAttributeOutput::TableDefinition(), DocxSdrExport::writeDMLTextFrame(), and SwHTMLWriter::writeFrameFormatOptions().
|
inline |
Definition at line 92 of file fmtfsize.hxx.
Referenced by SwFEShell::CalcBoundRect(), SwFlyFrame::CalcRel(), SwFramePage::Init(), operator==(), QueryValue(), and DocxSdrExport::writeDMLTextFrame().
|
inline |
Definition at line 83 of file fmtfsize.hxx.
Referenced by SwFramePage::FillItemSet(), SwFlyFrame::Format(), WW8AttributeOutput::FormatFrameSize(), DocxAttributeOutput::FormatFrameSize(), SwFlyFrame::Grow_(), SwFramePage::Init(), SwWW8ImplReader::MatchSdrItemsIntoFlySet(), QueryValue(), SwWW8ImplReader::Read_HdFtTextAsHackedFrame(), SwFlyFrame::Shrink_(), and SwFrameNotify::~SwFrameNotify().
|
overrideprivatevirtual |
Reimplemented from SvxSizeItem.
Definition at line 218 of file atrfrm.cxx.
References SfxPoolItem::HasMetrics().
|
overridevirtual |
Reimplemented from SvxSizeItem.
Definition at line 234 of file atrfrm.cxx.
References assert(), GetHeightPercent(), GetHeightPercentRelation(), GetWidthPercent(), GetWidthPercentRelation(), m_eFrameHeightType, m_eFrameWidthType, m_eHeightPercentRelation, m_eWidthPercentRelation, m_nHeightPercent, and m_nWidthPercent.
|
overridevirtual |
Reimplemented from SvxSizeItem.
Definition at line 306 of file atrfrm.cxx.
References CONVERT_TWIPS, convertMm100ToTwip(), Fixed, GetHeightPercent(), GetWidthPercent(), Size::Height(), MID_FRMSIZE_HEIGHT, MID_FRMSIZE_IS_AUTO_HEIGHT, MID_FRMSIZE_IS_SYNC_HEIGHT_TO_WIDTH, MID_FRMSIZE_IS_SYNC_WIDTH_TO_HEIGHT, MID_FRMSIZE_REL_HEIGHT, MID_FRMSIZE_REL_HEIGHT_RELATION, MID_FRMSIZE_REL_WIDTH, MID_FRMSIZE_REL_WIDTH_RELATION, MID_FRMSIZE_SIZE, MID_FRMSIZE_SIZE_TYPE, MID_FRMSIZE_WIDTH, MID_FRMSIZE_WIDTH_TYPE, Minimum, MINLAY, nType, SvxSizeItem::SetHeight(), Size::setHeight(), SetHeightPercent(), SetHeightPercentRelation(), SetHeightSizeType(), SvxSizeItem::SetSize(), SvxSizeItem::SetWidth(), Size::setWidth(), SetWidthPercent(), SetWidthPercentRelation(), SetWidthSizeType(), SYNCED, Variable, and Size::Width().
|
overridevirtual |
Reimplemented from SvxSizeItem.
Definition at line 251 of file atrfrm.cxx.
References CONVERT_TWIPS, convertTwipToMm100(), Fixed, SvxSizeItem::GetHeight(), GetHeightPercent(), GetHeightPercentRelation(), GetHeightSizeType(), SvxSizeItem::GetWidth(), GetWidthPercent(), GetWidthPercentRelation(), GetWidthSizeType(), MID_FRMSIZE_HEIGHT, MID_FRMSIZE_IS_AUTO_HEIGHT, MID_FRMSIZE_IS_SYNC_HEIGHT_TO_WIDTH, MID_FRMSIZE_IS_SYNC_WIDTH_TO_HEIGHT, MID_FRMSIZE_REL_HEIGHT, MID_FRMSIZE_REL_HEIGHT_RELATION, MID_FRMSIZE_REL_WIDTH, MID_FRMSIZE_REL_WIDTH_RELATION, MID_FRMSIZE_SIZE, MID_FRMSIZE_SIZE_TYPE, MID_FRMSIZE_WIDTH, MID_FRMSIZE_WIDTH_TYPE, MINLAY, and SYNCED.
Referenced by lcl_GetSpecialProperty().
|
overrideprivatevirtual |
Reimplemented from SvxSizeItem.
Definition at line 211 of file atrfrm.cxx.
References SfxPoolItem::ScaleMetrics().
Definition at line 93 of file fmtfsize.hxx.
Referenced by SwGrfShell::Execute(), SwFramePage::FillItemSet(), PutValue(), and SwHTMLParser::SetVarSize().
|
inline |
Definition at line 94 of file fmtfsize.hxx.
Referenced by SwFramePage::FillItemSet(), and PutValue().
|
inline |
Definition at line 81 of file fmtfsize.hxx.
Referenced by WW8TabDesc::AdjustNewBand(), SwTableHeightDlg::Apply(), SwFrame::CheckDirChange(), SwView::ExecTabWin(), SwFramePage::FillItemSet(), SwDoc::MakeFlySection_(), SwWW8ImplReader::MoveOutsideFly(), SwTable::NewSplitRow(), SwTable::OldSplitRow(), PutValue(), SvXMLImportItemMapper::PutXMLValue(), SwFlyFrameAttrMgr::SetHeightSizeType(), SwXTextTableRow::setPropertyValue(), and WW8TabDesc::SetSizePosition().
Definition at line 95 of file fmtfsize.hxx.
Referenced by SwHTMLParser::BuildTableCell(), WW8TabDesc::CreateSwTable(), SwGrfShell::Execute(), SwFramePage::FillItemSet(), SwHTMLParser::InsertImage(), ItemSetToTableParam(), SwXMLTableContext::MakeTable(), HTMLTable::MakeTable(), PutValue(), SvXMLImportItemMapper::PutXMLValue(), SwTable::SetColWidth(), SwHTMLParser::SetFixSize(), and SwHTMLParser::SetVarSize().
|
inline |
Definition at line 96 of file fmtfsize.hxx.
Referenced by SwFramePage::FillItemSet(), and PutValue().
|
inline |
Definition at line 84 of file fmtfsize.hxx.
Referenced by SwWW8ImplReader::ConvertDrawTextToFly(), SwFramePage::FillItemSet(), SwWW8ImplReader::MatchSdrItemsIntoFlySet(), PutValue(), and SwWW8ImplReader::Read_HdFtTextAsHackedFrame().
|
private |
Definition at line 45 of file fmtfsize.hxx.
Referenced by dumpAsXml(), and operator==().
|
private |
Definition at line 46 of file fmtfsize.hxx.
Referenced by dumpAsXml(), and operator==().
|
private |
Definition at line 50 of file fmtfsize.hxx.
Referenced by dumpAsXml(), and operator==().
|
private |
Definition at line 48 of file fmtfsize.hxx.
Referenced by dumpAsXml(), and operator==().
|
private |
Definition at line 49 of file fmtfsize.hxx.
Referenced by dumpAsXml(), and operator==().
|
private |
Definition at line 47 of file fmtfsize.hxx.
Referenced by dumpAsXml(), and operator==().