TitleHelper problems
This commit is contained in:
parent
f9af9761e1
commit
0c5988929b
6 changed files with 26 additions and 23 deletions
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: ChartController_Insert.cxx,v $
|
||||
*
|
||||
* $Revision: 1.1.1.1 $
|
||||
* $Revision: 1.2 $
|
||||
*
|
||||
* last change: $Author: bm $ $Date: 2003-10-06 09:58:28 $
|
||||
* last change: $Author: bm $ $Date: 2003-10-06 12:54:07 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -296,7 +296,9 @@ void fillInsertTitleDialogDataFromModel( InsertTitleDialogData& rDialogData
|
|||
|
||||
//find out which title exsist and get their text
|
||||
//main title:
|
||||
for( sal_Int32 nTitleIndex = 0; nTitleIndex<5; nTitleIndex++)
|
||||
for( sal_Int32 nTitleIndex = static_cast< sal_Int32 >( TitleHelper::TITLE_BEGIN);
|
||||
nTitleIndex < static_cast< sal_Int32 >( TitleHelper::TITLE_END );
|
||||
nTitleIndex++)
|
||||
{
|
||||
uno::Reference< XTitle > xTitle = TitleHelper::getTitle(
|
||||
static_cast< TitleHelper::eTitleType >( nTitleIndex ), xChartModel );
|
||||
|
@ -314,7 +316,9 @@ bool changeExistingTitles( const uno::Reference< frame::XModel >& xModel
|
|||
, const uno::Reference< uno::XComponentContext >& xContext )
|
||||
{
|
||||
bool bChanged = false;
|
||||
for(sal_Int32 nN=0;nN<5;nN++)
|
||||
for( sal_Int32 nN = static_cast< sal_Int32 >( TitleHelper::TITLE_BEGIN );
|
||||
nN < static_cast< sal_Int32 >( TitleHelper::TITLE_END );
|
||||
nN++)
|
||||
{
|
||||
if( rOldState.aExistenceList[nN] != rNewState.aExistenceList[nN] )
|
||||
{
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: ChartController_Properties.cxx,v $
|
||||
*
|
||||
* $Revision: 1.1.1.1 $
|
||||
* $Revision: 1.2 $
|
||||
*
|
||||
* last change: $Author: bm $ $Date: 2003-10-06 09:58:28 $
|
||||
* last change: $Author: bm $ $Date: 2003-10-06 12:54:08 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -375,13 +375,13 @@ rtl::OUString getTitleIDForSlotId( sal_Int32 nSlotID, const uno::Reference< XCha
|
|||
aRet = TitleHelper::getIdentifierForTitle(TitleHelper::SUB_TITLE);
|
||||
break;
|
||||
case SID_DIAGRAM_TITLE_X:
|
||||
aRet = TitleHelper::getIdentifierForTitle(TitleHelper::X_AXIS_TITLE);
|
||||
// aRet = TitleHelper::getIdentifierForTitle(TitleHelper::X_AXIS_TITLE);
|
||||
break;
|
||||
case SID_DIAGRAM_TITLE_Y:
|
||||
aRet = TitleHelper::getIdentifierForTitle(TitleHelper::Y_AXIS_TITLE);
|
||||
// aRet = TitleHelper::getIdentifierForTitle(TitleHelper::Y_AXIS_TITLE);
|
||||
break;
|
||||
case SID_DIAGRAM_TITLE_Z:
|
||||
aRet = TitleHelper::getIdentifierForTitle(TitleHelper::Z_AXIS_TITLE);
|
||||
// aRet = TitleHelper::getIdentifierForTitle(TitleHelper::Z_AXIS_TITLE);
|
||||
break;
|
||||
case SID_DIAGRAM_TITLE_ALL:
|
||||
break;
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: TitleHelper.hxx,v $
|
||||
*
|
||||
* $Revision: 1.1.1.1 $
|
||||
* $Revision: 1.2 $
|
||||
*
|
||||
* last change: $Author: bm $ $Date: 2003-10-06 09:58:29 $
|
||||
* last change: $Author: bm $ $Date: 2003-10-06 12:54:11 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -82,13 +82,15 @@ class TitleHelper
|
|||
public:
|
||||
enum eTitleType
|
||||
{
|
||||
MAIN_TITLE,
|
||||
TITLE_BEGIN = 0,
|
||||
MAIN_TITLE = 0,
|
||||
SUB_TITLE,
|
||||
X_AXIS_TITLE,
|
||||
Y_AXIS_TITLE,
|
||||
Z_AXIS_TITLE,
|
||||
SECOND_X_AXIS_TITLE,
|
||||
SECOND_Y_AXIS_TITLE
|
||||
// SECOND_X_AXIS_TITLE,
|
||||
// SECOND_Y_AXIS_TITLE,
|
||||
TITLE_END
|
||||
};
|
||||
|
||||
static rtl::OUString getIdentifierForTitle( eTitleType nTitleIndex );
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: Diagram.cxx,v $
|
||||
*
|
||||
* $Revision: 1.1.1.1 $
|
||||
* $Revision: 1.2 $
|
||||
*
|
||||
* last change: $Author: bm $ $Date: 2003-10-06 09:58:31 $
|
||||
* last change: $Author: bm $ $Date: 2003-10-06 12:54:13 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -63,7 +63,6 @@
|
|||
#include "PropertyHelper.hxx"
|
||||
#include "algohelper.hxx"
|
||||
#include "Wall.hxx"
|
||||
#include "TitleHelper.hxx"
|
||||
#include "ContextHelper.hxx"
|
||||
#include "UserDefinedProperties.hxx"
|
||||
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: ImplChartModel.cxx,v $
|
||||
*
|
||||
* $Revision: 1.1.1.1 $
|
||||
* $Revision: 1.2 $
|
||||
*
|
||||
* last change: $Author: bm $ $Date: 2003-10-06 09:58:31 $
|
||||
* last change: $Author: bm $ $Date: 2003-10-06 12:54:15 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -67,7 +67,6 @@
|
|||
#include "macros.hxx"
|
||||
#include "algohelper.hxx"
|
||||
#include "ContextHelper.hxx"
|
||||
#include "TitleHelper.hxx"
|
||||
// #include "SplitLayoutContainer.hxx"
|
||||
#include "LayoutDefaults.hxx"
|
||||
#include "ChartDocumentWrapper.hxx"
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: ChartTypeTemplate.cxx,v $
|
||||
*
|
||||
* $Revision: 1.1.1.1 $
|
||||
* $Revision: 1.2 $
|
||||
*
|
||||
* last change: $Author: bm $ $Date: 2003-10-06 09:58:32 $
|
||||
* last change: $Author: bm $ $Date: 2003-10-06 12:54:18 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -64,7 +64,6 @@
|
|||
#include "macros.hxx"
|
||||
#include "ContextHelper.hxx"
|
||||
#include "Scale.hxx"
|
||||
#include "TitleHelper.hxx"
|
||||
|
||||
#include "Diagram.hxx"
|
||||
#include "Scaling.hxx"
|
||||
|
|
Loading…
Reference in a new issue