Kaydet (Commit) 024e9023 authored tarafından Oliver Bolte's avatar Oliver Bolte

INTEGRATION: CWS qwizardsbf4 (1.4.44); FILE MERGED

2005/04/11 15:18:01 tv 1.4.44.1: #i43136# correct default name for agenda template
üst 8f78e51e
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
* *
* $RCSfile: AgendaWizardDialogImpl.java,v $ * $RCSfile: AgendaWizardDialogImpl.java,v $
* *
* $Revision: 1.4 $ * $Revision: 1.5 $
* last change: $Author: vg $ $Date: 2004-12-23 09:38:08 $ * last change: $Author: obo $ $Date: 2005-04-18 15:11:45 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -373,7 +373,7 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog ...@@ -373,7 +373,7 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
checkSavePath(); checkSavePath();
SystemDialog saveAs = SystemDialog.createStoreDialog(xMSF); SystemDialog saveAs = SystemDialog.createStoreDialog(xMSF);
saveAs.addFilterToDialog("stw","writer_StarOffice_XML_Writer_Template",true); saveAs.addFilterToDialog("ott","writer8_template",true);
// call the saveAs dialog. // call the saveAs dialog.
String url = saveAs.callStoreDialog( String url = saveAs.callStoreDialog(
FileAccess.getParentDir(agenda.cp_TemplatePath), FileAccess.getParentDir(agenda.cp_TemplatePath),
...@@ -461,7 +461,7 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog ...@@ -461,7 +461,7 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
xTextDocument = (XTextDocument)UnoRuntime.queryInterface(XTextDocument.class,agendaTemplate.document); xTextDocument = (XTextDocument)UnoRuntime.queryInterface(XTextDocument.class,agendaTemplate.document);
bSaveSuccess = OfficeDocument.store(xMSF, xTextDocument, agenda.cp_TemplatePath , "writer_StarOffice_XML_Writer_Template", false, resources.resErrSaveTemplate ); bSaveSuccess = OfficeDocument.store(xMSF, xTextDocument, agenda.cp_TemplatePath , "writer8_template", false, resources.resErrSaveTemplate );
} catch (Exception e) { } catch (Exception e) {
SystemDialog.showMessageBox(xMSF, xControl.getPeer(), "ErrBox", VclWindowPeerAttribute.OK, resources.resErrSaveTemplate); SystemDialog.showMessageBox(xMSF, xControl.getPeer(), "ErrBox", VclWindowPeerAttribute.OK, resources.resErrSaveTemplate);
//e.printStackTrace(); //e.printStackTrace();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment