Search in sources :

Example 1 with OEPlaceholderAtom

use of org.apache.poi.hslf.record.RecordTypes.OEPlaceholderAtom in project poi by apache.

the class HSLFTextShape method isPlaceholder.

@Override
public boolean isPlaceholder() {
    OEPlaceholderAtom oep = getPlaceholderAtom();
    if (oep != null) {
        return true;
    }
    //special case for files saved in Office 2007
    RoundTripHFPlaceholder12 hldr = getHFPlaceholderAtom();
    if (hldr != null) {
        return true;
    }
    return false;
}
Also used : RoundTripHFPlaceholder12(org.apache.poi.hslf.record.RoundTripHFPlaceholder12) RoundTripHFPlaceholder12(org.apache.poi.hslf.record.RecordTypes.RoundTripHFPlaceholder12) OEPlaceholderAtom(org.apache.poi.hslf.record.OEPlaceholderAtom) OEPlaceholderAtom(org.apache.poi.hslf.record.RecordTypes.OEPlaceholderAtom)

Aggregations

OEPlaceholderAtom (org.apache.poi.hslf.record.OEPlaceholderAtom)1 OEPlaceholderAtom (org.apache.poi.hslf.record.RecordTypes.OEPlaceholderAtom)1 RoundTripHFPlaceholder12 (org.apache.poi.hslf.record.RecordTypes.RoundTripHFPlaceholder12)1 RoundTripHFPlaceholder12 (org.apache.poi.hslf.record.RoundTripHFPlaceholder12)1