LibreOffice Module chart2 (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
chart::VTitle Class Referencefinal

#include <VTitle.hxx>

Collaboration diagram for chart::VTitle:
[legend]

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< SvxShapeGroupAnyDm_xTarget
 
css::uno::Reference< css::chart2::XTitle > m_xTitle
 
rtl::Reference< SvxShapeTextm_xShape
 
OUString m_aCID
 
double m_fRotationAngleDegree
 
sal_Int32 m_nXPos
 
sal_Int32 m_nYPos
 

Detailed Description

Definition at line 39 of file VTitle.hxx.

Constructor & Destructor Documentation

◆ VTitle()

chart::VTitle::VTitle ( css::uno::Reference< css::chart2::XTitle >  xTitle)
explicit

Definition at line 34 of file VTitle.cxx.

◆ ~VTitle()

chart::VTitle::~VTitle ( )

Definition at line 42 of file VTitle.cxx.

Member Function Documentation

◆ changePosition()

void chart::VTitle::changePosition ( const css::awt::Point &  rPos)

◆ createShapes()

void chart::VTitle::createShapes ( const css::awt::Point &  rPos,
const css::awt::Size &  rReferenceSize,
const css::awt::Size &  nTextMaxWidth,
bool  bYAxisTitle 
)

◆ getFinalSize()

awt::Size chart::VTitle::getFinalSize ( ) const

◆ getRotationAnglePi()

double chart::VTitle::getRotationAnglePi ( ) const

Definition at line 54 of file VTitle.cxx.

References basegfx::deg2rad(), and m_fRotationAngleDegree.

◆ getUnrotatedSize()

awt::Size chart::VTitle::getUnrotatedSize ( ) const

Definition at line 59 of file VTitle.cxx.

References m_xShape.

◆ init()

void chart::VTitle::init ( const rtl::Reference< SvxShapeGroupAnyD > &  xTargetPage,
const OUString &  rCID 
)

Definition at line 46 of file VTitle.cxx.

References m_aCID, and m_xTarget.

◆ isVisible()

bool chart::VTitle::isVisible ( const rtl::Reference< ::chart::Title > &  xTitle)
static

Definition at line 95 of file VTitle.cxx.

References DBG_UNHANDLED_EXCEPTION.

Member Data Documentation

◆ m_aCID

OUString chart::VTitle::m_aCID
private

Definition at line 64 of file VTitle.hxx.

Referenced by createShapes(), and init().

◆ m_fRotationAngleDegree

double chart::VTitle::m_fRotationAngleDegree
private

Definition at line 66 of file VTitle.hxx.

Referenced by changePosition(), createShapes(), getFinalSize(), and getRotationAnglePi().

◆ m_nXPos

sal_Int32 chart::VTitle::m_nXPos
private

Definition at line 67 of file VTitle.hxx.

Referenced by changePosition(), and createShapes().

◆ m_nYPos

sal_Int32 chart::VTitle::m_nYPos
private

Definition at line 68 of file VTitle.hxx.

Referenced by changePosition(), and createShapes().

◆ m_xShape

rtl::Reference<SvxShapeText> chart::VTitle::m_xShape
private

Definition at line 63 of file VTitle.hxx.

Referenced by changePosition(), createShapes(), getFinalSize(), and getUnrotatedSize().

◆ m_xTarget

rtl::Reference<SvxShapeGroupAnyD> chart::VTitle::m_xTarget
private

Definition at line 61 of file VTitle.hxx.

Referenced by createShapes(), and init().

◆ m_xTitle

css::uno::Reference< css::chart2::XTitle > chart::VTitle::m_xTitle
private

Definition at line 62 of file VTitle.hxx.

Referenced by createShapes().


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