LibreOffice Module xmloff (master) 1
Public Member Functions | Private Attributes | List of all members
SdXML3DLightContext Class Referencefinal

#include <shapeimport.hxx>

Inheritance diagram for SdXML3DLightContext:
[legend]
Collaboration diagram for SdXML3DLightContext:
[legend]

Public Member Functions

 SdXML3DLightContext (SvXMLImport &rImport, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
 
virtual ~SdXML3DLightContext () override
 
sal_Int32 GetDiffuseColor () const
 
const ::basegfx::B3DVectorGetDirection () const
 
bool GetEnabled () const
 
- Public Member Functions inherited from SvXMLImportContext
 SvXMLImportContext (SvXMLImport &rImport)
 A contexts constructor does anything that is required if an element starts. More...
 
virtual ~SvXMLImportContext ()
 A contexts destructor does anything that is required if an element ends. More...
 
virtual void SAL_CALL startFastElement (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL startUnknownElement (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL endFastElement (sal_Int32 Element) override
 endFastElement is called before a context will be destructed, but after an elements context has been parsed. More...
 
virtual void SAL_CALL endUnknownElement (const OUString &Namespace, const OUString &Name) override
 
virtual css::uno::Reference< XFastContextHandler > SAL_CALL createFastChildContext (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createUnknownChildContext (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL characters (const OUString &aChars) override
 This method is called for all characters that are contained in the current element. More...
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) final override
 
virtual void SAL_CALL acquire () noexcept final override
 
virtual void SAL_CALL release () noexcept final override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () final override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () final override
 

Private Attributes

sal_Int32 maDiffuseColor
 
::basegfx::B3DVector maDirection
 
bool mbEnabled
 
bool mbSpecular
 

Additional Inherited Members

- Protected Member Functions inherited from SvXMLImportContext
SvXMLImportGetImport ()
 
const SvXMLImportGetImport () const
 

Detailed Description

Definition at line 51 of file shapeimport.hxx.

Constructor & Destructor Documentation

◆ SdXML3DLightContext()

SdXML3DLightContext::SdXML3DLightContext ( SvXMLImport rImport,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList 
)

◆ ~SdXML3DLightContext()

SdXML3DLightContext::~SdXML3DLightContext ( )
overridevirtual

Definition at line 89 of file ximp3dscene.cxx.

Member Function Documentation

◆ GetDiffuseColor()

sal_Int32 SdXML3DLightContext::GetDiffuseColor ( ) const
inline

Definition at line 65 of file shapeimport.hxx.

References maDiffuseColor.

Referenced by SdXML3DSceneAttributesHelper::setSceneAttributes().

◆ GetDirection()

const ::basegfx::B3DVector & SdXML3DLightContext::GetDirection ( ) const
inline

Definition at line 66 of file shapeimport.hxx.

References maDirection.

Referenced by SdXML3DSceneAttributesHelper::setSceneAttributes().

◆ GetEnabled()

bool SdXML3DLightContext::GetEnabled ( ) const
inline

Definition at line 67 of file shapeimport.hxx.

References mbEnabled.

Referenced by SdXML3DSceneAttributesHelper::setSceneAttributes().

Member Data Documentation

◆ maDiffuseColor

sal_Int32 SdXML3DLightContext::maDiffuseColor
private

Definition at line 54 of file shapeimport.hxx.

Referenced by GetDiffuseColor(), and SdXML3DLightContext().

◆ maDirection

::basegfx::B3DVector SdXML3DLightContext::maDirection
private

Definition at line 55 of file shapeimport.hxx.

Referenced by GetDirection(), and SdXML3DLightContext().

◆ mbEnabled

bool SdXML3DLightContext::mbEnabled
private

Definition at line 56 of file shapeimport.hxx.

Referenced by GetEnabled(), and SdXML3DLightContext().

◆ mbSpecular

bool SdXML3DLightContext::mbSpecular
private

Definition at line 57 of file shapeimport.hxx.

Referenced by SdXML3DLightContext().


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