- marked as minor
Remove Page Sizes of Small, Medium, LARGE, and Best Fit
USE CASE: WHAT DO YOU WANT TO DO?
Have page-size options be restricted to controlling the dimensions of the surrounding document.
STEPS TO REPRODUCE AN ISSUE (OR TRIGGER A NEW FEATURE)
- Open any file and initiate an export
- Select PDF format
- Click the Paper Size dropdown to view the options
CURRENT BEHAVIOR
Among supported page size options, the options of Small, Medium, LARGE, and Best Fit don't seem to apply to the size or dimensions of the surrounding document, but rather to the resolution of the exported image on the page. There is currently no mechanism for actually creating images corresponding to these sizes. Selecting an image format such as PNG, JPG, or PPM in fact, disables the page size dropdown since it is not relevant.
EXPECTED BEHAVIOR
All page size options should relate to the size of the page and not the image. They should change the dimensions of the page exported.
DEVELOPERS ONLY SECTION
SUGGESTED CHANGE (Pseudocode optional)
Remove the options in question.
FILES AFFECTED (where the changes will be implemented) - developers only
PaperType.java
LEVEL OF EFFORT - developers only
trivial
COMMENTS
To address resolution adjustments, refer to BB issue #384.
Comments (5)
-
reporter -
reporter I just ran a test to see what options were valid for page size:
String[] test = PageConstants.getSizeList(); LogBuffer.println("Page sizes available: [" + String.join(", ",test) + "].");
I got:
Page sizes available: [International, A4, Letter, A3, Legal, A5, A6, Executive, Ledger].
I will add these.
-
reporter - changed status to closed
This apparently was resolved and merged some time ago.
-
reporter - changed component to Import/export
-
reporter - removed milestone
Removing milestone: Import/export data (automated comment)
- Log in to comment