LibreOffice Module sw (master) 1
Classes | Functions | Variables
docfld.hxx File Reference
#include <calc.hxx>
#include <doc.hxx>
#include <IDocumentTimerAccess.hxx>
#include <IMark.hxx>
#include <o3tl/sorted_vector.hxx>
#include <memory>
#include <optional>
Include dependency graph for docfld.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SetGetExpField
 
class  SetGetExpFields
 
struct  HashStr
 
struct  SwCalcFieldType
 
class  SwDocUpdateField
 

Functions

OUString LookString (SwHashTable< HashStr > const &rTable, const OUString &rName)
 Look up the Name, if it is present, return its String, otherwise return an empty String. More...
 

Variables

const int GETFLD_ALL = 3
 
const int GETFLD_CALC = 1
 
const int GETFLD_EXPAND = 2
 

Function Documentation

◆ LookString()

OUString LookString ( SwHashTable< HashStr > const &  rTable,
const OUString &  rName 
)

Look up the Name, if it is present, return its String, otherwise return an empty String.

Definition at line 377 of file docfld.cxx.

References HashStr::aSetStr, SwHashTable< T >::Find(), and comphelper::string::strip().

Referenced by SwGetExpField::ChangeExpansion(), sw::DocumentFieldsManager::FieldsToExpand(), and sw::DocumentFieldsManager::UpdateExpFieldsImpl().

Variable Documentation

◆ GETFLD_ALL

const int GETFLD_ALL = 3

◆ GETFLD_CALC

const int GETFLD_CALC = 1

◆ GETFLD_EXPAND

const int GETFLD_EXPAND = 2