diff options
author | Philipp Lohmann <pl@openoffice.org> | 2009-05-19 11:32:44 +0000 |
---|---|---|
committer | Philipp Lohmann <pl@openoffice.org> | 2009-05-19 11:32:44 +0000 |
commit | 04e36071737ccca11f77d2c943248b08d66e76d6 (patch) | |
tree | 316ffb0f826eebdd7c1789748ee3e3226e22f6d1 /basctl/source/basicide/basides2.cxx | |
parent | 5b16a85b74f89bd4a57304b00bb0ac084d61d67b (diff) |
#i92516# print with XRenderable API
Diffstat (limited to 'basctl/source/basicide/basides2.cxx')
-rw-r--r-- | basctl/source/basicide/basides2.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/basctl/source/basicide/basides2.cxx b/basctl/source/basicide/basides2.cxx index 74e1d59aad4d..eb59ca4f082b 100644 --- a/basctl/source/basicide/basides2.cxx +++ b/basctl/source/basicide/basides2.cxx @@ -38,8 +38,7 @@ #include <ide_pch.hxx> #include <basic/sbx.hxx> - -#define _SOLAR__PRIVATE 1 +#include "basicrenderable.hxx" #include <com/sun/star/frame/XTitle.hpp> @@ -85,6 +84,12 @@ IMPL_LINK( BasicIDEShell, ObjectDialogInsertHdl, ObjectCatalog *, pObjCat ) } */ +Reference< view::XRenderable > BasicIDEShell::GetRenderable() +{ + return Reference< view::XRenderable >( new basicide::BasicRenderable( pCurWin ) ); +} + +#if 0 USHORT __EXPORT BasicIDEShell::Print( SfxProgress &rProgress, BOOL bIsAPI, PrintDialog *pPrintDialog ) { if ( pCurWin ) @@ -98,6 +103,7 @@ USHORT __EXPORT BasicIDEShell::Print( SfxProgress &rProgress, BOOL bIsAPI, Print } return 0; } +#endif BOOL BasicIDEShell::HasSelection( BOOL /* bText */ ) const { |