summaryrefslogtreecommitdiff
path: root/wizards/com/sun
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-07-06 13:25:58 +0000
committerKurt Zenker <kz@openoffice.org>2006-07-06 13:25:58 +0000
commitc10eb4db5f2cab3c2d94e2ac96b6c6ce14e3e6bf (patch)
treece6b74e98273d913051c67c0fc0ae5f7c5e7f059 /wizards/com/sun
parent280115c301770ddc11390cf76ad208289e093341 (diff)
INTEGRATION: CWS dbwizardpp4 (1.7.28); FILE MERGED
2006/06/29 14:16:26 bc 1.7.28.2: #i56533#Now pagebreak is inserted in front of first table 2006/06/22 08:20:30 bc 1.7.28.1: #i45673# Fieldcolumns now differentiate between Fieldname and DisplayfieldName
Diffstat (limited to 'wizards/com/sun')
-rw-r--r--wizards/com/sun/star/wizards/report/ReportLayouter.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/wizards/com/sun/star/wizards/report/ReportLayouter.java b/wizards/com/sun/star/wizards/report/ReportLayouter.java
index c91c49817482..0397bfbe0ae3 100644
--- a/wizards/com/sun/star/wizards/report/ReportLayouter.java
+++ b/wizards/com/sun/star/wizards/report/ReportLayouter.java
@@ -4,9 +4,9 @@
*
* $RCSfile: ReportLayouter.java,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: vg $ $Date: 2006-04-07 12:52:02 $
+ * last change: $Author: kz $ $Date: 2006-07-06 14:25:58 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -89,7 +89,6 @@ public class ReportLayouter {
XSimpleFileAccess xSimpleFileAccess = (XSimpleFileAccess) com.sun.star.uno.UnoRuntime.queryInterface(XSimpleFileAccess.class, xUcbInterface);
boolean bcntexists = xSimpleFileAccess.exists(ReportWizard.ReportPath + "/cnt-default.ott");
boolean bstlexists = xSimpleFileAccess.exists(ReportWizard.ReportPath + "/stl-default.ott");
- //TODO Die exception wieder rein; ggfs mit rp absprechen
// if ((bcntexists == false) || (bstlexists == false))
// throw new NoValidPathException(CurReportDocument.xMSF);
@@ -142,14 +141,15 @@ public class ReportLayouter {
}
public void initialize(String _defaultTemplatePath) {
-// CurReportDocument.xTextDocument.lockControllers();
+ CurReportDocument.xTextDocument.lockControllers();
CurReportDocument.setupRecordSection(_defaultTemplatePath);
-
if (CurUnoDialog.getControlProperty("txtTitle", "Text").equals("")) {
String[] sCommandNames = CurReportDocument.CurDBMetaData.getIncludedCommandNames();
CurUnoDialog.setControlProperty("txtTitle", "Text", sCommandNames[0]);
}
+ CurReportDocument.oViewHandler.selectFirstPage(CurReportDocument.oTextTableHandler);
CurUnoDialog.setFocus("lblContent");
+ CurReportDocument.unlockallControllers();
}
class ItemListenerImpl implements com.sun.star.awt.XItemListener {