LibreOffice Module sw (master)
1
|
#include <pagefrm.hxx>
#include <rootfrm.hxx>
#include <IDocumentFieldsAccess.hxx>
#include <viewimp.hxx>
#include <fesh.hxx>
#include <swtable.hxx>
#include <dflyobj.hxx>
#include <anchoreddrawobject.hxx>
#include <fmtanchr.hxx>
#include <viewopt.hxx>
#include <hints.hxx>
#include <dbg_lay.hxx>
#include <ftnidx.hxx>
#include <svl/itemiter.hxx>
#include <editeng/keepitem.hxx>
#include <editeng/ulspitem.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/boxitem.hxx>
#include <basegfx/range/b1drange.hxx>
#include <fmtlsplt.hxx>
#include <fmtrowsplt.hxx>
#include <fmtsrnd.hxx>
#include <fmtornt.hxx>
#include <fmtpdsc.hxx>
#include <fmtfsize.hxx>
#include <swtblfmt.hxx>
#include <tabfrm.hxx>
#include <rowfrm.hxx>
#include <cellfrm.hxx>
#include <flyfrms.hxx>
#include <txtfrm.hxx>
#include <ftnfrm.hxx>
#include <notxtfrm.hxx>
#include <htmltbl.hxx>
#include <sectfrm.hxx>
#include <fmtfollowtextflow.hxx>
#include <sortedobjs.hxx>
#include <objectformatter.hxx>
#include <layouter.hxx>
#include <calbck.hxx>
#include <DocumentSettingManager.hxx>
#include <sal/log.hxx>
#include <frmatr.hxx>
#include <frmtool.hxx>
#include <ndtxt.hxx>
#include <frameformats.hxx>
Go to the source code of this file.
Macros | |
#define | KEEPTAB ( !GetFollow() && !IsFollow() ) |
#define KEEPTAB ( !GetFollow() && !IsFollow() ) |
Definition at line 1764 of file tabfrm.cxx.
Referenced by SwTabFrame::MakeAll().
tools::Long CalcHeightWithFlys | ( | const SwFrame * | pFrame | ) |
Definition at line 3929 of file tabfrm.cxx.
References FAR_AWAY, SwContentFrame::FindMaster(), SwFrame::FindNextCnt(), SwFrame::FindPageFrame(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwRectFnSet::GetBottom(), SwFrame::GetDrawObjs(), SwFormat::GetFollowTextFlow(), SwPageFrame::GetFormatPage(), SwFrameAreaDefinition::getFrameArea(), SwFormat::GetFrameSize(), SwRectFnSet::GetHeight(), SwFormatFrameSize::GetHeightPercent(), SwPageFrame::GetPhyPageNum(), SwFrame::GetPrev(), SwFormat::GetSurround(), SwRectFnSet::GetTop(), SfxBoolItem::GetValue(), SfxEnumItem< class >::GetValue(), SwFrame::IsInTab(), SwFrame::IsPageFrame(), SwFrame::IsSctFrame(), SwFrame::IsTextFrame(), SwRectFnSet::IsVert(), and SwRectFnSet::YDiff().
Referenced by lcl_CalcCellRstHeight(), and lcl_CalcMinCellHeight().
void FriendHackInvalidateRowFrame | ( | SwFrameAreaDefinition & | rRowFrame | ) |
Definition at line 1821 of file tabfrm.cxx.
References SwFrameAreaDefinition::setFrameAreaPositionValid().
Definition at line 1827 of file tabfrm.cxx.
References FramePositionChanged, SwFrame::GetLower(), SwFrame::GetNext(), SwFrame::IsLayoutFrame(), SwFrame::IsTextFrame(), and SwFrame::Prepare().
Referenced by SwTabFrame::MakeAll().
|
static |
Definition at line 2716 of file tabfrm.cxx.
References SwFrame::FindNextCnt(), and SwFrame::FindPageFrame().
Referenced by SwTabFrame::CalcFlyOffsets().
|
static |
Definition at line 815 of file tabfrm.cxx.
References SwRectFnSet::AddBottom(), SwFrameAreaDefinition::getFrameArea(), SwRectFnSet::GetHeight(), SwCellFrame::GetLayoutRowSpan(), SwFrame::GetLower(), SwFrame::GetNext(), and lcl_GetHeightOfRows().
Referenced by SwTabFrame::RemoveFollowFlowLine(), and SwTabFrame::Split().
|
static |
Definition at line 4872 of file tabfrm.cxx.
References SwRectFnSet::AddBottom(), SwAnchoredObject::AddLastCharY(), SwAnchoredObject::AddLastTopOfLineY(), SwPageFrame::AppendDrawObjToPage(), SwPageFrame::AppendFlyToPage(), SwRectFnSet::BottomDist(), SwAnchoredObject::ConsiderObjWrapInfluenceOnObjPos(), SwAnchoredObject::DrawObj(), FAR_AWAY, SwTabFrame::FindMaster(), SwFrame::FindPageFrame(), SwFrame::FindTabFrame(), FramePositionChanged, SwFormat::GetAnchor(), SwAnchoredObject::GetAnchorFrameContainingAnchPos(), SwFormatAnchor::GetAnchorId(), SwFrame::GetDrawObjs(), SwFrameAreaDefinition::getFrameArea(), SwAnchoredObject::GetFrameFormat(), SwRectFnSet::GetHeight(), SwFrame::GetNext(), SwAnchoredObject::GetPageFrame(), SwRectFnSet::GetPrtBottom(), SwRectFnSet::GetPrtTop(), SwRectFnSet::GetTop(), SwFormat::GetVertOrient(), i, SwAnchoredObject::InvalidateObjPos(), SwAnchoredObject::InvalidateObjRectWithSpaces(), SwFrame::InvalidatePos(), SwLayoutFrame::IsAnLower(), SwFrame::IsCellFrame(), SwFrame::IsColumnFrame(), SwFlowFrame::IsFollow(), SwFrame::IsInFly(), SwFrame::IsInSplitTableRow(), SwFrame::IsLayoutFrame(), SwTabFrame::IsRebuildLastLine(), SwFrame::IsTextFrame(), SwRectFnSet::IsVert(), Lower, SwLayoutFrame::Lower(), SdrObject::Move(), SwPageFrame::MoveFly(), Point, SwFrame::Prepare(), SwPageFrame::RemoveDrawObjFromPage(), SwFrame::SetCompletePaint(), SwAnchoredObject::SetCurrRelPos(), SwFrame::SetRetouche(), SwSortedObjs::size(), SwRectFnSet::SubTop(), SwRectFnSet::YDiff(), and SwRectFnSet::YInc().
Referenced by SwCellFrame::Format(), lcl_ShrinkCellsAndAllContent(), and SwCellFrame::SwClientNotify().
|
static |
Local helper function to calculate height of first text row.
Definition at line 5609 of file tabfrm.cxx.
References SwFlowFrame::CalcAddLowerSpaceAsLastInTableCell(), SwBorderAttrs::CalcBottom(), SwFlowFrame::CalcLowerSpace(), SwBorderAttrs::CalcTop(), SwFlowFrame::CalcUpperSpace(), SwFlowFrame::CastFlowFrame(), COMPLETE_STRING, SwFrame::FindTabFrame(), SwTextFrame::FirstLineHeight(), SwBorderAttrAccess::Get(), SwFrame::GetCache(), SwTextFrame::GetFormatted(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwRectFnSet::GetHeight(), SwCellFrame::GetLayoutRowSpan(), SwTextFrame::GetLineCount(), SwFrame::GetLower(), SwFrame::GetNext(), SwCellFrame::GetPreviousCell(), SwFrame::IsFlowFrame(), SwFrame::IsInFollowFlowRow(), SwFrame::IsRowFrame(), SwFrame::IsSctFrame(), SwFrame::IsTabFrame(), SwFrame::IsTextFrame(), LONG_MAX, SwLayoutFrame::Lower(), and USHRT_MAX.
Referenced by SwTabFrame::CalcHeightOfFirstContentLine().
|
static |
Definition at line 4294 of file tabfrm.cxx.
References SwFrame::FindTabFrame(), SwTableLine::GetFrameFormat(), SwRectFnSet::GetHeight(), SwRowFrame::GetTabLine(), SwFlowFrame::IsAnFollow(), SwFlowFrame::IsFollow(), and SwRowFrame::IsRepeatedHeadline().
Referenced by SwTabFrame::CalcHeightOfFirstContentLine(), lcl_CalcMinRowHeight(), lcl_PreprocessRowsInCells(), and SwRowFrame::ShrinkFrame().
|
static |
Definition at line 4077 of file tabfrm.cxx.
References CalcHeightWithFlys(), SwBorderAttrAccess::Get(), SwFrame::GetCache(), SwFrameAreaDefinition::getFrameArea(), SwRectFnSet::GetHeight(), SwFrame::GetNext(), SwFrame::IsRowFrame(), lcl_CalcMinRowHeight(), lcl_CalcTopAndBottomMargin(), and SwLayoutFrame::Lower().
Referenced by SwTabFrame::CalcHeightOfFirstContentLine(), SwCellFrame::Format(), and lcl_CalcMinRowHeight().
|
static |
Definition at line 4131 of file tabfrm.cxx.
References SwCellFrame::FindStartEndOfRowSpanCell(), Fixed, SwLayoutFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwFormat::GetFrameSize(), SvxSizeItem::GetHeight(), SwRectFnSet::GetHeight(), SwFormatFrameSize::GetHeightSizeType(), SwCellFrame::GetLayoutRowSpan(), SwFrame::GetNext(), SwFrame::GetUpper(), SwFrame::HasFixSize(), SwRowFrame::IsInSplit(), SwRowFrame::IsRowSpanLine(), SwRectFnSet::IsVert(), SwFrame::IsVertical(), lcl_calcHeightOfRowBeforeThisFrame(), lcl_CalcMinCellHeight(), SwLayoutFrame::Lower(), and Minimum.
Referenced by SwRowFrame::Format(), lcl_CalcMinCellHeight(), lcl_PreprocessRowsInCells(), and SwRowFrame::ShrinkFrame().
|
static |
Definition at line 4045 of file tabfrm.cxx.
References SwBorderAttrs::CalcBottom(), SwBorderAttrs::CalcLeft(), SwBorderAttrs::CalcRight(), SwBorderAttrs::CalcTop(), SwFrame::FindTabFrame(), SwFrame::GetUpper(), SwTabFrame::IsCollapsingBorders(), SwFrame::IsRowFrame(), SwFrame::IsVertical(), and SwLayoutFrame::Lower().
Referenced by SwCellFrame::Format(), lcl_CalcMinCellHeight(), and lcl_PreprocessRowsInCells().
|
static |
Definition at line 950 of file tabfrm.cxx.
References SwFrame::GetLower(), SwFrame::GetNext(), SwFrame::IsInSct(), SwFrame::IsRowFrame(), SwFrame::IsSctFrame(), SwFrame::IsVertical(), and SwLayoutFrame::Lower().
Referenced by SwTabFrame::Split().
|
static |
Definition at line 4262 of file tabfrm.cxx.
References SwFrame::GetAttrSet(), SwAttrSet::GetBox(), SvxBoxItem::GetDistance(), SwLayoutFrame::Lower(), and rBoxItem.
Referenced by SwRowFrame::Format().
|
static |
Definition at line 4237 of file tabfrm.cxx.
References SvxBoxItem::CalcLineSpace(), SwFrame::GetAttrSet(), SwAttrSet::GetBox(), SvxBoxItem::GetDistance(), SwLayoutFrame::Lower(), and rBoxItem.
Referenced by SwRowFrame::Format().
|
static |
Definition at line 191 of file tabfrm.cxx.
References SwFrameAreaDefinition::getFrameArea(), SwRectFnSet::GetHeight(), and SwFrame::GetNext().
Referenced by SwTabFrame::CalcHeightOfFirstContentLine(), lcl_AdjustRowSpanCells(), and SwTabFrame::MakeAll().
|
static |
Definition at line 841 of file tabfrm.cxx.
References SwFrame::GetNext(), SwTableBox::getRowSpan(), SwCellFrame::GetTabBox(), and SwLayoutFrame::Lower().
Referenced by SwTabFrame::MakeAll(), and SwTabFrame::RemoveFollowFlowLine().
|
static |
Definition at line 4216 of file tabfrm.cxx.
References SwFrame::GetAttrSet(), SwAttrSet::GetBox(), SvxBoxItem::GetDistance(), SwLayoutFrame::Lower(), and rBoxItem.
Referenced by SwRowFrame::Format().
|
static |
Definition at line 4195 of file tabfrm.cxx.
References SvxBoxItem::CalcLineSpace(), SwFrame::GetAttrSet(), SwAttrSet::GetBox(), SwLayoutFrame::Lower(), and rBoxItem.
Referenced by SwRowFrame::Format().
|
static |
Definition at line 1572 of file tabfrm.cxx.
References SwFrame::Calc(), SwCellFrame::FindStartEndOfRowSpanCell(), SwRootFrame::GetCurrShell(), SwFrameAreaDefinition::getFrameArea(), SwFrame::GetNext(), SwViewShell::GetOut(), SwFrame::getRootFrame(), SwTableBox::getRowSpan(), SwCellFrame::GetTabBox(), SwRectFnSet::GetTop(), SwFrame::GetUpper(), SwFrame::IsCellFrame(), SwFrameAreaDefinition::isFrameAreaDefinitionValid(), SwFrame::IsLayoutFrame(), SwFrame::IsRowFrame(), SwFrame::IsTabFrame(), LONG_MAX, Lower, SwLayoutFrame::Lower(), and SwRectFnSet::YDiff().
Referenced by lcl_RecalcRow(), and SwTabFrame::Split().
|
static |
Definition at line 209 of file tabfrm.cxx.
References SwTabFrame::GetFirstNonHeadlineRow(), SwTabFrame::GetFollow(), SwFrame::InsertBefore(), SwFrame::IsRowFrame(), SwTabFrame::SetFollowFlowLine(), and SwRowFrame::SetRowSpanLine().
Referenced by SwTabFrame::Split().
|
static |
Definition at line 1455 of file tabfrm.cxx.
References SwFrame::GetNext(), SwFrame::InvalidatePrt_(), SwFrame::InvalidateSize_(), SwFrame::IsLayoutFrame(), SwLayoutFrame::Lower(), and SwFrame::SetCompletePaint().
Referenced by SwCellFrame::SwClientNotify(), and SwTabFrame::UpdateAttr_().
|
static |
Definition at line 225 of file tabfrm.cxx.
References SwFrame::FindPageFrame(), FlyFrameAttributesChanged, SwFrame::GetDrawObjs(), SwFrame::GetNext(), SwFlyFrame::GetVirtDrawObj(), SwFrame::IsLayoutFrame(), SwLayoutFrame::Lower(), Point, SdrObject::SetChanged(), and SdrObject::SetRectsDirty().
Referenced by lcl_RecalcSplitLine(), and SwInvalidatePositions().
|
static |
Definition at line 481 of file tabfrm.cxx.
References o3tl::sorted_vector< Value, Compare, Find, class >::empty(), SwFrame::FindFootnoteBossFrame(), SwFormat::GetDoc(), SwDoc::GetFootnoteIdxs(), SwLayoutFrame::GetFormat(), and SwLayoutFrame::MoveLowerFootnotes().
Referenced by lcl_PostprocessRowsInCells(), lcl_PreprocessRowsInCells(), SwTabFrame::RemoveFollowFlowLine(), and SwTabFrame::Split().
|
static |
Definition at line 417 of file tabfrm.cxx.
References assert(), SwFrame::DestroyFrame(), SwCellFrame::FindStartEndOfRowSpanCell(), SwRowFrame::GetFollowRow(), SwLayoutFrame::GetLastLower(), SwFrame::GetNext(), SwTableBox::getRowSpan(), SwCellFrame::GetTabBox(), SwFrame::InsertBefore(), SwRowFrame::IsFollowFlowRow(), SwFrame::IsRowFrame(), SwLayoutFrame::Lower(), SwFrame::RemoveFromLayout(), RestoreContent(), SaveContent(), and SwRowFrame::SetFollowRow().
Referenced by lcl_PostprocessRowsInCells(), and SwTabFrame::RemoveFollowFlowLine().
|
static |
Definition at line 1715 of file tabfrm.cxx.
References SwFrame::GetIndPrev(), SwFrame::GetIndPrev_(), SwFrame::GetPrev(), SwSectionFrame::GetSection(), SwFrame::GetUpper(), SwFrame::IsColBodyFrame(), SwFrame::IsInSct(), and SwFrame::IsSctFrame().
Referenced by SwTabFrame::MakeAll().
|
static |
Definition at line 599 of file tabfrm.cxx.
References SwLayoutFrame::ContainsContent(), SwRowFrame::Cut(), SwFrame::DestroyFrame(), SwTabFrame::GetFollow(), SwRowFrame::GetFollowRow(), SwLayoutFrame::GetLastLower(), SwFrame::GetNext(), SwFrame::GetPrev(), SwFrame::GetUpper(), SwFrame::IsRowFrame(), lcl_MoveFootnotes(), lcl_MoveRowContent(), LONG_MAX, SwLayoutFrame::Lower(), SwLayoutFrame::Paste(), SwRowFrame::SetFollowRow(), and SwInvalidateAll().
Referenced by lcl_RecalcSplitLine().
|
static |
Definition at line 492 of file tabfrm.cxx.
References SwBorderAttrAccess::Get(), SwFrame::GetCache(), SwTabFrame::GetFollow(), SwRowFrame::GetFollowRow(), SwLayoutFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwFormat::GetFrameSize(), SvxSizeItem::GetHeight(), SwRectFnSet::GetHeight(), SwFormatFrameSize::GetHeightSizeType(), SwFrame::GetNext(), SwRowFrame::GetTabLine(), SwFrame::Grow(), SwFrame::HasFixSize(), SwFrame::InsertBefore(), SwFrame::InsertBehind(), SwTabFrame::IsConsiderObjsForMinCellHeight(), SwFrame::IsRowFrame(), SwRowFrame::IsRowSplitAllowed(), lcl_calcHeightOfRowBeforeThisFrame(), lcl_CalcMinRowHeight(), lcl_CalcTopAndBottomMargin(), lcl_MoveFootnotes(), Lower, SwLayoutFrame::Lower(), Minimum, SwFrame::RemoveFromLayout(), SwRowFrame::SetFollowFlowRow(), SwRowFrame::SetFollowRow(), and SwFrame::Shrink().
Referenced by lcl_RecalcSplitLine().
|
static |
Definition at line 1616 of file tabfrm.cxx.
References SwContentFrame::CalcLowers(), SwCellFrame::FindStartEndOfRowSpanCell(), SwCellFrame::GetLayoutRowSpan(), SwFrame::GetNext(), SwFrame::GetUpper(), i, lcl_InnerCalcLayout(), SwLayoutFrame::Lower(), SAL_WARN_IF, and SwFrame::ValidateThisAndAllLowers().
Referenced by lcl_RecalcSplitLine(), lcl_RecalcTable(), and SwTabFrame::MakeAll().
|
static |
Definition at line 634 of file tabfrm.cxx.
References assert(), SwFrame::Calc(), SwLayoutFrame::ContainsContent(), SwTabFrame::DoesObjsFit(), SwFrame::FindFootnoteBossFrame(), SwTabFrame::FindMaster(), SwFrame::FindTabFrame(), SwRootFrame::GetCurrShell(), SwTabFrame::GetFollow(), SwFrameAreaDefinition::getFrameArea(), SwRectFnSet::GetHeight(), SwFrame::GetNext(), SwViewShell::GetOut(), SwFrame::getRootFrame(), SwTableBox::getRowSpan(), SwCellFrame::GetTabBox(), SwFrame::GetUpper(), SwFrame::InvalidateSize(), SwFlowFrame::IsFollow(), SwFrame::IsInFollowFlowRow(), SwRowFrame::IsInSplit(), SwFrame::IsInTab(), SwFlowFrame::IsJoinLocked(), SwRowFrame::IsRowSpanLine(), lcl_InvalidateLowerObjs(), lcl_PostprocessRowsInCells(), lcl_PreprocessRowsInCells(), lcl_RecalcRow(), lcl_ShrinkCellsAndAllContent(), LONG_MAX, SwLayoutFrame::Lower(), SwTabFrame::SetConsiderObjsForMinCellHeight(), SwTabFrame::SetDoesObjsFit(), SwRowFrame::SetInSplit(), SwTabFrame::SetRebuildLastLine(), SwFrame::Shrink(), SwInvalidateAll(), TableSplitRecalcLock(), and TableSplitRecalcUnlock().
Referenced by SwTabFrame::Split().
|
static |
Definition at line 1696 of file tabfrm.cxx.
References lcl_RecalcRow(), LONG_MAX, SwLayoutFrame::Lower(), SwLayNotify::SetLowersComplete(), and SwInvalidatePositions().
Referenced by SwTabFrame::MakeAll().
|
static |
Definition at line 301 of file tabfrm.cxx.
References SwCellFrame::FindStartEndOfRowSpanCell(), SwFrameAreaDefinition::getFrameArea(), SwRectFnSet::GetHeight(), SwLayoutFrame::GetLastLower(), SwFrame::GetNext(), SwRectFnSet::GetPrtTop(), SwTableBox::getRowSpan(), SwCellFrame::GetTabBox(), lcl_ArrangeLowers(), Lower, SwLayoutFrame::Lower(), SwRectFnSet::SetHeight(), and SwRectFnSet::SetTop().
Referenced by lcl_RecalcSplitLine().
SwFrame* sw_FormatNextContentForKeep | ( | SwTabFrame * | pTabFrame | ) |
Definition at line 1770 of file tabfrm.cxx.
References SwFrame::Calc(), SwFrame::FindNext(), SwRootFrame::GetCurrShell(), SwViewShell::GetOut(), SwFrame::getRootFrame(), SwFrame::GetUpper(), SwFrame::IsInTab(), SwFrame::IsSctFrame(), and SwFrame::MakeAll().
|
static |
Definition at line 1419 of file tabfrm.cxx.
References SwCellFrame::FindStartEndOfRowSpanCell(), SwFrameAreaDefinition::getFrameArea(), SwFrame::GetNext(), SwTableBox::getRowSpan(), SwCellFrame::GetTabBox(), SwRectFnSet::GetTop(), SwFrame::InvalidatePos_(), SwFrame::InvalidatePrt_(), SwFrame::InvalidateSize_(), SwFrame::IsLayoutFrame(), LONG_MAX, SwLayoutFrame::Lower(), SwFrame::Prepare(), and SwRectFnSet::YDiff().
Referenced by lcl_PostprocessRowsInCells(), lcl_RecalcSplitLine(), and SwTabFrame::MakeAll().
|
static |
Definition at line 1394 of file tabfrm.cxx.
References AdjustSizeWithoutFormatting, SwFrameAreaDefinition::getFrameArea(), SwFrame::GetNext(), SwRectFnSet::GetTop(), SwFrame::InvalidatePos_(), SwFrame::InvalidateSize_(), SwFrame::IsLayoutFrame(), lcl_InvalidateLowerObjs(), LONG_MAX, Lower, SwFrame::Prepare(), and SwRectFnSet::YDiff().
Referenced by lcl_RecalcTable().
|
inline |
Definition at line 631 of file tabfrm.cxx.
References SwFlowFrame::LockJoin().
Referenced by lcl_RecalcSplitLine().
|
inline |
Definition at line 632 of file tabfrm.cxx.
References SwFlowFrame::UnlockJoin().
Referenced by lcl_RecalcSplitLine().