Namespace EasyXLS
Class ExcelFooter
System.Object
EasyXLS.ExcelFooter
public class ExcelFooter
extends System.Object
This class stores the footer information extends  text, position (left, center, or right), font name, font size, underline, strikethrough, superscript, subscript, page number, the number of pages, date and time, file name.
- 
Constructor Summary
ConstructorsConstructorDescriptionDefines an instance of the footer.ExcelFooter(System.String text, System.String position) Defines an instance of the footer having the specified text and position.ExcelFooter(System.String text, System.String position, System.String fontName, int fontSize, bool isBold, bool isItalic) Defines an instance of the footer having the specified text, position and font settings. - 
Method Summary
Modifier and TypeMethodDescriptionClone()Creates and returns a copy of this object.System.StringReturns the footer expression.System.StringReturns the position of the footer.voidSets the bold style for the values that will follow the insertion.voidAppends the date to footer expression.voidSets the double underline style for the values that will follow the insertion.voidAppends the enter character to footer expression.voidAppends the file name to footer expression.voidInsertFont(System.String fontType) Sets the font type for the values that will follow the font insertion.voidInsertFontSize(int fontSize) Sets the font size for the values that will follow the font size insertion.voidSets the italic style for the values that will follow the insertion.voidAppends the page number to footer expression.voidAppends the total number of pages to footer expression.voidSets the single underline style for the values that will follow the insertion.voidSets the strikethrough style for the values that will follow the insertion.voidSets the subscript style for the values that will follow the insertion.voidSets the superscript style for the values that will follow the insertion.voidAppends the tab character to footer expression.voidAppends the date time to footer expression.voidInsertValue(System.String value) Appends a string to footer expression.voidRemoves the bold style for the values that will follow the insertion.voidRemoves the double underline style for the values that will follow the insertion.voidRemoves the italic style for the values that will follow the insertion.voidRemoves the single underline style for the values that will follow the insertion.voidRemoves the strikethrough style for the values that will follow the insertion.voidRemoves the subscript style for the values that will follow the insertion.voidRemoves the superscript style for the values that will follow the insertion.voidReset()Clears the footer expression.voidsetFooterString(System.String text) Sets the footer expression.voidsetPosition(System.String position) Sets the position of the footer.Methods inherited from class System.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Constructor Details
- 
ExcelFooter
public ExcelFooter()Defines an instance of the footer. - 
ExcelFooter
public ExcelFooter(System.String text, System.String position) Defines an instance of the footer having the specified text and position.- Parameters:
 text- the text from the footerposition- the position of the footer. Possible values are available inFooterclass.
 - 
ExcelFooter
public ExcelFooter(System.String text, System.String position, System.String fontName, int fontSize, bool isBold, bool isItalic) Defines an instance of the footer having the specified text, position and font settings.- Parameters:
 text- the text from the footerposition- the position of the footer. Possible values are available inFooterclass.fontName- the font name of the footerfontSize- the font size of the footerisBold- the bold option of the footerisItalic- the italic option of footer
 
 - 
 - 
Method Details
- 
getPosition
public System.String getPosition()Returns the position of the footer. Possible values are available inFooterclass.- Returns:
 - the position of the footer
 - See Also:
 
 - 
setPosition
public void setPosition(System.String position) Sets the position of the footer. Possible values are available inFooterclass.- Parameters:
 position- the footer expression- See Also:
 
 - 
InsertValue
public void InsertValue(System.String value) Appends a string to footer expression.- Parameters:
 value- the value to be inserted
 - 
InsertFont
public void InsertFont(System.String fontType) Sets the font type for the values that will follow the font insertion.- Parameters:
 fontType- the font type
 - 
InsertFontSize
public void InsertFontSize(int fontSize) Sets the font size for the values that will follow the font size insertion.- Parameters:
 fontSize- the font size
 - 
InsertSingleUnderline
public void InsertSingleUnderline()Sets the single underline style for the values that will follow the insertion.- See Also:
 
 - 
RemoveSingleUnderline
public void RemoveSingleUnderline()Removes the single underline style for the values that will follow the insertion.- See Also:
 
 - 
InsertDoubleUnderline
public void InsertDoubleUnderline()Sets the double underline style for the values that will follow the insertion.- See Also:
 
 - 
RemoveDoubleUnderline
public void RemoveDoubleUnderline()Removes the double underline style for the values that will follow the insertion.- See Also:
 
 - 
InsertStrikethrough
public void InsertStrikethrough()Sets the strikethrough style for the values that will follow the insertion.- See Also:
 
 - 
RemoveStrikethrough
public void RemoveStrikethrough()Removes the strikethrough style for the values that will follow the insertion.- See Also:
 
 - 
InsertSuperscript
public void InsertSuperscript()Sets the superscript style for the values that will follow the insertion.- See Also:
 
 - 
RemoveSuperscript
public void RemoveSuperscript()Removes the superscript style for the values that will follow the insertion.- See Also:
 
 - 
InsertSubscript
public void InsertSubscript()Sets the subscript style for the values that will follow the insertion.- See Also:
 
 - 
RemoveSubscript
public void RemoveSubscript()Removes the subscript style for the values that will follow the insertion.- See Also:
 
 - 
InsertBold
public void InsertBold()Sets the bold style for the values that will follow the insertion.- See Also:
 
 - 
RemoveBold
public void RemoveBold()Removes the bold style for the values that will follow the insertion.- See Also:
 
 - 
InsertItalic
public void InsertItalic()Sets the italic style for the values that will follow the insertion.- See Also:
 
 - 
RemoveItalic
public void RemoveItalic()Removes the italic style for the values that will follow the insertion.- See Also:
 
 - 
InsertPage
public void InsertPage()Appends the page number to footer expression. - 
InsertPages
public void InsertPages()Appends the total number of pages to footer expression. - 
InsertDate
public void InsertDate()Appends the date to footer expression. - 
InsertTime
public void InsertTime()Appends the date time to footer expression. - 
InsertFile
public void InsertFile()Appends the file name to footer expression. - 
InsertTab
public void InsertTab()Appends the tab character to footer expression. - 
InsertEnter
public void InsertEnter()Appends the enter character to footer expression. - 
Reset
public void Reset()Clears the footer expression. - 
Clone
Creates and returns a copy of this object.- Returns:
 - a clone of this instance.