summaryrefslogtreecommitdiffstats
path: root/chart2/source/view/main/VTitle.hxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-05-22 18:27:38 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-05-22 18:27:38 +0000
commit8f8b9314210c81b3e2bb0c2d5ea12bdec6b78689 (patch)
tree6bded8a1e9f3446109013015dc197e7de998d034 /chart2/source/view/main/VTitle.hxx
parentINTEGRATION: CWS chart2mst3 (1.9.8); FILE MERGED (diff)
downloadcore-8f8b9314210c81b3e2bb0c2d5ea12bdec6b78689.tar.gz
core-8f8b9314210c81b3e2bb0c2d5ea12bdec6b78689.zip
INTEGRATION: CWS chart2mst3 (1.7.12); FILE MERGED
2005/12/21 21:29:45 iha 1.7.12.2: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/01 16:42:01 iha 1.7.12.1: #124571# load & save position of rotated titles correctly
Diffstat (limited to 'chart2/source/view/main/VTitle.hxx')
-rw-r--r--chart2/source/view/main/VTitle.hxx13
1 files changed, 8 insertions, 5 deletions
diff --git a/chart2/source/view/main/VTitle.hxx b/chart2/source/view/main/VTitle.hxx
index 74f3306c9339..ac34370bd4d7 100644
--- a/chart2/source/view/main/VTitle.hxx
+++ b/chart2/source/view/main/VTitle.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: VTitle.hxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 01:52:29 $
+ * last change: $Author: vg $ $Date: 2007-05-22 19:27:38 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -59,17 +59,19 @@ class VTitle
{
public:
VTitle( const ::com::sun::star::uno::Reference<
- ::com::sun::star::chart2::XTitle > & xTitle
- , double fAdditionalRotationAngleDegree=0.0 ); //the shape will be rotated by the sum of this value and the rotation given by the title model
+ ::com::sun::star::chart2::XTitle > & xTitle );
virtual ~VTitle();
void SAL_CALL init( const ::com::sun::star::uno::Reference<
::com::sun::star::drawing::XShapes >& xTargetPage
- , const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xFactory);
+ , const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xFactory
+ , const rtl::OUString& rCID );
void createShapes( const ::com::sun::star::awt::Point& rPos
, const ::com::sun::star::awt::Size& rReferenceSize );
+ double getRotationAnglePi() const;
+ ::com::sun::star::awt::Size getUnrotatedSize() const;
::com::sun::star::awt::Size getFinalSize() const;
void changePosition( const ::com::sun::star::awt::Point& rPos );
@@ -82,6 +84,7 @@ private:
::com::sun::star::chart2::XTitle > m_xTitle;
::com::sun::star::uno::Reference<
::com::sun::star::drawing::XShape > m_xShape;
+ rtl::OUString m_aCID;
double m_fRotationAngleDegree;
sal_Int32 m_nXPos;