LibreOffice Module sw (master) 1
Functions
expfld.cxx File Reference
#include <sal/config.h>
#include <limits>
#include <UndoTable.hxx>
#include <hintids.hxx>
#include <o3tl/any.hxx>
#include <osl/diagnose.h>
#include <unotools/collatorwrapper.hxx>
#include <unotools/charclass.hxx>
#include <editeng/langitem.hxx>
#include <editeng/fontitem.hxx>
#include <com/sun/star/text/SetVariableType.hpp>
#include <unofield.hxx>
#include <frmfmt.hxx>
#include <fmtfld.hxx>
#include <txtfld.hxx>
#include <fmtanchr.hxx>
#include <txtftn.hxx>
#include <doc.hxx>
#include <IDocumentFieldsAccess.hxx>
#include <layfrm.hxx>
#include <pagefrm.hxx>
#include <cntfrm.hxx>
#include <txtfrm.hxx>
#include <rootfrm.hxx>
#include <tabfrm.hxx>
#include <flyfrm.hxx>
#include <ftnfrm.hxx>
#include <rowfrm.hxx>
#include <expfld.hxx>
#include <usrfld.hxx>
#include <ndtxt.hxx>
#include <calc.hxx>
#include <pam.hxx>
#include <docfld.hxx>
#include <swtable.hxx>
#include <breakit.hxx>
#include <SwStyleNameMapper.hxx>
#include <unofldmid.h>
#include <numrule.hxx>
#include <utility>
Include dependency graph for expfld.cxx:

Go to the source code of this file.

Functions

static sal_Int16 lcl_SubTypeToAPI (sal_uInt16 nSubType)
 
static sal_Int32 lcl_APIToSubType (const uno::Any &rAny)
 
OUString ReplacePoint (const OUString &rTmpName, bool bWithCommandType)
 
static SwTextNodeGetFirstTextNode (const SwDoc &rDoc, SwPosition &rPos, const SwContentFrame *pCFrame, Point &rPt)
 
const SwTextNodeGetBodyTextNode (const SwDoc &rDoc, SwPosition &rPos, const SwFrame &rFrame)
 Forward declaration: get "BodyTextNode" for exp.fld in Fly's headers/footers/footnotes. More...
 

Function Documentation

◆ GetBodyTextNode()

const SwTextNode * GetBodyTextNode ( const SwDoc rDoc,
SwPosition rPos,
const SwFrame rFrame 
)

Forward declaration: get "BodyTextNode" for exp.fld in Fly's headers/footers/footnotes.

Definition at line 163 of file expfld.cxx.

References Point::AdjustY(), SwPosition::Assign(), SwPosition::AssignStartIndex(), SwLayoutFrame::ContainsContent(), SwPageFrame::FindFirstBodyContent(), SwPageFrame::FindLastBodyContent(), SwFrame::FindPageFrame(), SwFrame::FindTabFrame(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetContentAnchor(), SwLayoutFrame::GetContentPos(), SwPageFrame::GetContentPosition(), SwTabFrame::GetFirstNonHeadlineRow(), GetFirstTextNode(), GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwPosition::GetNode(), SwTable::GetRowsToRepeat(), SwTextAttr::GetStart(), SwTabFrame::GetTable(), SwTextFrame::GetText(), SwNode::GetTextNode(), SwTextFootnote::GetTextNode(), SwFrame::GetUpper(), SwFrame::IsFlyFrame(), SwFrame::IsFooterFrame(), SwFrame::IsFootnoteFrame(), SwFrame::IsHeaderFrame(), SwTabFrame::IsInHeadline(), SwFrame::IsTextFrame(), SwTextFrame::MapViewToModelPos(), and SwRect::Pos().

Referenced by SwChapterField::ChangeExpansion(), SwGetExpField::ChangeExpansion(), SwRefPageGetField::ChangeExpansion(), SwDocUpdateField::GetBodyNode(), SwDocUpdateField::GetBodyNodeGeneric(), SwAuthorityFieldType::GetSequencePos(), lcl_FindChapterNode(), SwRefPageGetFieldType::MakeSetList(), SwCursorShell::SelectNxtPrvHyperlink(), SetGetExpField::SetBodyPos(), SwTOXSortTabBase::SwTOXSortTabBase(), SwTOXBaseSection::UpdateAuthorities(), and sw::DocumentFieldsManager::UpdateTableFields().

◆ GetFirstTextNode()

static SwTextNode * GetFirstTextNode ( const SwDoc rDoc,
SwPosition rPos,
const SwContentFrame pCFrame,
Point rPt 
)
static

◆ lcl_APIToSubType()

static sal_Int32 lcl_APIToSubType ( const uno::Any rAny)
static

◆ lcl_SubTypeToAPI()

static sal_Int16 lcl_SubTypeToAPI ( sal_uInt16  nSubType)
static

◆ ReplacePoint()

OUString ReplacePoint ( const OUString &  rTmpName,
bool  bWithCommandType 
)

Definition at line 105 of file expfld.cxx.

References DB_DELIM, and nIndex.

Referenced by SwHiddenTextField::Evaluate(), InsertLabEnvText(), and SwCalc::VarLook().