LibreOffice Module xmloff (master)
1
|
#include <shapeimport.hxx>
Public Member Functions | |
SdXML3DSceneAttributesHelper (SvXMLImport &rImporter) | |
SvXMLImportContext * | create3DLightContext (const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) |
creates a 3d light context and adds it to the internal list for later processing More... | |
void | processSceneAttribute (const sax_fastparser::FastAttributeList::FastAttributeIter &aIter) |
this should be called for each scene attribute More... | |
void | setSceneAttributes (const css::uno::Reference< css::beans::XPropertySet > &xPropSet) |
this sets the scene attributes at this propertyset More... | |
Protected Attributes | |
SvXMLImport & | mrImport |
::std::vector< rtl::Reference< SdXML3DLightContext > > | maList |
css::drawing::HomogenMatrix | mxHomMat |
bool | mbSetTransform |
css::drawing::ProjectionMode | mxPrjMode |
sal_Int32 | mnDistance |
sal_Int32 | mnFocalLength |
sal_Int32 | mnShadowSlant |
css::drawing::ShadeMode | mxShadeMode |
sal_Int32 | maAmbientColor |
bool | mbLightingMode |
::basegfx::B3DVector | maVRP |
::basegfx::B3DVector | maVPN |
::basegfx::B3DVector | maVUP |
bool | mbVRPUsed |
bool | mbVPNUsed |
bool | mbVUPUsed |
Definition at line 70 of file shapeimport.hxx.
SdXML3DSceneAttributesHelper::SdXML3DSceneAttributesHelper | ( | SvXMLImport & | rImporter | ) |
Definition at line 188 of file ximp3dscene.cxx.
SvXMLImportContext * SdXML3DSceneAttributesHelper::create3DLightContext | ( | const css::uno::Reference< css::xml::sax::XFastAttributeList > & | xAttrList | ) |
creates a 3d light context and adds it to the internal list for later processing
Definition at line 208 of file ximp3dscene.cxx.
References maList, and mrImport.
Referenced by SdXML3DSceneShapeContext::createFastChildContext(), and SchXMLPlotAreaContext::createFastChildContext().
void SdXML3DSceneAttributesHelper::processSceneAttribute | ( | const sax_fastparser::FastAttributeList::FastAttributeIter & | aIter | ) |
this should be called for each scene attribute
Definition at line 219 of file ximp3dscene.cxx.
References SvXMLUnitConverter::convertB3DVector(), sax::Converter::convertBool(), sax::Converter::convertColor(), SvXMLUnitConverter::convertMeasureToCore(), sax::Converter::convertNumber(), SvXMLImport::GetMM100UnitConverter(), sax_fastparser::FastAttributeList::FastAttributeIter::getToken(), IsTokenInNamespace(), xmloff::token::IsXMLToken(), maAmbientColor, maVPN, maVRP, maVUP, mbLightingMode, mbSetTransform, mbVPNUsed, mbVRPUsed, mbVUPUsed, mnDistance, mnFocalLength, mnShadowSlant, mrImport, mxHomMat, mxPrjMode, mxShadeMode, TOKEN_MASK, sax_fastparser::FastAttributeList::FastAttributeIter::toString(), sax_fastparser::FastAttributeList::FastAttributeIter::toView(), void(), xmloff::token::XML_AMBIENT_COLOR, xmloff::token::XML_DISTANCE, xmloff::token::XML_FLAT, xmloff::token::XML_FOCAL_LENGTH, xmloff::token::XML_GOURAUD, xmloff::token::XML_LIGHTING_MODE, XML_NAMESPACE_DR3D, xmloff::token::XML_PARALLEL, xmloff::token::XML_PHONG, xmloff::token::XML_PROJECTION, xmloff::token::XML_SHADE_MODE, xmloff::token::XML_SHADOW_SLANT, xmloff::token::XML_TRANSFORM, xmloff::token::XML_VPN, xmloff::token::XML_VRP, xmloff::token::XML_VUP, and XMLOFF_WARN_UNKNOWN.
Referenced by SdXML3DSceneShapeContext::startFastElement(), and SchXMLPlotAreaContext::startFastElement().
void SdXML3DSceneAttributesHelper::setSceneAttributes | ( | const css::uno::Reference< css::beans::XPropertySet > & | xPropSet | ) |
this sets the scene attributes at this propertyset
Definition at line 323 of file ximp3dscene.cxx.
References a, SdXML3DLightContext::GetDiffuseColor(), SdXML3DLightContext::GetDirection(), SdXML3DLightContext::GetEnabled(), maAmbientColor, maList, maVPN, maVRP, maVUP, mbLightingMode, mbSetTransform, mnDistance, mnFocalLength, mnShadowSlant, mxHomMat, mxPrjMode, and mxShadeMode.
Referenced by SdXML3DSceneShapeContext::endFastElement(), and SchXMLPlotAreaContext::endFastElement().
|
protected |
Definition at line 88 of file shapeimport.hxx.
Referenced by processSceneAttribute(), and setSceneAttributes().
|
protected |
Definition at line 77 of file shapeimport.hxx.
Referenced by create3DLightContext(), and setSceneAttributes().
|
protected |
Definition at line 92 of file shapeimport.hxx.
Referenced by SchXML3DSceneAttributesHelper::getCameraDefaultFromDiagram(), processSceneAttribute(), and setSceneAttributes().
|
protected |
Definition at line 91 of file shapeimport.hxx.
Referenced by SchXML3DSceneAttributesHelper::getCameraDefaultFromDiagram(), processSceneAttribute(), and setSceneAttributes().
|
protected |
Definition at line 93 of file shapeimport.hxx.
Referenced by SchXML3DSceneAttributesHelper::getCameraDefaultFromDiagram(), processSceneAttribute(), and setSceneAttributes().
|
protected |
Definition at line 89 of file shapeimport.hxx.
Referenced by processSceneAttribute(), and setSceneAttributes().
|
protected |
Definition at line 81 of file shapeimport.hxx.
Referenced by processSceneAttribute(), and setSceneAttributes().
|
protected |
Definition at line 95 of file shapeimport.hxx.
Referenced by processSceneAttribute().
|
protected |
Definition at line 94 of file shapeimport.hxx.
Referenced by processSceneAttribute().
|
protected |
Definition at line 96 of file shapeimport.hxx.
Referenced by processSceneAttribute().
|
protected |
Definition at line 84 of file shapeimport.hxx.
Referenced by processSceneAttribute(), and setSceneAttributes().
|
protected |
Definition at line 85 of file shapeimport.hxx.
Referenced by processSceneAttribute(), and setSceneAttributes().
|
protected |
Definition at line 86 of file shapeimport.hxx.
Referenced by processSceneAttribute(), and setSceneAttributes().
|
protected |
Definition at line 73 of file shapeimport.hxx.
Referenced by create3DLightContext(), and processSceneAttribute().
|
protected |
Definition at line 80 of file shapeimport.hxx.
Referenced by processSceneAttribute(), and setSceneAttributes().
|
protected |
Definition at line 83 of file shapeimport.hxx.
Referenced by processSceneAttribute(), and setSceneAttributes().
|
protected |
Definition at line 87 of file shapeimport.hxx.
Referenced by processSceneAttribute(), and setSceneAttributes().