LibreOffice Module xmloff (master) 1
|
#include <xexptran.hxx>
Public Member Functions | |
SdXMLImExTransform3D () | |
SdXMLImExTransform3D (const OUString &rNew, const SvXMLUnitConverter &rConv) | |
void | AddMatrix (const ::basegfx::B3DHomMatrix &rNew) |
void | AddHomogenMatrix (const css::drawing::HomogenMatrix &xHomMat) |
bool | NeedsAction () const |
void | GetFullTransform (::basegfx::B3DHomMatrix &rFullTrans) |
bool | GetFullHomogenTransform (css::drawing::HomogenMatrix &xHomMat) |
const OUString & | GetExportString (const SvXMLUnitConverter &rConv) |
void | SetString (const OUString &rNew, const SvXMLUnitConverter &rConv) |
Private Attributes | |
std::vector< std::shared_ptr< ImpSdXMLExpTransObj3DBase > > | maList |
OUString | msString |
Definition at line 61 of file xexptran.hxx.
|
inline |
Definition at line 69 of file xexptran.hxx.
SdXMLImExTransform3D::SdXMLImExTransform3D | ( | const OUString & | rNew, |
const SvXMLUnitConverter & | rConv | ||
) |
Definition at line 748 of file xexptran.cxx.
References SetString().
void SdXMLImExTransform3D::AddHomogenMatrix | ( | const css::drawing::HomogenMatrix & | xHomMat | ) |
Definition at line 612 of file xexptran.cxx.
References AddMatrix(), and basegfx::utils::UnoHomogenMatrixToB3DHomMatrix().
Referenced by XMLShapeExport::export3DSceneAttributes(), and XMLShapeExport::ImpExport3DShape().
void SdXMLImExTransform3D::AddMatrix | ( | const ::basegfx::B3DHomMatrix & | rNew | ) |
const OUString & SdXMLImExTransform3D::GetExportString | ( | const SvXMLUnitConverter & | rConv | ) |
Definition at line 618 of file xexptran.cxx.
References a, basegfx::B2DHomMatrix::get(), Imp_PutDoubleChar(), IMP_SDXMLEXP_TRANSOBJ3D_MATRIX, IMP_SDXMLEXP_TRANSOBJ3D_ROTATE_X, IMP_SDXMLEXP_TRANSOBJ3D_ROTATE_Y, IMP_SDXMLEXP_TRANSOBJ3D_ROTATE_Z, IMP_SDXMLEXP_TRANSOBJ3D_SCALE, IMP_SDXMLEXP_TRANSOBJ3D_TRANSLATE, maList, maMatrix, ImpSdXMLExpTransObj3DBase::mnType, msString, nCount, and basegfx::rad2deg().
Referenced by XMLShapeExport::export3DSceneAttributes(), and XMLShapeExport::ImpExport3DShape().
bool SdXMLImExTransform3D::GetFullHomogenTransform | ( | css::drawing::HomogenMatrix & | xHomMat | ) |
Definition at line 920 of file xexptran.cxx.
References basegfx::utils::B3DHomMatrixToUnoHomogenMatrix(), GetFullTransform(), and basegfx::B3DHomMatrix::isIdentity().
Referenced by SdXML3DSceneAttributesHelper::processSceneAttribute(), and SdXML3DObjectContext::SdXML3DObjectContext().
void SdXMLImExTransform3D::GetFullTransform | ( | ::basegfx::B3DHomMatrix & | rFullTrans | ) |
Definition at line 934 of file xexptran.cxx.
References a, basegfx::B3DHomMatrix::identity(), IMP_SDXMLEXP_TRANSOBJ3D_MATRIX, IMP_SDXMLEXP_TRANSOBJ3D_ROTATE_X, IMP_SDXMLEXP_TRANSOBJ3D_ROTATE_Y, IMP_SDXMLEXP_TRANSOBJ3D_ROTATE_Z, IMP_SDXMLEXP_TRANSOBJ3D_SCALE, IMP_SDXMLEXP_TRANSOBJ3D_TRANSLATE, maList, maMatrix, ImpSdXMLExpTransObj3DBase::mnType, nCount, basegfx::B3DHomMatrix::rotate(), basegfx::B3DHomMatrix::scale(), and basegfx::B3DHomMatrix::translate().
Referenced by GetFullHomogenTransform().
|
inline |
Definition at line 75 of file xexptran.hxx.
References maList.
Referenced by XMLShapeExport::export3DSceneAttributes(), XMLShapeExport::ImpExport3DShape(), SdXML3DSceneAttributesHelper::processSceneAttribute(), and SdXML3DObjectContext::SdXML3DObjectContext().
void SdXMLImExTransform3D::SetString | ( | const OUString & | rNew, |
const SvXMLUnitConverter & | rConv | ||
) |
Definition at line 754 of file xexptran.cxx.
References aStr, basegfx::deg2rad(), basegfx::B3DTuple::equalZero(), basegfx::B3DHomMatrix::get(), basegfx::Tuple3D< typename TYPE >::getX(), basegfx::Tuple3D< typename TYPE >::getY(), basegfx::Tuple3D< typename TYPE >::getZ(), Imp_GetDoubleChar(), Imp_SkipSpaces(), Imp_SkipSpacesAndClosingBraces(), Imp_SkipSpacesAndCommas(), Imp_SkipSpacesAndOpeningBraces(), basegfx::B3DHomMatrix::isIdentity(), maList, msString, nPos, basegfx::B3DHomMatrix::set(), basegfx::Tuple3D< typename TYPE >::setX(), basegfx::Tuple3D< typename TYPE >::setY(), basegfx::Tuple3D< typename TYPE >::setZ(), and u.
Referenced by SdXMLImExTransform3D().
|
private |
Definition at line 65 of file xexptran.hxx.
Referenced by AddMatrix(), GetExportString(), GetFullTransform(), NeedsAction(), and SetString().
|
private |
Definition at line 66 of file xexptran.hxx.
Referenced by GetExportString(), and SetString().