Kaydet (Commit) 1d852b32 authored tarafından Noel Grandin's avatar Noel Grandin Kaydeden (comit) Noel Grandin

loplugin:unusedmethods svx

Change-Id: I92158457b3ffaaf7c84c6f4c87708d766c8c9f61
Reviewed-on: https://gerrit.libreoffice.org/17117Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
Tested-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst 383b75f4
......@@ -399,16 +399,6 @@ const SfxItemSet* AbstractSvxZoomDialog_Impl::GetOutputItemSet() const
return pDlg->GetOutputItemSet();
}
void AbstractSpellDialog_Impl::SetLanguage( sal_uInt16 nLang )
{
pDlg->SetLanguage(nLang);
}
bool AbstractSpellDialog_Impl::Close()
{
return pDlg->Close();
}
void AbstractSpellDialog_Impl::Invalidate()
{
pDlg->InvalidateDialog();
......@@ -429,35 +419,11 @@ void AbstractSearchProgress_Impl::Update()
pDlg->Update();
}
void AbstractSearchProgress_Impl::SetFileType( const OUString& rType )
{
pDlg->SetFileType( rType );
}
void AbstractSearchProgress_Impl::SetDirectory( const INetURLObject& rURL )
{
pDlg->SetDirectory( rURL );
}
PLinkStub AbstractSearchProgress_Impl::GetLinkStubCleanUpHdl()
{
return SearchProgress::LinkStubCleanUpHdl;
}
void AbstractTakeProgress_Impl::Update()
{
pDlg->Update();
}
void AbstractTakeProgress_Impl::SetFile( const INetURLObject& rURL )
{
pDlg->SetFile( rURL );
}
PLinkStub AbstractTakeProgress_Impl::GetLinkStubCleanUpHdl()
{
return TakeProgress::LinkStubCleanUpHdl;
}
OUString AbstractTitleDialog_Impl::GetTitle() const
{
return pDlg->GetTitle();
......@@ -498,56 +464,6 @@ OUString AbstractURLDlg_Impl::GetName() const
return pDlg->GetName();
}
void AbstractSvxHlinkDlgMarkWnd_Impl::Hide()
{
static_cast<vcl::Window*>(pDlg)->Hide();
}
void AbstractSvxHlinkDlgMarkWnd_Impl::SetSizePixel( const Size& rNewSize )
{
pDlg->SetSizePixel( rNewSize );
}
Size AbstractSvxHlinkDlgMarkWnd_Impl::GetSizePixel() const
{
return pDlg->GetSizePixel();
}
bool AbstractSvxHlinkDlgMarkWnd_Impl::IsVisible( ) const
{
return static_cast<vcl::Window*>(pDlg)->IsVisible();
}
void AbstractSvxHlinkDlgMarkWnd_Impl::Invalidate( InvalidateFlags nFlags )
{
static_cast<vcl::Window*>(pDlg)->Invalidate(nFlags);
}
bool AbstractSvxHlinkDlgMarkWnd_Impl::MoveTo( Point aNewPos )const
{
return pDlg->MoveTo(aNewPos);
}
bool AbstractSvxHlinkDlgMarkWnd_Impl::ConnectToDialog( bool bDoit )const
{
return pDlg->ConnectToDialog(bDoit);
}
void AbstractSvxHlinkDlgMarkWnd_Impl::RefreshTree ( const OUString& aStrURL )
{
pDlg->RefreshTree(aStrURL);
}
void AbstractSvxHlinkDlgMarkWnd_Impl::SelectEntry ( const OUString& aStrMark )
{
pDlg->SelectEntry(aStrMark);
}
sal_uInt16 AbstractSvxHlinkDlgMarkWnd_Impl::SetError( sal_uInt16 nError)
{
return pDlg->SetError(nError);
}
sal_uInt16 AbstractSvxSearchSimilarityDialog_Impl::GetOther()
{
return pDlg->GetOther();
......@@ -738,11 +654,6 @@ void AbstractSvxObjectTitleDescDialog_Impl::GetDescription(OUString& rDescriptio
pDlg->GetDescription(rDescription);
}
void AbstractSvxMessDialog_Impl::SetButtonText( sal_uInt16 nBtnId, const OUString& rNewTxt )
{
pDlg->SetButtonText( nBtnId, rNewTxt );
}
OUString AbstractSvxMultiPathDialog_Impl::GetPath() const
{
return pDlg->GetPath();
......@@ -869,14 +780,6 @@ void AbstractSvxPostItDialog_Impl::HideAuthor()
{
pDlg->HideAuthor();
}
void AbstractSvxPostItDialog_Impl::SetReadonlyPostIt(bool bDisable)
{
pDlg->SetReadonlyPostIt( bDisable );
}
bool AbstractSvxPostItDialog_Impl::IsOkEnabled() const
{
return pDlg->IsOkEnabled();
}
void AbstractSvxPostItDialog_Impl::SetNextHdl( const Link<>& rLink )
{
aNextHdl = rLink;
......@@ -1121,19 +1024,6 @@ VclAbstractRefreshableDialog * AbstractDialogFactory_Impl::CreateActualizeProgre
return new VclAbstractRefreshableDialog_Impl( pDlg );
}
AbstractSearchProgress * AbstractDialogFactory_Impl::CreateSearchProgressDialog( vcl::Window* pParent,
const INetURLObject& rStartURL )
{
SearchProgress* pDlg = VclPtr<SearchProgress>::Create( pParent, rStartURL);
return new AbstractSearchProgress_Impl( pDlg );
}
AbstractTakeProgress * AbstractDialogFactory_Impl::CreateTakeProgressDialog( vcl::Window* pParent )
{
VclPtrInstance<TakeProgress> pDlg( pParent );
return new AbstractTakeProgress_Impl( pDlg );
}
VclAbstractDialog*
AbstractDialogFactory_Impl::CreateScriptErrorDialog(
vcl::Window* pParent, const ::com::sun::star::uno::Any& rException)
......@@ -1202,23 +1092,6 @@ AbstractURLDlg * AbstractDialogFactory_Impl::CreateURLDialog( vcl::Window* pPare
return new AbstractURLDlg_Impl( pDlg );
}
AbstractSvxHlinkDlgMarkWnd* AbstractDialogFactory_Impl::CreateSvxHlinkDlgMarkWndDialog( SvxHyperlinkTabPageBase* pParent, sal_uInt32 nResId )
{
SvxHlinkDlgMarkWnd* pDlg=NULL;
switch ( nResId )
{
case RID_SVXFLOAT_HYPERLINK_MARKWND :
pDlg = VclPtr<SvxHlinkDlgMarkWnd>::Create ( pParent );
break;
default:
break;
}
if ( pDlg )
return new AbstractSvxHlinkDlgMarkWnd_Impl( pDlg );
return 0;
}
SfxAbstractTabDialog* AbstractDialogFactory_Impl::CreateTabItemDialog(vcl::Window* pParent,
const SfxItemSet& rSet)
{
......@@ -1359,13 +1232,6 @@ AbstractSvxObjectTitleDescDialog* AbstractDialogFactory_Impl::CreateSvxObjectTit
return new AbstractSvxObjectTitleDescDialog_Impl(VclPtr<SvxObjectTitleDescDialog>::Create(pParent, rTitle, rDescription));
}
AbstractSvxMessDialog * AbstractDialogFactory_Impl::CreateSvxMessDialog( vcl::Window* pParent, sal_uInt32,
const OUString& rText, const OUString& rDesc, Image* pImg )
{
VclPtrInstance<SvxMessDialog> pDlg( pParent, rText, rDesc, pImg );
return new AbstractSvxMessDialog_Impl( pDlg );
}
AbstractSvxMultiPathDialog * AbstractDialogFactory_Impl::CreateSvxMultiPathDialog(vcl::Window* pParent)
{
VclPtrInstance<SvxMultiPathDialog> pDlg(pParent);
......@@ -1643,11 +1509,6 @@ CreateTabPage AbstractDialogFactory_Impl::GetTabPageCreatorFunc( sal_uInt16 nId
return 0;
}
CreateSvxDistributePage AbstractDialogFactory_Impl::GetSvxDistributePageCreatorFunc()
{
return SvxDistributePage::Create;
}
DialogGetRanges AbstractDialogFactory_Impl::GetDialogGetRangesFunc()
{
return SvxPostItDialog::GetRanges;
......
......@@ -196,8 +196,6 @@ class AbstractSpellDialog_Impl : public AbstractSpellDialog
{
public:
DECL_ABSTDLG_BASE(AbstractSpellDialog_Impl, svx::SpellDialog)
virtual void SetLanguage( sal_uInt16 nLang ) SAL_OVERRIDE;
virtual bool Close() SAL_OVERRIDE;
virtual void Invalidate() SAL_OVERRIDE;
virtual vcl::Window* GetWindow() SAL_OVERRIDE;
virtual SfxBindings& GetBindings() SAL_OVERRIDE;
......@@ -208,9 +206,6 @@ class AbstractSearchProgress_Impl : public AbstractSearchProgress
{
DECL_ABSTDLG_BASE(AbstractSearchProgress_Impl,SearchProgress)
virtual void Update() SAL_OVERRIDE ;
virtual void SetFileType( const OUString& rType ) SAL_OVERRIDE ;
virtual void SetDirectory( const INetURLObject& rURL ) SAL_OVERRIDE ;
virtual PLinkStub GetLinkStubCleanUpHdl() SAL_OVERRIDE ;
};
......@@ -219,8 +214,6 @@ class AbstractTakeProgress_Impl : public AbstractTakeProgress
{
DECL_ABSTDLG_BASE(AbstractTakeProgress_Impl,TakeProgress)
virtual void Update() SAL_OVERRIDE ;
virtual void SetFile( const INetURLObject& rURL ) SAL_OVERRIDE ;
virtual PLinkStub GetLinkStubCleanUpHdl() SAL_OVERRIDE ;
};
......@@ -266,16 +259,6 @@ class SvxHlinkDlgMarkWnd;
class AbstractSvxHlinkDlgMarkWnd_Impl : public AbstractSvxHlinkDlgMarkWnd
{
DECL_ABSTDLG_BASE(AbstractSvxHlinkDlgMarkWnd_Impl,SvxHlinkDlgMarkWnd)
virtual void Hide() SAL_OVERRIDE;
virtual bool IsVisible() const SAL_OVERRIDE ;
virtual void Invalidate( InvalidateFlags nFlags = InvalidateFlags::NONE ) SAL_OVERRIDE;
virtual void SetSizePixel( const Size& rNewSize ) SAL_OVERRIDE;
virtual Size GetSizePixel() const SAL_OVERRIDE;
virtual bool MoveTo( Point aNewPos ) const SAL_OVERRIDE;
virtual bool ConnectToDialog( bool bDoit = true ) const SAL_OVERRIDE;
virtual void RefreshTree ( const OUString& aStrURL ) SAL_OVERRIDE;
virtual void SelectEntry ( const OUString& aStrMark ) SAL_OVERRIDE;
virtual sal_uInt16 SetError( sal_uInt16 nError) SAL_OVERRIDE ;
};
......@@ -377,7 +360,6 @@ class SvxMessDialog;
class AbstractSvxMessDialog_Impl :public AbstractSvxMessDialog
{
DECL_ABSTDLG_BASE(AbstractSvxMessDialog_Impl,SvxMessDialog)
virtual void SetButtonText( sal_uInt16 nBtnId, const OUString& rNewTxt ) SAL_OVERRIDE;
};
class SvxMultiPathDialog;
......@@ -474,8 +456,6 @@ class AbstractSvxPostItDialog_Impl :public AbstractSvxPostItDialog
virtual void ShowLastAuthor(const OUString& rAuthor, const OUString& rDate) SAL_OVERRIDE ;
virtual void DontChangeAuthor() SAL_OVERRIDE ;
virtual void HideAuthor() SAL_OVERRIDE ;
virtual void SetReadonlyPostIt(bool bDisable) SAL_OVERRIDE ;
virtual bool IsOkEnabled() const SAL_OVERRIDE;
virtual vcl::Window * GetWindow() SAL_OVERRIDE;
private:
Link<> aNextHdl;
......@@ -581,9 +561,6 @@ public:
svx::SpellDialogChildWindow* pSpellChildWindow ) SAL_OVERRIDE;
virtual VclAbstractRefreshableDialog * CreateActualizeProgressDialog( vcl::Window* pParent, GalleryTheme* pThm ) SAL_OVERRIDE;
virtual AbstractSearchProgress * CreateSearchProgressDialog( vcl::Window* pParent,
const INetURLObject& rStartURL) SAL_OVERRIDE;
virtual AbstractTakeProgress * CreateTakeProgressDialog( vcl::Window* pParent ) SAL_OVERRIDE;
virtual AbstractTitleDialog * CreateTitleDialog( vcl::Window* pParent,
const OUString& rOldText) SAL_OVERRIDE;
virtual AbstractGalleryIdDialog * CreateGalleryIdDialog( vcl::Window* pParent,
......@@ -595,7 +572,6 @@ public:
const OUString& rURL, const OUString& rAltText, const OUString& rDescription,
const OUString& rTarget, const OUString& rName,
TargetList& rTargetList ) SAL_OVERRIDE;
virtual AbstractSvxHlinkDlgMarkWnd* CreateSvxHlinkDlgMarkWndDialog( SvxHyperlinkTabPageBase* pParent, sal_uInt32 nResId ) SAL_OVERRIDE;
virtual VclAbstractDialog* CreateSvxSearchAttributeDialog( vcl::Window* pParent,
SearchAttrItemList& rLst,
......@@ -621,9 +597,6 @@ public:
virtual AbstractSvxObjectNameDialog* CreateSvxObjectNameDialog(vcl::Window* pParent, const OUString& rName ) SAL_OVERRIDE;
virtual AbstractSvxObjectTitleDescDialog* CreateSvxObjectTitleDescDialog(vcl::Window* pParent, const OUString& rTitle, const OUString& rDescription) SAL_OVERRIDE;
virtual AbstractSvxMessDialog * CreateSvxMessDialog( vcl::Window* pParent, sal_uInt32 nResId,
const OUString& rText, const OUString& rDesc,
Image* pImg = NULL ) SAL_OVERRIDE;
virtual AbstractSvxMultiPathDialog * CreateSvxMultiPathDialog(vcl::Window* pParent) SAL_OVERRIDE;
virtual AbstractSvxMultiPathDialog * CreateSvxPathSelectDialog(vcl::Window* pParent) SAL_OVERRIDE;
virtual AbstractSvxHpLinkDlg * CreateSvxHpLinkDlg (vcl::Window* pParent,
......@@ -662,7 +635,6 @@ public:
// For TabPage
virtual CreateTabPage GetTabPageCreatorFunc( sal_uInt16 nId ) SAL_OVERRIDE;
virtual CreateSvxDistributePage GetSvxDistributePageCreatorFunc() SAL_OVERRIDE;
virtual GetTabPageRanges GetTabPageRangesFunc( sal_uInt16 nId ) SAL_OVERRIDE;
virtual DialogGetRanges GetDialogGetRangesFunc() SAL_OVERRIDE;
......
......@@ -220,7 +220,6 @@ class SVX_DLLPUBLIC EnhancedCustomShape2d : public SfxItemSet
SAL_DLLPRIVATE double GetAdjustValueAsDouble( const sal_Int32 nIndex ) const;
SAL_DLLPRIVATE double GetEquationValueAsDouble( const sal_Int32 nIndex ) const;
SAL_DLLPRIVATE sal_Int32 GetAdjustValueAsInteger( const sal_Int32 nIndex, const sal_Int32 nDefault = 0 ) const;
static OUString GetEquation( const sal_uInt16 nFlags, sal_Int32 nPara1, sal_Int32 nPara2, sal_Int32 nPara3 );
......
......@@ -57,7 +57,6 @@ class SVX_DLLPUBLIC SAL_WARN_UNUSED Camera3D : public Viewport3D
void SetPosition(const basegfx::B3DPoint& rNewPos);
const basegfx::B3DPoint& GetPosition() const { return aPosition; }
void SetLookAt(const basegfx::B3DPoint& rNewLookAt);
const basegfx::B3DPoint& GetLookAt() const { return aLookAt; }
void SetPosAndLookAt(const basegfx::B3DPoint& rNewPos, const basegfx::B3DPoint& rNewLookAt);
// Focal length in mm
......@@ -66,11 +65,9 @@ class SVX_DLLPUBLIC SAL_WARN_UNUSED Camera3D : public Viewport3D
// Bank angle links/rechts
void SetBankAngle(double fAngle);
double GetBankAngle() const { return fBankAngle; }
void SetAutoAdjustProjection(bool bAdjust = true)
{ bAutoAdjustProjection = bAdjust; }
bool IsAutoAdjustProjection() const { return bAutoAdjustProjection; }
};
#endif // INCLUDED_SVX_CAMERA3D_HXX
......
......@@ -76,8 +76,6 @@ public:
void SetPosIsCenter(bool bNew);
bool GetPosIsCenter() const { return bPosIsCenter; }
sal_uInt16 GetSideFlags() { return nSideFlags; }
// TakeObjName...() is for the display in the UI, for example "3 frames selected".
virtual OUString TakeObjNameSingul() const SAL_OVERRIDE;
virtual OUString TakeObjNamePlural() const SAL_OVERRIDE;
......
......@@ -74,48 +74,31 @@ public:
// Getter/Setter for default values of all 3D objects
// Compound object
const Color& GetDefaultAmbientColor() { return aDefaultAmbientColor; }
void SetDefaultAmbientColor(const Color& rNew) { aDefaultAmbientColor = rNew; }
bool GetDefaultCreateNormals() const { return bDefaultCreateNormals; }
void SetDefaultCreateNormals(const bool bNew) { bDefaultCreateNormals = bNew; }
bool GetDefaultCreateTexture() const { return bDefaultCreateTexture; }
void SetDefaultCreateTexture(const bool bNew) { bDefaultCreateTexture = bNew; }
// Cube object
const basegfx::B3DPoint& GetDefaultCubePos() { return aDefaultCubePos; }
void SetDefaultCubePos(const basegfx::B3DPoint& rNew) { aDefaultCubePos = rNew; }
const basegfx::B3DVector& GetDefaultCubeSize() { return aDefaultCubeSize; }
void SetDefaultCubeSize(const basegfx::B3DVector& rNew) { aDefaultCubeSize = rNew; }
sal_uInt16 GetDefaultCubeSideFlags() const { return nDefaultCubeSideFlags; }
void SetDefaultCubeSideFlags(const sal_uInt16 nNew) { nDefaultCubeSideFlags = nNew; }
bool GetDefaultCubePosIsCenter() const { return bDefaultCubePosIsCenter; }
void SetDefaultCubePosIsCenter(const bool bNew) { bDefaultCubePosIsCenter = bNew; }
// Sphere object
const basegfx::B3DPoint& GetDefaultSphereCenter() { return aDefaultSphereCenter; }
void SetDefaultSphereCenter(const basegfx::B3DPoint& rNew) { aDefaultSphereCenter = rNew; }
const basegfx::B3DVector& GetDefaultSphereSize() { return aDefaultSphereSize; }
void SetDefaultSphereSize(const basegfx::B3DPoint& rNew) { aDefaultSphereSize = rNew; }
// Lathe object
long GetDefaultLatheEndAngle() const { return nDefaultLatheEndAngle; }
void SetDefaultLatheEndAngle(const long nNew) { nDefaultLatheEndAngle = nNew; }
bool GetDefaultLatheSmoothed() const { return bDefaultLatheSmoothed; }
void SetDefaultLatheSmoothed(const bool bNew) { bDefaultLatheSmoothed = bNew; }
bool GetDefaultLatheSmoothFrontBack() const { return bDefaultLatheSmoothFrontBack; }
void SetDefaultLatheSmoothFrontBack(const bool bNew) { bDefaultLatheSmoothFrontBack = bNew; }
bool GetDefaultLatheCharacterMode() const { return bDefaultLatheCharacterMode; }
void SetDefaultLatheCharacterMode(const bool bNew) { bDefaultLatheCharacterMode = bNew; }
bool GetDefaultLatheCloseFront() const { return bDefaultLatheCloseFront; }
void SetDefaultLatheCloseFront(const bool bNew) { bDefaultLatheCloseFront = bNew; }
bool GetDefaultLatheCloseBack() const { return bDefaultLatheCloseBack; }
void SetDefaultLatheCloseBack(const bool bNew) { bDefaultLatheCloseBack = bNew; }
// Extrude object
bool GetDefaultExtrudeSmoothed() const { return bDefaultExtrudeSmoothed; }
void SetDefaultExtrudeSmoothed(const bool bNew) { bDefaultExtrudeSmoothed = bNew; }
bool GetDefaultExtrudeSmoothFrontBack() const { return bDefaultExtrudeSmoothFrontBack; }
void SetDefaultExtrudeSmoothFrontBack(const bool bNew) { bDefaultExtrudeSmoothFrontBack = bNew; }
bool GetDefaultExtrudeCharacterMode() const { return bDefaultExtrudeCharacterMode; }
void SetDefaultExtrudeCharacterMode(const bool bNew) { bDefaultExtrudeCharacterMode = bNew; }
bool GetDefaultExtrudeCloseFront() const { return bDefaultExtrudeCloseFront; }
......
......@@ -46,10 +46,6 @@ public:
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) SAL_OVERRIDE;
const basegfx::B3DVector& GetValue() const { return aVal; }
void SetValue( const basegfx::B3DVector& rNewVal ) {
DBG_ASSERT( GetRefCount() == 0, "SetValue() with pooled item" );
aVal = rNewVal;
}
virtual sal_uInt16 GetVersion (sal_uInt16 nFileFormatVersion) const SAL_OVERRIDE;
};
......
......@@ -63,7 +63,6 @@ public:
virtual void InsertMasterPage(SdrPage* pPage, sal_uInt16 nPos=0xFFFF) SAL_OVERRIDE;
virtual SdrPage* RemoveMasterPage(sal_uInt16 nPgNum) SAL_OVERRIDE;
virtual SdrLayerID GetControlExportLayerId( const SdrObject& rObj ) const;
SfxObjectShell* GetObjectShell() const { return m_pObjShell; }
void SetObjectShell( SfxObjectShell* pShell );
......
......@@ -151,7 +151,6 @@ public:
SVX_DLLPRIVATE bool checkUnMarkAll(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _xSource);
private:
SVX_DLLPRIVATE void AdjustMarks(const SdrMarkList& rMarkList);
SVX_DLLPRIVATE FmFormObj* getMarkedGrid() const;
protected:
using E3dView::SetMoveOutside;
......
......@@ -67,8 +67,6 @@ private:
// DragSourceHelper
SVX_DLLPRIVATE virtual void StartDrag( sal_Int8 nAction, const Point& rPosPixel ) SAL_OVERRIDE;
DECL_LINK( MenuSelectHdl, Menu* );
public:
GalleryPreview(vcl::Window* pParent,
......
......@@ -115,7 +115,6 @@ private:
SAL_DLLPRIVATE void ImplLoadSubDirs( const INetURLObject& rBaseURL, bool& rbIsReadOnly );
GalleryThemeEntry* ImplGetThemeEntry( const OUString& rThemeName );
SAL_DLLPRIVATE GalleryThemeEntry* ImplGetThemeEntry( sal_uIntPtr nThemeId );
SAL_DLLPRIVATE GalleryTheme* ImplGetCachedTheme( const GalleryThemeEntry* pThemeEntry );
SAL_DLLPRIVATE void ImplDeleteCachedTheme( GalleryTheme* pTheme );
......@@ -146,8 +145,6 @@ public:
SAL_DLLPRIVATE const INetURLObject& GetUserURL() const { return aUserURL; }
SAL_DLLPRIVATE const INetURLObject& GetRelativeURL() const { return aRelURL; }
SAL_DLLPRIVATE bool IsMultiPath() const { return bMultiPath; }
};
#endif // INCLUDED_SVX_GALLERY1_HXX
......
......@@ -53,8 +53,6 @@ public:
sal_Int8 GetType() const { return m_nType; }
const rtl::OUString GetURL() const { return m_aURL; }
const rtl::OUString GetFilterName() const { return m_aFilterName; }
const com::sun::star::uno::Reference< com::sun::star::lang::XComponent > GetDrawing() const { return m_xDrawing; }
const com::sun::star::uno::Reference< com::sun::star::graphic::XGraphic > GetGraphic() const { return m_xGraphic; }
// pure virtual methods from SfxPoolItem
......
......@@ -149,7 +149,6 @@ public:
SAL_DLLPRIVATE const OUString& GetRealName() const;
// used for building gallery themes during compilation:
SAL_DLLPRIVATE const OUString& GetDestDir() const { return m_aDestDir; }
SAL_DLLPRIVATE void SetDestDir(const OUString& rDestDir, bool bRelative = true)
{ m_aDestDir = rDestDir; m_bDestDirRelative = bRelative; }
......
......@@ -59,7 +59,6 @@ public:
virtual SdrPathSmoothKind GetMarkedPointsSmooth() const = 0;
virtual void SetMarkedPointsSmooth(SdrPathSmoothKind eKind) = 0;
virtual void CloseMarkedObjects(bool bToggle, bool bOpen ) = 0;
virtual bool IsOpenCloseMarkedObjectsPossible() const = 0;
virtual SdrObjClosedKind GetMarkedObjectsClosedState() const = 0;
......
......@@ -111,7 +111,6 @@ protected:
SVX_DLLPRIVATE virtual void ImplSelectEntryPos( sal_Int32 nPos, bool bSelect ) = 0;
SVX_DLLPRIVATE virtual bool ImplIsEntryPosSelected( sal_Int32 nPos ) const = 0;
SVX_DLLPRIVATE virtual sal_Int32 ImplGetEntryPos( const void* pData ) const = 0;
SVX_DLLPRIVATE virtual sal_Int32 ImplGetEntryCount() const = 0;
SVX_DLLPRIVATE virtual void ImplSetNoSelection() = 0;
SVX_DLLPRIVATE virtual void ImplHide() = 0;
SVX_DLLPRIVATE virtual void ImplDisable() = 0;
......@@ -137,7 +136,6 @@ private:
SVX_DLLPRIVATE virtual void ImplSelectEntryPos( sal_Int32 nPos, bool bSelect ) SAL_OVERRIDE;
SVX_DLLPRIVATE virtual bool ImplIsEntryPosSelected( sal_Int32 nPos ) const SAL_OVERRIDE;
SVX_DLLPRIVATE virtual sal_Int32 ImplGetEntryPos( const void* pData ) const SAL_OVERRIDE;
SVX_DLLPRIVATE virtual sal_Int32 ImplGetEntryCount() const SAL_OVERRIDE;
SVX_DLLPRIVATE virtual void ImplSetNoSelection() SAL_OVERRIDE;
SVX_DLLPRIVATE virtual void ImplHide() SAL_OVERRIDE;
SVX_DLLPRIVATE virtual void ImplDisable() SAL_OVERRIDE;
......@@ -177,7 +175,6 @@ private:
SVX_DLLPRIVATE virtual void ImplSelectEntryPos( sal_Int32 nPos, bool bSelect ) SAL_OVERRIDE;
SVX_DLLPRIVATE virtual bool ImplIsEntryPosSelected( sal_Int32 nPos ) const SAL_OVERRIDE;
SVX_DLLPRIVATE virtual sal_Int32 ImplGetEntryPos( const void* pData ) const SAL_OVERRIDE;
SVX_DLLPRIVATE virtual sal_Int32 ImplGetEntryCount() const SAL_OVERRIDE;
SVX_DLLPRIVATE virtual void ImplSetNoSelection() SAL_OVERRIDE;
SVX_DLLPRIVATE virtual void ImplHide() SAL_OVERRIDE;
SVX_DLLPRIVATE virtual void ImplDisable() SAL_OVERRIDE;
......
......@@ -254,68 +254,11 @@ public :
virtual sal_uInt32 GetHdlCount() const SAL_OVERRIDE;
virtual void AddToHdlList(SdrHdlList& rHdlList) const SAL_OVERRIDE;
// DoubleSided: sal_True/FALSE
bool GetDoubleSided() const
{ return static_cast<const SfxBoolItem&>(GetObjectItemSet().Get(SDRATTR_3DOBJ_DOUBLE_SIDED)).GetValue(); }
// NormalsKind: 0 == sal_False/sal_False, 1 == sal_True/sal_False, else == sal_True/TRUE
sal_uInt16 GetNormalsKind() const
{ return static_cast<const Svx3DNormalsKindItem&>(GetObjectItemSet().Get(SDRATTR_3DOBJ_NORMALS_KIND)).GetValue(); }
// NormalsInvert: sal_True/FALSE
bool GetNormalsInvert() const
{ return static_cast<const SfxBoolItem&>(GetObjectItemSet().Get(SDRATTR_3DOBJ_NORMALS_INVERT)).GetValue(); }
// TextureProjX: 0 == sal_False/sal_False, 1 == sal_True/sal_False, else == sal_True/TRUE
sal_uInt16 GetTextureProjectionX() const
{ return static_cast<const Svx3DTextureProjectionXItem&>(GetObjectItemSet().Get(SDRATTR_3DOBJ_TEXTURE_PROJ_X)).GetValue(); }
// TextureProjY: 0 == sal_False/sal_False, 1 == sal_True/sal_False, else == sal_True/TRUE
sal_uInt16 GetTextureProjectionY() const
{ return static_cast<const Svx3DTextureProjectionYItem&>(GetObjectItemSet().Get(SDRATTR_3DOBJ_TEXTURE_PROJ_Y)).GetValue(); }
// Shadow3D: sal_True/FALSE
bool GetShadow3D() const
{ return static_cast<const SfxBoolItem&>(GetObjectItemSet().Get(SDRATTR_3DOBJ_SHADOW_3D)).GetValue(); }
// MaterialColor: Color
Color GetMaterialColor() const
{ return static_cast<const SvxColorItem&>(GetObjectItemSet().Get(SDRATTR_3DOBJ_MAT_COLOR)).GetValue(); }
// MaterialEmission: Color
Color GetMaterialEmission() const
{ return static_cast<const SvxColorItem&>(GetObjectItemSet().Get(SDRATTR_3DOBJ_MAT_EMISSION)).GetValue(); }
// MaterialSpecular: Color
Color GetMaterialSpecular() const
{ return static_cast<const SvxColorItem&>(GetObjectItemSet().Get(SDRATTR_3DOBJ_MAT_SPECULAR)).GetValue(); }
// MaterialSpecularIntensity:
sal_uInt16 GetMaterialSpecularIntensity() const
{ return static_cast<const SfxUInt16Item&>(GetObjectItemSet().Get(SDRATTR_3DOBJ_MAT_SPECULAR_INTENSITY)).GetValue(); }
// TextureFilter: sal_True/FALSE
bool GetTextureFilter() const
{ return static_cast<const SfxBoolItem&>(GetObjectItemSet().Get(SDRATTR_3DOBJ_TEXTURE_FILTER)).GetValue(); }
// #i28528#
// Added extra Item (Bool) for chart2 to be able to show reduced line geometry
bool GetReducedLineGeometry() const
{ return static_cast<const Svx3DReducedLineGeometryItem&>(GetObjectItemSet().Get(SDRATTR_3DOBJ_REDUCED_LINE_GEOMETRY)).GetValue(); }
virtual sal_uInt16 GetObjIdentifier() const SAL_OVERRIDE;
virtual void RecalcSnapRect() SAL_OVERRIDE;
// set/get parameters for geometry creation
bool GetCreateNormals() const { return bCreateNormals; }
bool GetCreateTexture() const { return bCreateTexture; }
virtual E3dCompoundObject* Clone() const SAL_OVERRIDE;
// material of the object
const Color& GetMaterialAmbientColor() const { return aMaterialAmbientColor; }
bool IsAOrdNumRemapCandidate(E3dScene*& prScene) const;
};
......
......@@ -97,7 +97,6 @@ public:
void SetNumType(SvxNumType eNum) { eNumType = eNum; }
// name of the descriptor
const OUString& GetDescName() const { return aDescName; }
void SetDescName(const OUString& rStr) { aDescName = rStr; }
};
......
......@@ -114,76 +114,6 @@ public:
double GetFocalLength() const
{ return static_cast<const SfxUInt32Item&>(GetObjectItemSet().Get(SDRATTR_3DSCENE_FOCAL_LENGTH)).GetValue(); }
// Two sided lighting:
bool GetTwoSidedLighting() const
{ return static_cast<const SfxBoolItem&>(GetObjectItemSet().Get(SDRATTR_3DSCENE_TWO_SIDED_LIGHTING)).GetValue(); }
// Lightcolor:
Color GetLightColor1() const
{ return static_cast<const SvxColorItem&>(GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTCOLOR_1)).GetValue(); }
Color GetLightColor2() const
{ return static_cast<const SvxColorItem&>(GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTCOLOR_2)).GetValue(); }
Color GetLightColor3() const
{ return static_cast<const SvxColorItem&>(GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTCOLOR_3)).GetValue(); }
Color GetLightColor4() const
{ return static_cast<const SvxColorItem&>(GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTCOLOR_4)).GetValue(); }
Color GetLightColor5() const
{ return static_cast<const SvxColorItem&>(GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTCOLOR_5)).GetValue(); }
Color GetLightColor6() const
{ return static_cast<const SvxColorItem&>(GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTCOLOR_6)).GetValue(); }
Color GetLightColor7() const
{ return static_cast<const SvxColorItem&>(GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTCOLOR_7)).GetValue(); }
Color GetLightColor8() const
{ return static_cast<const SvxColorItem&>(GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTCOLOR_8)).GetValue(); }
// Ambient color:
Color GetGlobalAmbientColor() const
{ return static_cast<const SvxColorItem&>(GetObjectItemSet().Get(SDRATTR_3DSCENE_AMBIENTCOLOR)).GetValue(); }
// Light on/off:
bool GetLightOnOff1() const
{ return static_cast<const SfxBoolItem&>(GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTON_1)).GetValue(); }
bool GetLightOnOff2() const
{ return static_cast<const SfxBoolItem&>(GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTON_2)).GetValue(); }
bool GetLightOnOff3() const
{ return static_cast<const SfxBoolItem&>(GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTON_3)).GetValue(); }
bool GetLightOnOff4() const
{ return static_cast<const SfxBoolItem&>(GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTON_4)).GetValue(); }
bool GetLightOnOff5() const
{ return static_cast<const SfxBoolItem&>(GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTON_5)).GetValue(); }
bool GetLightOnOff6() const
{ return static_cast<const SfxBoolItem&>(GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTON_6)).GetValue(); }
bool GetLightOnOff7() const
{ return static_cast<const SfxBoolItem&>(GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTON_7)).GetValue(); }
bool GetLightOnOff8() const
{ return static_cast<const SfxBoolItem&>(GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTON_8)).GetValue(); }
// Light direction:
basegfx::B3DVector GetLightDirection1() const
{ return static_cast<const SvxB3DVectorItem&>(GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTDIRECTION_1)).GetValue(); }
basegfx::B3DVector GetLightDirection2() const
{ return static_cast<const SvxB3DVectorItem&>(GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTDIRECTION_2)).GetValue(); }
basegfx::B3DVector GetLightDirection3() const
{ return static_cast<const SvxB3DVectorItem&>(GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTDIRECTION_3)).GetValue(); }
basegfx::B3DVector GetLightDirection4() const
{ return static_cast<const SvxB3DVectorItem&>(GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTDIRECTION_4)).GetValue(); }
basegfx::B3DVector GetLightDirection5() const
{ return static_cast<const SvxB3DVectorItem&>(GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTDIRECTION_5)).GetValue(); }
basegfx::B3DVector GetLightDirection6() const
{ return static_cast<const SvxB3DVectorItem&>(GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTDIRECTION_6)).GetValue(); }
basegfx::B3DVector GetLightDirection7() const
{ return static_cast<const SvxB3DVectorItem&>(GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTDIRECTION_7)).GetValue(); }
basegfx::B3DVector GetLightDirection8() const
{ return static_cast<const SvxB3DVectorItem&>(GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTDIRECTION_8)).GetValue(); }
// ShadowSlant:
sal_uInt16 GetShadowSlant() const
{ return static_cast<const SfxUInt16Item&>(GetObjectItemSet().Get(SDRATTR_3DSCENE_SHADOW_SLANT)).GetValue(); }
// ShadeMode: 0 == FLAT, 1 == PHONG, 2 == SMOOTH, 3 == ForceDraft
sal_uInt16 GetShadeMode() const
{ return static_cast<const Svx3DShadeModeItem&>(GetObjectItemSet().Get(SDRATTR_3DSCENE_SHADE_MODE)).GetValue(); }
// set flag to draw only selected
void SetDrawOnlySelected(bool bNew) { bDrawOnlySelected = bNew; }
bool GetDrawOnlySelected() const { return bDrawOnlySelected; }
......
......@@ -29,12 +29,6 @@ class SdrCustomShapeAdjustmentValue
sal_uInt32 nValue;
friend class SdrCustomShapeAdjustmentItem;
public :
void SetValue( sal_Int32 nVal ) { nValue = nVal; };
sal_Int32 GetValue() const { return nValue; };
};
class SdrCustomShapeAdjustmentItem : public SfxPoolItem
......