LibreOffice Module forms (master) 1
Classes | Typedefs | Functions
xforms Namespace Reference

Classes

class  Binding
 
class  BindingCollection
 
class  BoolExpression
 BoolExpression represents a computed XPath expression that returns a bool value and caches the results. More...
 
class  ComputedExpression
 ComputedExpression represents an XPath Expression and caches results. More...
 
class  Convert
 
class  EvaluationContext
 define the context for the evaluation of an XPath expression More...
 
class  InstanceCollection
 
class  MIP
 represents the XForms *m*odel *i*tem *p*roperties (MIPs) for a given XNode in the instance data at a given point in time. More...
 
class  Model
 
class  OAnyURIType
 
class  OBooleanType
 
class  ODataTypeRepository
 
class  ODateTimeType
 
class  ODateType
 
class  ODecimalType
 
class  ODerivedDataType
 helper class for implementing interfaces derived from XDataType More...
 
class  OShortIntegerType
 
class  OStringType
 
class  OTimeType
 
class  OValueLimitedType
 
class  OValueLimitedType_Base
 
class  OXSDDataType
 
class  PathExpression
 PathExpression represents an XPath Expression and caches results. More...
 
class  Submission
 
class  SubmissionCollection
 
struct  TypeLess
 

Typedefs

typedef cppu::ImplInheritanceHelper< PropertySetBase, css::form::binding::XValueBinding, css::form::binding::XListEntrySource, css::form::validation::XValidator, css::util::XModifyBroadcaster, css::container::XNamed, css::xml::dom::events::XEventListener, css::lang::XUnoTunnel, css::util::XCloneable > Binding_t
 An XForms Binding. More...
 
typedef ::cppu::WeakImplHelper< css::xforms::XDataTypeRepository > ODataTypeRepository_Base
 
typedef ::cppu::WeakImplHelper< css::xsd::XDataType > OXSDDataType_Base
 
typedef ::comphelper::OMutexAndBroadcastHelper OXSDDataType_BBase
 
typedef ::comphelper::OPropertyContainer OXSDDataType_PBase
 
typedef ODerivedDataType< OBooleanTypeOBooleanType_Base
 
typedef ODerivedDataType< OStringTypeOStringType_Base
 
typedef ODerivedDataType< OAnyURITypeOAnyURIType_Base
 
typedef ODerivedDataType< ODecimalType, OValueLimitedType< double > > ODecimalType_Base
 
typedef ODerivedDataType< ODateType, OValueLimitedType< css::util::Date > > ODateType_Base
 
typedef ODerivedDataType< OTimeType, OValueLimitedType< css::util::Time > > OTimeType_Base
 
typedef ODerivedDataType< OTimeType, OValueLimitedType< css::util::DateTime > > ODateTimeType_Base
 
typedef ODerivedDataType< OShortIntegerType, OValueLimitedType< sal_Int16 > > OShortIntegerType_Base
 
typedef cppu::ImplInheritanceHelper< PropertySetBase, css::xforms::XModel2, css::xforms::XFormsUIHelper1, css::util::XUpdatable, css::lang::XServiceInfo > Model_t
 An XForms Model. More...
 
typedef cppu::ImplInheritanceHelper< PropertySetBase, css::xforms::XSubmission > Submission_t
 An XForms submission. More...
 

Functions

static bool lcl_getValueYear (std::u16string_view value, double &fValue)
 
static bool lcl_getValueMonth (std::u16string_view value, double &fValue)
 
static bool lcl_getValueDay (std::u16string_view value, double &fValue)
 
sal_Int32 lcl_findInstance (const InstanceCollection *, std::u16string_view)
 
void getInstanceData (const css::uno::Sequence< css::beans::PropertyValue > &, OUString *pID, css::uno::Reference< css::xml::dom::XDocument > *, OUString *pURL, bool *pURLOnce)
 
void setInstanceData (css::uno::Sequence< css::beans::PropertyValue > &, const OUString *pID, const css::uno::Reference< css::xml::dom::XDocument > *, const OUString *pURL, const bool *pURLOnce)
 
OUString getResource (TranslateId)
 get a resource string for the current language More...
 
OUString getResource (TranslateId pResourceId, std::u16string_view rInfo1)
 
OUString getResource (TranslateId pResourceId, std::u16string_view rInfo1, std::u16string_view rInfo2)
 
OUString getResource (TranslateId pResourceId, std::u16string_view rInfo1, std::u16string_view rInfo2, std::u16string_view rInfo3)
 
void copy (const css::uno::Reference< css::beans::XPropertySet > &, css::uno::Reference< css::beans::XPropertySet > const &)
 copy the properties from one PropertySet into the next More...
 

Typedef Documentation

◆ Binding_t

typedef cppu::ImplInheritanceHelper< PropertySetBase, css::form::binding::XValueBinding, css::form::binding::XListEntrySource, css::form::validation::XValidator, css::util::XModifyBroadcaster, css::container::XNamed, css::xml::dom::events::XEventListener, css::lang::XUnoTunnel, css::util::XCloneable> xforms::Binding_t

