LibreOffice Module xmloff (master) 1
Functions | Variables
XMLTextMarkImportContext.cxx File Reference
#include "XMLTextMarkImportContext.hxx"
#include <rtl/ustring.hxx>
#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <sax/tools/converter.hxx>
#include <xmloff/xmluconv.hxx>
#include <xmloff/xmltoken.hxx>
#include <xmloff/xmlimp.hxx>
#include <xmloff/namespacemap.hxx>
#include <xmloff/xmlnamespace.hxx>
#include <xmloff/odffields.hxx>
#include <xmloff/xmlement.hxx>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/xml/sax/XAttributeList.hpp>
#include <com/sun/star/text/ControlCharacter.hpp>
#include <com/sun/star/text/XTextContent.hpp>
#include <com/sun/star/text/XTextRangeCompare.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/container/XNamed.hpp>
#include <com/sun/star/rdf/XMetadatable.hpp>
#include <com/sun/star/text/XFormField.hpp>
#include <RDFaImportHelper.hxx>
Include dependency graph for XMLTextMarkImportContext.cxx:

Go to the source code of this file.

Functions

static OUString lcl_getFormFieldmarkName (std::u16string_view name)
 
static OUString lcl_getFieldmarkName (OUString const &name)
 
static auto InsertFieldmark (SvXMLImport &rImport, XMLTextImportHelper &rHelper, bool const isFieldmarkSeparatorMissing) -> void
 
static auto PopFieldmark (XMLTextImportHelper &rHelper) -> void
 

Variables

SvXMLEnumMapEntry< lcl_MarkType > const lcl_aMarkTypeMap []
 

Function Documentation

◆ InsertFieldmark()

static auto InsertFieldmark ( SvXMLImport rImport,
XMLTextImportHelper rHelper,
bool const  isFieldmarkSeparatorMissing 
) -> void
static

◆ lcl_getFieldmarkName()

static OUString lcl_getFieldmarkName ( OUString const &  name)
static

Definition at line 143 of file XMLTextMarkImportContext.cxx.

References name, and ODF_FORMTEXT.

Referenced by InsertFieldmark().

◆ lcl_getFormFieldmarkName()

static OUString lcl_getFormFieldmarkName ( std::u16string_view  name)
static

◆ PopFieldmark()

static auto PopFieldmark ( XMLTextImportHelper rHelper) -> void
static

Definition at line 235 of file XMLTextMarkImportContext.cxx.

References SAL_INFO.

Referenced by XMLTextMarkImportContext::endFastElement().

Variable Documentation

◆ lcl_aMarkTypeMap

SvXMLEnumMapEntry<lcl_MarkType> const lcl_aMarkTypeMap[]
Initial value:
=
{
{ XML_REFERENCE_MARK, TypeReference },
{ XML_REFERENCE_MARK_START, TypeReferenceStart },
{ XML_REFERENCE_MARK_END, TypeReferenceEnd },
{ XML_BOOKMARK_START, TypeBookmarkStart },
{ XML_BOOKMARK_END, TypeBookmarkEnd },
{ XML_FIELDMARK, TypeFieldmark },
{ XML_FIELDMARK_START, TypeFieldmarkStart },
{ XML_FIELDMARK_SEPARATOR, TypeFieldmarkSeparator },
{ XML_FIELDMARK_END, TypeFieldmarkEnd },
{ XML_TOKEN_INVALID, lcl_MarkType(0) },
}
@ XML_FIELDMARK_SEPARATOR
Definition: xmltoken.hxx:3311
@ XML_REFERENCE_MARK_START
Definition: xmltoken.hxx:1597
@ XML_REFERENCE_MARK_END
Definition: xmltoken.hxx:1596

Definition at line 114 of file XMLTextMarkImportContext.cxx.

Referenced by XMLTextMarkImportContext::endFastElement().