LibreOffice Module sw (master) 1
|
#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>
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 SwTextNode * | GetFirstTextNode (const SwDoc &rDoc, SwPosition &rPos, const SwContentFrame *pCFrame, Point &rPt) |
const SwTextNode * | GetBodyTextNode (const SwDoc &rDoc, SwPosition &rPos, const SwFrame &rFrame) |
Forward declaration: get "BodyTextNode" for exp.fld in Fly's headers/footers/footnotes. More... | |
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().
|
static |
Definition at line 136 of file expfld.cxx.
References SwPosition::Assign(), SwNodes::GetEndOfContent(), SwFrame::GetModelPositionForViewPoint(), SwPosition::GetNode(), SwDoc::GetNodes(), SwNode::GetTextNode(), SwNodes::GoNext(), SwFrameAreaDefinition::isFrameAreaDefinitionValid(), SwFrame::IsTextFrame(), and SwNode::StartOfSectionNode().
Referenced by GetBodyTextNode().
|
static |
Definition at line 87 of file expfld.cxx.
References nsSwGetSetExpType::GSE_EXPR, nsSwGetSetExpType::GSE_FORMULA, nsSwGetSetExpType::GSE_SEQ, and nsSwGetSetExpType::GSE_STRING.
Referenced by SwGetExpField::PutValue(), SwSetExpFieldType::PutValue(), and SwSetExpField::PutValue().
|
static |
Definition at line 66 of file expfld.cxx.
References nsSwGetSetExpType::GSE_EXPR, nsSwGetSetExpType::GSE_FORMULA, nsSwGetSetExpType::GSE_SEQ, and nsSwGetSetExpType::GSE_STRING.
Referenced by SwGetExpField::QueryValue(), SwSetExpFieldType::QueryValue(), and SwSetExpField::QueryValue().
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().