LibreOffice Module sw (master) 1
|
#include <config_wasm_strip.h>
#include <svx/svdpage.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/shaditem.hxx>
#include <editeng/ulspitem.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/lspcitem.hxx>
#include <editeng/fhgtitem.hxx>
#include <sal/log.hxx>
#include <o3tl/deleter.hxx>
#include <osl/diagnose.h>
#include <drawdoc.hxx>
#include <fmtornt.hxx>
#include <fmthdft.hxx>
#include <fmtfsize.hxx>
#include <fmtsrnd.hxx>
#include <docary.hxx>
#include <lineinfo.hxx>
#include <swmodule.hxx>
#include <pagefrm.hxx>
#include <colfrm.hxx>
#include <fesh.hxx>
#include <viewimp.hxx>
#include <viewopt.hxx>
#include <dflyobj.hxx>
#include <dcontact.hxx>
#include <frmatr.hxx>
#include <frmtool.hxx>
#include <tabfrm.hxx>
#include <rowfrm.hxx>
#include <ftnfrm.hxx>
#include <txtfrm.hxx>
#include <notxtfrm.hxx>
#include <flyfrms.hxx>
#include <layact.hxx>
#include <pagedesc.hxx>
#include <section.hxx>
#include <sectfrm.hxx>
#include <node2lay.hxx>
#include <ndole.hxx>
#include <hints.hxx>
#include "layhelp.hxx"
#include <laycache.hxx>
#include <rootfrm.hxx>
#include <paratr.hxx>
#include <redline.hxx>
#include <sortedobjs.hxx>
#include <objectformatter.hxx>
#include <calbck.hxx>
#include <ndtxt.hxx>
#include <undobj.hxx>
#include <DocumentSettingManager.hxx>
#include <IDocumentDrawModelAccess.hxx>
#include <IDocumentLayoutAccess.hxx>
#include <IDocumentTimerAccess.hxx>
#include <IDocumentRedlineAccess.hxx>
#include <IDocumentFieldsAccess.hxx>
#include <IDocumentState.hxx>
#include <frameformats.hxx>
#include <boost/circular_buffer.hpp>
#include <svx/sdr/attribute/sdrallfillattributeshelper.hxx>
Go to the source code of this file.
Namespaces | |
namespace | sw |
Dialog to specify the properties of date form field. | |
Functions | |
static void | lcl_InvalidatePosOfLowers (SwLayoutFrame &_rLayoutFrame) |
void | AppendObj (SwFrame *const pFrame, SwPageFrame *const pPage, SwFrameFormat *const pFormat, const SwFormatAnchor &rAnch) |
static bool | IsShown (SwNodeOffset const nIndex, const SwFormatAnchor &rAnch, std::vector< sw::Extent >::const_iterator const *const pIter, std::vector< sw::Extent >::const_iterator const *const pEnd, SwTextNode const *const pFirstNode, SwTextNode const *const pLastNode) |
void | RemoveHiddenObjsOfNode (SwTextNode const &rNode, std::vector< sw::Extent >::const_iterator const *const pIter, std::vector< sw::Extent >::const_iterator const *const pEnd, SwTextNode const *const pFirstNode, SwTextNode const *const pLastNode) |
void | AppendObjsOfNode (sw::FrameFormats< sw::SpzFrameFormat * > const *const pTable, SwNodeOffset const nIndex, SwFrame *const pFrame, SwPageFrame *const pPage, SwDoc *const pDoc, std::vector< sw::Extent >::const_iterator const *const pIter, std::vector< sw::Extent >::const_iterator const *const pEnd, SwTextNode const *const pFirstNode, SwTextNode const *const pLastNode) |
void | AppendObjs (const sw::FrameFormats< sw::SpzFrameFormat * > *const pTable, SwNodeOffset const nIndex, SwFrame *const pFrame, SwPageFrame *const pPage, SwDoc *const pDoc) |
bool | IsAnchoredObjShown (SwTextFrame const &rFrame, SwFormatAnchor const &rAnchor) |
void | AppendAllObjs (const sw::FrameFormats< sw::SpzFrameFormat * > *pTable, const SwFrame *pSib) |
void | sw::RecreateStartTextFrames (SwTextNode &rNode) |
static void | lcl_SetPos (SwFrame &_rNewFrame, const SwLayoutFrame &_rLayFrame) |
local method to set 'working' position for newly inserted frames More... | |
void | InsertCnt_ (SwLayoutFrame *pLay, SwDoc *pDoc, SwNodeOffset nIndex, bool bPages, SwNodeOffset nEndIndex, SwFrame *pPrv, sw::FrameMode const eMode) |
void | MakeFrames (SwDoc *pDoc, SwNode &rSttIdx, SwNode &rEndIdx) |
static bool | lcl_hasTabFrame (const SwTextFrame *pTextFrame) |
Tries to detect if this paragraph has a floating table attached. More... | |
static bool | CmpLines (const editeng::SvxBorderLine *pL1, const editeng::SvxBorderLine *pL2) |
static sw::BorderCacheOwner const * | GetBorderCacheOwner (SwFrame const &rFrame) |
static void | lcl_RemoveObjsFromPage (SwFrame *_pFrame) |
Keep and restore the substructure of a layout frame for an action. More... | |
SwFrame * | SaveContent (SwLayoutFrame *pLay, SwFrame *pStart) |
static void | lcl_AddObjsToPage (SwFrame *_pFrame, SwPageFrame *_pPage) |
void | RestoreContent (SwFrame *pSav, SwLayoutFrame *pParent, SwFrame *pSibling) |
bool | sw::IsRightPageByNumber (SwRootFrame const &rLayout, sal_uInt16 nPageNum) |
SwPageFrame * | InsertNewPage (SwPageDesc &rDesc, SwFrame *pUpper, bool const isRightPage, bool const bFirst, bool bInsertEmpty, bool const bFootnote, SwFrame *pSibling, bool const bVeryFirstPage) |
static void | lcl_Regist (SwPageFrame *pPage, const SwFrame *pAnch) |
void | RegistFlys (SwPageFrame *pPage, const SwLayoutFrame *pLay) |
void | Notify (SwFlyFrame *pFly, SwPageFrame *pOld, const SwRect &rOld, const SwRect *pOldPrt) |
Notify the background based on the difference between old and new rectangle. More... | |
static void | lcl_CheckFlowBack (SwFrame *pFrame, const SwRect &rRect) |
static void | lcl_NotifyContent (const SdrObject *pThis, SwContentFrame *pCnt, const SwRect &rRect, const PrepareHint eHint) |
void | Notify_Background (const SdrObject *pObj, SwPageFrame *pPage, const SwRect &rRect, const PrepareHint eHint, const bool bInva) |
const SwFrame * | GetVirtualUpper (const SwFrame *pFrame, const Point &rPos) |
Provides the Upper of an anchor in paragraph-bound objects. More... | |
bool | Is_Lower_Of (const SwFrame *pCurrFrame, const SdrObject *pObj) |
const SwFrame * | FindContext (const SwFrame *pFrame, SwFrameType nAdditionalContextType) |
provides the area of a frame in that no Fly from another area can overlap More... | |
bool | IsFrameInSameContext (const SwFrame *pInnerFrame, const SwFrame *pFrame) |
static SwTwips | lcl_CalcCellRstHeight (SwLayoutFrame *pCell) |
SwTwips | CalcRowRstHeight (SwLayoutFrame *pRow) |
const SwFrame * | FindPage (const SwRect &rRect, const SwFrame *pPage) |
SwFrame * | GetFrameOfModify (SwRootFrame const *const pLayout, sw::BroadcastingModify const &rMod, SwFrameType const nFrameType, SwPosition const *const pPos, std::pair< Point, bool > const *const pViewPosAndCalcFrame) |
bool | IsExtraData (const SwDoc *pDoc) |
void | GetSpacingValuesOfFrame (const SwFrame &rFrame, SwTwips &onLowerSpacing, SwTwips &onLineSpacing, bool &obIsLineSpacingProportional, bool bIdenticalStyles) |
method to determine the spacing values of a frame More... | |
const SwContentFrame * | GetCellContent (const SwLayoutFrame &rCell) |
get the content of the table cell, skipping content from nested tables More... | |
Variables | |
bool | bObjsDirect = true |
bool | bSetCompletePaintOnInvalidate = false |
void AppendAllObjs | ( | const sw::FrameFormats< sw::SpzFrameFormat * > * | pTable, |
const SwFrame * | pSib | ||
) |
Definition at line 1382 of file frmtool.cxx.
References SwNode::GetDoc(), SwFrame::getRootFrame(), SwDoc::IsInHeaderFooter(), and sw::FrameFormats< value_type >::size().
Referenced by InsertCnt_(), MakeFrames(), UnHide(), and sw::UpdateFramesForRemoveDeleteRedline().
void AppendObj | ( | SwFrame *const | pFrame, |
SwPageFrame *const | pPage, | ||
SwFrameFormat *const | pFormat, | ||
const SwFormatAnchor & | rAnch | ||
) |
Definition at line 1036 of file frmtool.cxx.
Referenced by AppendObjsOfNode().
void AppendObjs | ( | const sw::FrameFormats< sw::SpzFrameFormat * > *const | pTable, |
SwNodeOffset const | nIndex, | ||
SwFrame *const | pFrame, | ||
SwPageFrame *const | pPage, | ||
SwDoc *const | pDoc | ||
) |
Definition at line 1279 of file frmtool.cxx.
References AppendObjsOfNode(), SwNode::GetIndex(), SwTextFrame::GetMergedPara(), SwNode::GetNodes(), SwNode::GetRedlineMergeFlag(), i, SwFrame::IsTextFrame(), nIndex, and SwNode::NonFirst.
Referenced by InsertCnt_(), and SwTabFrame::Split().
void AppendObjsOfNode | ( | sw::FrameFormats< sw::SpzFrameFormat * > const *const | pTable, |
SwNodeOffset const | nIndex, | ||
SwFrame *const | pFrame, | ||
SwPageFrame *const | pPage, | ||
SwDoc *const | pDoc, | ||
std::vector< sw::Extent >::const_iterator const *const | pIter, | ||
std::vector< sw::Extent >::const_iterator const *const | pEnd, | ||
SwTextNode const *const | pFirstNode, | ||
SwTextNode const *const | pLastNode | ||
) |
Definition at line 1233 of file frmtool.cxx.
References AppendObj(), SwFormat::GetAnchor(), SwNode::GetAnchoredFlys(), SwFormatAnchor::GetAnchorNode(), SwDoc::GetNodes(), IsShown(), and nIndex.
Referenced by AddRemoveFlysForNode(), and AppendObjs().
SwTwips CalcRowRstHeight | ( | SwLayoutFrame * | pRow | ) |
Definition at line 3735 of file frmtool.cxx.
References SwFrame::GetNext(), SwFrame::IsLayoutFrame(), lcl_CalcCellRstHeight(), LONG_MAX, SwLayoutFrame::Lower(), and min().
Referenced by lcl_CalcCellRstHeight(), lcl_SetOtherLineHeight(), lcl_SetSelLineHeight(), SetLineHeight(), and SwTable::SetRowHeight().
|
static |
Definition at line 2496 of file frmtool.cxx.
Referenced by SwBorderAttrs::CmpLeftRight(), and SwBorderAttrs::JoinWithCmp().
const SwFrame * FindContext | ( | const SwFrame * | pFrame, |
SwFrameType | nAdditionalContextType | ||
) |
provides the area of a frame in that no Fly from another area can overlap
Definition at line 3654 of file frmtool.cxx.
References Cell, Fly, Footer, Ftn, FtnCont, SwFrame::GetType(), SwFrame::GetUpper(), Header, Root, Row, and Tab.
Referenced by objectpositioning::SwAnchoredObjectPosition::AdjustHoriRelPosForDrawAside(), objectpositioning::SwAnchoredObjectPosition::DrawAsideFly(), SwTextFly::GetTop(), and IsFrameInSameContext().
Definition at line 3751 of file frmtool.cxx.
References SwFrameAreaDefinition::getFrameArea(), SwRootFrame::GetPageAtPos(), SwFrame::GetUpper(), SwRect::Overlaps(), SwRect::SSize(), and SwRect::TopLeft().
Referenced by FindAnchor(), lcl_NotifyBackgroundOfObj(), and SwFlyAtContentFrame::SetAbsPos().
|
static |
Definition at line 2672 of file frmtool.cxx.
References SwLayoutFrame::GetFormat(), GetNode(), SwFrame::IsContentFrame(), and SwFrame::IsTextFrame().
const SwContentFrame * GetCellContent | ( | const SwLayoutFrame & | rCell | ) |
get the content of the table cell, skipping content from nested tables
method to get the content of the table cell
Definition at line 3997 of file frmtool.cxx.
References SwLayoutFrame::ContainsContent(), SwTabFrame::FindLastContentOrTable(), SwFrame::FindNextCnt(), SwFrame::FindTabFrame(), and SwLayoutFrame::IsAnLower().
Referenced by SwDoc::GetTabRows(), SwFEShell::SelTableRowCol(), and SwDoc::SetTabRows().
SwFrame * GetFrameOfModify | ( | const SwRootFrame * | pLayout, |
sw::BroadcastingModify const & | rMod, | ||
SwFrameType const | nFrameType, | ||
const SwPosition * | pPos = nullptr , |
||
std::pair< Point, bool > const * | pViewPosAndCalcFrame = nullptr |
||
) |
pPos | Document model position; for a text frame, the returned frame will be one containing this position. |
pViewPosAndCalcFrame | First is a point in the document view; the returned frame will be the one with the minimal distance to this point. To get the first frame in the document, pass in a default-initialized Point with coordinates 0,0. Second indicates whether the frames should be formatted before retrieving their position for the test; this cannot be done by every caller so use with care! |
Definition at line 3813 of file frmtool.cxx.
References a, SwRect::Center(), SwRect::Contains(), FAR_AWAY, SwIterator< TElementType, TSource, eMode >::First(), Fly, SwObjectFormatter::FormatObj(), SwAnchoredObject::GetAnchorFrame(), SwRootFrame::GetCurrShell(), SwFrameAreaDefinition::getFrameArea(), SwViewShell::GetOut(), SwFrame::getRootFrame(), Point::getX(), Point::getY(), sw::ClientIteratorBase::IsChanged(), SwFrame::IsTextFrame(), SwIterator< TElementType, TSource, eMode >::Next(), and SwRect::Pos().
Referenced by SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwFrameFormat::FindLayoutRect(), SwContentNode::FindLayoutRect(), SwContentNode::FindPageFrameRect(), SwFrameFormat::FindRealSdrObject(), SwNode2LayImpl::GetFrame(), SwFlyFrameFormat::GetFrame(), SwContentNode::getLayoutFrame(), and lcl_GetFrameOfNode().
void GetSpacingValuesOfFrame | ( | const SwFrame & | rFrame, |
SwTwips & | onLowerSpacing, | ||
SwTwips & | onLineSpacing, | ||
bool & | obIsLineSpacingProportional, | ||
bool | bIdenticalStyles | ||
) |
method to determine the spacing values of a frame
OD 2004-03-10 #i28701# OD 2009-08-28 #i102458# Add output parameter <obIsLineSpacingProportional>
Definition at line 3961 of file frmtool.cxx.
References SwFrame::GetAttrSet(), SvxULSpaceItem::GetContext(), SvxULSpaceItem::GetLower(), SwAttrSet::GetULSpace(), SwFrame::IsFlowFrame(), and SwFrame::IsTextFrame().
Provides the Upper of an anchor in paragraph-bound objects.
If the latter is a chained border or a footnote, the "virtual" Upper might be returned.
Definition at line 3590 of file frmtool.cxx.
References SwRect::Contains(), SwFrame::FindFlyFrame(), SwFootnoteFrame::GetFollow(), SwFrameAreaDefinition::getFrameArea(), SwFlyFrame::GetNextLink(), SwFrame::GetUpper(), SwFrame::IsFootnoteFrame(), and SwFrame::IsTextFrame().
Referenced by SwTextFly::GetTop(), Is_Lower_Of(), and IsFrameInSameContext().
void InsertCnt_ | ( | SwLayoutFrame * | pLay, |
SwDoc * | pDoc, | ||
SwNodeOffset | nIndex, | ||
bool | bPages, | ||
SwNodeOffset | nEndIndex, | ||
SwFrame * | pPrv, | ||
sw::FrameMode const | eMode | ||
) |
Definition at line 1491 of file frmtool.cxx.
References AppendAllObjs(), AppendObjs(), IDocumentTimerAccess::BlockIdling(), bObjsDirect, SwSection::CalcHiddenFlag(), SwFrame::CheckDirChange(), SwLayoutCache::ClearImpl(), SwLayoutCache::CompareLayout(), SwLayoutFrame::ContainsContent(), SwFrame::Cut(), SwFrame::DestroyFrame(), eMode, sw::FrameFormats< value_type >::empty(), SwNode::EndOfSectionIndex(), SwFrame::FindFlyFrame(), SwTabFrame::FindMaster(), SwFrame::FindNextCnt(), SwFrame::FindPageFrame(), SwFrame::FindPrevCnt(), SwFrame::FindSctFrame(), SwTable::GCLines(), SwRootFrame::GetCurrShell(), SwSection::GetFormat(), SwDoc::getIDocumentRedlineAccess(), SwDoc::getIDocumentTimerAccess(), SwViewShell::GetLayout(), SwDoc::GetLayoutCache(), SwContentNode::getLayoutFrame(), SwTextFrame::GetMergedPara(), SwFrame::GetNext(), SwFrame::GetNextLayoutLeaf(), SwPosition::GetNode(), SwDoc::GetNodes(), SwNode::GetNodes(), SwFrame::GetPrev(), IDocumentRedlineAccess::GetRedline(), SwNode::GetRedlineMergeFlag(), SwFrame::getRootFrame(), SwSectionFrame::GetSection(), SwSectionNode::GetSection(), SwSectionFormat::GetSectionNode(), SwActualSection::GetSectionNode(), SwDoc::GetSpzFrameFormats(), SwTableNode::GetTable(), SwNode::GetTextNode(), SwTextFrame::GetTextNodeFirst(), SwRangeRedline::GetType(), SwFrame::GetUpper(), SwRootFrame::HasMergedParas(), SwNode::Hidden, SwFrame::ImplFindFootnoteFrame(), Init(), SwFrame::InsertBehind(), SwViewShell::InvalidateAccessibleParaFlowRelation(), SwPageFrame::InvalidateContent(), SwPageFrame::InvalidateFlyContent(), SwFrame::InvalidateInfFlags(), SwFrame::InvalidatePage(), SwRootFrame::IsAnyShellAccessible(), SwRootFrame::IsCallbackActionEnabled(), SwFrame::IsColumnFrame(), SwNode::IsContentNode(), SwNode::IsCreateFrameWhenHidingRedlines(), SwNode::IsEndNode(), SwRootFrame::IsHideRedlines(), SwViewShell::IsInConstructor(), SwFrame::IsInFly(), SwFrame::IsInFootnote(), SwFrame::IsInSct(), SwFrame::IsInTab(), SwFrame::IsLayoutFrame(), SwFrame::IsSctFrame(), SwNode::IsSectionNode(), SwNode::IsStartNode(), SwNode::IsTableNode(), SwFrame::IsTextFrame(), SwNode::IsTextNode(), lcl_SetPos(), Lower, SwLayoutFrame::Lower(), SwTableNode::MakeFrame(), SwSectionNode::MakeFrame(), SwContentNode::MakeFrame(), sw::MakeTextFrame(), nIndex, SwNode::NonFirst, SwFrame::Paste(), SwTextFrame::Prepare(), QuoVadis, RegistFlys(), SwFrame::RemoveFromLayout(), SAL_WARN, SwRootFrame::SetCallbackActionEnabled(), SwActualSection::SetUpper(), SwPaM::Start(), SwNode::StartOfSectionNode(), SwFlyStartNode, SwTable::SwitchFormulasToInternalRepresentation(), and IDocumentTimerAccess::UnblockIdling().
Referenced by SwFootnoteBossFrame::AppendFootnote(), SwTextFrame::ConnectFootnote(), SwRootFrame::Init(), SwFlyFrame::InsertCnt(), MakeFrames(), SwNode2LayImpl::RestoreUpperFrames(), SwCellFrame::SwCellFrame(), SwHeadFootFrame::SwHeadFootFrame(), and SwFlyFrame::UnchainFrames().
SwPageFrame * InsertNewPage | ( | SwPageDesc & | rDesc, |
SwFrame * | pUpper, | ||
bool const | isRightPage, | ||
bool const | bFirst, | ||
bool | bInsertEmpty, | ||
bool const | bFootnote, | ||
SwFrame * | pSibling, | ||
bool const | bVeryFirstPage | ||
) |
Definition at line 3136 of file frmtool.cxx.
References SwRootFrame::AssertPageFlys(), bFootnote, SwDoc::GetEmptyPageFormat(), SwPageDesc::GetFirstLeft(), SwPageDesc::GetFirstMaster(), SwFormat::GetFooter(), GetFormat(), SwFormat::GetHeader(), SwPageDesc::GetLeft(), SwPageDesc::GetLeftFormat(), SwFormat::GetLRSpace(), SwPageDesc::GetMaster(), SwFrame::GetNext(), SwFrame::GetPrev(), SwPageDesc::GetRightFormat(), SwPageDesc::IsFirstShared(), SwFrame::IsRootFrame(), Lower, SwPageFrame::Paste(), SwPageFrame::PreparePage(), SAL_INFO, and SwFormat::SetFormatAttr().
Referenced by SwFootnoteBossFrame::AppendFootnote(), SwLayHelper::CheckInsertPage(), and SwRootFrame::Init().
Definition at line 3622 of file frmtool.cxx.
References SwAnchoredObject::GetAnchorFrame(), SdrObject::GetCurrentBoundRect(), SwFrameAreaDefinition::getFrameArea(), SwFrame::GetUpper(), GetUserCall(), GetVirtualUpper(), SwFrame::IsFlyFrame(), SwRect::Pos(), and tools::Rectangle::TopLeft().
Referenced by SwTextFly::GetTop().
bool IsAnchoredObjShown | ( | SwTextFrame const & | rFrame, |
SwFormatAnchor const & | rAnchor | ||
) |
Definition at line 1330 of file frmtool.cxx.
References SwFormatAnchor::GetAnchorContentOffset(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwNode::GetIndex(), SwTextFrame::GetMergedPara(), SwNode::GetRedlineMergeFlag(), SwNode::Hidden, and IsShown().
Referenced by SwDrawContact::ConnectToLayout(), and SwFlyFrameFormat::MakeFrames().
bool IsExtraData | ( | const SwDoc * | pDoc | ) |
Definition at line 3913 of file frmtool.cxx.
References SwRedlineTable::empty(), SwDoc::GetEditShell(), SwDoc::getIDocumentRedlineAccess(), SwDoc::GetLineNumberInfo(), IDocumentRedlineAccess::GetRedlineTable(), SwViewShell::GetViewOptions(), SwLineNumberInfo::IsCountInFlys(), SwLineNumberInfo::IsPaintLineNumbers(), SwViewOption::IsShowOutlineContentVisibilityButton(), SwPostItHelper::NONE, and SW_MOD.
Referenced by SwEditShell::AcceptRedline(), SwViewShell::ImplEndAction(), SwRootFrame::PaintSwFrame(), SwEditShell::RejectRedline(), and SwLayAction::SwLayAction().
Definition at line 3668 of file frmtool.cxx.
References Cell, FindContext(), Fly, Footer, Ftn, FtnCont, SwFrameAreaDefinition::getFrameArea(), SwFrame::GetType(), SwFrame::GetUpper(), GetVirtualUpper(), Header, SwFrame::IsCellFrame(), SwFrame::IsFlyFrame(), None, SwRect::Pos(), Root, Row, and Tab.
Referenced by SwTextFly::GetTop().
|
static |
Definition at line 1100 of file frmtool.cxx.
References end, SwFormatAnchor::GetAnchorContentOffset(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwFormatAnchor::GetContentAnchor(), SwNode::GetIndex(), IsDestroyFrameAnchoredAtChar(), IsSelectFrameAnchoredAtPara(), SwTextNode::Len(), nIndex, and start.
Referenced by AppendObjsOfNode(), IsAnchoredObjShown(), and RemoveHiddenObjsOfNode().
|
static |
Definition at line 2986 of file frmtool.cxx.
References SwPageFrame::AppendDrawObjToPage(), SwPageFrame::AppendFlyToPage(), SwFrame::GetDrawObjs(), SwContentFrame::GetNextContentFrame(), and lcl_AddObjsToPage().
Referenced by lcl_AddObjsToPage().
|
static |
Definition at line 3695 of file frmtool.cxx.
References SwBorderAttrs::CalcBottom(), CalcHeightWithFlys(), CalcRowRstHeight(), SwBorderAttrs::CalcTop(), SwBorderAttrAccess::Get(), SwFrame::GetCache(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwFrame::GetNext(), SwRect::Height(), SwFrame::IsContentFrame(), SwFrame::IsLayoutFrame(), SwFrame::IsSctFrame(), SwFrame::IsTextFrame(), SwLayoutFrame::Lower(), and SwSectionFrame::Undersize().
Referenced by CalcRowRstHeight().
Definition at line 3340 of file frmtool.cxx.
References SwRect::Bottom(), SwFrameAreaDefinition::getFrameArea(), SwFrame::GetNext(), SwFrame::InvalidateNextPos(), SwFrame::InvalidateSize(), SwFrame::IsContentFrame(), SwFrame::IsLayoutFrame(), lcl_CheckFlowBack(), Lower, and SwRect::Overlaps().
Referenced by lcl_CheckFlowBack(), and Notify_Background().
|
static |
Tries to detect if this paragraph has a floating table attached.
Definition at line 2364 of file frmtool.cxx.
References SwFrame::GetDrawObjs(), pObject, and SwSortedObjs::size().
Referenced by SwBorderAttrs::CalcLeft().
|
static |
Definition at line 455 of file frmtool.cxx.
References FramePositionChanged, SwFrame::GetDrawObjs(), SwFrame::GetNext(), SwFrame::InvalidateObjs(), SwFrame::InvalidatePos(), SwFrame::InvalidatePrt(), SwFrame::IsFlyFrame(), SwFrame::IsTabFrame(), SwFrame::IsTextFrame(), SwLayoutFrame::Lower(), and Prepare.
Referenced by SwLayNotify::ImplDestroy().
|
static |
Definition at line 3361 of file frmtool.cxx.
References SwRect::AddBottom(), FlyFrameArrive, FlyFrameAttributesChanged, SwFrame::GetDrawObjs(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwContentFrame::GetNextContentFrame(), SwRect::Intersection_(), SwFrame::IsTextFrame(), lcl_NotifyContent(), SwRect::Overlaps(), SwRect::Pos(), and SwFrame::Prepare().
Referenced by lcl_NotifyContent(), and Notify_Background().
|
static |
Definition at line 3198 of file frmtool.cxx.
References SwPageFrame::AppendFlyToPage(), SwAnchoredObject::DrawObj(), SwFlyFrame::DynCastFlyFrame(), SwFrame::FindFlyFrame(), SwFrame::FindPageFrame(), SwAnchoredObject::GetDrawObj(), SwFrame::GetDrawObjs(), SdrObject::GetOrdNum(), SdrObject::GetOrdNumDirect(), SdrObject::getSdrPageFromSdrObject(), SwFlyFrame::GetVirtDrawObj(), RegistFlys(), SwPageFrame::RemoveFlyFromPage(), and SdrObjList::SetObjectOrdNum().
Referenced by RegistFlys().
|
static |
Keep and restore the substructure of a layout frame for an action.
Definition at line 2825 of file frmtool.cxx.
References SwFrame::GetDrawObjs(), SwContentFrame::GetNextContentFrame(), and lcl_RemoveObjsFromPage().
Referenced by lcl_RemoveObjsFromPage().
|
static |
local method to set 'working' position for newly inserted frames
OD 12.08.2003 #i17969#
Definition at line 1472 of file frmtool.cxx.
References SwFrameAreaDefinition::getFrameArea(), SwRectFnSet::GetPos(), SwRectFnSet::IsVert(), SwRect::Pos(), and SwRectFnSet::SetPos().
Referenced by InsertCnt_().
Definition at line 2026 of file frmtool.cxx.
References AppendAllObjs(), bObjsDirect, SwFrame::CheckPageDescs(), SwFootnoteFrame::ColLock(), SwSectionFrame::ColLock(), SwFootnoteFrame::ColUnlock(), SwSectionFrame::ColUnlock(), SwLayoutFrame::ContainsAny(), SwLayoutFrame::ContainsContent(), SwSectionFrame::DelEmpty(), SwFrame::DestroyFrame(), eMode, sw::FrameFormats< value_type >::empty(), sw::Existing, SwFrame::FindColFrame(), SwFrame::FindFootnoteFrame(), SwFrame::FindPageFrame(), SwNodes::FindPrvNxtFrameNode(), SwFrame::FindSctFrame(), IDocumentLayoutAccess::GetCurrentLayout(), SwDoc::getIDocumentLayoutAccess(), SwNode::GetIndex(), SwFrame::GetIndNext(), SwFrame::GetNext(), SwDoc::GetNodes(), SwFrame::GetPrev(), SwFrame::getRootFrame(), SwSectionFrame::GetSection(), SwDoc::GetSpzFrameFormats(), SwFrame::GetUpper(), InsertCnt_(), SwFrame::IsCellFrame(), SwFrame::IsColLocked(), SwFrame::IsContentFrame(), SwFrame::IsInFootnote(), SwFrame::IsInSct(), SwFrame::IsSctFrame(), SwFrame::IsTabFrame(), sw::New, SwNode2Layout::NextFrame(), and SwRootFrame::RemoveFromList().
Referenced by sw::DocumentContentOperationsManager::CopyWithFlyInFly(), SwWrtShell::MakeOutlineContentVisible(), SwWrtShell::MakeOutlineLevelsVisible(), SwSectionNode::MakeOwnFrames(), SAL_LOPLUGIN_ANNOTATE(), SwUndoDelete::UndoImpl(), UnHideRedlines(), and sw::UpdateFramesForRemoveDeleteRedline().
void Notify | ( | SwFlyFrame * | pFly, |
SwPageFrame * | pOld, | ||
const SwRect & | rOld, | ||
const SwRect * | pOldPrt = nullptr |
||
) |
Notify the background based on the difference between old and new rectangle.
Definition at line 3254 of file frmtool.cxx.
Referenced by SwFlyNotify::ImplDestroy().
void Notify_Background | ( | const SdrObject * | pObj, |
SwPageFrame * | pPage, | ||
const SwRect & | rRect, | ||
const PrepareHint | eHint, | ||
const bool | bInva | ||
) |
Definition at line 3412 of file frmtool.cxx.
References SwAnchoredObject::AnchorFrame(), SwRect::Bottom(), SwLayoutFrame::ContainsContent(), FAR_AWAY, SwFrame::FindFlyFrame(), SwFrame::FindFooterOrHeader(), SwFrame::FindTabFrame(), FlyFrameArrive, FlyFrameLeave, SwContact::GetAnchoredObj(), SwAnchoredObject::GetAnchorFrame(), SwRootFrame::GetCurrShell(), SwLayoutFrame::GetFormat(), SwFlyFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwFormatHoriOrient::GetHoriOrient(), SwFormat::GetHoriOrient(), SdrObject::GetLastBoundRect(), SwContentFrame::GetNextContentFrame(), SdrObject::GetOrdNum(), SdrObject::GetOrdNumDirect(), SwFrame::GetPrev(), SwFormatHoriOrient::GetRelationOrient(), SwFrame::getRootFrame(), SwPageFrame::GetSortedObjs(), SwFormatSurround::GetSurround(), SwFormat::GetSurround(), SwFrame::GetUpper(), GetUserCall(), SwFormatVertOrient::GetVertOrient(), SwFormat::GetVertOrient(), SwFlyFrame::GetVirtDrawObj(), SwFrame::InvalidatePos(), SwFrame::InvalidatePrt(), SwFrame::InvalidateSize(), SwViewShell::InvalidateWindows(), SwLayoutFrame::IsAnLower(), SwFlyFrame::IsAutoPos(), SwFrame::IsCellFrame(), SwFrame::IsColumnFrame(), SwFlyFrame::IsFlyAtContentFrame(), SwFlyFrame::IsFlyLayFrame(), SwFrame::IsInFly(), SwFrame::IsInTab(), SwFlyFrame::IsLowerOf(), lcl_CheckFlowBack(), lcl_NotifyContent(), SwRect::Left(), SwLayoutFrame::Lower(), SwPostItHelper::NONE, SwRect::Overlaps(), SwRect::Right(), and SwRect::Top().
Referenced by SwTextFrame::Format(), SwLayAction::FormatContent(), lcl_NotifyBackgroundOfObj(), SwContact::MoveObjToInvisibleLayer(), SwContact::MoveObjToVisibleLayer(), SwAnchoredDrawObject::NotifyBackground(), SwFlyFreeFrame::NotifyBackground(), SwDrawContact::NotifyBackgroundOfAllVirtObjs(), and SwFlyAtContentFrame::SetAbsPos().
void RegistFlys | ( | SwPageFrame * | pPage, |
const SwLayoutFrame * | pLay | ||
) |
Definition at line 3238 of file frmtool.cxx.
References SwFrame::GetDrawObjs(), SwFrame::GetNext(), SwFrame::IsLayoutFrame(), lcl_Regist(), SwLayoutFrame::Lower(), and RegistFlys().
Referenced by SwFootnoteBossFrame::AppendFootnote(), SwLayHelper::CheckInsert(), InsertCnt_(), lcl_MakeObjs(), lcl_Regist(), SwFlyFrameFormat::MakeFrames(), SwPageFrame::PlaceFly(), SwPageFrame::PrepareFooter(), SwPageFrame::PrepareHeader(), SwPageFrame::PreparePage(), RegistFlys(), and SwNode2LayImpl::RestoreUpperFrames().
void RemoveHiddenObjsOfNode | ( | SwTextNode const & | rNode, |
std::vector< sw::Extent >::const_iterator const *const | pIter, | ||
std::vector< sw::Extent >::const_iterator const *const | pEnd, | ||
SwTextNode const *const | pFirstNode, | ||
SwTextNode const *const | pLastNode | ||
) |
Definition at line 1212 of file frmtool.cxx.
References SwNode::GetAnchoredFlys(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwNode::GetIndex(), and IsShown().
Referenced by AddRemoveFlysForNode().
void RestoreContent | ( | SwFrame * | pSav, |
SwLayoutFrame * | pParent, | ||
SwFrame * | pSibling | ||
) |
Definition at line 3035 of file frmtool.cxx.
Referenced by lcl_MoveRowContent().
SwFrame * SaveContent | ( | SwLayoutFrame * | pLay, |
SwFrame * | pStart = nullptr |
||
) |
Definition at line 2873 of file frmtool.cxx.
Referenced by lcl_MoveRowContent().
bool bObjsDirect = true |
Definition at line 104 of file frmtool.cxx.
Referenced by InsertCnt_(), MakeFrames(), and SwHeadFootFrame::SwHeadFootFrame().
bool bSetCompletePaintOnInvalidate = false |
Definition at line 105 of file frmtool.cxx.
Referenced by SwContentNotify::ImplDestroy(), and SwFlyAtContentFrame::MakeAll().