public class DiagramHeaderFooter extends Object
Represents a header/footer in a Visio document.
Modifier and Type | Method and Description |
---|---|
DiagramHeaderFooterFont |
getFont()
Gets the font used for header and footer text.
|
String |
getFooterCenter()
Gets the text string that appears in the center portion of document footer.
|
String |
getFooterLeft()
Gets the text string that appears in the left portion of document footer.
|
double |
getFooterMargin()
Gets the margin of document header.
|
String |
getFooterRight()
Gets the text string that appears in the right portion of document footer.
|
String |
getHeaderCenter()
Gets the text string that appears in the center portion of document header.
|
String |
getHeaderLeft()
Gets the text string that appears in the left portion of document header.
|
double |
getHeaderMargin()
Gets the margin of document header.
|
String |
getHeaderRight()
Gets the text string that appears in the right portion of document header.
|
Color |
getTextColor()
Gets the text color for header and footer.
|
void |
setFooterCenter(String value)
Sets the text string that appears in the center portion of document footer.
|
void |
setFooterLeft(String value)
Sets the text string that appears in the left portion of document footer.
|
void |
setFooterMargin(double value)
Sets the margin of document header.
|
void |
setFooterRight(String value)
Sets the text string that appears in the right portion of document footer.
|
void |
setHeaderCenter(String value)
Sets the text string that appears in the center portion of document header.
|
void |
setHeaderLeft(String value)
Sets the text string that appears in the left portion of document header.
|
void |
setHeaderMargin(double value)
Sets the margin of document header.
|
void |
setHeaderRight(String value)
Sets the text string that appears in the right portion of document header.
|
void |
setTextColor(Color value)
Sets the text color for header and footer.
|
public final String getHeaderLeft()
Gets the text string that appears in the left portion of document header.
public final void setHeaderLeft(String value)
Sets the text string that appears in the left portion of document header.
value
- The text string that appears in the left portion of document header.public final String getHeaderCenter()
Gets the text string that appears in the center portion of document header.
public final void setHeaderCenter(String value)
Sets the text string that appears in the center portion of document header.
value
- The text string that appears in the center portion of document header.public final String getHeaderRight()
Gets the text string that appears in the right portion of document header.
public final void setHeaderRight(String value)
Sets the text string that appears in the right portion of document header.
value
- The text string that appears in the right portion of document header.public final String getFooterLeft()
Gets the text string that appears in the left portion of document footer.
public final void setFooterLeft(String value)
Sets the text string that appears in the left portion of document footer.
value
- The text string that appears in the left portion of document footer.public final String getFooterCenter()
Gets the text string that appears in the center portion of document footer.
public final void setFooterCenter(String value)
Sets the text string that appears in the center portion of document footer.
value
- The text string that appears in the center portion of document footer.public final String getFooterRight()
Gets the text string that appears in the right portion of document footer.
public final void setFooterRight(String value)
Sets the text string that appears in the right portion of document footer.
value
- The text string that appears in the right portion of document footer.public final double getHeaderMargin()
Gets the margin of document header.
public final void setHeaderMargin(double value)
Sets the margin of document header.
value
- The margin of document header.public final double getFooterMargin()
Gets the margin of document header.
public final void setFooterMargin(double value)
Sets the margin of document header.
value
- The margin of document header.public final Color getTextColor()
Gets the text color for header and footer.
public final void setTextColor(Color value)
Sets the text color for header and footer.
value
- The text color for header and footer.public final DiagramHeaderFooterFont getFont()
Gets the font used for header and footer text.