ice.storm.print.jdk12
Class PageAttributesConverter
java.lang.Object
ice.storm.print.jdk12.PageAttributesConverter
- public class PageAttributesConverter
- extends Object
The PageAttributesConverter class it a utility used to convert
to and from PageAttributes and StormPageFormat objects.
- Since:
- 6.0
- 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 |
PageAttributesConverter
public PageAttributesConverter()
stormPageFormatConverter
public static PageAttributes stormPageFormatConverter(StormPageFormat stormPageFormat,
PageAttributes pageAttributes)
- Convertcs a StormPageFormat object to a Java 2 PageAttributes 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,
PageAttributes
pageAttributesConverter
public static StormPageFormat pageAttributesConverter(PageAttributes pageAttributes,
StormPageFormat stormPageFormat)
- Convertcs a Java 2 PageAttributes object to a StormPageFormat object.
- Parameters:
pageAttributes - object to be converted. If null a new
PageAttributes object is created.
- Returns:
- StormPageFormat object with the same properties as
pageFormat - See Also:
PageAttributes,
PageFormat