equal
deleted
inserted
replaced
884 } else { |
884 } else { |
885 return null; |
885 return null; |
886 } |
886 } |
887 } |
887 } |
888 |
888 |
889 protected PageFormat getPageFormatFromAttributes() { |
|
890 if (attributes == null || attributes.isEmpty()) { |
|
891 return null; |
|
892 } |
|
893 return attributeToPageFormat(getPrintService(), this.attributes); |
|
894 } |
|
895 |
|
896 |
|
897 /** |
889 /** |
898 * Presents the user a dialog for changing properties of the |
890 * Presents the user a dialog for changing properties of the |
899 * print job interactively. |
891 * print job interactively. |
900 * The services browsable here are determined by the type of |
892 * The services browsable here are determined by the type of |
901 * service currently installed. |
893 * service currently installed. |