From 04e36071737ccca11f77d2c943248b08d66e76d6 Mon Sep 17 00:00:00 2001 From: Philipp Lohmann Date: Tue, 19 May 2009 11:32:44 +0000 Subject: #i92516# print with XRenderable API --- basctl/source/basicide/basides2.cxx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'basctl/source/basicide/basides2.cxx') 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 #include - -#define _SOLAR__PRIVATE 1 +#include "basicrenderable.hxx" #include @@ -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 { -- cgit v1.2.3