/** * Returns the odd footer. Used on all pages unless * other footers also present, when used on only * odd pages. */ public Footer getOddFooter() { return new XSSFOddFooter(getSheetTypeHeaderFooter()); } /**
/** * Get the content text representing the footer * @return text */ @Override public String getText() { return getHeaderFooter().getOddFooter(); }
/** * Set a text for the footer. If null unset the value. * @see XSSFHeaderFooter to see how to create a string with Header/Footer Formatting Syntax * @param text - a string representing the footer. */ @Override public void setText(String text) { if(text == null) { getHeaderFooter().unsetOddFooter(); } else { getHeaderFooter().setOddFooter(text); } } }
/** * Returns the odd footer. Used on all pages unless * other footers also present, when used on only * odd pages. */ public Footer getOddFooter() { return new XSSFOddFooter(getSheetTypeHeaderFooter()); } /**
/** * Get the content text representing the footer * @return text */ public String getText() { return getHeaderFooter().getOddFooter(); }
/** * Returns the odd footer. Used on all pages unless * other footers also present, when used on only * odd pages. */ public Footer getOddFooter() { return new XSSFOddFooter(getSheetTypeHeaderFooter()); } /**
/** * Get the content text representing the footer * @return text */ @Override public String getText() { return getHeaderFooter().getOddFooter(); }
/** * Set a text for the footer. If null unset the value. * @see XSSFHeaderFooter to see how to create a string with Header/Footer Formatting Syntax * @param text - a string representing the footer. */ @Override public void setText(String text) { if(text == null) { getHeaderFooter().unsetOddFooter(); } else { getHeaderFooter().setOddFooter(text); } } }
/** * Set a text for the footer. If null unset the value. * @see XSSFHeaderFooter to see how to create a string with Header/Footer Formatting Syntax * @param text - a string representing the footer. */ public void setText(String text) { if(text == null) { getHeaderFooter().unsetOddFooter(); } else { getHeaderFooter().setOddFooter(text); } } }