Enum PDFExportFormat.Magnification
- java.lang.Object
-
- java.lang.Enum<PDFExportFormat.Magnification>
-
- com.levigo.jadice.server.libreoffice.server.PDFExportFormat.Magnification
-
- All Implemented Interfaces:
Serializable
,Comparable<PDFExportFormat.Magnification>
- Enclosing class:
- PDFExportFormat
public static enum PDFExportFormat.Magnification extends Enum<PDFExportFormat.Magnification>
Specifies the action to be performed when the PDF document is opened.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT
Opens with default zoom magnification.FIT_ALL
Opens magnified to fit the entire page within the window.FIT_BBOX
Opens magnified to fit the entire width of its boundig box within the window (cuts out margins).FIT_WIDTH
Opens magnified to fit the entire page width within the window.SPECIFIED_ZOOM
Opens with the zoom level specified in the Zoom property.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PDFExportFormat.Magnification
valueOf(String name)
Returns the enum constant of this type with the specified name.static PDFExportFormat.Magnification[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final PDFExportFormat.Magnification DEFAULT
Opens with default zoom magnification.
-
FIT_ALL
public static final PDFExportFormat.Magnification FIT_ALL
Opens magnified to fit the entire page within the window.
-
FIT_WIDTH
public static final PDFExportFormat.Magnification FIT_WIDTH
Opens magnified to fit the entire page width within the window.
-
FIT_BBOX
public static final PDFExportFormat.Magnification FIT_BBOX
Opens magnified to fit the entire width of its boundig box within the window (cuts out margins).
-
SPECIFIED_ZOOM
public static final PDFExportFormat.Magnification SPECIFIED_ZOOM
Opens with the zoom level specified in the Zoom property.
-
-
Method Detail
-
values
public static PDFExportFormat.Magnification[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PDFExportFormat.Magnification c : PDFExportFormat.Magnification.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PDFExportFormat.Magnification valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-