https://issues.apache.org/bugzilla/show_bug.cgi?id=45537





--- Comment #4 from Yegor Kozlov <[EMAIL PROTECTED]>  2008-08-05 10:25:11 PST 
---
(In reply to comment #3)
> The problem is that the HeaderFooter object is returning null for the text in
> cases where I know there to be text there :(
>

You only check headers / footers for slides. The missing ones are notes
headers/footers.

Add the following code and all should be fine: 

if(getNoteText) {

        HeadersFooters hd = _show.getNotesHeadersFooters();
        if(hd.isFooterVisible()) {
            ret.append(hd.getFooterText() + "\n");
        }
        if(hd.isHeaderVisible()) {
            ret.append(hd.getHeaderText() + "\n");
        }
}

Yegor


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to