LibreOffice Module sw (master) 1
Functions
labelcfg.cxx File Reference
#include <memory>
#include <string_view>
#include <config_folders.h>
#include <swtypes.hxx>
#include <labelcfg.hxx>
#include <rtl/bootstrap.hxx>
#include <tools/UnitConversion.hxx>
#include <unotools/configpaths.hxx>
#include <xmlreader/xmlreader.hxx>
#include <comphelper/sequence.hxx>
#include <osl/diagnose.h>
#include <o3tl/string_view.hxx>
#include <com/sun/star/beans/PropertyValue.hpp>
Include dependency graph for labelcfg.cxx:

Go to the source code of this file.

Functions

static void lcl_assertEndingItem (xmlreader::XmlReader &reader)
 
static OUString lcl_getValue (xmlreader::XmlReader &reader, const xmlreader::Span &span)
 
static Sequence< OUString > lcl_CreatePropertyNames (const OUString &rPrefix)
 
static std::unique_ptr< SwLabReclcl_CreateSwLabRec (const OUString &rType, std::u16string_view rMeasure, const OUString &rManufacturer)
 
static Sequence< PropertyValue > lcl_CreateProperties (Sequence< OUString > const &rPropNames, OUString &rMeasure, const SwLabRec &rRec)
 

Function Documentation

◆ lcl_assertEndingItem()

static void lcl_assertEndingItem ( xmlreader::XmlReader reader)
static

◆ lcl_CreateProperties()

static Sequence< PropertyValue > lcl_CreateProperties ( Sequence< OUString > const &  rPropNames,
OUString &  rMeasure,
const SwLabRec rRec 
)
static

◆ lcl_CreatePropertyNames()

static Sequence< OUString > lcl_CreatePropertyNames ( const OUString &  rPrefix)
static

Definition at line 66 of file labelcfg.cxx.

Referenced by SwLabelConfig::SaveLabel(), and SwLabelConfig::SwLabelConfig().

◆ lcl_CreateSwLabRec()

static std::unique_ptr< SwLabRec > lcl_CreateSwLabRec ( const OUString &  rType,
std::u16string_view  rMeasure,
const OUString &  rManufacturer 
)
static

Definition at line 167 of file labelcfg.cxx.

References o3tl::getToken(), o3tl::mm100, o3tl::toInt32(), and o3tl::toTwips().

Referenced by SwLabelConfig::FillLabels().

◆ lcl_getValue()

static OUString lcl_getValue ( xmlreader::XmlReader reader,
const xmlreader::Span span 
)
static