LibreOffice Module chart2 (master) 1
|
#include <VTitle.hxx>
Public Member Functions | |
VTitle (css::uno::Reference< css::chart2::XTitle > xTitle) | |
~VTitle () | |
void | init (const rtl::Reference< SvxShapeGroupAnyD > &xTargetPage, const OUString &rCID) |
void | createShapes (const css::awt::Point &rPos, const css::awt::Size &rReferenceSize, const css::awt::Size &nTextMaxWidth, bool bYAxisTitle) |
double | getRotationAnglePi () const |
css::awt::Size | getUnrotatedSize () const |
css::awt::Size | getFinalSize () const |
void | changePosition (const css::awt::Point &rPos) |
Static Public Member Functions | |
static bool | isVisible (const rtl::Reference< ::chart::Title > &xTitle) |
Private Attributes | |
rtl::Reference< SvxShapeGroupAnyD > | m_xTarget |
css::uno::Reference< css::chart2::XTitle > | m_xTitle |
rtl::Reference< SvxShapeText > | m_xShape |
OUString | m_aCID |
double | m_fRotationAngleDegree |
sal_Int32 | m_nXPos |
sal_Int32 | m_nYPos |
Definition at line 39 of file VTitle.hxx.
|
explicit |
Definition at line 34 of file VTitle.cxx.
chart::VTitle::~VTitle | ( | ) |
Definition at line 42 of file VTitle.cxx.
void chart::VTitle::changePosition | ( | const css::awt::Point & | rPos | ) |
Definition at line 73 of file VTitle.cxx.
References chart::B2DHomMatrixToHomogenMatrix3(), basegfx::deg2rad(), m_fRotationAngleDegree, m_nXPos, m_nYPos, m_xShape, basegfx::B2DHomMatrix::rotate(), TOOLS_WARN_EXCEPTION, and basegfx::B2DHomMatrix::translate().
void chart::VTitle::createShapes | ( | const css::awt::Point & | rPos, |
const css::awt::Size & | rReferenceSize, | ||
const css::awt::Size & | nTextMaxWidth, | ||
bool | bYAxisTitle | ||
) |
Definition at line 109 of file VTitle.cxx.
References aStringList, chart::ShapeFactory::createText(), m_aCID, m_fRotationAngleDegree, m_nXPos, m_nYPos, m_xShape, m_xTarget, m_xTitle, and TOOLS_WARN_EXCEPTION.
awt::Size chart::VTitle::getFinalSize | ( | ) | const |
Definition at line 67 of file VTitle.cxx.
References chart::ShapeFactory::getSizeAfterRotation(), m_fRotationAngleDegree, and m_xShape.
double chart::VTitle::getRotationAnglePi | ( | ) | const |
Definition at line 54 of file VTitle.cxx.
References basegfx::deg2rad(), and m_fRotationAngleDegree.
awt::Size chart::VTitle::getUnrotatedSize | ( | ) | const |
Definition at line 59 of file VTitle.cxx.
References m_xShape.
void chart::VTitle::init | ( | const rtl::Reference< SvxShapeGroupAnyD > & | xTargetPage, |
const OUString & | rCID | ||
) |
Definition at line 46 of file VTitle.cxx.
|
static |
Definition at line 95 of file VTitle.cxx.
References DBG_UNHANDLED_EXCEPTION.
|
private |
Definition at line 64 of file VTitle.hxx.
Referenced by createShapes(), and init().
|
private |
Definition at line 66 of file VTitle.hxx.
Referenced by changePosition(), createShapes(), getFinalSize(), and getRotationAnglePi().
|
private |
Definition at line 67 of file VTitle.hxx.
Referenced by changePosition(), and createShapes().
|
private |
Definition at line 68 of file VTitle.hxx.
Referenced by changePosition(), and createShapes().
|
private |
Definition at line 63 of file VTitle.hxx.
Referenced by changePosition(), createShapes(), getFinalSize(), and getUnrotatedSize().
|
private |
Definition at line 61 of file VTitle.hxx.
Referenced by createShapes(), and init().
|
private |
Definition at line 62 of file VTitle.hxx.
Referenced by createShapes().