Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Cannot print database report created with the wizard | ||||||
---|---|---|---|---|---|---|---|
Product: | Base | Reporter: | buschu <schultheis> | ||||
Component: | code | Assignee: | Mathias_Bauer | ||||
Status: | CLOSED DUPLICATE | QA Contact: | issues@dba <issues> | ||||
Severity: | Trivial | ||||||
Priority: | P3 | CC: | issues, mechtilde, os_ooo, rb.henschel, staho | ||||
Version: | OOo 2.3 | Keywords: | regression | ||||
Target Milestone: | OOo 2.3.1 | ||||||
Hardware: | Other | ||||||
OS: | Windows 2000 | ||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Attachments: |
|
Description
buschu
2007-09-18 15:33:31 UTC
Which database do you use? Can you print using OOo2.2.1? Is this a new report or have you created it with an earlier version? I have the same problem, was created in 2.2.1 and printed using file/print and direct print from toolbar, no problem. Stopped printing after intalling 2.3 RC1, I have removed completely and reinstalled, but still not printing reports. As a work around, I use the PDF option to create PDF and then print the PDF. Running XP Pro, with all updateds from MS installed. changed summery to make clear that it not an issue with the new Report Builder. From PagePreview all kind of printing works: PrintPagePreview, File>Print, PrintDefault From normal view neither PrintDefault nor File > Print works. Here on Win XP Home, German OOo2.3rc3. I use DB2. To install OOo2.2.1 again I must get the setup file from home. It's a new report created with V2.3. I can confirm that printing from the page view works. confirming, targeting, assigning Created attachment 48323 [details]
document to reproduce the bug case
the attached document allows to reproduce the problem. Simply open it, double-click the contained report to execute it, and press Ctrl-P in the resulting text document. After confirming the "Print" dialog, nothing happens. change summary add as CC ->mba: It doesn't print because the Writer doesn't print documents without a jobname. This is empty because SfxObjectShell::GetTitle(0) returns an empty string. This happens because of the changes in rev. 1.92 of sfx2/source/doc/objmisc.cxx The question is which of the three parts are wrong: - should GetTitle(0) return a string - should the document have a title - should the Writer print it also if it hasn't got a title (that might be true either way) GetTitle(0) always was fuzyy; according to the in-source documentation it should return the title "as is". Unfortunately the internal member pImp->aTitle is not very well defined. To me this is not reliable. The question remains why Writer refuses to print documents without a title. Perhaps this should be clarified first. The same problem appears when printing a Base form: works only via Print Preview (which works only in "view|Print layout", while "Web layout" is the default). Cannot print neither when editing nor executing report/form. BTW: Is there a workaround? ->staho: The workaround is to "save as" the document and then to print it. The reason for the title requirement is that the title is used as job name of the print job which in turn is necessary to see a document name in the print queue of the operating system. I had the same problem. I run XP and I run Linux Ubuntu. I have been able to use an older version of OO from a portable app on my usb drive to open an OObase and run my report and print it. My work around was to export as PDF and then print or to save a OOwriter and then open and print. Maybe I can make a macro to do this. I would love it if this issue was fixed. Using GetTitle(SFX_TITLE_APINAME) works. *** This issue has been marked as a duplicate of 82625 *** closed the duplicate |