LibreOffice Module forms (master) 1
Functions
model_ui.cxx File Reference
#include "model.hxx"
#include "model_helper.hxx"
#include "mip.hxx"
#include "evaluationcontext.hxx"
#include "unohelper.hxx"
#include "submission/serialization_app_xml.hxx"
#include "resourcehelper.hxx"
#include "xmlhelper.hxx"
#include "convert.hxx"
#include <strings.hrc>
#include <rtl/ustring.hxx>
#include <rtl/ustrbuf.hxx>
#include <tools/debug.hxx>
#include <comphelper/processfactory.hxx>
#include <com/sun/star/xml/dom/XNode.hpp>
#include <com/sun/star/xml/dom/XDocumentBuilder.hpp>
#include <com/sun/star/xml/dom/XDocumentFragment.hpp>
#include <com/sun/star/xml/dom/XNamedNodeMap.hpp>
#include <com/sun/star/xml/xpath/XXPathObject.hpp>
#include <com/sun/star/xml/xpath/XPathObjectType.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/io/TextInputStream.hpp>
#include <com/sun/star/container/XEnumeration.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/xforms/XFormsSupplier.hpp>
#include <com/sun/star/xforms/XDataTypeRepository.hpp>
#include <com/sun/star/xsd/XDataType.hpp>
#include <com/sun/star/xsd/DataTypeClass.hpp>
Include dependency graph for model_ui.cxx:

Go to the source code of this file.

Functions

static void lcl_OutPosition (OUStringBuffer &rBuffer, const Reference< XNode > &xNode)
 
static void lcl_OutName (OUStringBuffer &rBuffer, const Reference< XNode > &xNode)
 
static void lcl_OutInstance (OUStringBuffer &rBuffer, const Reference< XNode > &xNode, Model *pModel)
 
static bool lcl_isWhitespace (const OUString &rString)
 
static sal_Int32 lcl_findProp (const PropertyValue *pValues, sal_Int32 nLength, std::u16string_view rName)
 
static Reference< XNameContainer > lcl_getModels (const Reference< css::frame::XModel > &xComponent)
 
static OUString lcl_serializeForDisplay (const Reference< XAttr > &_rxAttrNode)
 
static OUString lcl_serializeForDisplay (const Reference< XNodeList > &xNodes)
 
static OUString lcl_serializeForDisplay (const Reference< XXPathObject > &xResult)
 

Function Documentation

◆ lcl_findProp()

static sal_Int32 lcl_findProp ( const PropertyValue *  pValues,
sal_Int32  nLength,
std::u16string_view  rName 
)
static

Definition at line 410 of file model_ui.cxx.

References n, nLength, and pValues.

Referenced by xforms::Model::renameInstance().

◆ lcl_getModels()

static Reference< XNameContainer > lcl_getModels ( const Reference< css::frame::XModel > &  xComponent)
static

◆ lcl_isWhitespace()

static bool lcl_isWhitespace ( const OUString &  rString)
static

Definition at line 255 of file model_ui.cxx.

References i, nLength, and u.

Referenced by xforms::Model::getNodeDisplayName().

◆ lcl_OutInstance()

static void lcl_OutInstance ( OUStringBuffer &  rBuffer,
const Reference< XNode > &  xNode,
Model pModel 
)
static

◆ lcl_OutName()

static void lcl_OutName ( OUStringBuffer &  rBuffer,
const Reference< XNode > &  xNode 
)
static

◆ lcl_OutPosition()

static void lcl_OutPosition ( OUStringBuffer &  rBuffer,
const Reference< XNode > &  xNode 
)
static

Definition at line 120 of file model_ui.cxx.

Referenced by xforms::Model::getDefaultBindingExpressionForNode().

◆ lcl_serializeForDisplay() [1/3]

static OUString lcl_serializeForDisplay ( const Reference< XAttr > &  _rxAttrNode)
static

Definition at line 727 of file model_ui.cxx.

Referenced by xforms::Model::getResultForExpression(), and lcl_serializeForDisplay().

◆ lcl_serializeForDisplay() [2/3]

static OUString lcl_serializeForDisplay ( const Reference< XNodeList > &  xNodes)
static

◆ lcl_serializeForDisplay() [3/3]

static OUString lcl_serializeForDisplay ( const Reference< XXPathObject > &  xResult)
static

Definition at line 824 of file model_ui.cxx.

References xforms::getResource(), and lcl_serializeForDisplay().