| Constructor and Description |
|---|
PageMarginsFilter(Integer leftMargin,
Integer topMargin,
Integer rightMargin,
Integer bottomMargin)
创建一个新的过滤器来设置文档的页边距.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doFilter(Context context,
com.sun.star.lang.XComponent document,
FilterChain chain)
由于转换请求,每次通过链传递文档时,都会调用过滤器的doFilter方法。
传入此方法的筛选器链允许筛选器将文档传递给链中的下一个实体.
|
public PageMarginsFilter(Integer leftMargin, Integer topMargin, Integer rightMargin, Integer bottomMargin)
leftMargin - 左边的空白(毫米)可能是空的。如果为空,则左侧空白不改变topMargin - 顶部边缘(毫米)可能为空。如果为空,则顶部空白不改变.rightMargin - 右边框(毫米)可能为空。如果为空,则右空白不改变.bottomMargin - 底部空白(毫米)可能是空的。如果为空,则底部空白不改变.public void doFilter(Context context, com.sun.star.lang.XComponent document, FilterChain chain) throws Exception
FilterCopyright © 2019. All rights reserved.