An XForms Binding.

Contains:

a connection to its model

an ID

a binding expression

model item properties

(NOT YET IMPLEMENTED) child bindings (sequence of)

See http://www.w3.org/TR/xforms/ for more information.

Definition at line 84 of file binding.hxx.

◆ Model_t

typedef cppu::ImplInheritanceHelper< PropertySetBase, css::xforms::XModel2, css::xforms::XFormsUIHelper1, css::util::XUpdatable, css::lang::XServiceInfo> xforms::Model_t

An XForms Model.

Contains:

(set of) instance data (XML DOM tree)

(set of) bindings

(set of) submissions

(NOT YET IMPLEMENTED) actions (set of)

See http://www.w3.org/TR/xforms/ for more information.

Definition at line 73 of file model.hxx.

◆ OAnyURIType_Base

Definition at line 266 of file datatypes.hxx.

◆ OBooleanType_Base

Definition at line 225 of file datatypes.hxx.

◆ ODataTypeRepository_Base

typedef ::cppu::WeakImplHelper< css::xforms::XDataTypeRepository > xforms::ODataTypeRepository_Base

Definition at line 35 of file datatyperepository.hxx.

◆ ODateTimeType_Base

Definition at line 373 of file datatypes.hxx.

◆ ODateType_Base

Definition at line 324 of file datatypes.hxx.

◆ ODecimalType_Base

Definition at line 293 of file datatypes.hxx.

◆ OShortIntegerType_Base

Definition at line 397 of file datatypes.hxx.

◆ OStringType_Base

Definition at line 241 of file datatypes.hxx.

◆ OTimeType_Base

Definition at line 348 of file datatypes.hxx.

◆ OXSDDataType_Base

typedef ::cppu::WeakImplHelper< css::xsd::XDataType > xforms::OXSDDataType_Base

Definition at line 49 of file datatypes.hxx.

◆ OXSDDataType_BBase

Definition at line 50 of file datatypes.hxx.

◆ OXSDDataType_PBase

Definition at line 51 of file datatypes.hxx.

◆ Submission_t

typedef cppu::ImplInheritanceHelper< PropertySetBase, css::xforms::XSubmission> xforms::Submission_t

An XForms submission.

See http://www.w3.org/TR/xforms/ for more information.

Definition at line 55 of file submission.hxx.

Function Documentation

◆ copy()

void xforms::copy ( const css::uno::Reference< css::beans::XPropertySet > &  ,
css::uno::Reference< css::beans::XPropertySet > const &   
)

◆ getInstanceData()

void xforms::getInstanceData ( const css::uno::Sequence< css::beans::PropertyValue > &  ,
OUString *  pID,
css::uno::Reference< css::xml::dom::XDocument > *  ,
OUString *  pURL,
bool *  pURLOnce 
)

◆ getResource() [1/4]

OUString xforms::getResource ( TranslateId  pResourceId,
std::u16string_view  rInfo1 
)

Definition at line 36 of file resourcehelper.cxx.

References getResource().

◆ getResource() [2/4]

OUString xforms::getResource ( TranslateId  pResourceId,
std::u16string_view  rInfo1,
std::u16string_view  rInfo2 
)

Definition at line 42 of file resourcehelper.cxx.

References getResource().

◆ getResource() [3/4]

OUString xforms::getResource ( TranslateId  pResourceId,
std::u16string_view  rInfo1,
std::u16string_view  rInfo2,
std::u16string_view  rInfo3 
)

Definition at line 49 of file resourcehelper.cxx.

References frm::ResourceManager::loadString().

◆ getResource() [4/4]

OUString xforms::getResource ( TranslateId  pResourceId)

◆ lcl_findInstance()

sal_Int32 xforms::lcl_findInstance ( const InstanceCollection pInstances,
std::u16string_view  rName 
)

◆ lcl_getValueDay()

static bool xforms::lcl_getValueDay ( std::u16string_view  value,
double &  fValue 
)
static

Definition at line 1099 of file datatypes.cxx.

References o3tl::toInt32(), and value.

Referenced by xforms::OShortIntegerType::_getValue().

◆ lcl_getValueMonth()

static bool xforms::lcl_getValueMonth ( std::u16string_view  value,
double &  fValue 
)
static

Definition at line 1078 of file datatypes.cxx.

References o3tl::toInt32(), and value.

Referenced by xforms::OShortIntegerType::_getValue().

◆ lcl_getValueYear()

static bool xforms::lcl_getValueYear ( std::u16string_view  value,
double &  fValue 
)
static

Definition at line 1052 of file datatypes.cxx.

References o3tl::equalsAscii(), o3tl::toInt32(), and value.

Referenced by xforms::OShortIntegerType::_getValue().

◆ setInstanceData()

void xforms::setInstanceData ( css::uno::Sequence< css::beans::PropertyValue > &  ,
const OUString *  pID,
const css::uno::Reference< css::xml::dom::XDocument > *  ,
const OUString *  pURL,
const bool *  pURLOnce 
)