This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 118248

Summary: Printed XML out put is ugly in latest 6.0 nightly.
Product: utilities Reporter: cberger <cberger>
Component: PrintAssignee: Vladimir Yaroslavskiy <yaroslavskiy>
Status: RESOLVED WORKSFORME    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: Macintosh   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description cberger 2007-10-09 15:17:39 UTC
I tried to print an XML file with latest nightly:

  Product Version: NetBeans IDE Dev (Build 200710090000)
  Java: 1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-87
  System: Mac OS X version 10.4.10 running on i386; MacRoman; en_US (nb)
  Userdir: /Users/cedric/.netbeans/dev
 
It's broken: There is an ugly black box around my XML (only 3/4 sides
visible) and the text on the 3 pages says: (1.1 of 3, 2.1 of 3, 3.1 of 3).
It was all working fine with 6.0beta1.

Please:
   1) Remove that ugly black box.
   2) Fix the text to read 1 of 3, not 1.1 of 3.

On a related note: I think that the output will also look better if:

 There was more space between the header and the top of the text.
 There was more space between the bottom of the text and the footer.

(basically, the header and the footer should move closer to the
external top/bottom of the page)
Comment 1 cberger 2007-10-09 15:18:40 UTC
Must be fixed for beta2 IMHO.
Comment 2 Victoria Zhukovskaya 2007-10-10 14:00:07 UTC
Java: 1.5.0_07
build 20071010000
MacOSX

I use xml result of testcases of orchestration samples - there are no black boxes.
Comment 3 Vladimir Yaroslavskiy 2007-10-10 14:39:32 UTC
1. Printing of ugly black box around XML is not reproducible.

2. The request will be implemented:
   There was more space between the header and the top of the text.
   There was more space between the bottom of the text and the footer.

3. To fix the text "1 of 3" instead of "1.1 of 3" do the follow:
   Open Print Preview dialog, press Print Options button,
   go to Print Footer, Left text area, change macro
   from %ROW%.%COLUMN% of %COUNT% to %ROW% of %COUNT%
   Double numbering is used for large area such as diagram etc.