summaryrefslogtreecommitdiff
path: root/goodies
diff options
context:
space:
mode:
authorSven Jacobi <sj@openoffice.org>2002-07-16 09:16:33 +0000
committerSven Jacobi <sj@openoffice.org>2002-07-16 09:16:33 +0000
commit68a9e2a4bd2f306aeca1af197e349c2461d7f787 (patch)
tree7425713e831d2ae9b64b69141667d8a6ddda9851 /goodies
parentc840c000db53c6f9ccaf136f32f3fd0911c50596 (diff)
#101108# filterdata is now directly passed to all filters
Diffstat (limited to 'goodies')
-rw-r--r--goodies/source/filter.vcl/eps/dlgeps.cxx11
-rw-r--r--goodies/source/filter.vcl/eps/dlgeps.hxx7
2 files changed, 11 insertions, 7 deletions
diff --git a/goodies/source/filter.vcl/eps/dlgeps.cxx b/goodies/source/filter.vcl/eps/dlgeps.cxx
index c15e01c6c780..87515fd74f6b 100644
--- a/goodies/source/filter.vcl/eps/dlgeps.cxx
+++ b/goodies/source/filter.vcl/eps/dlgeps.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dlgeps.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: sj $ $Date: 2001-10-09 12:09:18 $
+ * last change: $Author: sj $ $Date: 2002-07-16 10:16:32 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -92,13 +92,13 @@ DlgExportEPS::DlgExportEPS( FltCallDialogParameter& rPara ) :
aBtnOK ( this, ResId( BTN_OK ) ),
aBtnCancel ( this, ResId( BTN_CANCEL ) ),
aBtnHelp ( this, ResId( BTN_HELP ) ),
- pMgr ( rPara.pResMgr )
+ pMgr ( rPara.pResMgr ),
+ rFltCallPara ( rPara )
{
FreeResource();
-
String aFilterConfigPath( RTL_CONSTASCII_USTRINGPARAM( "Office.Common/Filter/Graphic/Export/EPS" ) );
- pConfigItem = new FilterConfigItem( aFilterConfigPath );
+ pConfigItem = new FilterConfigItem( aFilterConfigPath, &rPara.aFilterData );
// Config-Parameter lesen
String sPreview( RTL_CONSTASCII_USTRINGPARAM( "Preview" ) );
@@ -205,6 +205,7 @@ IMPL_LINK( DlgExportEPS, OK, void *, EMPTYARG )
String sTextMode( RTL_CONSTASCII_USTRINGPARAM( "TextMode" ) );
pConfigItem->WriteInt32( sTextMode, aLBTextMode.GetSelectEntryPos() );
+ rFltCallPara.aFilterData = pConfigItem->GetFilterData();
EndDialog( RET_OK );
return 0;
diff --git a/goodies/source/filter.vcl/eps/dlgeps.hxx b/goodies/source/filter.vcl/eps/dlgeps.hxx
index 75b7555487da..bb5d349f4faa 100644
--- a/goodies/source/filter.vcl/eps/dlgeps.hxx
+++ b/goodies/source/filter.vcl/eps/dlgeps.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dlgeps.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: sj $ $Date: 2001-04-28 15:40:36 $
+ * last change: $Author: sj $ $Date: 2002-07-16 10:16:33 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -82,6 +82,9 @@ class ResMgr;
class DlgExportEPS : public ModalDialog
{
private:
+
+ FltCallDialogParameter& rFltCallPara;
+
FixedLine aGrpPreview;
CheckBox aCBPreviewTiff;
CheckBox aCBPreviewEPSI;