LibreOffice Module xmloff (master)  1
Public Member Functions | List of all members
xmloff::VCLTimeHandler Class Reference

#include <vcl_time_handler.hxx>

Inheritance diagram for xmloff::VCLTimeHandler:
[legend]
Collaboration diagram for xmloff::VCLTimeHandler:
[legend]

Public Member Functions

 VCLTimeHandler ()
 
virtual OUString getAttributeValue (const css::uno::Any &i_propertyValue) const override
 is a convenience method for XML attributes whose value comprises of only one UNO API property More...
 
virtual bool getPropertyValues (const OUString &i_attributeValue, PropertyValues &o_propertyValues) const override
 retrieves the values of the properties controlled by an XML attributed, described by a given attribute value More...
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Additional Inherited Members

- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static voidoperator new (std::size_t nSize)
 
static voidoperator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 29 of file vcl_time_handler.hxx.

Constructor & Destructor Documentation

xmloff::VCLTimeHandler::VCLTimeHandler ( )

Definition at line 41 of file vcl_time_handler.cxx.

Member Function Documentation

OUString xmloff::VCLTimeHandler::getAttributeValue ( const css::uno::Any &  i_propertyValue) const
overridevirtual

is a convenience method for XML attributes whose value comprises of only one UNO API property

Implements xmloff::PropertyHandlerBase.

Definition at line 45 of file vcl_time_handler.cxx.

References aBuffer, and sax::Converter::convertDuration().

bool xmloff::VCLTimeHandler::getPropertyValues ( const OUString &  i_attributeValue,
PropertyValues o_propertyValues 
) const
overridevirtual

retrieves the values of the properties controlled by an XML attributed, described by a given attribute value

Implements xmloff::PropertyHandlerBase.

Definition at line 61 of file vcl_time_handler.cxx.

References Any, sax::Converter::convertDuration(), sax::Converter::convertNumber64(), tools::Time::GetUNOTime(), makeAny(), tools::Time::nanoPerCenti, and Time.


The documentation for this class was generated from the following files: