Skip to content

Conversation

tresf
Copy link
Contributor

@tresf tresf commented Feb 25, 2025

WIP

public void bringToPresent() throws IOException {
if (presentDocument == null) {
log.trace("Loading document for use");
//TODO - include various processing handled for non streamed documents ??
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commenting to add to the PR's TODO listing.

return realWrapper.print(graphics, pageFormat, pageIndex);
}
catch(IOException ioe) {
//todo - how to handle??
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commenting to add to the PR's TODO listing.

if (docWidth <= 0) { docWidth = page.getImageableWidth(); }
if (docHeight <= 0) { docHeight = page.getImageableHeight(); }
bundle.flagForStreaming(true);
//fixme - book bundle short-circuits based on total pages, how to bypass ?
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commenting to add to the PR's TODO listing.

lastStarted = pageIndex;
}

//fixme - this setup results in too many blank pages after a no_such_page
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commenting to add to the PR's TODO listing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants