Bin some newly unused methods
Change-Id: I1bbbdbb68f073d19b7d99b5ccb4985efd5bde80c
This commit is contained in:
@@ -812,9 +812,6 @@ public:
|
|||||||
virtual ApiControlType getControlType() const;
|
virtual ApiControlType getControlType() const;
|
||||||
virtual void convertProperties( PropertyMap& rPropMap, const ControlConverter& rConv ) const;
|
virtual void convertProperties( PropertyMap& rPropMap, const ControlConverter& rConv ) const;
|
||||||
|
|
||||||
/** Returns the caption with the specified zero-based index. */
|
|
||||||
::rtl::OUString getCaption( sal_Int32 nIndex ) const;
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
AxStringArray maCaptions; ///< Captions of all tabs.
|
AxStringArray maCaptions; ///< Captions of all tabs.
|
||||||
sal_uInt32 mnBackColor; ///< Fill color.
|
sal_uInt32 mnBackColor; ///< Fill color.
|
||||||
@@ -906,10 +903,6 @@ public:
|
|||||||
virtual ApiControlType getControlType() const;
|
virtual ApiControlType getControlType() const;
|
||||||
virtual void convertProperties( PropertyMap& rPropMap, const ControlConverter& rConv ) const;
|
virtual void convertProperties( PropertyMap& rPropMap, const ControlConverter& rConv ) const;
|
||||||
|
|
||||||
/** Sets the tabstrip control model related to this multipage control.
|
|
||||||
Contains all formatting attributes of the page tabs. */
|
|
||||||
void setTabStripModel( const AxTabStripModelRef& rxTabStrip );
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
AxTabStripModelRef mxTabStrip;
|
AxTabStripModelRef mxTabStrip;
|
||||||
};
|
};
|
||||||
|
@@ -123,8 +123,6 @@ public:
|
|||||||
|
|
||||||
/** Returns the programmatical name of the control. */
|
/** Returns the programmatical name of the control. */
|
||||||
::rtl::OUString getControlName() const;
|
::rtl::OUString getControlName() const;
|
||||||
/** Returns the unique identifier of this control. */
|
|
||||||
sal_Int32 getControlId() const;
|
|
||||||
|
|
||||||
/** Creates the UNO control model, inserts it into the passed container,
|
/** Creates the UNO control model, inserts it into the passed container,
|
||||||
and converts all control properties. */
|
and converts all control properties. */
|
||||||
|
@@ -74,8 +74,6 @@ public:
|
|||||||
const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& rxDocObjectNA ) const;
|
const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& rxDocObjectNA ) const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void extractOleOverrideFromAttr( const rtl::OUString& rAttribute,
|
|
||||||
const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer >& rxOleNameOverrides ) const;
|
|
||||||
/** Reads and returns the VBA source code from the passed storage. */
|
/** Reads and returns the VBA source code from the passed storage. */
|
||||||
::rtl::OUString readSourceCode( StorageBase& rVbaStrg ) const;
|
::rtl::OUString readSourceCode( StorageBase& rVbaStrg ) const;
|
||||||
|
|
||||||
|
@@ -2319,11 +2319,6 @@ void AxTabStripModel::convertProperties( PropertyMap& rPropMap, const ControlCon
|
|||||||
AxFontDataModel::convertProperties( rPropMap, rConv );
|
AxFontDataModel::convertProperties( rPropMap, rConv );
|
||||||
}
|
}
|
||||||
|
|
||||||
OUString AxTabStripModel::getCaption( sal_Int32 nIndex ) const
|
|
||||||
{
|
|
||||||
return ContainerHelper::getVectorElement( maCaptions, nIndex, OUString() );
|
|
||||||
}
|
|
||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
|
||||||
AxContainerModelBase::AxContainerModelBase( bool bFontSupport ) :
|
AxContainerModelBase::AxContainerModelBase( bool bFontSupport ) :
|
||||||
@@ -2489,11 +2484,6 @@ void AxMultiPageModel::convertProperties( PropertyMap& rPropMap, const ControlCo
|
|||||||
AxContainerModelBase::convertProperties( rPropMap, rConv );
|
AxContainerModelBase::convertProperties( rPropMap, rConv );
|
||||||
}
|
}
|
||||||
|
|
||||||
void AxMultiPageModel::setTabStripModel( const AxTabStripModelRef& rxTabStrip )
|
|
||||||
{
|
|
||||||
mxTabStrip = rxTabStrip;
|
|
||||||
}
|
|
||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
|
||||||
AxUserFormModel::AxUserFormModel()
|
AxUserFormModel::AxUserFormModel()
|
||||||
|
@@ -363,11 +363,6 @@ OUString VbaFormControl::getControlName() const
|
|||||||
return mxSiteModel.get() ? mxSiteModel->getName() : OUString();
|
return mxSiteModel.get() ? mxSiteModel->getName() : OUString();
|
||||||
}
|
}
|
||||||
|
|
||||||
sal_Int32 VbaFormControl::getControlId() const
|
|
||||||
{
|
|
||||||
return mxSiteModel.get() ? mxSiteModel->getId() : -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
void VbaFormControl::createAndConvert( sal_Int32 nCtrlIndex,
|
void VbaFormControl::createAndConvert( sal_Int32 nCtrlIndex,
|
||||||
const Reference< XNameContainer >& rxParentNC, const ControlConverter& rConv ) const
|
const Reference< XNameContainer >& rxParentNC, const ControlConverter& rConv ) const
|
||||||
{
|
{
|
||||||
|
@@ -327,32 +327,6 @@ OUString VbaModule::readSourceCode( StorageBase& rVbaStrg ) const
|
|||||||
return aSourceCode.makeStringAndClear();
|
return aSourceCode.makeStringAndClear();
|
||||||
}
|
}
|
||||||
|
|
||||||
void VbaModule::extractOleOverrideFromAttr( const OUString& rAttribute,
|
|
||||||
const Reference< container::XNameContainer >& rxOleNameOverrides ) const
|
|
||||||
{
|
|
||||||
// format of the attribute we are interested in is
|
|
||||||
// Attribute VB_Control = "ControlName", intString, MSForms, ControlTypeAsString
|
|
||||||
// e.g.
|
|
||||||
// Attribute VB_Control = "CommandButton1, 201, 19, MSForms, CommandButton"
|
|
||||||
OUString sControlAttribute = CREATE_OUSTRING( "Attribute VB_Control = \"" );
|
|
||||||
if ( rxOleNameOverrides.is() && rAttribute.indexOf( sControlAttribute ) != -1 )
|
|
||||||
{
|
|
||||||
OUString sRest = rAttribute.copy( sControlAttribute.getLength() );
|
|
||||||
sal_Int32 nPos = sRest.indexOf( ',' );
|
|
||||||
OUString sCntrlName = sRest.copy( 0, nPos );
|
|
||||||
|
|
||||||
sal_Int32 nCntrlId = sRest.copy( nPos + 1 ).copy( 0, sRest.indexOf( ',', nPos + 1) ).toInt32();
|
|
||||||
OSL_TRACE("In module %s, assiging %d controlname %s",
|
|
||||||
rtl::OUStringToOString( maName, RTL_TEXTENCODING_UTF8 ).getStr(), nCntrlId,
|
|
||||||
rtl::OUStringToOString( sCntrlName, RTL_TEXTENCODING_UTF8 ).getStr() );
|
|
||||||
if ( !rxOleNameOverrides->hasByName( maName ) )
|
|
||||||
rxOleNameOverrides->insertByName( maName, Any( Reference< container::XIndexContainer> ( new OleIdToNameContainer ) ) );
|
|
||||||
Reference< container::XIndexContainer > xIdToOleName;
|
|
||||||
if ( rxOleNameOverrides->getByName( maName ) >>= xIdToOleName )
|
|
||||||
xIdToOleName->insertByIndex( nCntrlId, makeAny( sCntrlName ) );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void VbaModule::createModule( const OUString& rVBASourceCode,
|
void VbaModule::createModule( const OUString& rVBASourceCode,
|
||||||
const Reference< container::XNameContainer >& rxBasicLib,
|
const Reference< container::XNameContainer >& rxBasicLib,
|
||||||
const Reference< container::XNameAccess >& rxDocObjectNA ) const
|
const Reference< container::XNameAccess >& rxDocObjectNA ) const
|
||||||
|
@@ -87,11 +87,7 @@ jfw_plugin::VendorBase::createInstance()
|
|||||||
oox::drawingml::TextListStyle::dump() const
|
oox::drawingml::TextListStyle::dump() const
|
||||||
oox::ole::AxFormPageModel::AxFormPageModel()
|
oox::ole::AxFormPageModel::AxFormPageModel()
|
||||||
oox::ole::AxMultiPageModel::AxMultiPageModel()
|
oox::ole::AxMultiPageModel::AxMultiPageModel()
|
||||||
oox::ole::AxMultiPageModel::setTabStripModel(boost::shared_ptr<oox::ole::AxTabStripModel> const&)
|
|
||||||
oox::ole::AxTabStripModel::AxTabStripModel()
|
oox::ole::AxTabStripModel::AxTabStripModel()
|
||||||
oox::ole::AxTabStripModel::getCaption(int) const
|
|
||||||
oox::ole::VbaFormControl::getControlId() const
|
|
||||||
oox::ole::VbaModule::extractOleOverrideFromAttr(rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const&) const
|
|
||||||
oox::xls::BiffDrawingObjectBase::BiffDrawingObjectBase(oox::xls::WorksheetHelper const&)
|
oox::xls::BiffDrawingObjectBase::BiffDrawingObjectBase(oox::xls::WorksheetHelper const&)
|
||||||
sd::ClientBox::GetMinOutputSizePixel() const
|
sd::ClientBox::GetMinOutputSizePixel() const
|
||||||
sd::ClientBox::RemoveUnlocked()
|
sd::ClientBox::RemoveUnlocked()
|
||||||
|
Reference in New Issue
Block a user