Ignore:
Timestamp:
10/09/10 07:31:29 (20 months ago)
Author:
jharrop
Message:

OpenDoPE basic implementation (repeats & simple conditions only); to be tested

File:
1 edited

Legend:

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

    r1251 r1252  
    116116        protected GlossaryDocumentPart glossaryDoc; 
    117117         
    118         private ConditionsPart conditionsPart; 
    119         public ConditionsPart getConditionsPart() { 
    120                 return conditionsPart; 
    121         } 
    122         public void setConditionsPart(ConditionsPart conditionsPart) { 
    123                 this.conditionsPart = conditionsPart; 
    124         } 
    125  
    126         private XPathsPart xPathsPart; 
    127         public XPathsPart getXPathsPart() { 
    128                 return xPathsPart; 
    129         } 
    130         public void setXPathsPart(XPathsPart xPathsPart) { 
    131                 this.xPathsPart = xPathsPart; 
    132         } 
    133          
    134118        private DocumentModel documentModel; 
    135119        public DocumentModel getDocumentModel() { 
     
    223207         
    224208        public boolean setPartShortcut(Part part, String relationshipType) { 
     209                 
     210                log.info("?? for part " + part.getClass().getName() ); 
     211                 
    225212                if (relationshipType.equals(Namespaces.PROPERTIES_CORE)) { 
    226213                        docPropsCorePart = (DocPropsCorePart)part; 
     
    238225                        mainDoc = (MainDocumentPart)part; 
    239226                        log.info("Set shortcut for mainDoc"); 
    240                         return true; 
    241                 } else if (part instanceof ConditionsPart) { 
    242                         this.setConditionsPart((ConditionsPart)part); 
    243                         return true; 
    244                 } else if (part instanceof XPathsPart) { 
    245                         this.setXPathsPart((XPathsPart)part); 
    246227                        return true; 
    247228                } else {         
Note: See TracChangeset for help on using the changeset viewer.