Search in sources :

Example 6 with CString

use of org.apache.poi.hslf.record.CString in project poi by apache.

the class HeadersFooters method setFootersText.

/**
     * Sets footers's text
     *
     * @param text footers's text
     */
public void setFootersText(String text) {
    setFooterVisible(true);
    CString cs = _container.getFooterAtom();
    if (cs == null) {
        cs = _container.addFooterAtom();
    }
    cs.setText(text);
}
Also used : CString(org.apache.poi.hslf.record.CString)

Aggregations

CString (org.apache.poi.hslf.record.CString)6 RecordContainer (org.apache.poi.hslf.record.RecordContainer)1 TextBytesAtom (org.apache.poi.hslf.record.TextBytesAtom)1 TextCharsAtom (org.apache.poi.hslf.record.TextCharsAtom)1 HSLFSimpleShape (org.apache.poi.hslf.usermodel.HSLFSimpleShape)1 HSLFTextShape (org.apache.poi.hslf.usermodel.HSLFTextShape)1