Class PageSize
java.lang.Object
org.xhtmlrenderer.css.parser.property.PageSize
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PageSize
ISO A3 media: 297mm wide and 420mm highstatic final PageSize
IS0 A4 media: 210 mm wide and 297 mm highstatic final PageSize
ISO A5 media: 148mm wide and 210 mm highstatic final PageSize
ISO B3 media: 176mm wide by 250mm highstatic final PageSize
ISO B4 media: 250mm wide by 353mm highstatic final PageSize
North American ledger: 11 inches wide by 17 inches highstatic final PageSize
North American legal: 8.5 inches wide by 14 inches highstatic final PageSize
North American letter media: 8.5 inches wide and 11 inches high -
Method Summary
Modifier and TypeMethodDescriptionorg.w3c.dom.css.CSSPrimitiveValue
static PageSize
getPageSize
(String pageSize) org.w3c.dom.css.CSSPrimitiveValue
-
Field Details
-
A5
ISO A5 media: 148mm wide and 210 mm high -
A4
IS0 A4 media: 210 mm wide and 297 mm high -
A3
ISO A3 media: 297mm wide and 420mm high -
B3
ISO B3 media: 176mm wide by 250mm high -
B4
ISO B4 media: 250mm wide by 353mm high -
LETTER
North American letter media: 8.5 inches wide and 11 inches high -
LEGAL
North American legal: 8.5 inches wide by 14 inches high -
LEDGER
North American ledger: 11 inches wide by 17 inches high
-
-
Method Details
-
getPageHeight
public org.w3c.dom.css.CSSPrimitiveValue getPageHeight() -
getPageWidth
public org.w3c.dom.css.CSSPrimitiveValue getPageWidth() -
getPageSize
-