ExtraDevices - Centering problem with XLS output
Hello,
We are working with ReportBuilder 9.01 Standard, Delphi 6 Enterprise, and
TExtraDevices 2.96. Our application generates reports to PDF and XLS
formats, both using TExtraDevices instead of RB's native PDF output.
The problem:
We are printing our report in landscape layout. There is a centered header
at the top of the first page. Our header consists of two lines, one above
the other, of static text. When we print our report using PDFFile as the
device type, it prints correctly. However, when we select ExcelFile as the
device type, the header is no longer centered in the report.
Actually, for all of our tests, the header is always generated centered on
column D in Excel (tested using Excel 2000).
Any ideas how we can get our report to print correctly?
Thanks.
Rich Ackerson
We are working with ReportBuilder 9.01 Standard, Delphi 6 Enterprise, and
TExtraDevices 2.96. Our application generates reports to PDF and XLS
formats, both using TExtraDevices instead of RB's native PDF output.
The problem:
We are printing our report in landscape layout. There is a centered header
at the top of the first page. Our header consists of two lines, one above
the other, of static text. When we print our report using PDFFile as the
device type, it prints correctly. However, when we select ExcelFile as the
device type, the header is no longer centered in the report.
Actually, for all of our tests, the header is always generated centered on
column D in Excel (tested using Excel 2000).
Any ideas how we can get our report to print correctly?
Thanks.
Rich Ackerson
This discussion has been closed.
Comments
to each other due to the fixed column size. There is no adjustment beyond the column placement.
James Waler
Waler Ltd
http://www.waler.com
initial post.
The problem is not that the two lines of header text are not centered with
each other. Our problem is that the header (neither line) is even close to
being centered in comparison with the body of our report. Our report spans
columns A through P. Our header outputs on column D. All columns are the
same size so I would assume if column placement was the only consideration,
the header should have appeared somewhere around columns H or I.
Rich
James Waler
Waler Ltd
http://www.waler.com