Class PageLayout
java.lang.Object
org.ofdrw.layout.PageLayout
-
Constructor Summary
ConstructorsConstructorDescriptionPageLayout(Double width, Double height) PageLayout(org.ofdrw.core.basicType.ST_Box box) -
Method Summary
Modifier and TypeMethodDescriptionstatic PageLayoutA0()static PageLayoutA1()static PageLayoutA10()static PageLayoutA2()static PageLayoutA3()static PageLayoutA4()static PageLayoutA5()static PageLayoutA6()static PageLayoutA7()static PageLayoutA8()static PageLayoutA9()clone()doubledoublebooleanDouble[]doubledoubledoubledoubleorg.ofdrw.core.basicStructure.doc.CT_PageArea获取OFD页面区域double绘制区域原点Xdouble绘制区域原点YgetWidth()页面正文的工作区域setMarginBottom(double bottom) setMarginLeft(double left) setMarginRight(double right) setMarginTop(double top)
-
Constructor Details
-
PageLayout
-
PageLayout
public PageLayout(org.ofdrw.core.basicType.ST_Box box)
-
-
Method Details
-
A0
-
A1
-
A2
-
A3
-
A4
-
A5
-
A6
-
A7
-
A8
-
A9
-
A10
-
getWidth
-
setWidth
-
getHeight
-
setHeight
-
getMargin
-
setMargin
-
setMarginTop
-
getMarginTop
public double getMarginTop() -
setMarginRight
-
getMarginRight
public double getMarginRight() -
setMarginBottom
-
getMarginBottom
public double getMarginBottom() -
setMarginLeft
-
getMarginLeft
public double getMarginLeft() -
contentWidth
public double contentWidth()- Returns:
- 实际能放置内容的宽度
-
contentHeight
public double contentHeight()- Returns:
- 实际能放置内容的高度
-
getStartX
public double getStartX()绘制区域原点X- Returns:
- 起始X坐标
-
getStartY
public double getStartY()绘制区域原点Y- Returns:
- 起始Y坐标
-
getWorkerArea
-
getPageArea
public org.ofdrw.core.basicStructure.doc.CT_PageArea getPageArea()获取OFD页面区域- Returns:
- OFD页面区域
-
equals
-
clone
-