LibreOffice Module sw (master)  1
Classes | Namespaces | Functions
reffld.cxx File Reference
#include <com/sun/star/text/ReferenceFieldPart.hpp>
#include <com/sun/star/text/ReferenceFieldSource.hpp>
#include <o3tl/unreachable.hxx>
#include <unotools/localedatawrapper.hxx>
#include <unotools/charclass.hxx>
#include <doc.hxx>
#include <IDocumentFieldsAccess.hxx>
#include <IDocumentLayoutAccess.hxx>
#include <IDocumentMarkAccess.hxx>
#include <pam.hxx>
#include <cntfrm.hxx>
#include <pagefrm.hxx>
#include <rootfrm.hxx>
#include <modeltoviewhelper.hxx>
#include <fmtfld.hxx>
#include <txtfld.hxx>
#include <txtftn.hxx>
#include <fmtrfmrk.hxx>
#include <txtrfmrk.hxx>
#include <fmtftn.hxx>
#include <ndtxt.hxx>
#include <chpfld.hxx>
#include <reffld.hxx>
#include <expfld.hxx>
#include <txtfrm.hxx>
#include <flyfrm.hxx>
#include <pagedesc.hxx>
#include <IMark.hxx>
#include <crossrefbookmark.hxx>
#include <ftnidx.hxx>
#include <viewsh.hxx>
#include <unofldmid.h>
#include <SwStyleNameMapper.hxx>
#include <shellres.hxx>
#include <poolfmt.hxx>
#include <strings.hrc>
#include <numrule.hxx>
#include <SwNodeNum.hxx>
#include <calbck.hxx>
#include <cstddef>
#include <memory>
#include <vector>
#include <set>
#include <map>
#include <algorithm>
Include dependency graph for reffld.cxx:

Go to the source code of this file.

Classes

struct  RefIdsMap
 

Namespaces

 sw
 Dialog to specify the properties of date form field.
 

Functions

static std::pair< OUString, bool > MakeRefNumStr (SwRootFrame const *pLayout, const SwTextNode &rTextNodeOfField, const SwTextNode &rTextNodeOfReferencedItem, sal_uInt32 nRefNumFormat)
 
static void lcl_GetLayTree (const SwFrame *pFrame, std::vector< const SwFrame * > &rArr)
 
bool IsFrameBehind (const SwTextNode &rMyNd, sal_Int32 nMySttPos, const SwTextNode &rBehindNd, sal_Int32 nSttPos)
 
static void lcl_formatReferenceLanguage (OUString &rRefText, bool bClosingParenthesis, LanguageType eLang, const OUString &rReferenceLanguage)
 
static void FilterText (OUString &rText, LanguageType const eLang, OUString const &rSetReferenceLanguage)
 
bool sw::IsMarkHintHidden (SwRootFrame const &rLayout, SwTextNode const &rNode, SwTextAttrEnd const &rHint)
 

Function Documentation

static void FilterText ( OUString &  rText,
LanguageType const  eLang,
OUString const &  rSetReferenceLanguage 
)
static

Definition at line 432 of file reffld.cxx.

References aBuf, i, lcl_formatReferenceLanguage(), and u.

Referenced by SwGetRefField::UpdateField().

bool IsFrameBehind ( const SwTextNode rMyNd,
sal_Int32  nMySttPos,
const SwTextNode rBehindNd,
sal_Int32  nSttPos 
)
static void lcl_formatReferenceLanguage ( OUString &  rRefText,
bool  bClosingParenthesis,
LanguageType  eLang,
const OUString &  rReferenceLanguage 
)
static
static void lcl_GetLayTree ( const SwFrame pFrame,
std::vector< const SwFrame * > &  rArr 
)
static
static std::pair< OUString, bool > MakeRefNumStr ( SwRootFrame const *  pLayout,
const SwTextNode rTextNodeOfField,
const SwTextNode rTextNodeOfReferencedItem,
sal_uInt32  nRefNumFormat 
)
static