- Timestamp:
- 10/09/10 07:31:29 (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docx4j/src/main/java/org/docx4j/openpackaging/packages/WordprocessingMLPackage.java
r1251 r1252 116 116 protected GlossaryDocumentPart glossaryDoc; 117 117 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 134 118 private DocumentModel documentModel; 135 119 public DocumentModel getDocumentModel() { … … 223 207 224 208 public boolean setPartShortcut(Part part, String relationshipType) { 209 210 log.info("?? for part " + part.getClass().getName() ); 211 225 212 if (relationshipType.equals(Namespaces.PROPERTIES_CORE)) { 226 213 docPropsCorePart = (DocPropsCorePart)part; … … 238 225 mainDoc = (MainDocumentPart)part; 239 226 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);246 227 return true; 247 228 } else {
Note: See TracChangeset
for help on using the changeset viewer.
