Ignore:
Timestamp:
03/24/09 18:34:51 (3 years ago)
Author:
jharrop
Message:

Header/footer support in PDF viaXSLFO.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docx4j/src/main/java/org/docx4j/openpackaging/packages/WordprocessingMLPackage.java

    r715 r736  
    4040import org.docx4j.fonts.FontUtils; 
    4141import org.docx4j.jaxb.Context; 
     42import org.docx4j.model.HeaderFooterPolicy; 
    4243import org.docx4j.openpackaging.contenttype.ContentType; 
    4344import org.docx4j.openpackaging.contenttype.ContentTypeManager; 
     
    103104        // (optional) Glossary document 
    104105        protected GlossaryDocumentPart glossaryDoc; 
     106         
     107        private HeaderFooterPolicy headerFooterPolicy; 
     108        public HeaderFooterPolicy getHeaderFooterPolicy() { 
     109                if (headerFooterPolicy==null) { 
     110                        headerFooterPolicy = new HeaderFooterPolicy(this); 
     111                } 
     112                return headerFooterPolicy; 
     113        } 
     114        public void setHeaderFooterPolicy(HeaderFooterPolicy headerFooterPolicy) { 
     115                this.headerFooterPolicy = headerFooterPolicy; 
     116        } 
     117         
    105118         
    106119        /** 
     
    372385        } 
    373386 
     387 
    374388         
    375389} 
Note: See TracChangeset for help on using the changeset viewer.