82
81
float printedPagesHeight = 0.0f;
84
83
float proposedBottom = min(docHeight, printedPagesHeight + pageHeight);
85
frame->adjustPageHeight(&proposedBottom, printedPagesHeight, proposedBottom, printedPagesHeight);
84
frame->view()->adjustPageHeight(&proposedBottom, printedPagesHeight, proposedBottom, printedPagesHeight);
86
85
currPageHeight = max(1.0f, proposedBottom - printedPagesHeight);
88
87
pages.append(IntRect(0, printedPagesHeight, currPageWidth, currPageHeight));