log.debug("for h|f relId: " + relId);
Part part = rels.getPart(relId);
if (rel instanceof HeaderReference ) {
HeaderReference headerReference = (HeaderReference)rel;
if (headerReference.getType() == HdrFtrRef.FIRST) {
firstHeader = (HeaderPart)part;
if (titlePage!=null && titlePage.isVal()) {
log.debug("setting first page header");
firstHeaderActive = (HeaderPart)part;
}
} else if (headerReference.getType() == HdrFtrRef.EVEN) {
log.debug("setting even page header");
evenHeader = (HeaderPart)part;
} else {
log.debug("setting default page header");
defaultHeader = (HeaderPart)part;