LibreOffice Module xmloff (master) 1
|
#include <xexptran.hxx>
Public Member Functions | |
SdXMLImExTransform2D () | |
void | AddRotate (double fNew) |
void | AddTranslate (const ::basegfx::B2DTuple &rNew) |
void | AddSkewX (double fNew) |
bool | NeedsAction () const |
void | GetFullTransform (::basegfx::B2DHomMatrix &rFullTrans) |
const OUString & | GetExportString (const SvXMLUnitConverter &rConv) |
void | SetString (const OUString &rNew, const SvXMLUnitConverter &rConv) |
Private Attributes | |
std::vector< std::shared_ptr< ImpSdXMLExpTransObj2DBase > > | maList |
OUString | msString |
Definition at line 41 of file xexptran.hxx.
|
inline |
Definition at line 49 of file xexptran.hxx.
void SdXMLImExTransform2D::AddRotate | ( | double | fNew | ) |
Definition at line 226 of file xexptran.cxx.
References maList.
Referenced by XMLTextParagraphExport::_exportTextGraphic(), and XMLShapeExport::ImpExportNewTrans_FeaturesAndWrite().
void SdXMLImExTransform2D::AddSkewX | ( | double | fNew | ) |
Definition at line 238 of file xexptran.cxx.
References maList.
Referenced by XMLShapeExport::ImpExportNewTrans_FeaturesAndWrite().
void SdXMLImExTransform2D::AddTranslate | ( | const ::basegfx::B2DTuple & | rNew | ) |
Definition at line 232 of file xexptran.cxx.
References maList.
Referenced by XMLTextParagraphExport::_exportTextGraphic(), and XMLShapeExport::ImpExportNewTrans_FeaturesAndWrite().
const OUString & SdXMLImExTransform2D::GetExportString | ( | const SvXMLUnitConverter & | rConv | ) |
Definition at line 245 of file xexptran.cxx.
References a, basegfx::B2DHomMatrix::get(), Imp_PutDoubleChar(), IMP_SDXMLEXP_TRANSOBJ2D_MATRIX, IMP_SDXMLEXP_TRANSOBJ2D_ROTATE, IMP_SDXMLEXP_TRANSOBJ2D_SCALE, IMP_SDXMLEXP_TRANSOBJ2D_SKEWX, IMP_SDXMLEXP_TRANSOBJ2D_SKEWY, IMP_SDXMLEXP_TRANSOBJ2D_TRANSLATE, maList, maMatrix, ImpSdXMLExpTransObj2DBase::mnType, msString, and nCount.
Referenced by XMLTextParagraphExport::_exportTextGraphic(), and XMLShapeExport::ImpExportNewTrans_FeaturesAndWrite().
void SdXMLImExTransform2D::GetFullTransform | ( | ::basegfx::B2DHomMatrix & | rFullTrans | ) |
Definition at line 480 of file xexptran.cxx.
References a, basegfx::B2DHomMatrix::identity(), IMP_SDXMLEXP_TRANSOBJ2D_MATRIX, IMP_SDXMLEXP_TRANSOBJ2D_ROTATE, IMP_SDXMLEXP_TRANSOBJ2D_SCALE, IMP_SDXMLEXP_TRANSOBJ2D_SKEWX, IMP_SDXMLEXP_TRANSOBJ2D_SKEWY, IMP_SDXMLEXP_TRANSOBJ2D_TRANSLATE, maList, maMatrix, ImpSdXMLExpTransObj2DBase::mnType, nCount, basegfx::B2DHomMatrix::rotate(), basegfx::B2DHomMatrix::scale(), basegfx::B2DHomMatrix::shearX(), basegfx::B2DHomMatrix::shearY(), and basegfx::B2DHomMatrix::translate().
Referenced by SdXMLShapeContext::SetTransformation(), and SdXMLConnectorShapeContext::startFastElement().
|
inline |
Definition at line 55 of file xexptran.hxx.
References maList.
Referenced by XMLShapeExport::ImpExportNewTrans_FeaturesAndWrite(), SdXMLShapeContext::SetTransformation(), and SdXMLConnectorShapeContext::startFastElement().
void SdXMLImExTransform2D::SetString | ( | const OUString & | rNew, |
const SvXMLUnitConverter & | rConv | ||
) |
Definition at line 347 of file xexptran.cxx.
References aStr, basegfx::Tuple2D< typename TYPE >::equalZero(), basegfx::B2DHomMatrix::get(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), Imp_GetDoubleChar(), Imp_SkipSpaces(), Imp_SkipSpacesAndClosingBraces(), Imp_SkipSpacesAndCommas(), Imp_SkipSpacesAndOpeningBraces(), basegfx::B2DHomMatrix::isIdentity(), maList, msString, nPos, basegfx::B2DHomMatrix::set(), basegfx::Tuple2D< typename TYPE >::setX(), basegfx::Tuple2D< typename TYPE >::setY(), and u.
Referenced by SdXMLShapeContext::processAttribute(), and SdXMLConnectorShapeContext::processAttribute().
|
private |
Definition at line 45 of file xexptran.hxx.
Referenced by AddRotate(), AddSkewX(), AddTranslate(), GetExportString(), GetFullTransform(), NeedsAction(), and SetString().
|
private |
Definition at line 46 of file xexptran.hxx.
Referenced by GetExportString(), and SetString().