Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Very long previews (> 1 page)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Very long previews (> 1 page)

 Post Reply Post Reply
Author
Message
Michl View Drop Down
Senior Member
Senior Member


Joined: 14 September 2007
Status: Offline
Points: 138
Post Options Post Options   Thanks (1) Thanks(1)   Quote Michl Quote  Post ReplyReply Direct Link To This Post Topic: Very long previews (> 1 page)
    Posted: 21 May 2014 at 9:53am
If a preview (e.g. memo) has a very long content, then the printer prints up to 65535 pages!!!!!

The critical code snipset ist

// Clipped rows are printed on the next page
if (y + nRowHeight > rcClient.bottom)
{
    break;
}


But on next page the condition is true again!!!

Please implement a page brak of preview text which continues on next page.
Back to Top
mcmastl View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 April 2015
Status: Offline
Points: 79
Post Options Post Options   Thanks (0) Thanks(0)   Quote mcmastl Quote  Post ReplyReply Direct Link To This Post Posted: 20 April 2015 at 12:27pm
Hello and thank you for informing us of this issue.  We have brought this to the attention of the development team and will be looking into the issue.  If the matter has been resolved please let us know.  
Luke McMasters, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Algae View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 January 2007
Location: United States
Status: Offline
Points: 217
Post Options Post Options   Thanks (0) Thanks(0)   Quote Algae Quote  Post ReplyReply Direct Link To This Post Posted: 20 April 2015 at 1:35pm
I can confirm that this is a problem. I have some rows with a large amount of text in some columns.

Any time the column content exceeds the preview/print page height the pagination gets confused and multiple blank pages are introduced.

It's relatively simple to duplicate. Make a record (row) with a lot of text. Make the column narrow enough that the content exceeds the preview/print page height. Note the print/preview pages that have no content.

Back to Top
mcmastl View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 April 2015
Status: Offline
Points: 79
Post Options Post Options   Thanks (0) Thanks(0)   Quote mcmastl Quote  Post ReplyReply Direct Link To This Post Posted: 20 April 2015 at 2:47pm
Thank you Algae for the information.  I have added this as a note to the development team for reproducing the issue.
Luke McMasters, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Michl View Drop Down
Senior Member
Senior Member


Joined: 14 September 2007
Status: Offline
Points: 138
Post Options Post Options   Thanks (0) Thanks(0)   Quote Michl Quote  Post ReplyReply Direct Link To This Post Posted: 21 April 2015 at 3:57am
Thanks to assume the topic.
Perhaps on this occasion can be also solved another small problem.
A nice feature would be that a required page break wraps an empty group header also on next page.
I already open a issue (32876).

A similar ticket is 32897.  
Back to Top
mcmastl View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 April 2015
Status: Offline
Points: 79
Post Options Post Options   Thanks (0) Thanks(0)   Quote mcmastl Quote  Post ReplyReply Direct Link To This Post Posted: 21 April 2015 at 1:28pm
Thank you Michl, we have noted this as well for our developers to look into.
Luke McMasters, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.143 seconds.