LibreOffice Module sw (master) 1
|
#include <libxml/xmlwriter.h>
#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 | |
namespace | 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 45 of file ftnfrm.cxx.
|
static |
Definition at line 1826 of file ftnfrm.cxx.
Referenced by SwFootnoteBossFrame::CollectFootnotes_().
|
static |
Definition at line 125 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 49 of file ftnfrm.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::begin(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::end(), ENDNOTE, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::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 1488 of file ftnfrm.cxx.
References SwFootnoteBossFrame::FindFootnoteCont(), SwFootnoteFrame::GetAttr(), SwFrame::GetNext(), SwPageFrame::IsEndNotePage(), SwFrame::IsFootnoteFrame(), SwPageFrame::IsFootnotePage(), lcl_FindFootnotePos(), and SwLayoutFrame::Lower().
Referenced by SwFootnoteBossFrame::AppendFootnote().
|
static |
Definition at line 83 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 195 of file ftnfrm.cxx.
References SwFrameAreaDefinition::getFramePrintArea(), SwRectFnSet::GetHeight(), SwFrame::GetNext(), SwFrame::IsLayoutFrame(), SwFrame::IsTextFrame(), lcl_Undersize(), and Lower.
Referenced by SwFootnoteContFrame::Format(), and lcl_Undersize().
void sw_RemoveFootnotes | ( | SwFootnoteBossFrame * | pBoss, |
bool | bPageOnly, | ||
bool | bEndNotes | ||
) |
remove all footnotes (not the references) and all footnote pages
Definition at line 920 of file ftnfrm.cxx.
References SwFootnoteFrame::Cut(), SwFrame::DestroyFrame(), SwFootnoteBossFrame::FindBodyCont(), SwFootnoteBossFrame::FindFootnoteCont(), FootnoteInvalidation, SwFootnoteFrame::GetAttr(), SwFootnoteFrame::GetFollow(), SwTextAttr::GetFootnote(), SwFootnoteFrame::GetMaster(), SwFrame::GetNext(), SwFootnoteFrame::GetRef(), SwSectionFrame::IsAnyNoteAtEnd(), SwFrame::IsColumnFrame(), SwFormatFootnote::IsEndNote(), SwFrame::IsInSct(), SwFrame::IsSctFrame(), Lower, SwLayoutFrame::Lower(), SwFrame::Prepare(), and sw_RemoveFootnotes().
Referenced by lcl_RemoveColumns(), SwRootFrame::RemoveFootnotes(), and sw_RemoveFootnotes().