Changeset 1044
- Timestamp:
- 01/16/10 07:52:34 (2 years ago)
- Location:
- trunk/docx4j
- Files:
-
- 249 added
- 28 edited
-
build.xml (modified) (1 diff)
-
src/main/java/org/docx4j/convert/in/FlatOpcXmlImporter.java (modified) (6 diffs)
-
src/main/java/org/docx4j/convert/out/pdf/viaIText/Conversion.java (modified) (3 diffs)
-
src/main/java/org/docx4j/dml/GraphicData.java (modified) (3 diffs)
-
src/main/java/org/docx4j/jaxb/Context.java (modified) (3 diffs)
-
src/main/java/org/docx4j/openpackaging/contenttype/ContentTypeManager.java (modified) (3 diffs)
-
src/main/java/org/docx4j/openpackaging/contenttype/ContentTypes.java (modified) (2 diffs)
-
src/main/java/org/docx4j/openpackaging/io/LoadFromZipNG.java (modified) (3 diffs)
-
src/main/java/org/docx4j/openpackaging/packages/Package.java (modified) (3 diffs)
-
src/main/java/org/docx4j/openpackaging/packages/WordprocessingMLPackage.java (modified) (1 diff)
-
src/main/java/org/docx4j/openpackaging/parts/WordprocessingML/BinaryPartAbstractImage.java (modified) (2 diffs)
-
src/main/java/org/docx4j/openpackaging/parts/relationships/Namespaces.java (modified) (1 diff)
-
src/main/java/org/docx4j/samples/AddImage.java (modified) (1 diff)
-
src/main/java/org/docx4j/samples/ConvertEmbeddedImageToLinked.java (modified) (2 diffs)
-
src/main/java/org/docx4j/samples/CreateHtml.java (modified) (1 diff)
-
src/main/java/org/docx4j/samples/CreatePdf.java (modified) (1 diff)
-
src/main/java/org/docx4j/samples/ImportForeignPart.java (modified) (1 diff)
-
src/main/java/org/docx4j/samples/ImportFromPackageFormat.java (modified) (2 diffs)
-
src/main/java/org/docx4j/samples/OpenMainDocumentAndTraverse.java (modified) (4 diffs)
-
src/main/java/org/docx4j/samples/PartsList.java (modified) (4 diffs)
-
src/main/java/org/docx4j/wml/Drawing.java (modified) (1 diff)
-
src/pptx4j (added)
-
src/pptx4j/java (added)
-
src/pptx4j/java/org (added)
-
src/pptx4j/java/org/docx4j (added)
-
src/pptx4j/java/org/docx4j/openpackaging (added)
-
src/pptx4j/java/org/docx4j/openpackaging/packages (added)
-
src/pptx4j/java/org/docx4j/openpackaging/packages/PresentationMLPackage.java (added)
-
src/pptx4j/java/org/docx4j/openpackaging/parts (added)
-
src/pptx4j/java/org/docx4j/openpackaging/parts/PresentationML (added)
-
src/pptx4j/java/org/docx4j/openpackaging/parts/PresentationML/JaxbPmlPart.java (added)
-
src/pptx4j/java/org/docx4j/openpackaging/parts/PresentationML/MainPresentationPart.java (added)
-
src/pptx4j/java/org/docx4j/openpackaging/parts/PresentationML/PresentationPropertiesPart.java (added)
-
src/pptx4j/java/org/docx4j/openpackaging/parts/PresentationML/SlideLayoutPart.java (added)
-
src/pptx4j/java/org/docx4j/openpackaging/parts/PresentationML/SlideMasterPart.java (added)
-
src/pptx4j/java/org/docx4j/openpackaging/parts/PresentationML/SlidePart.java (added)
-
src/pptx4j/java/org/docx4j/openpackaging/parts/PresentationML/TableStylesPart.java (added)
-
src/pptx4j/java/org/docx4j/openpackaging/parts/PresentationML/TagsPart.java (added)
-
src/pptx4j/java/org/docx4j/openpackaging/parts/PresentationML/ViewPropertiesPart.java (added)
-
src/pptx4j/java/org/pptx4j (added)
-
src/pptx4j/java/org/pptx4j/pml (added)
-
src/pptx4j/java/org/pptx4j/pml/CTApplicationNonVisualDrawingProps.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTBackground.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTBackgroundProperties.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTBuildList.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTComment.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTCommentAuthor.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTCommentAuthorList.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTCommentList.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTCommonSlideData.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTCommonSlideViewProperties.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTCommonViewProperties.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTConnector.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTConnectorNonVisual.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTControl.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTControlList.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTCornerDirectionTransition.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTCustomShow.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTCustomShowId.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTCustomShowList.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTCustomerData.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTCustomerDataList.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTEightDirectionTransition.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTEmbeddedFontDataId.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTEmbeddedFontList.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTEmbeddedFontListEntry.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTEmpty.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTExtension.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTExtensionList.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTExtensionListModify.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTGraphicalObjectFrame.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTGraphicalObjectFrameNonVisual.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTGroupShape.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTGroupShapeNonVisual.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTGuide.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTGuideList.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTHandoutMaster.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTHandoutMasterIdList.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTHandoutMasterIdListEntry.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTHeaderFooter.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTHtmlPublishProperties.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTInOutTransition.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTIndexRange.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTKinsoku.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTModifyVerifier.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTNormalViewPortion.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTNormalViewProperties.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTNotesMaster.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTNotesMasterIdList.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTNotesMasterIdListEntry.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTNotesSlide.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTNotesTextViewProperties.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTNotesViewProperties.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTOleObject.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTOleObjectEmbed.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTOleObjectLink.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTOptionalBlackTransition.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTOrientationTransition.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTOutlineViewProperties.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTOutlineViewSlideEntry.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTOutlineViewSlideList.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTPhotoAlbum.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTPicture.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTPictureNonVisual.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTPlaceholder.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTPrintProperties.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTShape.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTShapeNonVisual.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTShowInfoBrowse.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTShowInfoKiosk.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTShowProperties.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTSideDirectionTransition.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTSlideIdList.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTSlideIdListEntry.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTSlideLayoutIdList.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTSlideLayoutIdListEntry.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTSlideMasterIdList.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTSlideMasterIdListEntry.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTSlideMasterTextStyles.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTSlideRelationshipList.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTSlideRelationshipListEntry.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTSlideSize.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTSlideSorterViewProperties.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTSlideSyncProperties.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTSlideTiming.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTSlideTransition.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTSlideViewProperties.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTSmartTags.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTSplitTransition.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTStringTag.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLAnimVariant.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLAnimVariantBooleanVal.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLAnimVariantFloatVal.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLAnimVariantIntegerVal.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLAnimVariantStringVal.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLAnimateBehavior.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLAnimateColorBehavior.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLAnimateEffectBehavior.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLAnimateMotionBehavior.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLAnimateRotationBehavior.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLAnimateScaleBehavior.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLBehaviorAttributeNameList.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLBuildDiagram.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLBuildParagraph.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLByAnimateColorTransform.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLByHslColorTransform.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLByRgbColorTransform.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLCommandBehavior.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLCommonBehaviorData.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLCommonMediaNodeData.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLCommonTimeNodeData.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLGraphicalObjectBuild.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLIterateData.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLIterateIntervalPercentage.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLIterateIntervalTime.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLMediaNodeAudio.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLMediaNodeVideo.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLOleBuildChart.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLOleChartTargetElement.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLPoint.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLSetBehavior.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLShapeTargetElement.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLSubShapeId.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLTemplate.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLTemplateList.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLTextTargetElement.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLTimeAnimateValue.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLTimeAnimateValueList.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLTimeCondition.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLTimeConditionList.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLTimeNodeExclusive.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLTimeNodeParallel.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLTimeNodeSequence.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLTimeTargetElement.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLTriggerRuntimeNode.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTLTriggerTimeNodeID.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTagsData.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTimeNodeList.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTransitionSoundAction.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTTransitionStartSoundAction.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTWebProperties.java (added)
-
src/pptx4j/java/org/pptx4j/pml/CTWheelTransition.java (added)
-
src/pptx4j/java/org/pptx4j/pml/ObjectFactory.java (added)
-
src/pptx4j/java/org/pptx4j/pml/Presentation.java (added)
-
src/pptx4j/java/org/pptx4j/pml/PresentationPr.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STAlgClass.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STAlgType.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STCryptProv.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STDirection.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STHtmlPublishWebBrowserSupport.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STIterateType.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STOleObjectFollowColorScheme.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STPhotoAlbumFrameShape.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STPlaceholderSize.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STPlaceholderType.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STPrintColorMode.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STPrintWhat.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STSlideLayoutType.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STSplitterBarState.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTLAnimateBehaviorCalcMode.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTLAnimateBehaviorValueType.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTLAnimateColorDirection.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTLAnimateColorSpace.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTLAnimateEffectTransition.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTLAnimateMotionBehaviorOrigin.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTLAnimateMotionPathEditMode.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTLBehaviorAccumulateType.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTLBehaviorAdditiveType.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTLBehaviorOverrideType.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTLBehaviorTransformType.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTLChartSubelementType.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTLCommandType.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTLDiagramBuildType.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTLNextActionType.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTLOleChartBuildType.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTLParaBuildType.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTLPreviousActionType.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTLTimeIndefinite.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTLTimeNodeFillType.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTLTimeNodeMasterRelation.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTLTimeNodePresetClassType.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTLTimeNodeRestartType.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTLTimeNodeSyncType.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTLTimeNodeType.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTLTriggerEvent.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTLTriggerRuntimeNode.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTransitionCornerDirectionType.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTransitionInOutDirectionType.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTransitionSideDirectionType.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STTransitionSpeed.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STViewType.java (added)
-
src/pptx4j/java/org/pptx4j/pml/STWebColorType.java (added)
-
src/pptx4j/java/org/pptx4j/pml/Sld.java (added)
-
src/pptx4j/java/org/pptx4j/pml/SldLayout.java (added)
-
src/pptx4j/java/org/pptx4j/pml/SldMaster.java (added)
-
src/pptx4j/java/org/pptx4j/pml/TagLst.java (added)
-
src/pptx4j/java/org/pptx4j/pml/ViewPr.java (added)
-
src/pptx4j/java/org/pptx4j/pml/header.txt (added)
-
src/pptx4j/java/org/pptx4j/pml/package-info.java (added)
-
src/pptx4j/java/org/pptx4j/pml/script (added)
-
xsd/dml-old (added)
-
xsd/dml-old/dml-audioVideo.xsd (added)
-
xsd/dml-old/dml-baseStylesheet.xsd (added)
-
xsd/dml-old/dml-baseTypes.xsd (added)
-
xsd/dml-old/dml-docproperties.xsd (added)
-
xsd/dml-old/dml-graphicalObjectAnimation.xsd (added)
-
xsd/dml-old/dml-graphicalobject.xsd (added)
-
xsd/dml-old/dml-picture.xsd (added)
-
xsd/dml-old/dml-shape3DCamera.xsd (added)
-
xsd/dml-old/dml-shape3DLighting.xsd (added)
-
xsd/dml-old/dml-shape3DScene.xsd (added)
-
xsd/dml-old/dml-shape3DScenePlane.xsd (added)
-
xsd/dml-old/dml-shape3DStyles.xsd (added)
-
xsd/dml-old/dml-shapeEffects.xsd (added)
-
xsd/dml-old/dml-shapeGeometry.xsd (added)
-
xsd/dml-old/dml-shapeLineProperties.xsd (added)
-
xsd/dml-old/dml-shapeMiscellaneous.xsd (added)
-
xsd/dml-old/dml-shapeProperties.xsd (added)
-
xsd/dml-old/dml-shapeStyle.xsd (added)
-
xsd/dml-old/dml-styleDefaults.xsd (added)
-
xsd/dml-old/dml-stylesheet.xsd (added)
-
xsd/dml-old/dml-text.xsd (added)
-
xsd/dml-old/dml-textBullet.xsd (added)
-
xsd/dml-old/dml-textCharacter.xsd (added)
-
xsd/dml-old/dml-textParagraph.xsd (added)
-
xsd/dml-old/dml-textRun.xsd (added)
-
xsd/dml-old/dml-wordprocessingDrawing.xsd (added)
-
xsd/dml/all.txt (added)
-
xsd/dml/tmp.txt (added)
-
xsd/pml/dml_imports.xsd (modified) (3 diffs)
-
xsd/pml/pml-presentation.xsd (modified) (1 diff)
-
xsd/pml/pml-presentationProperties.xsd (modified) (2 diffs)
-
xsd/pml/pml-slide.xsd (modified) (3 diffs)
-
xsd/pml/pml-userDefinedTags.xsd (modified) (1 diff)
-
xsd/pml/pml-viewProperties.xsd (modified) (2 diffs)
-
xsd/pml/pml_root.xsd (modified) (1 diff)
-
xsd/xhtml-wordml-example.xml (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/docx4j/build.xml
r1005 r1044 82 82 <src path="${src.main.java.dir}"/> 83 83 <src path="src/diffx"/> 84 <src path="src/pptx4j/java"/> 84 85 <classpath refid="docx4j.classpath"/> 85 86 <!-- nb, you need JAXB RI, for example, in jre/lib/endorsed --> -
trunk/docx4j/src/main/java/org/docx4j/convert/in/FlatOpcXmlImporter.java
r1003 r1044 51 51 import org.docx4j.openpackaging.io.Load; 52 52 import org.docx4j.openpackaging.packages.Package; 53 import org.docx4j.openpackaging.packages.PresentationMLPackage; 53 54 import org.docx4j.openpackaging.packages.WordprocessingMLPackage; 54 55 import org.docx4j.openpackaging.parts.Part; … … 90 91 91 92 92 public FlatOpcXmlImporter(org.docx4j.xmlPackage.Package xmlPackage) {93 public FlatOpcXmlImporter(org.docx4j.xmlPackage.Package flatOpcXml) { 93 94 94 95 parts = new HashMap<String, org.docx4j.xmlPackage.Part>(); 95 96 96 for(org.docx4j.xmlPackage.Part p : xmlPackage.getPart() ) {97 for(org.docx4j.xmlPackage.Part p : flatOpcXml.getPart() ) { 97 98 98 99 parts.put(p.getName(), p); … … 107 108 private ContentTypeManager ctm; 108 109 109 private Package wmlPackageResult;110 private Package packageResult; 110 111 111 112 public Package get() throws Docx4JException { … … 125 126 // ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"/> 126 127 127 128 wmlPackageResult = new WordprocessingMLPackage(ctm); 129 128 // Create the right type of package 129 // TODO: 130 // Get package rels: 131 // <pkg:part pkg:name="/_rels/.rels" pkg:contentType="application/vnd.openxmlformats-package.relationships+xml" pkg:padding="512"> 132 // .. and find rel of Type officeDocument 133 // .. <Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="word/document.xml"/> 134 // and follow that to its target, 135 // and see what content type is set on that. 136 // But the following (well known locations) will do for now. 137 if (parts.get("/word/document.xml")!=null) { 138 packageResult = new WordprocessingMLPackage(ctm); 139 } else if (parts.get("/ppt/presentation.xml")!=null) { 140 packageResult = new PresentationMLPackage(ctm); 141 } else { 142 throw new Docx4JException("Unrecognised package"); 143 } 144 log.info("Creating " + packageResult.getClass().getName() ); 130 145 131 146 // 4. Start with _rels/.rels … … 139 154 String partName = "/_rels/.rels"; // note leading '/' 140 155 141 RelationshipsPart rp = getRelationshipsPartFromXmlPackage( wmlPackageResult, partName);142 wmlPackageResult.setRelationships(rp);156 RelationshipsPart rp = getRelationshipsPartFromXmlPackage(packageResult, partName); 157 packageResult.setRelationships(rp); 143 158 //rp.setPackageRelationshipPart(true); 144 159 … … 152 167 // (ii) add the new Part to the package 153 168 // (iii) cross the PartName off unusedZipEntries 154 addPartsFromRelationships( wmlPackageResult, rp );155 156 Load.registerCustomXmlDataStorageParts( wmlPackageResult);169 addPartsFromRelationships(packageResult, rp ); 170 171 Load.registerCustomXmlDataStorageParts(packageResult); 157 172 158 return wmlPackageResult;173 return packageResult; 159 174 160 175 } -
trunk/docx4j/src/main/java/org/docx4j/convert/out/pdf/viaIText/Conversion.java
r943 r1044 12 12 import org.apache.log4j.Logger; 13 13 import org.docx4j.XmlUtils; 14 import org.docx4j.dml.wordprocessingDrawing.Inline; 14 15 import org.docx4j.fonts.Mapper; 15 16 import org.docx4j.fonts.PhysicalFont; … … 383 384 List<Object> list = drawing.getAnchorOrInline(); 384 385 if (list.size() != 1 385 || !(list.get(0) instanceof org.docx4j.dml.Inline)) {386 || !(list.get(0) instanceof Inline)) { 386 387 //There should not be an Anchor in 'list' 387 388 //because it is not being supported and … … 392 393 } 393 394 394 org.docx4j.dml.Inline inline = (org.docx4j.dml.Inline) list.get(0);395 Inline inline = (Inline) list.get(0); 395 396 // if (inline.getExtent() != null) { 396 397 // int cx = Long.valueOf(inline.getExtent().getCx()).intValue(); -
trunk/docx4j/src/main/java/org/docx4j/dml/GraphicData.java
r1041 r1044 24 24 import java.util.ArrayList; 25 25 import java.util.List; 26 27 import javax.xml.bind.JAXBElement; 26 28 import javax.xml.bind.annotation.XmlAccessType; 27 29 import javax.xml.bind.annotation.XmlAccessorType; … … 32 34 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; 33 35 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; 36 37 import org.docx4j.XmlUtils; 38 import org.docx4j.dml.picture.Pic; 34 39 35 40 … … 96 101 } 97 102 103 public org.docx4j.dml.picture.Pic getPic() { 104 105 for (Object o : getAny() ) { 106 107 if (o instanceof JAXBElement 108 && ((JAXBElement)o).getDeclaredType().getName().equals("org.docx4j.dml.picture.Pic") ) { 109 110 return (Pic)((JAXBElement)o).getValue(); 111 } 112 } 113 return null; 114 } 115 98 116 /** 99 117 * Gets the value of the uri property. -
trunk/docx4j/src/main/java/org/docx4j/jaxb/Context.java
r1004 r1044 37 37 public static JAXBContext jcCustomXmlProperties; 38 38 public static JAXBContext jcContentTypes; 39 public static JAXBContext jcPML; 39 40 40 41 private static Logger log = Logger.getLogger(Context.class); … … 66 67 //log.info("\n\nClassloader: " + classLoader.toString() ); 67 68 68 jc = JAXBContext.newInstance("org.docx4j.wml:org.docx4j.dml:org.docx4j. vml:org.docx4j.vml.officedrawing:org.docx4j.math",classLoader );69 jc = JAXBContext.newInstance("org.docx4j.wml:org.docx4j.dml:org.docx4j.dml.picture:org.docx4j.dml.wordprocessingDrawing:org.docx4j.vml:org.docx4j.vml.officedrawing:org.docx4j.math",classLoader ); 69 70 jcThemePart = JAXBContext.newInstance("org.docx4j.dml",classLoader ); 70 71 jcDocPropsCore = JAXBContext.newInstance("org.docx4j.docProps.core:org.docx4j.docProps.core.dc.elements:org.docx4j.docProps.core.dc.terms",classLoader ); … … 75 76 jcCustomXmlProperties = JAXBContext.newInstance("org.docx4j.customXmlProperties",classLoader ); 76 77 jcContentTypes = JAXBContext.newInstance("org.docx4j.openpackaging.contenttype",classLoader ); 78 jcPML = JAXBContext.newInstance("org.pptx4j.pml:org.docx4j.dml:org.docx4j.dml.picture",classLoader ); 77 79 78 80 } catch (Exception ex) { -
trunk/docx4j/src/main/java/org/docx4j/openpackaging/contenttype/ContentTypeManager.java
r1004 r1044 71 71 import org.docx4j.openpackaging.exceptions.PartUnrecognisedException; 72 72 import org.docx4j.openpackaging.packages.Package; 73 import org.docx4j.openpackaging.packages.PresentationMLPackage; 73 74 import org.docx4j.openpackaging.packages.WordprocessingMLPackage; 74 75 import org.docx4j.openpackaging.parts.*; 76 import org.docx4j.openpackaging.parts.PresentationML.JaxbPmlPart; 75 77 import org.docx4j.openpackaging.parts.WordprocessingML.*; 76 78 … … 322 324 + "' of content type '" + contentType + "'"); 323 325 return CreateDefaultPartObject(partName ); 326 } else if (contentType.startsWith("application/vnd.openxmlformats-officedocument.presentationml")) { 327 return JaxbPmlPart.newPartForContentType(contentType, partName); 324 328 } else { 329 325 330 log.error("No subclass found for " + partName + "; defaulting to binary"); 326 331 //throw new PartUnrecognisedException("No subclass found for " + partName + " (content type '" + contentType + "')"); … … 668 673 p = new WordprocessingMLPackage(this); 669 674 return p; 675 } else if (getPartNameOverridenByContentType(ContentTypes.PRESENTATIONML_MAIN) != null) { 676 log.info("Detected PresentationMLPackage package "); 677 p = new PresentationMLPackage(this); 678 return p; 679 670 680 } else { 671 log.warn("No part in [Content_Types].xml for content type" 672 + ContentTypes.WORDPROCESSINGML_DOCUMENT); 673 // TODO - what content type in this case? 674 return new Package(this); 681 throw new InvalidFormatException("Unexpected package (docx4j supports docx/docxm and pptx only"); 682 // log.warn("No part in [Content_Types].xml for content type" 683 // + ContentTypes.WORDPROCESSINGML_DOCUMENT); 684 // // TODO - what content type in this case? 685 // return new Package(this); 675 686 } 676 687 } -
trunk/docx4j/src/main/java/org/docx4j/openpackaging/contenttype/ContentTypes.java
r636 r1044 106 106 public final static String WORDPROCESSINGML_DOCUMENT_MACROENABLED = "application/vnd.ms-word.document.macroEnabled.main+xml"; 107 107 108 108 109 // PartName="/word/comments.xml" 109 110 public final static String WORDPROCESSINGML_COMMENTS = "application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml"; … … 137 138 "application/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml"; 138 139 139 140 141 // /ppt/presentation.xml 142 public final static String PRESENTATIONML_MAIN = 143 "application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml"; 144 145 // /ppt/slides/slide1.xml" 146 public final static String PRESENTATIONML_SLIDE = 147 "application/vnd.openxmlformats-officedocument.presentationml.slide+xml"; 148 149 // /ppt/slideMasters/slideMaster1.xml 150 public final static String PRESENTATIONML_SLIDE_MASTER = 151 "application/vnd.openxmlformats-officedocument.presentationml.slideMaster+xml"; 152 153 // /ppt/slideLayouts/slideLayout11.xml 154 public final static String PRESENTATIONML_SLIDE_LAYOUT = 155 "application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml"; 156 157 // /ppt/tableStyles.xml 158 public final static String PRESENTATIONML_TABLE_STYLES = 159 "application/vnd.openxmlformats-officedocument.presentationml.tableStyles+xml"; 160 161 // /ppt/presProps.xml 162 public final static String PRESENTATIONML_PRES_PROPS = 163 "application/vnd.openxmlformats-officedocument.presentationml.presProps+xml"; 164 165 // /ppt/viewProps.xml 166 public final static String PRESENTATIONML_VIEW_PROPS = 167 "application/vnd.openxmlformats-officedocument.presentationml.viewProps+xml"; 168 169 // /ppt/tags/tag19.xml 170 public final static String PRESENTATIONML_TAGS = 171 "application/vnd.openxmlformats-officedocument.presentationml.tags+xml"; 140 172 141 173 -
trunk/docx4j/src/main/java/org/docx4j/openpackaging/io/LoadFromZipNG.java
r1004 r1044 87 87 // so we can tell whether there are any orphans 88 88 public HashMap unusedZipEntries = new HashMap(); 89 90 91 /** 92 * This HashMap is intended to prevent loops. 93 */ 94 public HashMap<String, String> handled = new HashMap<String, String>(); 95 89 96 90 97 public LoadFromZipNG() { … … 395 402 } 396 403 404 if (handled.get(resolvedPartUri)!=null) return; 405 397 406 String relationshipType = r.getType(); 398 407 … … 404 413 } 405 414 rp.loadPart(part, r); 415 handled.put(resolvedPartUri, resolvedPartUri); 406 416 407 417 // The source Part (or Package) might have a convenience -
trunk/docx4j/src/main/java/org/docx4j/openpackaging/packages/Package.java
r854 r1044 22 22 package org.docx4j.openpackaging.packages; 23 23 24 import java.io.FileInputStream; 25 import java.io.FileNotFoundException; 26 import java.io.FileOutputStream; 24 27 import java.util.HashMap; 25 28 29 import javax.xml.bind.JAXBContext; 30 import javax.xml.bind.JAXBElement; 31 import javax.xml.bind.Marshaller; 32 import javax.xml.bind.Unmarshaller; 33 26 34 import org.apache.log4j.Logger; 35 import org.docx4j.convert.out.flatOpcXml.FlatOpcXmlCreator; 27 36 import org.docx4j.jaxb.Context; 37 import org.docx4j.jaxb.NamespacePrefixMapperUtils; 28 38 import org.docx4j.openpackaging.Base; 29 39 import org.docx4j.openpackaging.contenttype.ContentTypeManager; 40 import org.docx4j.openpackaging.exceptions.Docx4JException; 30 41 import org.docx4j.openpackaging.exceptions.InvalidFormatException; 42 import org.docx4j.openpackaging.io.LoadFromZipNG; 43 import org.docx4j.openpackaging.io.SaveToZipFile; 31 44 import org.docx4j.openpackaging.parts.CustomXmlDataStoragePart; 32 45 import org.docx4j.openpackaging.parts.DocPropsCorePart; … … 44 57 * 45 58 * @author Jason Harrop 46 * @version 0.147 59 */ 48 60 public class Package extends Base { … … 134 146 135 147 protected DocPropsCustomPart docPropsCustomPart; 148 149 150 /** 151 * Convenience method to create a WordprocessingMLPackage 152 * or PresentationMLPackage 153 * from an existing File (.docx/.docxm, .ppxtx or Flat OPC .xml). 154 * 155 * @param docxFile 156 * The docx file 157 */ 158 public static Package load(java.io.File docxFile) throws Docx4JException { 159 160 if (docxFile.getName().endsWith(".xml")) { 161 162 org.docx4j.convert.in.FlatOpcXmlImporter xmlPackage; 163 try { 164 Unmarshaller u = Context.jcXmlPackage.createUnmarshaller(); 165 u.setEventHandler(new org.docx4j.jaxb.JaxbValidationEventHandler()); 166 167 org.docx4j.xmlPackage.Package wmlPackageEl = (org.docx4j.xmlPackage.Package)((JAXBElement)u.unmarshal( 168 new javax.xml.transform.stream.StreamSource(new FileInputStream(docxFile.getAbsolutePath())))).getValue(); 169 170 xmlPackage = new org.docx4j.convert.in.FlatOpcXmlImporter( wmlPackageEl); 171 } catch (Exception e) { 172 log.error(e); 173 throw new Docx4JException("Couldn't load xml from " + docxFile.getAbsolutePath(), e); 174 } 175 return xmlPackage.get(); 176 } 177 178 // LoadFromZipFile loader = new LoadFromZipFile(); 179 LoadFromZipNG loader = new LoadFromZipNG(); 180 // return (WordprocessingMLPackage)loader.get(docxFile); 181 FileInputStream fis = null; 182 try { 183 fis = new FileInputStream(docxFile); 184 } catch (FileNotFoundException e) { 185 log.error(e); 186 throw new Docx4JException("Couldn't load file from " + docxFile.getAbsolutePath(), e); 187 } 188 return loader.get(fis); 189 } 190 191 /** 192 * Convenience method to save a WordprocessingMLPackage 193 * or PresentationMLPackage to a File. 194 * 195 * @param docxFile 196 * The docx file 197 */ 198 public void save(java.io.File docxFile) throws Docx4JException { 199 200 if (docxFile.getName().endsWith(".xml")) { 201 202 // Create a org.docx4j.wml.Package object 203 FlatOpcXmlCreator worker = new FlatOpcXmlCreator(this); 204 org.docx4j.xmlPackage.Package pkg = worker.get(); 205 206 // Now marshall it 207 JAXBContext jc = Context.jcXmlPackage; 208 try { 209 Marshaller marshaller=jc.createMarshaller(); 210 211 marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE); 212 NamespacePrefixMapperUtils.setProperty(marshaller, 213 NamespacePrefixMapperUtils.getPrefixMapper()); 214 215 marshaller.marshal(pkg, new FileOutputStream(docxFile)); 216 } catch (Exception e) { 217 throw new Docx4JException("Error saving Flat OPC XML", e); 218 } 219 return; 220 } 221 222 SaveToZipFile saver = new SaveToZipFile(this); 223 saver.save(docxFile); 224 } 225 226 227 136 228 137 229 @Override -
trunk/docx4j/src/main/java/org/docx4j/openpackaging/packages/WordprocessingMLPackage.java
r1004 r1044 161 161 public static WordprocessingMLPackage load(java.io.File docxFile) throws Docx4JException { 162 162 163 if (docxFile.getName().endsWith(".xml")) { 164 165 org.docx4j.convert.in.FlatOpcXmlImporter xmlPackage; 166 try { 167 Unmarshaller u = Context.jcXmlPackage.createUnmarshaller(); 168 u.setEventHandler(new org.docx4j.jaxb.JaxbValidationEventHandler()); 169 170 org.docx4j.xmlPackage.Package wmlPackageEl = (org.docx4j.xmlPackage.Package)((JAXBElement)u.unmarshal( 171 new javax.xml.transform.stream.StreamSource(new FileInputStream(docxFile.getAbsolutePath())))).getValue(); 172 173 xmlPackage = new org.docx4j.convert.in.FlatOpcXmlImporter( wmlPackageEl); 174 } catch (Exception e) { 175 log.error(e); 176 throw new Docx4JException("Couldn't load xml from " + docxFile.getAbsolutePath(), e); 177 } 178 return (WordprocessingMLPackage)xmlPackage.get(); 179 } 180 181 // LoadFromZipFile loader = new LoadFromZipFile(); 182 LoadFromZipNG loader = new LoadFromZipNG(); 183 // return (WordprocessingMLPackage)loader.get(docxFile); 184 FileInputStream fis = null; 185 try { 186 fis = new FileInputStream(docxFile); 187 } catch (FileNotFoundException e) { 188 log.error(e); 189 throw new Docx4JException("Couldn't load docx from " + docxFile.getAbsolutePath(), e); 190 } 191 return (WordprocessingMLPackage)loader.get(fis); 163 return (WordprocessingMLPackage)Package.load(docxFile); 192 164 } 193 165 -
trunk/docx4j/src/main/java/org/docx4j/openpackaging/parts/WordprocessingML/BinaryPartAbstractImage.java
r983 r1044 45 45 import org.apache.xmlgraphics.image.loader.impl.DefaultImageSessionContext; 46 46 import org.docx4j.UnitsOfMeasurement; 47 import org.docx4j.dml.Inline; 47 import org.docx4j.dml.picture.Pic; 48 import org.docx4j.dml.wordprocessingDrawing.Inline; 48 49 import org.docx4j.model.structure.PageDimensions; 49 50 import org.docx4j.model.structure.SectionWrapper; … … 609 610 } 610 611 611 org.docx4j.dml.Pic pic = graphic.getGraphicData().getPic();612 Pic pic = graphic.getGraphicData().getPic(); 612 613 String rId = pic.getBlipFill().getBlip().getEmbed(); 613 614 if (rId.equals("")) { -
trunk/docx4j/src/main/java/org/docx4j/openpackaging/parts/relationships/Namespaces.java
r1004 r1044 128 128 "http://schemas.openxmlformats.org/officeDocument/2006/relationships/oleObject"; 129 129 130 // Target="ppt/presentation.xml" 131 public final static String PRESENTATIONML_MAIN = 132 "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument"; 133 134 // Target="slides/slide1.xml" 135 public final static String PRESENTATIONML_SLIDE = 136 "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide"; 137 138 // Target="slideMasters/slideMaster1.xml" 139 public final static String PRESENTATIONML_SLIDE_MASTER = 140 "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"; 141 142 // Target="../slideLayouts/slideLayout1.xml" 143 public final static String PRESENTATIONML_SLIDE_LAYOUT = 144 "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"; 145 146 // Target="tableStyles.xml" 147 public final static String PRESENTATIONML_TABLE_STYLES = 148 "http://schemas.openxmlformats.org/officeDocument/2006/relationships/tableStyles"; 149 150 // Target="presProps.xml" 151 public final static String PRESENTATIONML_PRES_PROPS = 152 "http://schemas.openxmlformats.org/officeDocument/2006/relationships/presProps"; 153 154 // Target="viewProps.xml" 155 public final static String PRESENTATIONML_VIEW_PROPS = 156 "http://schemas.openxmlformats.org/officeDocument/2006/relationships/viewProps"; 157 158 // Target="../tags/tag66.xml" 159 public final static String PRESENTATIONML_TAGS = 160 "http://schemas.openxmlformats.org/officeDocument/2006/relationships/tags"; 161 162 // Target="docProps/thumbnail.jpeg" 163 public final static String METADATA_THUMBNAIL = 164 "http://schemas.openxmlformats.org/package/2006/relationships/metadata/thumbnail"; 165 130 166 131 167 // public final static String NS_OFFICE = "urn:schemas-microsoft-com:office:office"; -
trunk/docx4j/src/main/java/org/docx4j/samples/AddImage.java
r776 r1044 25 25 import java.io.IOException; 26 26 27 import org.docx4j.dml. Inline;27 import org.docx4j.dml.wordprocessingDrawing.Inline; 28 28 import org.docx4j.openpackaging.packages.WordprocessingMLPackage; 29 29 import org.docx4j.openpackaging.exceptions.InvalidFormatException; -
trunk/docx4j/src/main/java/org/docx4j/samples/ConvertEmbeddedImageToLinked.java
r627 r1044 31 31 import javax.xml.bind.Unmarshaller; 32 32 33 import org.docx4j.dml.picture.Pic; 34 import org.docx4j.dml.wordprocessingDrawing.Anchor; 35 import org.docx4j.dml.wordprocessingDrawing.Inline; 33 36 import org.docx4j.openpackaging.io.LoadFromZipFile; 34 37 import org.docx4j.openpackaging.io.SaveToZipFile; … … 211 214 System.out.println(" describeDrawing " ); 212 215 213 if ( d.getAnchorOrInline().get(0) instanceof org.docx4j.dml.Anchor ) {216 if ( d.getAnchorOrInline().get(0) instanceof Anchor ) { 214 217 215 218 System.out.println(" ENCOUNTERED w:drawing/wp:anchor " ); 216 219 // That's all for now... 217 220 218 } else if ( d.getAnchorOrInline().get(0) instanceof org.docx4j.dml.Inline ) {221 } else if ( d.getAnchorOrInline().get(0) instanceof Inline ) { 219 222 220 223 // Extract w:drawing/wp:inline/a:graphic/a:graphicData/pic:pic/pic:blipFill/a:blip/@r:embed 221 224 222 org.docx4j.dml.Inline inline = (org.docx4j.dml.Inline )d.getAnchorOrInline().get(0);223 224 org.docx4j.dml.Pic pic = inline.getGraphic().getGraphicData().getPic();225 Inline inline = (Inline )d.getAnchorOrInline().get(0); 226 227 Pic pic = inline.getGraphic().getGraphicData().getPic(); 225 228 226 229 System.out.println( "*** image relationship: " + pic.getBlipFill().getBlip().getEmbed() ); -
trunk/docx4j/src/main/java/org/docx4j/samples/CreateHtml.java
r1015 r1044 46 46 // String inputfilepath = System.getProperty("user.dir") + "/sample-docs/sample-docx.xml"; 47 47 String inputfilepath = System.getProperty("user.dir") + "/docs/Docx4j_GettingStarted.xml"; 48 // String inputfilepath = System.getProperty("user.dir") 49 // + "/sample-docs/test-docs/endnotes.xml"; 50 // String inputfilepath = System.getProperty("user.dir") 51 // + "/sample-docs/test-docs/header-footer/header_first.xml"; 48 52 49 53 System.out.println(inputfilepath); -
trunk/docx4j/src/main/java/org/docx4j/samples/CreatePdf.java
r1020 r1044 52 52 53 53 // String inputfilepath = System.getProperty("user.dir") + "/sample-docs/sample-docx.xml"; 54 String inputfilepath = System.getProperty("user.dir") 55 + "/sample-docs/test-docs/header-footer/header_first.xml"; 54 // String inputfilepath = System.getProperty("user.dir") 55 // + "/sample-docs/test-docs/header-footer/header_first.xml"; 56 String inputfilepath = System.getProperty("user.dir") + "/docs/Docx4j_GettingStarted.xml"; 57 // String inputfilepath = System.getProperty("user.dir") 58 // + "/sample-docs/test-docs/endnotes.xml"; 56 59 57 60 WordprocessingMLPackage wordMLPackage; -
trunk/docx4j/src/main/java/org/docx4j/samples/ImportForeignPart.java
r1006 r1044 22 22 package org.docx4j.samples; 23 23 24 import java.io.File;25 24 import java.io.FileInputStream; 26 import java.io.FileOutputStream;27 import java.io.IOException;28 25 import java.io.InputStream; 29 26 30 import javax.jcr.Node;31 import javax.jcr.Session;32 import javax.xml.bind.JAXBContext;33 import javax.xml.bind.Marshaller;34 35 import org.docx4j.JcrNodeMapper.NodeMapper;36 import org.docx4j.convert.out.flatOpcXml.FlatOpcXmlCreator;37 import org.docx4j.dml.Inline;38 import org.docx4j.docProps.extended.Properties;39 import org.docx4j.jaxb.Context;40 27 import org.docx4j.openpackaging.Base; 28 import org.docx4j.openpackaging.contenttype.ContentTypeManager; 29 import org.docx4j.openpackaging.io.Load; 41 30 import org.docx4j.openpackaging.packages.WordprocessingMLPackage; 42 import org.docx4j.openpackaging.exceptions.Docx4JException;43 import org.docx4j.openpackaging.exceptions.InvalidFormatException;44 import org.docx4j.openpackaging.io.Load;45 import org.docx4j.openpackaging.io.SaveToZipFile;46 47 import org.docx4j.openpackaging.parts.DocPropsExtendedPart;48 31 import org.docx4j.openpackaging.parts.Part; 49 import org.docx4j.openpackaging.parts.PartName;50 import org.docx4j.openpackaging.contenttype.CTOverride;51 import org.docx4j.openpackaging.contenttype.ContentType;52 import org.docx4j.openpackaging.contenttype.ContentTypeManager;53 import org.docx4j.openpackaging.contenttype.ContentTypes;54 import org.docx4j.openpackaging.contenttype.ObjectFactory;55 import org.docx4j.relationships.Relationship;56 import org.docx4j.openpackaging.parts.WordprocessingML.BinaryPartAbstractImage;57 import org.docx4j.openpackaging.parts.relationships.Namespaces;58 32 59 33 /** -
trunk/docx4j/src/main/java/org/docx4j/samples/ImportFromPackageFormat.java
r771 r1044 44 44 * This is a convenient format for loading certain test cases. 45 45 * 46 * TODO If this is extended to read the pkg properly (ie47 * follow the relationships, like open from zip file does), we48 * might consider moving it to org.docx4j.openpackaging.io49 *50 46 * */ 51 47 public class ImportFromPackageFormat { … … 61 57 62 58 // Do we want to save output? 63 boolean save = true;59 boolean save = false; 64 60 // If so, where to? 65 61 String outputfilepath = "/home/dev/simple-out-rtt.docx"; -
trunk/docx4j/src/main/java/org/docx4j/samples/OpenMainDocumentAndTraverse.java
r1007 r1044 32 32 33 33 import org.docx4j.XmlUtils; 34 import org.docx4j.dml.picture.Pic; 35 import org.docx4j.dml.wordprocessingDrawing.Anchor; 36 import org.docx4j.dml.wordprocessingDrawing.Inline; 34 37 import org.docx4j.jaxb.Context; 35 38 import org.docx4j.openpackaging.io.LoadFromZipFile; … … 41 44 import org.docx4j.relationships.Relationship; 42 45 import org.docx4j.wml.Body; 46 import org.w3c.dom.Element; 43 47 44 48 … … 52 56 public static void main(String[] args) throws Exception { 53 57 54 //String inputfilepath = System.getProperty("user.dir") + "/sample-docs/math.docx";55 String inputfilepath = "/home/dev/workspace/docx4j/sample-docs/fo-200912.xml";58 String inputfilepath = System.getProperty("user.dir") + "/sample-docs/Images.docx"; 59 // String inputfilepath = "/home/dev/workspace/docx4j/sample-docs/fo-200912.xml"; 56 60 57 61 boolean save = false; … … 261 265 System.out.println(" describeDrawing " ); 262 266 263 if ( d.getAnchorOrInline().get(0) instanceof org.docx4j.dml.Anchor ) {267 if ( d.getAnchorOrInline().get(0) instanceof Anchor ) { 264 268 265 269 System.out.println(" ENCOUNTERED w:drawing/wp:anchor " ); 266 270 // That's all for now... 267 271 268 } else if ( d.getAnchorOrInline().get(0) instanceof org.docx4j.dml.Inline ) {272 } else if ( d.getAnchorOrInline().get(0) instanceof Inline ) { 269 273 270 274 // Extract w:drawing/wp:inline/a:graphic/a:graphicData/pic:pic/pic:blipFill/a:blip/@r:embed 271 275 272 org.docx4j.dml.Inline inline = (org.docx4j.dml.Inline )d.getAnchorOrInline().get(0); 273 274 org.docx4j.dml.Pic pic = inline.getGraphic().getGraphicData().getPic(); 275 276 System.out.println( "image relationship: " + pic.getBlipFill().getBlip().getEmbed() ); 276 Inline inline = (Inline )d.getAnchorOrInline().get(0); 277 278 Pic pic = inline.getGraphic().getGraphicData().getPic(); 279 280 if (pic!=null) { 281 System.out.println( "image relationship: " + pic.getBlipFill().getBlip().getEmbed() ); 282 } 277 283 278 284 -
trunk/docx4j/src/main/java/org/docx4j/samples/PartsList.java
r1033 r1044 22 22 23 23 24 import java.util.HashMap; 25 26 import javax.xml.bind.JAXBElement; 27 24 28 import org.apache.log4j.Logger; 25 import org.docx4j. openpackaging.packages.WordprocessingMLPackage;29 import org.docx4j.XmlUtils; 26 30 import org.docx4j.openpackaging.parts.Part; 31 import org.docx4j.openpackaging.parts.JaxbXmlPart; 27 32 import org.docx4j.openpackaging.parts.relationships.RelationshipsPart; 28 33 import org.docx4j.relationships.Relationship; … … 39 44 40 45 41 String inputfilepath = System.getProperty("user.dir") 42 + "/sample-docs/test-docs/header-footer/header_sections_some-linked.xml"; 46 // String inputfilepath = System.getProperty("user.dir") 47 // + "/sample-docs/test-docs/header-footer/header_sections_some-linked.xml"; 48 String inputfilepath = System.getProperty("user.dir") + "/sample-docs/pptx.pptx"; 43 49 44 50 // Open a document from the file system 45 51 // 1. Load the Package - .docx or Flat OPC .xml 46 WordprocessingMLPackage wordMLPackage = WordprocessingMLPackage.load(new java.io.File(inputfilepath));52 org.docx4j.openpackaging.packages.Package wordMLPackage = org.docx4j.openpackaging.packages.Package.load(new java.io.File(inputfilepath)); 47 53 48 54 // List the parts by walking the rels tree … … 56 62 57 63 public static void printInfo(Part p, StringBuilder sb, String indent) { 58 sb.append("\n" + indent + p.getPartName() + " [" + p.getClass().getName() + "] " ); 64 sb.append("\n" + indent + "Part " + p.getPartName() + " [" + p.getClass().getName() + "] " ); 65 if (p instanceof JaxbXmlPart) { 66 Object o = ((JaxbXmlPart)p).getJaxbElement(); 67 if (o instanceof javax.xml.bind.JAXBElement) { 68 sb.append(" containing JaxbElement:" + XmlUtils.JAXBElementDebug((JAXBElement)o) ); 69 } else { 70 sb.append(" containing JaxbElement:" + o.getClass().getName() ); 71 } 72 } 59 73 } 60 74 61 public static void traverseRelationships(WordprocessingMLPackage wordMLPackage, 75 /** 76 * This HashMap is intended to prevent loops. 77 */ 78 public static HashMap<Part, Part> handled = new HashMap<Part, Part>(); 79 80 public static void traverseRelationships(org.docx4j.openpackaging.packages.Package wordMLPackage, 62 81 RelationshipsPart rp, 63 82 StringBuilder sb, String indent) { 83 84 // TODO: order by rel id 64 85 65 86 for ( Relationship r : rp.getRelationships().getRelationship() ) { … … 79 100 Part part = rp.getPart(r); 80 101 102 81 103 printInfo(part, sb, indent); 104 if (handled.get(part)!=null) { 105 sb.append(" [additional reference] "); 106 continue; 107 } 108 handled.put(part, part); 82 109 if (part.getRelationshipsPart()==null) { 83 sb.append(".. no rels" );110 // sb.append(".. no rels" ); 84 111 } else { 85 112 traverseRelationships(wordMLPackage, part.getRelationshipsPart(), sb, indent + " "); -
trunk/docx4j/src/main/java/org/docx4j/wml/Drawing.java
r925 r1044 32 32 import javax.xml.bind.annotation.XmlTransient; 33 33 import javax.xml.bind.annotation.XmlType; 34 import org.docx4j.dml. Anchor;35 import org.docx4j.dml. Inline;34 import org.docx4j.dml.wordprocessingDrawing.Anchor; 35 import org.docx4j.dml.wordprocessingDrawing.Inline; 36 36 import org.jvnet.jaxb2_commons.ppp.Child; 37 37 -
trunk/docx4j/xsd/pml/dml_imports.xsd
r1037 r1044 27 27 --> 28 28 29 <!--<xsd:annotation>30 <xsd:documentation xml:lang="en">31 </xsd:documentation>29 <xsd:annotation> 30 <xsd:documentation xml:lang="en"> 31 </xsd:documentation> 32 32 <xsd:appinfo> 33 33 <xsd:appinfo> … … 40 40 </xsd:appinfo> 41 41 </xsd:annotation> 42 -->43 42 44 <xsd:include schemaLocation="../dml/dml-docproperties.xsd" /> 45 <!-- was ../dml/dml-documentProperties.xsd; should use that --> 43 <xsd:include schemaLocation="../dml/dml-documentProperties.xsd" /> 46 44 47 45 <xsd:include schemaLocation="../dml/dml-text.xsd" /> … … 51 49 <xsd:include schemaLocation="../dml/dml-audioVideo.xsd" /> 52 50 53 <xsd:include schemaLocation="../dml/dml-graphicalobject.xsd" /> 54 <!-- was dml-graphicalObject.xsd; should use that --> 51 <xsd:include schemaLocation="../dml/dml-graphicalObject.xsd" /> 55 52 56 53 <xsd:include schemaLocation="../dml/dml-graphicalObjectAnimation.xsd" /> -
trunk/docx4j/xsd/pml/pml-presentation.xsd
r1037 r1044 736 736 </xsd:attribute> 737 737 </xsd:complexType> 738 <xsd:complexType name="CT_Presentation"> 739 <xsd:sequence> 740 <xsd:element name="sldMasterIdLst" 741 type="CT_SlideMasterIdList" minOccurs="0" maxOccurs="1"> 742 <xsd:annotation> 743 <xsd:documentation> 744 List of Slide Master IDs 745 </xsd:documentation> 746 </xsd:annotation> 747 </xsd:element> 748 <xsd:element name="notesMasterIdLst" 749 type="CT_NotesMasterIdList" minOccurs="0" maxOccurs="1"> 750 <xsd:annotation> 751 <xsd:documentation> 752 List of Notes Master IDs 753 </xsd:documentation> 754 </xsd:annotation> 755 </xsd:element> 756 <xsd:element name="handoutMasterIdLst" 757 type="CT_HandoutMasterIdList" minOccurs="0" maxOccurs="1"> 758 <xsd:annotation> 759 <xsd:documentation> 760 List of Handout Master IDs 761 </xsd:documentation> 762 </xsd:annotation> 763 </xsd:element> 764 <xsd:element name="sldIdLst" type="CT_SlideIdList" 765 minOccurs="0" maxOccurs="1"> 766 <xsd:annotation> 767 <xsd:documentation> 768 List of Slide IDs 769 </xsd:documentation> 770 </xsd:annotation> 771 </xsd:element> 772 <xsd:element name="sldSz" type="CT_SlideSize" minOccurs="0" 773 maxOccurs="1"> 774 <xsd:annotation> 775 <xsd:documentation> 776 Presentation Slide Size 777 </xsd:documentation> 778 </xsd:annotation> 779 </xsd:element> 780 <xsd:element name="notesSz" type="a:CT_PositiveSize2D" 781 minOccurs="1" maxOccurs="1"> 782 <xsd:annotation> 783 <xsd:documentation> 784 Notes Slide Size 785 </xsd:documentation> 786 </xsd:annotation> 787 </xsd:element> 788 <xsd:element name="smartTags" type="CT_SmartTags" 789 minOccurs="0" maxOccurs="1"> 790 <xsd:annotation> 791 <xsd:documentation>Smart Tags</xsd:documentation> 792 </xsd:annotation> 793 </xsd:element> 794 <xsd:element name="embeddedFontLst" 795 type="CT_EmbeddedFontList" minOccurs="0" maxOccurs="1"> 796 <xsd:annotation> 797 <xsd:documentation> 798 Embedded Font List 799 </xsd:documentation> 800 </xsd:annotation> 801 </xsd:element> 802 <xsd:element name="custShowLst" type="CT_CustomShowList" 803 minOccurs="0" maxOccurs="1"> 804 <xsd:annotation> 805 <xsd:documentation> 806 List of Custom Shows 807 </xsd:documentation> 808 </xsd:annotation> 809 </xsd:element> 810 <xsd:element name="photoAlbum" type="CT_PhotoAlbum" 811 minOccurs="0" maxOccurs="1"> 812 <xsd:annotation> 813 <xsd:documentation> 814 Photo Album Information 815 </xsd:documentation> 816 </xsd:annotation> 817 </xsd:element> 818 <xsd:element name="custDataLst" type="CT_CustomerDataList" 819 minOccurs="0" maxOccurs="1"> 820 <xsd:annotation> 821 <xsd:documentation> 822 List of Customer Data Buckets 823 </xsd:documentation> 824 </xsd:annotation> 825 </xsd:element> 826 <xsd:element name="kinsoku" type="CT_Kinsoku" 827 minOccurs="0"> 828 <xsd:annotation> 829 <xsd:documentation> 830 Kinsoku Settings 831 </xsd:documentation> 832 </xsd:annotation> 833 </xsd:element> 834 <xsd:element name="defaultTextStyle" 835 type="a:CT_TextListStyle" minOccurs="0" maxOccurs="1"> 836 <xsd:annotation> 837 <xsd:documentation> 838 Presentation Default Text Style 839 </xsd:documentation> 840 </xsd:annotation> 841 </xsd:element> 842 <xsd:element name="modifyVerifier" type="CT_ModifyVerifier" 843 minOccurs="0" maxOccurs="1"> 844 <xsd:annotation> 845 <xsd:documentation> 846 Modification Verifier 847 </xsd:documentation> 848 </xsd:annotation> 849 </xsd:element> 850 <xsd:element name="extLst" type="CT_ExtensionList" 851 minOccurs="0" maxOccurs="1"> 852 <xsd:annotation> 853 <xsd:documentation> 854 Extension List 855 </xsd:documentation> 856 </xsd:annotation> 857 </xsd:element> 858 </xsd:sequence> 859 <xsd:attribute name="serverZoom" type="a:ST_Percentage" 860 use="optional" default="50000"> 861 <xsd:annotation> 862 <xsd:documentation>Server Zoom</xsd:documentation> 863 </xsd:annotation> 864 </xsd:attribute> 865 <xsd:attribute name="firstSlideNum" type="xsd:int" 866 use="optional" default="1"> 867 <xsd:annotation> 868 <xsd:documentation> 869 First Slide Number 870 </xsd:documentation> 871 </xsd:annotation> 872 </xsd:attribute> 873 <xsd:attribute name="showSpecialPlsOnTitleSld" 874 type="xsd:boolean" use="optional" default="true"> 875 <xsd:annotation> 876 <xsd:documentation> 877 Show Header and Footer Placeholders on Titles 878 </xsd:documentation> 879 </xsd:annotation> 880 </xsd:attribute> 881 <xsd:attribute name="rtl" type="xsd:boolean" use="optional" 882 default="false"> 883 <xsd:annotation> 884 <xsd:documentation> 885 Right-To-Left Views 886 </xsd:documentation> 887 </xsd:annotation> 888 </xsd:attribute> 889 <xsd:attribute name="removePersonalInfoOnSave" 890 type="xsd:boolean" use="optional" default="false"> 891 <xsd:annotation> 892 <xsd:documentation> 893 Remove Personal Information on Save 894 </xsd:documentation> 895 </xsd:annotation> 896 </xsd:attribute> 897 <xsd:attribute name="compatMode" type="xsd:boolean" 898 use="optional" default="false"> 899 <xsd:annotation> 900 <xsd:documentation> 901 Compatibility Mode 902 </xsd:documentation> 903 </xsd:annotation> 904 </xsd:attribute> 905 <xsd:attribute name="strictFirstAndLastChars" type="xsd:boolean" 906 use="optional" default="true"> 907 <xsd:annotation> 908 <xsd:documentation> 909 Strict First and Last Characters 910 </xsd:documentation> 911 </xsd:annotation> 912 </xsd:attribute> 913 <xsd:attribute name="embedTrueTypeFonts" type="xsd:boolean" 914 use="optional" default="false"> 915 <xsd:annotation> 916 <xsd:documentation> 917 Embed True Type Fonts 918 </xsd:documentation> 919 </xsd:annotation> 920 </xsd:attribute> 921 <xsd:attribute name="saveSubsetFonts" type="xsd:boolean" 922 use="optional" default="false"> 923 <xsd:annotation> 924 <xsd:documentation>Save Subset Fonts</xsd:documentation> 925 </xsd:annotation> 926 </xsd:attribute> 927 <xsd:attribute name="autoCompressPictures" type="xsd:boolean" 928 use="optional" default="true"> 929 <xsd:annotation> 930 <xsd:documentation> 931 Automatically Compress Pictures 932 </xsd:documentation> 933 </xsd:annotation> 934 </xsd:attribute> 935 <xsd:attribute name="bookmarkIdSeed" type="ST_BookmarkIdSeed" 936 use="optional" default="1"> 937 <xsd:annotation> 938 <xsd:documentation>Bookmark ID Seed</xsd:documentation> 939 </xsd:annotation> 940 </xsd:attribute> 941 </xsd:complexType> 942 <xsd:element name="presentation" type="CT_Presentation"> 738 <xsd:element name="presentation"><!-- type="CT_Presentation"--> 943 739 <xsd:annotation> 944 740 <xsd:documentation>Presentation</xsd:documentation> 945 741 </xsd:annotation> 742 <xsd:complexType> 743 <xsd:sequence> 744 <xsd:element name="sldMasterIdLst" 745 type="CT_SlideMasterIdList" minOccurs="0" maxOccurs="1"> 746 <xsd:annotation> 747 <xsd:documentation> 748 List of Slide Master IDs 749 </xsd:documentation> 750 </xsd:annotation> 751 </xsd:element> 752 <xsd:element name="notesMasterIdLst" 753 type="CT_NotesMasterIdList" minOccurs="0" maxOccurs="1"> 754 <xsd:annotation> 755 <xsd:documentation> 756 List of Notes Master IDs 757 </xsd:documentation> 758 </xsd:annotation> 759 </xsd:element> 760 <xsd:element name="handoutMasterIdLst" 761 type="CT_HandoutMasterIdList" minOccurs="0" maxOccurs="1"> 762 <xsd:annotation> 763 <xsd:documentation> 764 List of Handout Master IDs 765 </xsd:documentation> 766 </xsd:annotation> 767 </xsd:element> 768 <xsd:element name="sldIdLst" type="CT_SlideIdList" 769 minOccurs="0" maxOccurs="1"> 770 <xsd:annotation> 771 <xsd:documentation> 772 List of Slide IDs 773 </xsd:documentation> 774 </xsd:annotation> 775 </xsd:element> 776 <xsd:element name="sldSz" type="CT_SlideSize" 777 minOccurs="0" maxOccurs="1"> 778 <xsd:annotation> 779 <xsd:documentation> 780 Presentation Slide Size 781 </xsd:documentation> 782 </xsd:annotation> 783 </xsd:element> 784 <xsd:element name="notesSz" type="a:CT_PositiveSize2D" 785 minOccurs="1" maxOccurs="1"> 786 <xsd:annotation> 787 <xsd:documentation> 788 Notes Slide Size 789 </xsd:documentation> 790 </xsd:annotation> 791 </xsd:element> 792 <xsd:element name="smartTags" type="CT_SmartTags" 793 minOccurs="0" maxOccurs="1"> 794 <xsd:annotation> 795 <xsd:documentation> 796 Smart Tags 797 </xsd:documentation> 798 </xsd:annotation> 799 </xsd:element> 800 <xsd:element name="embeddedFontLst" 801 type="CT_EmbeddedFontList" minOccurs="0" maxOccurs="1"> 802 <xsd:annotation> 803 <xsd:documentation> 804 Embedded Font List 805 </xsd:documentation> 806 </xsd:annotation> 807 </xsd:element> 808 <xsd:element name="custShowLst" type="CT_CustomShowList" 809 minOccurs="0" maxOccurs="1"> 810 <xsd:annotation> 811 <xsd:documentation> 812 List of Custom Shows 813 </xsd:documentation> 814 </xsd:annotation> 815 </xsd:element> 816 <xsd:element name="photoAlbum" type="CT_PhotoAlbum" 817 minOccurs="0" maxOccurs="1"> 818 <xsd:annotation> 819 <xsd:documentation> 820 Photo Album Information 821 </xsd:documentation> 822 </xsd:annotation> 823 </xsd:element> 824 <xsd:element name="custDataLst" 825 type="CT_CustomerDataList" minOccurs="0" maxOccurs="1"> 826 <xsd:annotation> 827 <xsd:documentation> 828 List of Customer Data Buckets 829 </xsd:documentation> 830 </xsd:annotation> 831 </xsd:element> 832 <xsd:element name="kinsoku" type="CT_Kinsoku" 833 minOccurs="0"> 834 <xsd:annotation> 835 <xsd:documentation> 836 Kinsoku Settings 837 </xsd:documentation> 838 </xsd:annotation> 839 </xsd:element> 840 <xsd:element name="defaultTextStyle" 841 type="a:CT_TextListStyle" minOccurs="0" maxOccurs="1"> 842 <xsd:annotation> 843 <xsd:documentation> 844 Presentation Default Text Style 845 </xsd:documentation> 846 </xsd:annotation> 847 </xsd:element> 848 <xsd:element name="modifyVerifier" 849 type="CT_ModifyVerifier" minOccurs="0" maxOccurs="1"> 850 <xsd:annotation> 851 <xsd:documentation> 852 Modification Verifier 853 </xsd:documentation> 854 </xsd:annotation> 855 </xsd:element> 856 <xsd:element name="extLst" type="CT_ExtensionList" 857 minOccurs="0" maxOccurs="1"> 858 <xsd:annotation> 859 <xsd:documentation> 860 Extension List 861 </xsd:documentation> 862 </xsd:annotation> 863 </xsd:element> 864 </xsd:sequence> 865 <xsd:attribute name="serverZoom" type="a:ST_Percentage" 866 use="optional" default="50000"> 867 <xsd:annotation> 868 <xsd:documentation>Server Zoom</xsd:documentation> 869 </xsd:annotation> 870 </xsd:attribute> 871 <xsd:attribute name="firstSlideNum" type="xsd:int" 872 use="optional" default="1"> 873 <xsd:annotation> 874 <xsd:documentation> 875 First Slide Number 876 </xsd:documentation> 877 </xsd:annotation> 878 </xsd:attribute> 879 <xsd:attribute name="showSpecialPlsOnTitleSld" 880 type="xsd:boolean" use="optional" default="true"> 881 <xsd:annotation> 882 <xsd:documentation> 883 Show Header and Footer Placeholders on Titles 884 </xsd:documentation> 885 </xsd:annotation> 886 </xsd:attribute> 887 <xsd:attribute name="rtl" type="xsd:boolean" use="optional" 888 default="false"> 889 <xsd:annotation> 890 <xsd:documentation> 891 Right-To-Left Views 892 </xsd:documentation> 893 </xsd:annotation> 894 </xsd:attribute> 895 <xsd:attribute name="removePersonalInfoOnSave" 896 type="xsd:boolean" use="optional" default="false"> 897 <xsd:annotation> 898 <xsd:documentation> 899 Remove Personal Information on Save 900 </xsd:documentation> 901 </xsd:annotation> 902 </xsd:attribute> 903 <xsd:attribute name="compatMode" type="xsd:boolean" 904 use="optional" default="false"> 905 <xsd:annotation> 906 <xsd:documentation> 907 Compatibility Mode 908 </xsd:documentation> 909 </xsd:annotation> 910 </xsd:attribute> 911 <xsd:attribute name="strictFirstAndLastChars" 912 type="xsd:boolean" use="optional" default="true"> 913 <xsd:annotation> 914 <xsd:documentation> 915 Strict First and Last Characters 916 </xsd:documentation> 917 </xsd:annotation> 918 </xsd:attribute> 919 <xsd:attribute name="embedTrueTypeFonts" type="xsd:boolean" 920 use="optional" default="false"> 921 <xsd:annotation> 922 <xsd:documentation> 923 Embed True Type Fonts 924 </xsd:documentation> 925 </xsd:annotation> 926 </xsd:attribute> 927 <xsd:attribute name="saveSubsetFonts" type="xsd:boolean" 928 use="optional" default="false"> 929 <xsd:annotation> 930 <xsd:documentation> 931 Save Subset Fonts 932 </xsd:documentation> 933 </xsd:annotation> 934 </xsd:attribute> 935 <xsd:attribute name="autoCompressPictures" 936 type="xsd:boolean" use="optional" default="true"> 937 <xsd:annotation> 938 <xsd:documentation> 939 Automatically Compress Pictures 940 </xsd:documentation> 941 </xsd:annotation> 942 </xsd:attribute> 943 <xsd:attribute name="bookmarkIdSeed" 944 type="ST_BookmarkIdSeed" use="optional" default="1"> 945 <xsd:annotation> 946 <xsd:documentation> 947 Bookmark ID Seed 948 </xsd:documentation> 949 </xsd:annotation> 950 </xsd:attribute> 951 </xsd:complexType> 946 952 </xsd:element> 947 953 </xsd:schema> -
trunk/docx4j/xsd/pml/pml-presentationProperties.xsd
r1037 r1044 522 522 </xsd:attribute> 523 523 </xsd:complexType> 524 <xsd:complexType name="CT_PresentationProperties"> 525 <xsd:sequence> 526 <xsd:element name="htmlPubPr" 527 type="CT_HtmlPublishProperties" minOccurs="0" maxOccurs="1"> 528 <xsd:annotation> 529 <xsd:documentation> 530 HTML Publishing Properties 531 </xsd:documentation> 532 </xsd:annotation> 533 </xsd:element> 534 <xsd:element name="webPr" type="CT_WebProperties" 535 minOccurs="0" maxOccurs="1"> 536 <xsd:annotation> 537 <xsd:documentation> 538 Web Properties 539 </xsd:documentation> 540 </xsd:annotation> 541 </xsd:element> 542 <xsd:element name="prnPr" type="CT_PrintProperties" 543 minOccurs="0" maxOccurs="1"> 544 <xsd:annotation> 545 <xsd:documentation> 546 Printing Properties 547 </xsd:documentation> 548 </xsd:annotation> 549 </xsd:element> 550 <xsd:element name="showPr" type="CT_ShowProperties" 551 minOccurs="0" maxOccurs="1"> 552 <xsd:annotation> 553 <xsd:documentation> 554 Presentation-wide Show Properties 555 </xsd:documentation> 556 </xsd:annotation> 557 </xsd:element> 558 <xsd:element name="clrMru" type="a:CT_ColorMRU" 559 minOccurs="0" maxOccurs="1"> 560 <xsd:annotation> 561 <xsd:documentation>Color MRU</xsd:documentation> 562 </xsd:annotation> 563 </xsd:element> 564 <xsd:element name="extLst" type="CT_ExtensionList" 565 minOccurs="0" maxOccurs="1" /> 566 </xsd:sequence> 567 </xsd:complexType> 568 <xsd:element name="presentationPr" 569 type="CT_PresentationProperties"> 524 <xsd:element name="presentationPr"> 525 <!-- type="CT_PresentationProperties"--> 570 526 <xsd:annotation> 571 527 <xsd:documentation> … … 573 529 </xsd:documentation> 574 530 </xsd:annotation> 531 <xsd:complexType> 532 <xsd:sequence> 533 <xsd:element name="htmlPubPr" 534 type="CT_HtmlPublishProperties" minOccurs="0" maxOccurs="1"> 535 <xsd:annotation> 536 <xsd:documentation> 537 HTML Publishing Properties 538 </xsd:documentation> 539 </xsd:annotation> 540 </xsd:element> 541 <xsd:element name="webPr" type="CT_WebProperties" 542 minOccurs="0" maxOccurs="1"> 543 <xsd:annotation> 544 <xsd:documentation> 545 Web Properties 546 </xsd:documentation> 547 </xsd:annotation> 548 </xsd:element> 549 <xsd:element name="prnPr" type="CT_PrintProperties" 550 minOccurs="0" maxOccurs="1"> 551 <xsd:annotation> 552 <xsd:documentation> 553 Printing Properties 554 </xsd:documentation> 555 </xsd:annotation> 556 </xsd:element> 557 <xsd:element name="showPr" type="CT_ShowProperties" 558 minOccurs="0" maxOccurs="1"> 559 <xsd:annotation> 560 <xsd:documentation> 561 Presentation-wide Show Properties 562 </xsd:documentation> 563 </xsd:annotation> 564 </xsd:element> 565 <xsd:element name="clrMru" type="a:CT_ColorMRU" 566 minOccurs="0" maxOccurs="1"> 567 <xsd:annotation> 568 <xsd:documentation>Color MRU</xsd:documentation> 569 </xsd:annotation> 570 </xsd:element> 571 <xsd:element name="extLst" type="CT_ExtensionList" 572 minOccurs="0" maxOccurs="1" /> 573 </xsd:sequence> 574 </xsd:complexType> 575 575 </xsd:element> 576 576 </xsd:schema> -
trunk/docx4j/xsd/pml/pml-slide.xsd
r1037 r1044 695 695 </xsd:attribute> 696 696 </xsd:complexType> 697 <xsd:complexType name="CT_Slide"> 698 <xsd:sequence minOccurs="1" maxOccurs="1"> 699 <xsd:element name="cSld" type="CT_CommonSlideData" 700 minOccurs="1" maxOccurs="1"> 701 <xsd:annotation> 702 <xsd:documentation> 703 Common slide data for slides 704 </xsd:documentation> 705 </xsd:annotation> 706 </xsd:element> 707 <xsd:group ref="EG_ChildSlide" minOccurs="0" maxOccurs="1" /> 708 <xsd:element name="transition" type="CT_SlideTransition" 709 minOccurs="0" maxOccurs="1"> 710 <xsd:annotation> 711 <xsd:documentation> 712 Slide Transition 713 </xsd:documentation> 714 </xsd:annotation> 715 </xsd:element> 716 <xsd:element name="timing" type="CT_SlideTiming" 717 minOccurs="0" maxOccurs="1"> 718 <xsd:annotation> 719 <xsd:documentation> 720 Slide Timing Information for a Slide 721 </xsd:documentation> 722 </xsd:annotation> 723 </xsd:element> 724 <xsd:element name="extLst" type="CT_ExtensionListModify" 725 minOccurs="0" maxOccurs="1" /> 726 </xsd:sequence> 727 <xsd:attributeGroup ref="AG_ChildSlide" /> 728 <xsd:attribute name="show" type="xsd:boolean" use="optional" 729 default="true"> 730 <xsd:annotation> 731 <xsd:documentation> 732 Show Slide in Slide Show 733 </xsd:documentation> 734 </xsd:annotation> 735 </xsd:attribute> 736 </xsd:complexType> 737 <xsd:element name="sld" type="CT_Slide"> 697 <xsd:element name="sld"><!-- type="CT_Slide" --> 738 698 <xsd:annotation> 739 699 <xsd:documentation>Presentation Slide</xsd:documentation> 740 700 </xsd:annotation> 701 <xsd:complexType> 702 <xsd:sequence minOccurs="1" maxOccurs="1"> 703 <xsd:element name="cSld" type="CT_CommonSlideData" 704 minOccurs="1" maxOccurs="1"> 705 <xsd:annotation> 706 <xsd:documentation> 707 Common slide data for slides 708 </xsd:documentation> 709 </xsd:annotation> 710 </xsd:element> 711 <xsd:group ref="EG_ChildSlide" minOccurs="0" 712 maxOccurs="1" /> 713 <xsd:element name="transition" type="CT_SlideTransition" 714 minOccurs="0" maxOccurs="1"> 715 <xsd:annotation> 716 <xsd:documentation> 717 Slide Transition 718 </xsd:documentation> 719 </xsd:annotation> 720 </xsd:element> 721 <xsd:element name="timing" type="CT_SlideTiming" 722 minOccurs="0" maxOccurs="1"> 723 <xsd:annotation> 724 <xsd:documentation> 725 Slide Timing Information for a Slide 726 </xsd:documentation> 727 </xsd:annotation> 728 </xsd:element> 729 <xsd:element name="extLst" type="CT_ExtensionListModify" 730 minOccurs="0" maxOccurs="1" /> 731 </xsd:sequence> 732 <xsd:attributeGroup ref="AG_ChildSlide" /> 733 <xsd:attribute name="show" type="xsd:boolean" use="optional" 734 default="true"> 735 <xsd:annotation> 736 <xsd:documentation> 737 Show Slide in Slide Show 738 </xsd:documentation> 739 </xsd:annotation> 740 </xsd:attribute> 741 </xsd:complexType> 741 742 </xsd:element> 742 743 <xsd:simpleType name="ST_SlideLayoutType"> … … 994 995 </xsd:restriction> 995 996 </xsd:simpleType> 996 <xsd:complexType name="CT_SlideLayout"> 997 <xsd:sequence minOccurs="1" maxOccurs="1"> 998 <xsd:element name="cSld" type="CT_CommonSlideData" 999 minOccurs="1" maxOccurs="1"> 1000 <xsd:annotation> 1001 <xsd:documentation> 1002 Common slide data for slide layouts 1003 </xsd:documentation> 1004 </xsd:annotation> 1005 </xsd:element> 1006 <xsd:group ref="EG_ChildSlide" minOccurs="0" maxOccurs="1" /> 1007 <xsd:element name="transition" type="CT_SlideTransition" 1008 minOccurs="0" maxOccurs="1"> 1009 <xsd:annotation> 1010 <xsd:documentation> 1011 Slide Transition for a Slide Layout 1012 </xsd:documentation> 1013 </xsd:annotation> 1014 </xsd:element> 1015 <xsd:element name="timing" type="CT_SlideTiming" 1016 minOccurs="0" maxOccurs="1"> 1017 <xsd:annotation> 1018 <xsd:documentation> 1019 Slide Timing Information for a Slide Layout 1020 </xsd:documentation> 1021 </xsd:annotation> 1022 </xsd:element> 1023 <xsd:element name="hf" type="CT_HeaderFooter" minOccurs="0" 1024 maxOccurs="1"> 1025 <xsd:annotation> 1026 <xsd:documentation> 1027 Header/Footer information for a slide layout 1028 </xsd:documentation> 1029 </xsd:annotation> 1030 </xsd:element> 1031 <xsd:element name="extLst" type="CT_ExtensionListModify" 1032 minOccurs="0" maxOccurs="1" /> 1033 </xsd:sequence> 1034 <xsd:attributeGroup ref="AG_ChildSlide" /> 1035 <xsd:attribute name="matchingName" type="xsd:string" 1036 use="optional" default=""> 1037 <xsd:annotation> 1038 <xsd:documentation>Matching Name</xsd:documentation> 1039 </xsd:annotation> 1040 </xsd:attribute> 1041 <xsd:attribute name="type" type="ST_SlideLayoutType" 1042 use="optional" default="cust"> 1043 <xsd:annotation> 1044 <xsd:documentation>Slide Layout Type</xsd:documentation> 1045 </xsd:annotation> 1046 </xsd:attribute> 1047 <xsd:attribute name="preserve" type="xsd:boolean" use="optional" 1048 default="false"> 1049 <xsd:annotation> 1050 <xsd:documentation> 1051 Preserve Slide Layout 1052 </xsd:documentation> 1053 </xsd:annotation> 1054 </xsd:attribute> 1055 <xsd:attribute name="userDrawn" type="xsd:boolean" 1056 use="optional" default="false"> 1057 <xsd:annotation> 1058 <xsd:documentation>Is User Drawn</xsd:documentation> 1059 </xsd:annotation> 1060 </xsd:attribute> 1061 </xsd:complexType> 1062 <xsd:element name="sldLayout" type="CT_SlideLayout"> 997 <xsd:element name="sldLayout"><!-- type="CT_SlideLayout" --> 1063 998 <xsd:annotation> 1064 999 <xsd:documentation>Slide Layout</xsd:documentation> 1065 1000 </xsd:annotation> 1001 <xsd:complexType> 1002 <xsd:sequence minOccurs="1" maxOccurs="1"> 1003 <xsd:element name="cSld" type="CT_CommonSlideData" 1004 minOccurs="1" maxOccurs="1"> 1005 <xsd:annotation> 1006 <xsd:documentation> 1007 Common slide data for slide layouts 1008 </xsd:documentation> 1009 </xsd:annotation> 1010 </xsd:element> 1011 <xsd:group ref="EG_ChildSlide" minOccurs="0" 1012 maxOccurs="1" /> 1013 <xsd:element name="transition" type="CT_SlideTransition" 1014 minOccurs="0" maxOccurs="1"> 1015 <xsd:annotation> 1016 <xsd:documentation> 1017 Slide Transition for a Slide Layout 1018 </xsd:documentation> 1019 </xsd:annotation> 1020 </xsd:element> 1021 <xsd:element name="timing" type="CT_SlideTiming" 1022 minOccurs="0" maxOccurs="1"> 1023 <xsd:annotation> 1024 <xsd:documentation> 1025 Slide Timing Information for a Slide Layout 1026 </xsd:documentation> 1027 </xsd:annotation> 1028 </xsd:element> 1029 <xsd:element name="hf" type="CT_HeaderFooter" 1030 minOccurs="0" maxOccurs="1"> 1031 <xsd:annotation> 1032 <xsd:documentation> 1033 Header/Footer information for a slide layout 1034 </xsd:documentation> 1035 </xsd:annotation> 1036 </xsd:element> 1037 <xsd:element name="extLst" type="CT_ExtensionListModify" 1038 minOccurs="0" maxOccurs="1" /> 1039 </xsd:sequence> 1040 <xsd:attributeGroup ref="AG_ChildSlide" /> 1041 <xsd:attribute name="matchingName" type="xsd:string" 1042 use="optional" default=""> 1043 <xsd:annotation> 1044 <xsd:documentation>Matching Name</xsd:documentation> 1045 </xsd:annotation> 1046 </xsd:attribute> 1047 <xsd:attribute name="type" type="ST_SlideLayoutType" 1048 use="optional" default="cust"> 1049 <xsd:annotation> 1050 <xsd:documentation> 1051 Slide Layout Type 1052 </xsd:documentation> 1053 </xsd:annotation> 1054 </xsd:attribute> 1055 <xsd:attribute name="preserve" type="xsd:boolean" 1056 use="optional" default="false"> 1057 <xsd:annotation> 1058 <xsd:documentation> 1059 Preserve Slide Layout 1060 </xsd:documentation> 1061 </xsd:annotation> 1062 </xsd:attribute> 1063 <xsd:attribute name="userDrawn" type="xsd:boolean" 1064 use="optional" default="false"> 1065 <xsd:annotation> 1066 <xsd:documentation>Is User Drawn</xsd:documentation> 1067 </xsd:annotation> 1068 </xsd:attribute> 1069 </xsd:complexType> 1066 1070 </xsd:element> 1067 1071 <xsd:complexType name="CT_SlideMasterTextStyles"> … … 1136 1140 </xsd:sequence> 1137 1141 </xsd:complexType> 1138 <xsd:complexType name="CT_SlideMaster"> 1139 <xsd:sequence minOccurs="1" maxOccurs="1"> 1140 <xsd:element name="cSld" type="CT_CommonSlideData" 1141 minOccurs="1" maxOccurs="1"> 1142 <xsd:annotation> 1143 <xsd:documentation> 1144 Common slide data for slide masters 1145 </xsd:documentation> 1146 </xsd:annotation> 1147 </xsd:element> 1148 <xsd:group ref="EG_TopLevelSlide" minOccurs="1" 1149 maxOccurs="1" /> 1150 <xsd:element name="sldLayoutIdLst" 1151 type="CT_SlideLayoutIdList" minOccurs="0" maxOccurs="1"> 1152 <xsd:annotation> 1153 <xsd:documentation> 1154 List of Slide Layouts 1155 </xsd:documentation> 1156 </xsd:annotation> 1157 </xsd:element> 1158 <xsd:element name="transition" type="CT_SlideTransition" 1159 minOccurs="0" maxOccurs="1"> 1160 <xsd:annotation> 1161 <xsd:documentation> 1162 Slide Transition for a Slide Master 1163 </xsd:documentation> 1164 </xsd:annotation> 1165 </xsd:element> 1166 <xsd:element name="timing" type="CT_SlideTiming" 1167 minOccurs="0" maxOccurs="1"> 1168 <xsd:annotation> 1169 <xsd:documentation> 1170 Slide Timing Information for Slide Masters 1171 </xsd:documentation> 1172 </xsd:annotation> 1173 </xsd:element> 1174 <xsd:element name="hf" type="CT_HeaderFooter" minOccurs="0" 1175 maxOccurs="1"> 1176 <xsd:annotation> 1177 <xsd:documentation> 1178 Header/Footer information for a slide master 1179 </xsd:documentation> 1180 </xsd:annotation> 1181 </xsd:element> 1182 <xsd:element name="txStyles" type="CT_SlideMasterTextStyles" 1183 minOccurs="0" maxOccurs="1"> 1184 <xsd:annotation> 1185 <xsd:documentation> 1186 Slide Master Text Styles 1187 </xsd:documentation> 1188 </xsd:annotation> 1189 </xsd:element> 1190 <xsd:element name="extLst" type="CT_ExtensionListModify" 1191 minOccurs="0" maxOccurs="1" /> 1192 </xsd:sequence> 1193 <xsd:attribute name="preserve" type="xsd:boolean" use="optional" 1194 default="false"> 1195 <xsd:annotation> 1196 <xsd:documentation> 1197 Preserve Slide Master 1198 </xsd:documentation> 1199 </xsd:annotation> 1200 </xsd:attribute> 1201 </xsd:complexType> 1202 <xsd:element name="sldMaster" type="CT_SlideMaster"> 1142 <xsd:element name="sldMaster"><!-- type="CT_SlideMaster" --> 1203 1143 <xsd:annotation> 1204 1144 <xsd:documentation>Slide Master</xsd:documentation> 1205 1145 </xsd:annotation> 1146 <xsd:complexType> 1147 <xsd:sequence minOccurs="1" maxOccurs="1"> 1148 <xsd:element name="cSld" type="CT_CommonSlideData" 1149 minOccurs="1" maxOccurs="1"> 1150 <xsd:annotation> 1151 <xsd:documentation> 1152 Common slide data for slide masters 1153 </xsd:documentation> 1154 </xsd:annotation> 1155 </xsd:element> 1156 <xsd:group ref="EG_TopLevelSlide" minOccurs="1" 1157 maxOccurs="1" /> 1158 <xsd:element name="sldLayoutIdLst" 1159 type="CT_SlideLayoutIdList" minOccurs="0" maxOccurs="1"> 1160 <xsd:annotation> 1161 <xsd:documentation> 1162 List of Slide Layouts 1163 </xsd:documentation> 1164 </xsd:annotation> 1165 </xsd:element> 1166 <xsd:element name="transition" type="CT_SlideTransition" 1167 minOccurs="0" maxOccurs="1"> 1168 <xsd:annotation> 1169 <xsd:documentation> 1170 Slide Transition for a Slide Master 1171 </xsd:documentation> 1172 </xsd:annotation> 1173 </xsd:element> 1174 <xsd:element name="timing" type="CT_SlideTiming" 1175 minOccurs="0" maxOccurs="1"> 1176 <xsd:annotation> 1177 <xsd:documentation> 1178 Slide Timing Information for Slide Masters 1179 </xsd:documentation> 1180 </xsd:annotation> 1181 </xsd:element> 1182 <xsd:element name="hf" type="CT_HeaderFooter" 1183 minOccurs="0" maxOccurs="1"> 1184 <xsd:annotation> 1185 <xsd:documentation> 1186 Header/Footer information for a slide master 1187 </xsd:documentation> 1188 </xsd:annotation> 1189 </xsd:element> 1190 <xsd:element name="txStyles" 1191 type="CT_SlideMasterTextStyles" minOccurs="0" maxOccurs="1"> 1192 <xsd:annotation> 1193 <xsd:documentation> 1194 Slide Master Text Styles 1195 </xsd:documentation> 1196 </xsd:annotation> 1197 </xsd:element> 1198 <xsd:element name="extLst" type="CT_ExtensionListModify" 1199 minOccurs="0" maxOccurs="1" /> 1200 </xsd:sequence> 1201 <xsd:attribute name="preserve" type="xsd:boolean" 1202 use="optional" default="false"> 1203 <xsd:annotation> 1204 <xsd:documentation> 1205 Preserve Slide Master 1206 </xsd:documentation> 1207 </xsd:annotation> 1208 </xsd:attribute> 1209 </xsd:complexType> 1206 1210 </xsd:element> 1207 1211 <xsd:complexType name="CT_HandoutMaster"> -
trunk/docx4j/xsd/pml/pml-userDefinedTags.xsd
r1037 r1044 21 21 </xsd:attribute> 22 22 </xsd:complexType> 23 <xsd:complexType name="CT_TagList"> 24 <xsd:sequence> 25 <xsd:element name="tag" type="CT_StringTag" minOccurs="0" 26 maxOccurs="unbounded"> 27 <xsd:annotation> 28 <xsd:documentation> 29 Programmable Extensibility Tag 30 </xsd:documentation> 31 </xsd:annotation> 32 </xsd:element> 33 </xsd:sequence> 34 </xsd:complexType> 35 <xsd:element name="tagLst" type="CT_TagList"> 23 <xsd:element name="tagLst"><!-- type="CT_TagList" --> 36 24 <xsd:annotation> 37 25 <xsd:documentation>Programmable Tab List</xsd:documentation> 38 26 </xsd:annotation> 27 <xsd:complexType> 28 <xsd:sequence> 29 <xsd:element name="tag" type="CT_StringTag" 30 minOccurs="0" maxOccurs="unbounded"> 31 <xsd:annotation> 32 <xsd:documentation> 33 Programmable Extensibility Tag 34 </xsd:documentation> 35 </xsd:annotation> 36 </xsd:element> 37 </xsd:sequence> 38 </xsd:complexType> 39 39 </xsd:element> 40 40 </xsd:schema> -
trunk/docx4j/xsd/pml/pml-viewProperties.xsd
r1037 r1044 371 371 </xsd:sequence> 372 372 </xsd:complexType> 373 <xsd:complexType name="CT_ViewProperties"> 374 <xsd:sequence minOccurs="0" maxOccurs="1"> 375 <xsd:element name="normalViewPr" 376 type="CT_NormalViewProperties" minOccurs="0" maxOccurs="1"> 377 <xsd:annotation> 378 <xsd:documentation> 379 Normal View Properties 380 </xsd:documentation> 381 </xsd:annotation> 382 </xsd:element> 383 <xsd:element name="slideViewPr" 384 type="CT_SlideViewProperties" minOccurs="0" maxOccurs="1"> 385 <xsd:annotation> 386 <xsd:documentation> 387 Slide View Properties 388 </xsd:documentation> 389 </xsd:annotation> 390 </xsd:element> 391 <xsd:element name="outlineViewPr" 392 type="CT_OutlineViewProperties" minOccurs="0" maxOccurs="1"> 393 <xsd:annotation> 394 <xsd:documentation> 395 Outline View Properties 396 </xsd:documentation> 397 </xsd:annotation> 398 </xsd:element> 399 <xsd:element name="notesTextViewPr" 400 type="CT_NotesTextViewProperties" minOccurs="0" maxOccurs="1"> 401 <xsd:annotation> 402 <xsd:documentation> 403 Notes Text View Properties 404 </xsd:documentation> 405 </xsd:annotation> 406 </xsd:element> 407 <xsd:element name="sorterViewPr" 408 type="CT_SlideSorterViewProperties" minOccurs="0" maxOccurs="1"> 409 <xsd:annotation> 410 <xsd:documentation> 411 Slide Sorter View Properties 412 </xsd:documentation> 413 </xsd:annotation> 414 </xsd:element> 415 <xsd:element name="notesViewPr" 416 type="CT_NotesViewProperties" minOccurs="0" maxOccurs="1"> 417 <xsd:annotation> 418 <xsd:documentation> 419 Notes View Properties 420 </xsd:documentation> 421 </xsd:annotation> 422 </xsd:element> 423 <xsd:element name="gridSpacing" type="a:CT_PositiveSize2D" 424 minOccurs="0" maxOccurs="1"> 425 <xsd:annotation> 426 <xsd:documentation>Grid Spacing</xsd:documentation> 427 </xsd:annotation> 428 </xsd:element> 429 <xsd:element name="extLst" type="CT_ExtensionList" 430 minOccurs="0" maxOccurs="1" /> 431 </xsd:sequence> 432 <xsd:attribute name="lastView" type="ST_ViewType" use="optional" 433 default="sldView"> 434 <xsd:annotation> 435 <xsd:documentation>Last View</xsd:documentation> 436 </xsd:annotation> 437 </xsd:attribute> 438 <xsd:attribute name="showComments" type="xsd:boolean" 439 use="optional" default="true"> 440 <xsd:annotation> 441 <xsd:documentation>Show Comments</xsd:documentation> 442 </xsd:annotation> 443 </xsd:attribute> 444 </xsd:complexType> 445 <xsd:element name="viewPr" type="CT_ViewProperties"> 373 <xsd:element name="viewPr"><!-- type="CT_ViewProperties" --> 446 374 <xsd:annotation> 447 375 <xsd:documentation> … … 449 377 </xsd:documentation> 450 378 </xsd:annotation> 379 <xsd:complexType> 380 <xsd:sequence minOccurs="0" maxOccurs="1"> 381 <xsd:element name="normalViewPr" 382 type="CT_NormalViewProperties" minOccurs="0" maxOccurs="1"> 383 <xsd:annotation> 384 <xsd:documentation> 385 Normal View Properties 386 </xsd:documentation> 387 </xsd:annotation> 388 </xsd:element> 389 <xsd:element name="slideViewPr" 390 type="CT_SlideViewProperties" minOccurs="0" maxOccurs="1"> 391 <xsd:annotation> 392 <xsd:documentation> 393 Slide View Properties 394 </xsd:documentation> 395 </xsd:annotation> 396 </xsd:element> 397 <xsd:element name="outlineViewPr" 398 type="CT_OutlineViewProperties" minOccurs="0" maxOccurs="1"> 399 <xsd:annotation> 400 <xsd:documentation> 401 Outline View Properties 402 </xsd:documentation> 403 </xsd:annotation> 404 </xsd:element> 405 <xsd:element name="notesTextViewPr" 406 type="CT_NotesTextViewProperties" minOccurs="0" maxOccurs="1"> 407 <xsd:annotation> 408 <xsd:documentation> 409 Notes Text View Properties 410 </xsd:documentation> 411 </xsd:annotation> 412 </xsd:element> 413 <xsd:element name="sorterViewPr" 414 type="CT_SlideSorterViewProperties" minOccurs="0" maxOccurs="1"> 415 <xsd:annotation> 416 <xsd:documentation> 417 Slide Sorter View Properties 418 </xsd:documentation> 419 </xsd:annotation> 420 </xsd:element> 421 <xsd:element name="notesViewPr" 422 type="CT_NotesViewProperties" minOccurs="0" maxOccurs="1"> 423 <xsd:annotation> 424 <xsd:documentation> 425 Notes View Properties 426 </xsd:documentation> 427 </xsd:annotation> 428 </xsd:element> 429 <xsd:element name="gridSpacing" 430 type="a:CT_PositiveSize2D" minOccurs="0" maxOccurs="1"> 431 <xsd:annotation> 432 <xsd:documentation> 433 Grid Spacing 434 </xsd:documentation> 435 </xsd:annotation> 436 </xsd:element> 437 <xsd:element name="extLst" type="CT_ExtensionList" 438 minOccurs="0" maxOccurs="1" /> 439 </xsd:sequence> 440 <xsd:attribute name="lastView" type="ST_ViewType" 441 use="optional" default="sldView"> 442 <xsd:annotation> 443 <xsd:documentation>Last View</xsd:documentation> 444 </xsd:annotation> 445 </xsd:attribute> 446 <xsd:attribute name="showComments" type="xsd:boolean" 447 use="optional" default="true"> 448 <xsd:annotation> 449 <xsd:documentation>Show Comments</xsd:documentation> 450 </xsd:annotation> 451 </xsd:attribute> 452 </xsd:complexType> 451 453 </xsd:element> 452 454 </xsd:schema> -
trunk/docx4j/xsd/pml/pml_root.xsd
r1037 r1044 46 46 To generate the classes (from the same directory) 47 47 48 sh ~/jaxb-ri-20071219/bin/xjc.sh pml_root.xsd -d ~/workspace/docx4j/ xsd/pml-no-header -target 2.048 sh ~/jaxb-ri-20071219/bin/xjc.sh pml_root.xsd -d ~/workspace/docx4j/src/pptx/java -no-header -target 2.0 49 49 50 50 jaxb-ri-20071219 is 2.1.6; jaxb-ri-20070917 works equally well.
Note: See TracChangeset
for help on using the changeset viewer.
