ice.storm.print.jdk12
Class PageFormatConverter
java.lang.Object
ice.storm.print.jdk12.PageFormatConverter
- public class PageFormatConverter
- extends Object
The PageFormatConverter class it a utility used to convert
to and from PageFormat and StormPageFormat objects.
- Since:
- 6.0
- Version:
- %I%, %G%
- Author:
- Patrick Corless
- See Also:
StormPageFormat,
PageFormat
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PageFormatConverter
public PageFormatConverter()
getPageFormat
public static PageFormat getPageFormat(StormPageFormat stormPageFormat)
- Convertcs a StormPageFormat object to a Java 2 PageFormat object.
- Parameters:
stormPageFormat - object to be converted. If null a new
StormPageFormat object is created.
- Returns:
- PageFormat object with the same properties as
stormPageFormat - See Also:
StormPageFormat,
PageFormat
getStormPageFormat
public static StormPageFormat getStormPageFormat(PageFormat pageFormat)
- Convertcs a Java 2 PageFormat object to a StormPageFormat object.
- Parameters:
pageFormat - object to be converted. If null a new
PageFormat object is created.
- Returns:
- StormPageFormat object with the same properties as
pageFormat - See Also:
StormPageFormat,
PageFormat