| Package | Description |
|---|---|
| com.github.jferard.fastods.style |
| Modifier and Type | Method and Description |
|---|---|
PageStyleBuilder |
PageStyleBuilder.allMargins(Length margin)
Set the margin at the top, bottom, left and right. margin is a length value
|
PageStyleBuilder |
PageStyleBuilder.backgroundColor(Color color)
Set the background color to color, a six-digit hex value.
|
static PageStyleBuilder |
PageStyle.builder(String name)
Create a new builder
|
PageStyleBuilder |
PageStyleBuilder.centering(PageCentering centering)
20.353 style:table-centering
|
PageStyleBuilder |
PageStyleBuilder.footer(Footer footer)
Set the footer
|
PageStyleBuilder |
PageStyleBuilder.header(Header header)
Set the header
|
PageStyleBuilder |
PageStyleBuilder.hidden() |
PageStyleBuilder |
PageStyleBuilder.marginBottom(Length margin)
Set the bottom margin. margin is a length value
|
PageStyleBuilder |
PageStyleBuilder.marginLeft(Length margin)
Set the left margin. margin is a length value
|
PageStyleBuilder |
PageStyleBuilder.marginRight(Length margin)
Set the right margin. margin is a length value
|
PageStyleBuilder |
PageStyleBuilder.marginTop(Length margin)
Set the top margin. margin is a length value
|
PageStyleBuilder |
PageStyleBuilder.masterPageStyle(MasterPageStyle masterPageStyle)
Set a master page style
|
PageStyleBuilder |
PageStyleBuilder.pageHeight(Length pageHeight)
Set the page height. pageHeight is a length value.
|
PageStyleBuilder |
PageStyleBuilder.pageLayoutStyle(PageLayoutStyle pageLayoutStyle)
Set a page layout style
|
PageStyleBuilder |
PageStyleBuilder.pageWidth(Length pageWidth)
Set the page width. pageWidth is a length value.
|
PageStyleBuilder |
PageStyleBuilder.paperFormat(PaperFormat paperFormat)
Set the paper format to one of: A3, A4, A5, LETTER, LEGAL, USER
USER is automatically used if you use
setPageHeight() or setPageWidth(). |
PageStyleBuilder |
PageStyleBuilder.printOrientationHorizontal()
Set the print orientation to horizontal
|
PageStyleBuilder |
PageStyleBuilder.printOrientationVertical()
Set the print orientation to vertical
|
PageStyleBuilder |
PageStyleBuilder.scaleTo(int percentage)
20.344style:scale-to
|
PageStyleBuilder |
PageStyleBuilder.scaleToPages(int pages)
20.345style:scale-to-pages
|
PageStyleBuilder |
PageStyleBuilder.scaleToX(int pages)
(v1.3) 20.354 style:scale-to-X
|
PageStyleBuilder |
PageStyleBuilder.scaleToY(int pages)
(v1.3) 20.355 style:scale-to-Y
|
PageStyleBuilder |
PageStyleBuilder.writingMode(PageWritingMode writingMode)
Set the writing mode to one of: LRTB (left to right; top to bottom), RLTB,
TBRL, TBLR, LR, RL, TB, PAGE
|
Copyright © 2016–2021. All rights reserved.