LibreOffice Module sw (master)
1
|
#include <txtftn.hxx>
#include <fmtftn.hxx>
#include <ftnidx.hxx>
#include <pagefrm.hxx>
#include <colfrm.hxx>
#include <rootfrm.hxx>
#include <frmtool.hxx>
#include <ftnfrm.hxx>
#include <txtfrm.hxx>
#include <tabfrm.hxx>
#include <pagedesc.hxx>
#include <ftninfo.hxx>
#include <sectfrm.hxx>
#include <objectformatter.hxx>
#include <viewopt.hxx>
#include <calbck.hxx>
#include <ndindex.hxx>
#include <pam.hxx>
#include <ndtxt.hxx>
#include <osl/diagnose.h>
#include <sal/log.hxx>
#include <IDocumentSettingAccess.hxx>
Go to the source code of this file.
Namespaces | |
sw | |
Dialog to specify the properties of date form field. | |
Macros | |
#define | ENDNOTE 0x80000000 |
Functions | |
static sal_uLong | lcl_FindFootnotePos (const SwDoc *pDoc, const SwTextFootnote *pAttr) |
Search the position of an attribute in the FootnoteArray at the document, because all footnotes are located there, ordered by their index. More... | |
static bool | lcl_NextFootnoteBoss (SwFootnoteBossFrame *&rpBoss, SwPageFrame *&rpPage, bool bDontLeave) |
static sal_uInt16 | lcl_ColumnNum (const SwFrame *pBoss) |
static tools::Long | lcl_Undersize (const SwFrame *pFrame) |
SwTwips | sw::FootnoteSeparatorHeight (SwPageFootnoteInfo const &rInf) |
void | sw_RemoveFootnotes (SwFootnoteBossFrame *pBoss, bool bPageOnly, bool bEndNotes) |
remove all footnotes (not the references) and all footnote pages More... | |
static SwPageFrame * | lcl_GetApproximateFootnotePage (const bool bEnd, const SwPageFrame *pPage, const SwDoc *pDoc, const SwTextFootnote *pAttr) |
static void | FootnoteInArr (SwFootnoteFrames &rFootnoteArr, SwFootnoteFrame *pFootnote) |
#define ENDNOTE 0x80000000 |
Definition at line 43 of file ftnfrm.cxx.
Referenced by SwFootnoteBossFrame::InsertFootnote(), lcl_FindFootnotePos(), SwGetRefField::PutValue(), and SwGetRefField::QueryValue().
|
static |
Definition at line 1812 of file ftnfrm.cxx.
Referenced by SwFootnoteBossFrame::CollectFootnotes_().
|
static |
Definition at line 123 of file ftnfrm.cxx.
References SwFrame::FindColFrame(), SwFrame::GetNext(), SwFrame::GetPrev(), SwFrame::GetUpper(), SwFrame::IsColumnFrame(), and SwFrame::IsInSct().
Referenced by SwFootnoteBossFrame::FindFirstFootnote(), SwFootnoteBossFrame::InsertFootnote(), and SwFootnoteBossFrame::MoveFootnotes_().
|
static |
Search the position of an attribute in the FootnoteArray at the document, because all footnotes are located there, ordered by their index.
Definition at line 47 of file ftnfrm.cxx.
References o3tl::sorted_vector< Value, Compare, Find, class >::begin(), o3tl::sorted_vector< Value, Compare, Find, class >::end(), ENDNOTE, o3tl::sorted_vector< Value, Compare, Find, class >::find(), SwTextAttr::GetFootnote(), SwDoc::GetFootnoteIdxs(), and SwFormatFootnote::IsEndNote().
Referenced by SwFootnoteBossFrame::InsertFootnote(), lcl_GetApproximateFootnotePage(), SwFootnoteFrame::operator<(), SwFootnoteFrame::Paste(), and SwFootnoteBossFrame::RearrangeFootnotes().
|
static |
Definition at line 1474 of file ftnfrm.cxx.
References SwFootnoteBossFrame::FindFootnoteCont(), SwFrame::GetNext(), SwPageFrame::IsEndNotePage(), SwFrame::IsFootnoteFrame(), SwPageFrame::IsFootnotePage(), lcl_FindFootnotePos(), and SwLayoutFrame::Lower().
Referenced by SwFootnoteBossFrame::AppendFootnote().
|
static |
Definition at line 81 of file ftnfrm.cxx.
References SwFootnoteBossFrame::FindBodyCont(), SwFrame::FindPageFrame(), SwFrame::FindSctFrame(), SwSectionFrame::GetFollow(), SwFrame::GetNext(), SwFrame::IsColumnFrame(), SwFrame::IsInSct(), and SwLayoutFrame::Lower().
Referenced by SwFootnoteBossFrame::CollectFootnotes_(), SwFootnoteBossFrame::FindFirstFootnote(), SwFootnoteBossFrame::FindNearestFootnoteCont(), SwFootnoteBossFrame::InsertFootnote(), and SwPageFrame::UpdateFootnoteNum().
|
static |
Definition at line 193 of file ftnfrm.cxx.
References SwFrameAreaDefinition::getFramePrintArea(), SwRectFnSet::GetHeight(), SwFrame::GetNext(), SwFrame::IsLayoutFrame(), SwFrame::IsTextFrame(), and SwLayoutFrame::Lower().
Referenced by SwFootnoteContFrame::Format().
void sw_RemoveFootnotes | ( | SwFootnoteBossFrame * | pBoss, |
bool | bPageOnly, | ||
bool | bEndNotes | ||
) |
remove all footnotes (not the references) and all footnote pages
Definition at line 906 of file ftnfrm.cxx.
References assert(), SwFootnoteFrame::Cut(), SwFrame::DestroyFrame(), SwFootnoteBossFrame::FindBodyCont(), SwFootnoteBossFrame::FindFootnoteCont(), FootnoteInvalidation, SwFootnoteFrame::GetAttr(), SwFootnoteFrame::GetFollow(), SwTextAttr::GetFootnote(), SwFootnoteFrame::GetMaster(), SwFrame::GetNext(), SwFootnoteFrame::GetRef(), SwFrame::IsColumnFrame(), SwFormatFootnote::IsEndNote(), SwFrame::IsInSct(), SwFrame::IsSctFrame(), Lower, SwLayoutFrame::Lower(), and SwFrame::Prepare().
Referenced by lcl_RemoveColumns(), SwRootFrame::RemoveFootnotes(), and SaveContent().