2007-07-25 07:34:04 +00:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
|
|
|
*
|
|
|
|
* $RCSfile: res_DataLabel.cxx,v $
|
|
|
|
*
|
2007-10-22 15:46:25 +00:00
|
|
|
* $Revision: 1.3 $
|
2007-07-25 07:34:04 +00:00
|
|
|
*
|
2007-10-22 15:46:25 +00:00
|
|
|
* last change: $Author: vg $ $Date: 2007-10-22 16:46:25 $
|
2007-07-25 07:34:04 +00:00
|
|
|
*
|
|
|
|
* The Contents of this file are made available subject to
|
|
|
|
* the terms of GNU Lesser General Public License Version 2.1.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* GNU Lesser General Public License Version 2.1
|
|
|
|
* =============================================
|
|
|
|
* Copyright 2005 by Sun Microsystems, Inc.
|
|
|
|
* 901 San Antonio Road, Palo Alto, CA 94303, USA
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License version 2.1, as published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
|
|
* MA 02111-1307 USA
|
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
// MARKER(update_precomp.py): autogen include statement, do not remove
|
|
|
|
#include "precompiled_chart2.hxx"
|
|
|
|
|
|
|
|
#include "res_DataLabel.hxx"
|
|
|
|
#include "res_DataLabel_IDs.hrc"
|
|
|
|
|
|
|
|
#include "Strings.hrc"
|
|
|
|
#include "ResId.hxx"
|
|
|
|
#include "chartview/ChartSfxItemIds.hxx"
|
|
|
|
#include "NoWarningThisInCTOR.hxx"
|
2007-10-22 15:46:25 +00:00
|
|
|
#include "dlg_NumberFormat.hxx"
|
2007-07-25 07:34:04 +00:00
|
|
|
|
|
|
|
// header for class SvxNumberInfoItem
|
|
|
|
#ifndef _SVX_NUMINF_HXX
|
|
|
|
#include <svx/numinf.hxx>
|
|
|
|
#endif
|
|
|
|
#ifndef _SFXENUMITEM_HXX
|
|
|
|
#include <svtools/eitem.hxx>
|
|
|
|
#endif
|
2007-10-22 15:46:25 +00:00
|
|
|
// for SfxUInt32Item
|
2007-07-25 07:34:04 +00:00
|
|
|
#ifndef _SFXINTITEM_HXX
|
|
|
|
#include <svtools/intitem.hxx>
|
|
|
|
#endif
|
2007-10-22 15:46:25 +00:00
|
|
|
// header for class SfxStringItem
|
|
|
|
#ifndef _SFXSTRITEM_HXX
|
|
|
|
#include <svtools/stritem.hxx>
|
|
|
|
#endif
|
2007-07-25 07:34:04 +00:00
|
|
|
// header for define RET_OK
|
|
|
|
#ifndef _SV_MSGBOX_HXX
|
|
|
|
#include <vcl/msgbox.hxx>
|
|
|
|
#endif
|
|
|
|
#ifndef _SVX_SVXIDS_HRC
|
|
|
|
#include <svx/svxids.hrc>
|
|
|
|
#endif
|
|
|
|
// header for SvNumberFormatter
|
|
|
|
#ifndef _ZFORLIST_HXX
|
|
|
|
#include <svtools/zforlist.hxx>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
//.............................................................................
|
|
|
|
namespace chart
|
|
|
|
{
|
|
|
|
//.............................................................................
|
|
|
|
|
|
|
|
namespace
|
|
|
|
{
|
|
|
|
|
2007-10-22 15:46:25 +00:00
|
|
|
bool lcl_ReadNumberFormatFromItemSet( const SfxItemSet& rSet, USHORT nValueWhich, USHORT nSourceFormatWhich, ULONG& rnFormatKeyOut, bool& rbSourceFormatOut, bool& rbSourceFormatMixedStateOut )
|
2007-07-25 07:34:04 +00:00
|
|
|
{
|
2007-10-22 15:46:25 +00:00
|
|
|
bool bSet = false;
|
2007-07-25 07:34:04 +00:00
|
|
|
const SfxPoolItem *pItem1 = NULL;
|
|
|
|
if( rSet.GetItemState( nValueWhich, TRUE, &pItem1 ) == SFX_ITEM_SET )
|
|
|
|
{
|
|
|
|
const SfxUInt32Item * pNumItem = dynamic_cast< const SfxUInt32Item * >( pItem1 );
|
|
|
|
if( pNumItem )
|
2007-10-22 15:46:25 +00:00
|
|
|
{
|
2007-07-25 07:34:04 +00:00
|
|
|
rnFormatKeyOut = pNumItem->GetValue();
|
2007-10-22 15:46:25 +00:00
|
|
|
bSet = true;
|
|
|
|
}
|
2007-07-25 07:34:04 +00:00
|
|
|
}
|
|
|
|
|
2007-10-22 15:46:25 +00:00
|
|
|
rbSourceFormatMixedStateOut=true;
|
2007-07-25 07:34:04 +00:00
|
|
|
const SfxPoolItem *pItem2 = NULL;
|
|
|
|
if( rSet.GetItemState( nSourceFormatWhich, TRUE, &pItem2 ) == SFX_ITEM_SET )
|
|
|
|
{
|
|
|
|
const SfxBoolItem * pBoolItem = dynamic_cast< const SfxBoolItem * >( pItem2 );
|
|
|
|
if( pBoolItem )
|
2007-10-22 15:46:25 +00:00
|
|
|
{
|
2007-07-25 07:34:04 +00:00
|
|
|
rbSourceFormatOut = pBoolItem->GetValue();
|
2007-10-22 15:46:25 +00:00
|
|
|
rbSourceFormatMixedStateOut=false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return bSet;
|
|
|
|
}
|
|
|
|
|
|
|
|
void lcl_setBoolItemToCheckBox( const SfxItemSet& rInAttrs, USHORT nWhichId, CheckBox& rCheckbox )
|
|
|
|
{
|
|
|
|
rCheckbox.EnableTriState( FALSE );
|
|
|
|
|
|
|
|
const SfxPoolItem *pPoolItem = NULL;
|
|
|
|
if( rInAttrs.GetItemState(nWhichId, TRUE, &pPoolItem) == SFX_ITEM_SET )
|
|
|
|
rCheckbox.Check( ((const SfxBoolItem*)pPoolItem)->GetValue() );
|
|
|
|
else
|
|
|
|
{
|
|
|
|
rCheckbox.EnableTriState( TRUE );
|
|
|
|
rCheckbox.SetState( STATE_DONTKNOW );
|
2007-07-25 07:34:04 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}//end anonymous namespace
|
|
|
|
|
|
|
|
DataLabelResources::DataLabelResources( Window* pWindow, const SfxItemSet& rInAttrs )
|
2007-10-22 15:46:25 +00:00
|
|
|
: m_aCBNumber(pWindow, SchResId(CB_VALUE_AS_NUMBER)),
|
|
|
|
m_aPB_NumberFormatForValue(pWindow, SchResId(PB_NUMBERFORMAT)),
|
|
|
|
m_aCBPercent(pWindow, SchResId(CB_VALUE_AS_PERCENTAGE)),
|
|
|
|
m_aPB_NumberFormatForPercent(pWindow, SchResId(PB_PERCENT_NUMBERFORMAT)),
|
|
|
|
m_aCBCategory(pWindow, SchResId(CB_CATEGORY)),
|
|
|
|
m_aCBSymbol(pWindow, SchResId(CB_SYMBOL)),
|
|
|
|
m_aSeparatorResources(pWindow),
|
2007-07-25 07:34:04 +00:00
|
|
|
m_pNumberFormatter(0),
|
2007-10-22 15:46:25 +00:00
|
|
|
m_bNumberFormatMixedState(true),
|
|
|
|
m_bPercentFormatMixedState(true),
|
2007-07-25 07:34:04 +00:00
|
|
|
m_nNumberFormatForValue(0),
|
|
|
|
m_nNumberFormatForPercent(11),
|
2007-10-22 15:46:25 +00:00
|
|
|
m_bSourceFormatMixedState(true),
|
|
|
|
m_bPercentSourceMixedState(true),
|
2007-07-25 07:34:04 +00:00
|
|
|
m_bSourceFormatForValue(true),
|
|
|
|
m_bSourceFormatForPercent(true),
|
|
|
|
m_pWindow(pWindow),
|
|
|
|
m_pPool(rInAttrs.GetPool())
|
|
|
|
{
|
2007-10-22 15:46:25 +00:00
|
|
|
Size aPBSize( m_aPB_NumberFormatForPercent.GetSizePixel() );
|
|
|
|
long nMinWidth = ::std::max( m_aPB_NumberFormatForPercent.CalcMinimumSize().getWidth(), m_aPB_NumberFormatForValue.CalcMinimumSize().getWidth() );
|
|
|
|
aPBSize.setWidth( nMinWidth+20 );//the min with is to small to fit, hm... so add alittle
|
|
|
|
|
|
|
|
m_aPB_NumberFormatForValue.SetSizePixel( aPBSize );
|
|
|
|
m_aPB_NumberFormatForPercent.SetSizePixel( aPBSize );
|
2007-07-25 07:34:04 +00:00
|
|
|
|
2007-10-22 15:46:25 +00:00
|
|
|
long nWantedMinRightBorder = m_aPB_NumberFormatForPercent.GetPosPixel().X() + m_aPB_NumberFormatForPercent.GetSizePixel().Width() - 1;
|
2007-07-25 07:34:04 +00:00
|
|
|
|
2007-10-22 15:46:25 +00:00
|
|
|
m_aSeparatorResources.PositionBelowControl(m_aCBSymbol);
|
|
|
|
m_aSeparatorResources.AlignListBoxWidthAndXPos( -1, nWantedMinRightBorder );
|
|
|
|
m_aSeparatorResources.Show(true);
|
2007-07-25 07:34:04 +00:00
|
|
|
|
2007-10-22 15:46:25 +00:00
|
|
|
m_aPB_NumberFormatForValue.SetClickHdl( LINK( this, DataLabelResources, NumberFormatDialogHdl ) );
|
|
|
|
m_aPB_NumberFormatForPercent.SetClickHdl( LINK( this, DataLabelResources, NumberFormatDialogHdl ) );
|
|
|
|
m_aCBNumber.SetClickHdl( LINK( this, DataLabelResources, CheckHdl ));
|
|
|
|
m_aCBPercent.SetClickHdl( LINK( this, DataLabelResources, CheckHdl ));
|
|
|
|
m_aCBCategory.SetClickHdl( LINK( this, DataLabelResources, CheckHdl ));
|
|
|
|
m_aCBSymbol.SetClickHdl( LINK( this, DataLabelResources, CheckHdl ));
|
|
|
|
|
|
|
|
m_bNumberFormatMixedState = !lcl_ReadNumberFormatFromItemSet( rInAttrs, SID_ATTR_NUMBERFORMAT_VALUE, SID_ATTR_NUMBERFORMAT_SOURCE, m_nNumberFormatForValue, m_bSourceFormatForValue, m_bSourceFormatMixedState );
|
|
|
|
m_bPercentFormatMixedState = !lcl_ReadNumberFormatFromItemSet( rInAttrs, SCHATTR_PERCENT_NUMBERFORMAT_VALUE, SCHATTR_PERCENT_NUMBERFORMAT_SOURCE, m_nNumberFormatForPercent, m_bSourceFormatForPercent , m_bPercentSourceMixedState);
|
2007-07-25 07:34:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DataLabelResources::~DataLabelResources()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void DataLabelResources::SetNumberFormatter( SvNumberFormatter* pFormatter )
|
|
|
|
{
|
|
|
|
m_pNumberFormatter = pFormatter;
|
|
|
|
}
|
2007-10-22 15:46:25 +00:00
|
|
|
|
2007-07-25 07:34:04 +00:00
|
|
|
IMPL_LINK( DataLabelResources, NumberFormatDialogHdl, PushButton *, pButton )
|
|
|
|
{
|
|
|
|
if( !m_pPool || !m_pNumberFormatter )
|
|
|
|
{
|
|
|
|
DBG_ERROR("Missing item pool or number formatter");
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2007-10-22 15:46:25 +00:00
|
|
|
if( pButton == &m_aPB_NumberFormatForValue && !m_aCBNumber.IsChecked())
|
|
|
|
m_aCBNumber.Check();
|
|
|
|
else if( pButton == &m_aPB_NumberFormatForPercent && !m_aCBPercent.IsChecked())
|
|
|
|
m_aCBPercent.Check();
|
2007-07-25 07:34:04 +00:00
|
|
|
|
|
|
|
SfxItemSet aNumberSet = NumberFormatDialog::CreateEmptyItemSetForNumberFormatDialog( *m_pPool );
|
|
|
|
aNumberSet.Put (SvxNumberInfoItem( m_pNumberFormatter, (const USHORT)SID_ATTR_NUMBERFORMAT_INFO));
|
|
|
|
|
|
|
|
bool bPercent = ( pButton == &m_aPB_NumberFormatForPercent );
|
|
|
|
|
|
|
|
ULONG& rnFormatKey = bPercent ? m_nNumberFormatForPercent : m_nNumberFormatForValue;
|
|
|
|
bool& rUseSourceFormat = bPercent ? m_bSourceFormatForPercent : m_bSourceFormatForValue;
|
2007-10-22 15:46:25 +00:00
|
|
|
bool& rbMixedState = bPercent ? m_bPercentFormatMixedState : m_bNumberFormatMixedState;
|
|
|
|
bool& rbSourceMixedState = bPercent ? m_bPercentSourceMixedState : m_bSourceFormatMixedState;
|
2007-07-25 07:34:04 +00:00
|
|
|
|
2007-10-22 15:46:25 +00:00
|
|
|
if(!rbMixedState)
|
|
|
|
aNumberSet.Put( SfxUInt32Item( SID_ATTR_NUMBERFORMAT_VALUE, rnFormatKey ));
|
2007-07-25 07:34:04 +00:00
|
|
|
aNumberSet.Put( SfxBoolItem( SID_ATTR_NUMBERFORMAT_SOURCE, rUseSourceFormat ));
|
|
|
|
|
|
|
|
NumberFormatDialog aDlg(m_pWindow, aNumberSet);
|
|
|
|
if( bPercent )
|
|
|
|
aDlg.SetText( String( SchResId( STR_DLG_NUMBERFORMAT_FOR_PERCENTAGE_VALUE ) ) );
|
|
|
|
if( RET_OK == aDlg.Execute() )
|
|
|
|
{
|
|
|
|
const SfxItemSet* pResult = aDlg.GetOutputItemSet();
|
|
|
|
if( pResult )
|
2007-10-22 15:46:25 +00:00
|
|
|
{
|
|
|
|
bool bOldSource = rUseSourceFormat;
|
|
|
|
ULONG nOldFormat = rnFormatKey;
|
|
|
|
bool bOldMixedState = rbMixedState || rbSourceMixedState;
|
|
|
|
|
|
|
|
rbMixedState = !lcl_ReadNumberFormatFromItemSet( *pResult, SID_ATTR_NUMBERFORMAT_VALUE, SID_ATTR_NUMBERFORMAT_SOURCE, rnFormatKey, rUseSourceFormat, rbSourceMixedState );
|
|
|
|
|
|
|
|
//todo this maybe can be removed when the numberformatter dialog does handle mixed state for source format correctly
|
|
|
|
if( bOldMixedState && bOldSource == rUseSourceFormat && nOldFormat == rnFormatKey )
|
|
|
|
rbMixedState = rbSourceMixedState = true;
|
|
|
|
}
|
2007-07-25 07:34:04 +00:00
|
|
|
}
|
|
|
|
return 0;
|
|
|
|
}
|
2007-10-22 15:46:25 +00:00
|
|
|
|
2007-07-25 07:34:04 +00:00
|
|
|
IMPL_LINK( DataLabelResources, CheckHdl, CheckBox*, pBox )
|
|
|
|
{
|
2007-10-22 15:46:25 +00:00
|
|
|
if( pBox )
|
|
|
|
pBox->EnableTriState( FALSE );
|
2007-07-25 07:34:04 +00:00
|
|
|
EnableControls();
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
void DataLabelResources::EnableControls()
|
|
|
|
{
|
2007-10-22 15:46:25 +00:00
|
|
|
m_aCBSymbol.Enable( m_aCBNumber.IsChecked() || m_aCBPercent.IsChecked() || m_aCBCategory.IsChecked() );
|
2007-07-25 07:34:04 +00:00
|
|
|
|
2007-10-22 15:46:25 +00:00
|
|
|
//enable separator
|
|
|
|
{
|
|
|
|
long nNumberOfCheckedLabelParts = 0;
|
|
|
|
if( m_aCBNumber.IsChecked() )
|
|
|
|
++nNumberOfCheckedLabelParts;
|
|
|
|
if( m_aCBPercent.IsChecked() )
|
|
|
|
++nNumberOfCheckedLabelParts;
|
|
|
|
if( m_aCBCategory.IsChecked() )
|
|
|
|
++nNumberOfCheckedLabelParts;
|
|
|
|
m_aSeparatorResources.Enable( nNumberOfCheckedLabelParts > 1 );
|
|
|
|
}
|
2007-07-25 07:34:04 +00:00
|
|
|
|
2007-10-22 15:46:25 +00:00
|
|
|
m_aPB_NumberFormatForValue.Enable( m_pNumberFormatter && m_aCBNumber.IsChecked() );
|
|
|
|
m_aPB_NumberFormatForPercent.Enable( m_pNumberFormatter && m_aCBPercent.IsChecked() );
|
2007-07-25 07:34:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
BOOL DataLabelResources::FillItemSet( SfxItemSet& rOutAttrs ) const
|
|
|
|
{
|
2007-10-22 15:46:25 +00:00
|
|
|
if( m_aCBNumber.IsChecked() )
|
2007-07-25 07:34:04 +00:00
|
|
|
{
|
2007-10-22 15:46:25 +00:00
|
|
|
if( !m_bNumberFormatMixedState )
|
|
|
|
rOutAttrs.Put( SfxUInt32Item( SID_ATTR_NUMBERFORMAT_VALUE, m_nNumberFormatForValue ));
|
|
|
|
if( !m_bSourceFormatMixedState )
|
|
|
|
rOutAttrs.Put( SfxBoolItem( SID_ATTR_NUMBERFORMAT_SOURCE, m_bSourceFormatForValue ));
|
2007-07-25 07:34:04 +00:00
|
|
|
}
|
2007-10-22 15:46:25 +00:00
|
|
|
if( m_aCBPercent.IsChecked() )
|
2007-07-25 07:34:04 +00:00
|
|
|
{
|
2007-10-22 15:46:25 +00:00
|
|
|
if( !m_bPercentFormatMixedState )
|
|
|
|
rOutAttrs.Put( SfxUInt32Item( SCHATTR_PERCENT_NUMBERFORMAT_VALUE, m_nNumberFormatForPercent ));
|
|
|
|
if( !m_bPercentSourceMixedState )
|
|
|
|
rOutAttrs.Put( SfxBoolItem( SCHATTR_PERCENT_NUMBERFORMAT_SOURCE, m_bSourceFormatForPercent ));
|
2007-07-25 07:34:04 +00:00
|
|
|
}
|
2007-10-22 15:46:25 +00:00
|
|
|
|
|
|
|
if( m_aCBNumber.GetState()!= STATE_DONTKNOW )
|
|
|
|
rOutAttrs.Put( SfxBoolItem( SCHATTR_DATADESCR_SHOW_NUMBER, m_aCBNumber.IsChecked() ) );
|
|
|
|
if( m_aCBPercent.GetState()!= STATE_DONTKNOW )
|
|
|
|
rOutAttrs.Put( SfxBoolItem( SCHATTR_DATADESCR_SHOW_PERCENTAGE, m_aCBPercent.IsChecked() ) );
|
|
|
|
if( m_aCBCategory.GetState()!= STATE_DONTKNOW )
|
|
|
|
rOutAttrs.Put( SfxBoolItem( SCHATTR_DATADESCR_SHOW_CATEGORY, m_aCBCategory.IsChecked() ) );
|
|
|
|
if( m_aCBSymbol.GetState()!= STATE_DONTKNOW )
|
|
|
|
rOutAttrs.Put( SfxBoolItem( SCHATTR_DATADESCR_SHOW_SYMBOL, m_aCBSymbol.IsChecked()) );
|
|
|
|
|
|
|
|
rOutAttrs.Put( SfxStringItem( SCHATTR_DATADESCR_SEPARATOR, m_aSeparatorResources.GetValue() ) );
|
|
|
|
|
2007-07-25 07:34:04 +00:00
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
|
|
|
|
void DataLabelResources::Reset(const SfxItemSet& rInAttrs)
|
|
|
|
{
|
|
|
|
// default state
|
2007-10-22 15:46:25 +00:00
|
|
|
m_aCBSymbol.Enable( FALSE );
|
2007-07-25 07:34:04 +00:00
|
|
|
|
2007-10-22 15:46:25 +00:00
|
|
|
lcl_setBoolItemToCheckBox( rInAttrs, SCHATTR_DATADESCR_SHOW_NUMBER, m_aCBNumber );
|
|
|
|
lcl_setBoolItemToCheckBox( rInAttrs, SCHATTR_DATADESCR_SHOW_PERCENTAGE, m_aCBPercent );
|
|
|
|
lcl_setBoolItemToCheckBox( rInAttrs, SCHATTR_DATADESCR_SHOW_CATEGORY, m_aCBCategory );
|
|
|
|
lcl_setBoolItemToCheckBox( rInAttrs, SCHATTR_DATADESCR_SHOW_SYMBOL, m_aCBSymbol );
|
2007-07-25 07:34:04 +00:00
|
|
|
|
2007-10-22 15:46:25 +00:00
|
|
|
m_bNumberFormatMixedState = !lcl_ReadNumberFormatFromItemSet( rInAttrs, SID_ATTR_NUMBERFORMAT_VALUE, SID_ATTR_NUMBERFORMAT_SOURCE, m_nNumberFormatForValue, m_bSourceFormatForValue, m_bSourceFormatMixedState );
|
|
|
|
m_bPercentFormatMixedState = !lcl_ReadNumberFormatFromItemSet( rInAttrs, SCHATTR_PERCENT_NUMBERFORMAT_VALUE, SCHATTR_PERCENT_NUMBERFORMAT_SOURCE, m_nNumberFormatForPercent, m_bSourceFormatForPercent , m_bPercentSourceMixedState);
|
2007-07-25 07:34:04 +00:00
|
|
|
|
2007-10-22 15:46:25 +00:00
|
|
|
const SfxPoolItem *pPoolItem = NULL;
|
|
|
|
if( rInAttrs.GetItemState(SCHATTR_DATADESCR_SEPARATOR, TRUE, &pPoolItem) == SFX_ITEM_SET )
|
|
|
|
m_aSeparatorResources.SetValue( ((const SfxStringItem*)pPoolItem)->GetValue() );
|
2007-07-25 07:34:04 +00:00
|
|
|
else
|
2007-10-22 15:46:25 +00:00
|
|
|
m_aSeparatorResources.SetDefault();
|
2007-07-25 07:34:04 +00:00
|
|
|
|
|
|
|
EnableControls();
|
|
|
|
}
|
|
|
|
|
|
|
|
//.............................................................................
|
|
|
|
} //namespace chart
|
|
|
|
//.............................................................................
|