Package com.scroogexhtml.converter
Interface PageSetupWriter
- All Known Subinterfaces:
Writer
- All Known Implementing Classes:
AbstractWriter
,XMLDOMWriter
public interface PageSetupWriter
Interface for writing page setup properties of a document.
This interface provides methods for setting the paper
width, left margin, and right margin of a page.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
setLeftMargin
(int paramValue) Sets the left margin of the page.void
setPaperWidth
(int paramValue) Sets the width of the paper for page setup.void
setRightMargin
(int paramValue) Sets the right margin of the page.
-
Method Details
-
setPaperWidth
void setPaperWidth(int paramValue) Sets the width of the paper for page setup.- Parameters:
paramValue
- the new width of the paper in pixels.
-
setLeftMargin
void setLeftMargin(int paramValue) Sets the left margin of the page.- Parameters:
paramValue
- the value of the left margin in pixels
-
setRightMargin
void setRightMargin(int paramValue) Sets the right margin of the page.- Parameters:
paramValue
- The value of the right margin in pixels.
-
calculateCurrentPageWidth
void calculateCurrentPageWidth()
-