LibreOffice Module sw (master) 1
|
#include <config_wasm_strip.h>
#include <comphelper/lok.hxx>
#include <ndole.hxx>
#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <svl/itemiter.hxx>
#include <fmtfsize.hxx>
#include <fmthdft.hxx>
#include <fmtclds.hxx>
#include <fmtpdsc.hxx>
#include <fmtornt.hxx>
#include <fmtsrnd.hxx>
#include <ftninfo.hxx>
#include <frmtool.hxx>
#include <tgrditem.hxx>
#include <viewopt.hxx>
#include <docsh.hxx>
#include <wrtsh.hxx>
#include <view.hxx>
#include <edtwin.hxx>
#include <frameformats.hxx>
#include <viewimp.hxx>
#include <pagefrm.hxx>
#include <rootfrm.hxx>
#include <IDocumentDrawModelAccess.hxx>
#include <IDocumentSettingAccess.hxx>
#include <IDocumentFieldsAccess.hxx>
#include <dcontact.hxx>
#include <hints.hxx>
#include <FrameControlsManager.hxx>
#include <ftnidx.hxx>
#include <bodyfrm.hxx>
#include <ftnfrm.hxx>
#include <tabfrm.hxx>
#include <txtfrm.hxx>
#include <notxtfrm.hxx>
#include <layact.hxx>
#include <flyfrms.hxx>
#include <htmltbl.hxx>
#include <pagedesc.hxx>
#include <editeng/frmdiritem.hxx>
#include <sortedobjs.hxx>
#include <calbck.hxx>
#include <txtfly.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_FormatLay (SwLayoutFrame *pLay) |
create specific Flys for this page and format generic content More... | |
static void | lcl_MakeObjs (const sw::FrameFormats< sw::SpzFrameFormat * > &rSpzs, SwPageFrame *pPage) |
Create Flys or register draw objects. More... | |
void | AdjustSizeChgNotify (SwRootFrame *pRoot) |
void | SetLastPage (SwPageFrame *pPage) |
static void | lcl_PrepFlyInCntRegister (SwContentFrame *pFrame) |
bool | sw::IsPageFrameEmpty (SwPageFrame const &rPage) |
check if there's content on the page that requires it to exist More... | |
static void | lcl_MoveAllLowers (SwFrame *pFrame, const Point &rOffset) |
static void | lcl_MoveAllLowerObjs (SwFrame *pFrame, const Point &rOffset) |
SwTextGridItem const * | GetGridItem (SwPageFrame const *const pPage) |
sal_uInt16 | GetGridWidth (SwTextGridItem const &rG, SwDoc const &rDoc) |
void AdjustSizeChgNotify | ( | SwRootFrame * | pRoot | ) |
Definition at line 834 of file pagechg.cxx.
SwTextGridItem const * GetGridItem | ( | SwPageFrame const *const | pPage | ) |
Definition at line 2676 of file pagechg.cxx.
References SwTextGridItem::GetGridType(), SwPageDesc::GetMaster(), SwPageFrame::GetPageDesc(), SwFormat::GetTextGrid(), GRID_NONE, and SwPageFrame::HasGrid().
Referenced by SwTextCursor::AdjustBaseLine(), SwTextFormatter::BuildMultiPortion(), SwTextFormatter::BuildPortions(), SwTextFormatter::CalcFlyWidth(), SwTextFormatter::CalcRealHeight(), SwTextPortion::CalcSpacing(), SwPageFrame::CheckGrid(), SwFntObj::DrawText(), SwTextPainter::DrawTextLine(), SwBodyFrame::Format(), SwTextFrame::FormatEmpty(), SwTextCursor::GetCharRect_(), SwFntObj::GetModelPositionForViewPoint(), SwTextPortion::GetSpaceCnt(), SwFont::GetTextBreak(), SwFntObj::GetTextSize(), SwTextGuess::Guess(), SwTextFrame::PaintEmpty(), SwPageFrame::PaintGrid(), SwTextPainter::PaintMultiPortion(), SwTextFrame::Prepare(), SwPageFrame::SwPageFrame(), SwRubyPortion::SwRubyPortion(), and SwTextFormatter::WhichFirstPortion().
sal_uInt16 GetGridWidth | ( | SwTextGridItem const & | rG, |
SwDoc const & | rDoc | ||
) |
Definition at line 2690 of file pagechg.cxx.
References SwTextGridItem::GetBaseHeight(), SwTextGridItem::GetBaseWidth(), and SwDoc::IsSquaredPageMode().
Referenced by SwTextFormatter::BuildPortions(), SwTextFormatter::CalcFlyWidth(), SwFntObj::DrawText(), SwBodyFrame::Format(), SwFntObj::GetModelPositionForViewPoint(), SwFont::GetTextBreak(), SwFntObj::GetTextSize(), and SwPageFrame::PaintGrid().
|
static |
create specific Flys for this page and format generic content
Definition at line 391 of file pagechg.cxx.
References Body, SwFrame::Calc(), Column, Footer, Ftn, FtnCont, SwRootFrame::GetCurrShell(), SwFrame::GetNext(), SwViewShell::GetOut(), SwFrame::getRootFrame(), SwFrame::GetType(), Header, lcl_FormatLay(), SwLayoutFrame::Lower(), Page, and Root.
Referenced by lcl_FormatLay(), and SwPageFrame::PreparePage().
|
static |
Create Flys or register draw objects.
Definition at line 411 of file pagechg.cxx.
References SwAnchoredObject::AnchorFrame(), SwFrame::AppendDrawObj(), SwFrame::AppendFly(), SwDrawContact::DisconnectFromLayout(), SwIterator< TElementType, TSource, eMode >::First(), SwDrawContact::GetAnchoredObj(), SwAnchoredObject::GetAnchorFrame(), SwDrawContact::GetAnchorFrame(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwFrame::GetNext(), SwFormatAnchor::GetPageNum(), SwPageFrame::GetPhyPageNum(), GetUserCall(), i, SwPageFrame::IsEmptyPage(), RegistFlys(), SwFrame::RemoveFly(), RES_DRAWFRMFMT(), SwFormatAnchor::SetAnchor(), and sw::FrameFormats< value_type >::size().
Referenced by SwPageFrame::PreparePage().
Definition at line 2009 of file pagechg.cxx.
References ClrContourCache(), SwAnchoredObject::DynCastFlyFrame(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwRootFrame::GetCurrShell(), SwFrame::GetDrawObjs(), SwAnchoredObject::GetFrameFormat(), SwNoTextFrame::GetNode(), SwOLEObj::GetObject(), SwNode::GetOLENode(), SwOLENode::GetOLEObj(), sw::Ring< value_type >::GetRingContainer(), SwFrame::getRootFrame(), i, SwAnchoredObject::InvalidateObjRectWithSpaces(), svt::EmbeddedObjectRef::is(), SwFrame::IsNoTextFrame(), SwFrame::IsPageFrame(), lcl_MoveAllLowers(), SwFEShell::MoveObjectIfActive(), SwFlyFrame::NotifyDrawObj(), and SwSortedObjs::size().
Referenced by lcl_MoveAllLowers().
Definition at line 2090 of file pagechg.cxx.
References SwRootFrame::GetCurrShell(), SwFrameAreaDefinition::getFrameArea(), SwFrame::GetLower(), SwFrame::GetNext(), SwFrame::getRootFrame(), SwViewShell::Imp(), SwFrame::IsAccessibleFrame(), SwRootFrame::IsAnyShellAccessible(), SwFrame::IsLayoutFrame(), lcl_MoveAllLowerObjs(), lcl_MoveAllLowers(), SwViewShellImp::MoveAccessibleFrame(), and SwFrameAreaDefinition::transform_translate().
Referenced by SwRootFrame::CheckViewLayout(), lcl_MoveAllLowerObjs(), and lcl_MoveAllLowers().
|
static |
Definition at line 963 of file pagechg.cxx.
References SwFrame::GetDrawObjs(), SwContentFrame::GetNextContentFrame(), lcl_PrepFlyInCntRegister(), SwFrame::Prepare(), and Register.
Referenced by lcl_PrepFlyInCntRegister(), and SwPageFrame::PrepareRegisterChg().
|
inline |
Definition at line 853 of file pagechg.cxx.
Referenced by SwPageFrame::Cut(), and SwPageFrame::Paste().