├── .gitignore ├── README.adoc ├── appveyor.yml ├── archived-stuff ├── maven-scriptom-plugin │ ├── .settings │ │ ├── org.eclipse.jdt.core.prefs │ │ └── org.maven.ide.eclipse.prefs │ ├── pom.xml │ └── src │ │ ├── main │ │ └── groovy │ │ │ └── org │ │ │ └── codehaus │ │ │ └── groovy │ │ │ └── scriptom │ │ │ └── mojos │ │ │ └── FilterSite.groovy │ │ └── site │ │ ├── site.xml │ │ └── xdoc │ │ └── index.xml ├── pom.xml ├── scriptom-all-assembly │ └── pom.xml ├── scriptom-ie-6 │ └── pom.xml ├── scriptom-office-2k3 │ └── pom.xml ├── scriptom-office-2k7 │ └── pom.xml ├── scriptom-sapi │ └── pom.xml ├── scriptom-scripting │ └── pom.xml ├── scriptom-wbem │ └── pom.xml ├── scriptom-wsh │ └── pom.xml ├── scriptom │ └── pom.xml └── site │ ├── resources │ └── index.html │ ├── site.xml │ └── xdoc │ ├── download.xml │ ├── index-x.xml │ └── index.xml ├── build.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── oddsnends └── typelib │ ├── ExtractTlbInfo.groovy │ ├── dotnet.txt │ ├── hs_err_pid3968.log │ ├── office2k3.txt │ ├── office2k7.txt │ ├── readme.txt │ ├── tlbinf32.zip │ ├── vista.txt │ └── xp.txt ├── scriptom-all-assembly ├── .settings │ ├── org.codehaus.groovy.eclipse.preferences.prefs │ ├── org.eclipse.jdt.core.prefs │ └── org.maven.ide.eclipse.prefs └── src │ ├── main │ └── supplementary │ │ └── examples │ │ ├── excel │ │ ├── example1 │ │ │ └── ExcelReport.groovy │ │ └── example2 │ │ │ ├── template.xlsx │ │ │ └── wmiProcessReport.groovy │ │ ├── ie │ │ ├── IE.groovy │ │ └── IEEvents.groovy │ │ ├── outlook │ │ ├── outlook.groovy │ │ └── test.msg │ │ ├── scriptcontrol │ │ └── RunJScript.groovy │ │ ├── speech │ │ ├── Speak.groovy │ │ └── SpeechInterfaces.groovy │ │ └── wmi │ │ ├── Processes.groovy │ │ └── Processes2.groovy │ └── test │ └── groovy │ └── org │ └── codehaus │ └── groovy │ └── modules │ └── scriptom │ └── test │ └── TestAssembly.groovy ├── scriptom-ie-6 ├── .settings │ ├── org.eclipse.jdt.core.prefs │ └── org.maven.ide.eclipse.prefs └── build.gradle ├── scriptom-office-2k3 ├── .settings │ ├── org.codehaus.groovy.eclipse.preferences.prefs │ ├── org.eclipse.jdt.core.prefs │ └── org.maven.ide.eclipse.prefs ├── build.gradle └── src │ └── main │ ├── groovy │ └── ExcelHelper.groovy │ └── java │ └── org │ └── codehaus │ └── groovy │ └── scriptom │ └── tlb │ └── office │ ├── DocProperties.java │ ├── MailFormat.java │ ├── MsoAlertButtonType.java │ ├── MsoAlertCancelType.java │ ├── MsoAlertDefaultType.java │ ├── MsoAlertIconType.java │ ├── MsoAlignCmd.java │ ├── MsoAnimationType.java │ ├── MsoAppLanguageID.java │ ├── MsoArrowheadLength.java │ ├── MsoArrowheadStyle.java │ ├── MsoArrowheadWidth.java │ ├── MsoAutoShapeType.java │ ├── MsoAutomationSecurity.java │ ├── MsoBalloonButtonType.java │ ├── MsoBalloonErrorType.java │ ├── MsoBalloonType.java │ ├── MsoBarPosition.java │ ├── MsoBarProtection.java │ ├── MsoBarRow.java │ ├── MsoBarType.java │ ├── MsoBlackWhiteMode.java │ ├── MsoButtonSetType.java │ ├── MsoButtonState.java │ ├── MsoButtonStyle.java │ ├── MsoButtonStyleHidden.java │ ├── MsoCalloutAngleType.java │ ├── MsoCalloutDropType.java │ ├── MsoCalloutType.java │ ├── MsoCharacterSet.java │ ├── MsoColorType.java │ ├── MsoComboStyle.java │ ├── MsoCommandBarButtonHyperlinkType.java │ ├── MsoCondition.java │ ├── MsoConnector.java │ ├── MsoConnectorType.java │ ├── MsoControlOLEUsage.java │ ├── MsoControlType.java │ ├── MsoDiagramNodeType.java │ ├── MsoDiagramType.java │ ├── MsoDistributeCmd.java │ ├── MsoDocProperties.java │ ├── MsoEditingType.java │ ├── MsoEncoding.java │ ├── MsoExtraInfoMethod.java │ ├── MsoExtrusionColorType.java │ ├── MsoFarEastLineBreakLanguageID.java │ ├── MsoFeatureInstall.java │ ├── MsoFileDialogType.java │ ├── MsoFileDialogView.java │ ├── MsoFileFindListBy.java │ ├── MsoFileFindOptions.java │ ├── MsoFileFindSortBy.java │ ├── MsoFileFindView.java │ ├── MsoFileNewAction.java │ ├── MsoFileNewSection.java │ ├── MsoFileType.java │ ├── MsoFillType.java │ ├── MsoFilterComparison.java │ ├── MsoFilterConjunction.java │ ├── MsoFlipCmd.java │ ├── MsoGradientColorType.java │ ├── MsoGradientStyle.java │ ├── MsoHTMLProjectOpen.java │ ├── MsoHTMLProjectState.java │ ├── MsoHorizontalAnchor.java │ ├── MsoHyperlinkType.java │ ├── MsoIconType.java │ ├── MsoLanguageID.java │ ├── MsoLanguageIDHidden.java │ ├── MsoLastModified.java │ ├── MsoLineDashStyle.java │ ├── MsoLineStyle.java │ ├── MsoMenuAnimation.java │ ├── MsoMixedType.java │ ├── MsoModeType.java │ ├── MsoMoveRow.java │ ├── MsoOLEMenuGroup.java │ ├── MsoOrgChartLayoutType.java │ ├── MsoOrgChartOrientation.java │ ├── MsoOrientation.java │ ├── MsoPatternType.java │ ├── MsoPermission.java │ ├── MsoPictureColorType.java │ ├── MsoPresetExtrusionDirection.java │ ├── MsoPresetGradientType.java │ ├── MsoPresetLightingDirection.java │ ├── MsoPresetLightingSoftness.java │ ├── MsoPresetMaterial.java │ ├── MsoPresetTextEffect.java │ ├── MsoPresetTextEffectShape.java │ ├── MsoPresetTexture.java │ ├── MsoPresetThreeDFormat.java │ ├── MsoRelativeNodePosition.java │ ├── MsoScaleFrom.java │ ├── MsoScreenSize.java │ ├── MsoScriptLanguage.java │ ├── MsoScriptLocation.java │ ├── MsoSearchIn.java │ ├── MsoSegmentType.java │ ├── MsoShadowType.java │ ├── MsoShapeType.java │ ├── MsoSharedWorkspaceTaskPriority.java │ ├── MsoSharedWorkspaceTaskStatus.java │ ├── MsoSortBy.java │ ├── MsoSortOrder.java │ ├── MsoSyncAvailableType.java │ ├── MsoSyncCompareType.java │ ├── MsoSyncConflictResolutionType.java │ ├── MsoSyncErrorType.java │ ├── MsoSyncEventType.java │ ├── MsoSyncStatusType.java │ ├── MsoSyncVersionType.java │ ├── MsoTargetBrowser.java │ ├── MsoTextEffectAlignment.java │ ├── MsoTextOrientation.java │ ├── MsoTextureType.java │ ├── MsoTriState.java │ ├── MsoVerticalAnchor.java │ ├── MsoWizardActType.java │ ├── MsoWizardMsgType.java │ ├── MsoZOrderCmd.java │ ├── Office.java │ ├── access │ ├── AcCloseSave.java │ ├── AcColorIndex.java │ ├── AcCommand.java │ ├── AcControlType.java │ ├── AcCurrentView.java │ ├── AcDataAccessPageView.java │ ├── AcDataObjectType.java │ ├── AcDataTransferType.java │ ├── AcDefView.java │ ├── AcExportXMLEncoding.java │ ├── AcExportXMLObjectType.java │ ├── AcExportXMLOtherFlags.java │ ├── AcExportXMLSchemaFormat.java │ ├── AcFileFormat.java │ ├── AcFilterType.java │ ├── AcFindField.java │ ├── AcFindMatch.java │ ├── AcFormOpenDataMode.java │ ├── AcFormView.java │ ├── AcFormatConditionOperator.java │ ├── AcFormatConditionType.java │ ├── AcHyperlinkPart.java │ ├── AcImeMode.java │ ├── AcImeSentenceMode.java │ ├── AcImportXMLOption.java │ ├── AcModuleType.java │ ├── AcObjectType.java │ ├── AcOpenDataMode.java │ ├── AcOutputObjectType.java │ ├── AcPrintColor.java │ ├── AcPrintDuplex.java │ ├── AcPrintItemLayout.java │ ├── AcPrintObjQuality.java │ ├── AcPrintOrientation.java │ ├── AcPrintPaperBin.java │ ├── AcPrintPaperSize.java │ ├── AcPrintQuality.java │ ├── AcPrintRange.java │ ├── AcProjectType.java │ ├── AcQuitOption.java │ ├── AcRecord.java │ ├── AcSearchDirection.java │ ├── AcSection.java │ ├── AcSendObjectType.java │ ├── AcShowToolbar.java │ ├── AcSpreadSheetType.java │ ├── AcSysCmdAction.java │ ├── AcTextTransferType.java │ ├── AcTransformXMLScriptOption.java │ ├── AcView.java │ ├── AcWindowMode.java │ ├── Access.java │ ├── Constants.java │ ├── OldConstants.java │ ├── ProcKind.java │ ├── RefKind.java │ └── package.html │ ├── excel │ ├── Constants.java │ ├── Excel.java │ ├── XlApplicationInternational.java │ ├── XlApplyNamesOrder.java │ ├── XlArabicModes.java │ ├── XlArrangeStyle.java │ ├── XlArrowHeadLength.java │ ├── XlArrowHeadStyle.java │ ├── XlArrowHeadWidth.java │ ├── XlAutoFillType.java │ ├── XlAutoFilterOperator.java │ ├── XlAxisCrosses.java │ ├── XlAxisGroup.java │ ├── XlAxisType.java │ ├── XlBackground.java │ ├── XlBarShape.java │ ├── XlBorderWeight.java │ ├── XlBordersIndex.java │ ├── XlBuiltInDialog.java │ ├── XlCVError.java │ ├── XlCalculatedMemberType.java │ ├── XlCalculation.java │ ├── XlCalculationInterruptKey.java │ ├── XlCalculationState.java │ ├── XlCategoryType.java │ ├── XlCellInsertionMode.java │ ├── XlCellType.java │ ├── XlChartGallery.java │ ├── XlChartItem.java │ ├── XlChartLocation.java │ ├── XlChartPicturePlacement.java │ ├── XlChartPictureType.java │ ├── XlChartSplitType.java │ ├── XlChartType.java │ ├── XlClipboardFormat.java │ ├── XlCmdType.java │ ├── XlColorIndex.java │ ├── XlColumnDataType.java │ ├── XlCommandUnderlines.java │ ├── XlCommentDisplayMode.java │ ├── XlConsolidationFunction.java │ ├── XlCopyPictureFormat.java │ ├── XlCorruptLoad.java │ ├── XlCreator.java │ ├── XlCubeFieldType.java │ ├── XlCutCopyMode.java │ ├── XlDVAlertStyle.java │ ├── XlDVType.java │ ├── XlDataLabelPosition.java │ ├── XlDataLabelSeparator.java │ ├── XlDataLabelsType.java │ ├── XlDataSeriesDate.java │ ├── XlDataSeriesType.java │ ├── XlDeleteShiftDirection.java │ ├── XlDirection.java │ ├── XlDisplayBlanksAs.java │ ├── XlDisplayDrawingObjects.java │ ├── XlDisplayUnit.java │ ├── XlEditionFormat.java │ ├── XlEditionOptionsOption.java │ ├── XlEditionType.java │ ├── XlEnableCancelKey.java │ ├── XlEnableSelection.java │ ├── XlEndStyleCap.java │ ├── XlErrorBarDirection.java │ ├── XlErrorBarInclude.java │ ├── XlErrorBarType.java │ ├── XlErrorChecks.java │ ├── XlFileAccess.java │ ├── XlFileFormat.java │ ├── XlFillWith.java │ ├── XlFilterAction.java │ ├── XlFindLookIn.java │ ├── XlFormControl.java │ ├── XlFormatConditionOperator.java │ ├── XlFormatConditionType.java │ ├── XlFormulaLabel.java │ ├── XlHAlign.java │ ├── XlHebrewModes.java │ ├── XlHighlightChangesTime.java │ ├── XlHtmlType.java │ ├── XlIMEMode.java │ ├── XlImportDataAs.java │ ├── XlInsertFormatOrigin.java │ ├── XlInsertShiftDirection.java │ ├── XlLayoutFormType.java │ ├── XlLegendPosition.java │ ├── XlLineStyle.java │ ├── XlLink.java │ ├── XlLinkInfo.java │ ├── XlLinkInfoType.java │ ├── XlLinkStatus.java │ ├── XlLinkType.java │ ├── XlListConflict.java │ ├── XlListDataType.java │ ├── XlListObjectSourceType.java │ ├── XlLocationInTable.java │ ├── XlLookAt.java │ ├── XlMSApplication.java │ ├── XlMailSystem.java │ ├── XlMarkerStyle.java │ ├── XlMouseButton.java │ ├── XlMousePointer.java │ ├── XlOLEType.java │ ├── XlOLEVerb.java │ ├── XlObjectSize.java │ ├── XlOrder.java │ ├── XlOrientation.java │ ├── XlPTSelectionMode.java │ ├── XlPageBreak.java │ ├── XlPageBreakExtent.java │ ├── XlPageOrientation.java │ ├── XlPaperSize.java │ ├── XlParameterDataType.java │ ├── XlParameterType.java │ ├── XlPasteSpecialOperation.java │ ├── XlPasteType.java │ ├── XlPattern.java │ ├── XlPhoneticAlignment.java │ ├── XlPhoneticCharacterType.java │ ├── XlPictureAppearance.java │ ├── XlPictureConvertorType.java │ ├── XlPivotCellType.java │ ├── XlPivotFieldCalculation.java │ ├── XlPivotFieldDataType.java │ ├── XlPivotFieldOrientation.java │ ├── XlPivotFormatType.java │ ├── XlPivotTableMissingItems.java │ ├── XlPivotTableSourceType.java │ ├── XlPivotTableVersionList.java │ ├── XlPlacement.java │ ├── XlPlatform.java │ ├── XlPrintErrors.java │ ├── XlPrintLocation.java │ ├── XlPriority.java │ ├── XlQueryType.java │ ├── XlRangeAutoFormat.java │ ├── XlRangeValueDataType.java │ ├── XlReferenceStyle.java │ ├── XlReferenceType.java │ ├── XlRobustConnect.java │ ├── XlRoutingSlipDelivery.java │ ├── XlRoutingSlipStatus.java │ ├── XlRowCol.java │ ├── XlRunAutoMacro.java │ ├── XlSaveAction.java │ ├── XlSaveAsAccessMode.java │ ├── XlSaveConflictResolution.java │ ├── XlScaleType.java │ ├── XlSearchDirection.java │ ├── XlSearchOrder.java │ ├── XlSearchWithin.java │ ├── XlSheetType.java │ ├── XlSheetVisibility.java │ ├── XlSizeRepresents.java │ ├── XlSmartTagControlType.java │ ├── XlSmartTagDisplayMode.java │ ├── XlSortDataOption.java │ ├── XlSortMethod.java │ ├── XlSortMethodOld.java │ ├── XlSortOrder.java │ ├── XlSortOrientation.java │ ├── XlSortType.java │ ├── XlSourceType.java │ ├── XlSpeakDirection.java │ ├── XlSpecialCellsValue.java │ ├── XlSubscribeToFormat.java │ ├── XlSubtototalLocationType.java │ ├── XlSummaryColumn.java │ ├── XlSummaryReportType.java │ ├── XlSummaryRow.java │ ├── XlTabPosition.java │ ├── XlTextParsingType.java │ ├── XlTextQualifier.java │ ├── XlTextVisualLayoutType.java │ ├── XlTickLabelOrientation.java │ ├── XlTickLabelPosition.java │ ├── XlTickMark.java │ ├── XlTimeUnit.java │ ├── XlToolbarProtection.java │ ├── XlTotalsCalculation.java │ ├── XlTrendlineType.java │ ├── XlUnderlineStyle.java │ ├── XlUpdateLinks.java │ ├── XlVAlign.java │ ├── XlWBATemplate.java │ ├── XlWebFormatting.java │ ├── XlWebSelectionType.java │ ├── XlWindowState.java │ ├── XlWindowType.java │ ├── XlWindowView.java │ ├── XlXLMMacroType.java │ ├── XlXmlExportResult.java │ ├── XlXmlImportResult.java │ ├── XlXmlLoadOption.java │ ├── XlYesNoGuess.java │ └── package.html │ ├── outlook │ ├── OlActionCopyLike.java │ ├── OlActionReplyStyle.java │ ├── OlActionResponseStyle.java │ ├── OlActionShowOn.java │ ├── OlAttachmentType.java │ ├── OlBodyFormat.java │ ├── OlBusyStatus.java │ ├── OlDaysOfWeek.java │ ├── OlDefaultFolders.java │ ├── OlDisplayType.java │ ├── OlDownloadState.java │ ├── OlEditorType.java │ ├── OlExchangeConnectionMode.java │ ├── OlFlagIcon.java │ ├── OlFlagStatus.java │ ├── OlFolderDisplayMode.java │ ├── OlFormRegistry.java │ ├── OlGender.java │ ├── OlImportance.java │ ├── OlInspectorClose.java │ ├── OlItemType.java │ ├── OlJournalRecipientType.java │ ├── OlMailRecipientType.java │ ├── OlMailingAddress.java │ ├── OlMeetingRecipientType.java │ ├── OlMeetingResponse.java │ ├── OlMeetingStatus.java │ ├── OlNetMeetingType.java │ ├── OlNoteColor.java │ ├── OlObjectClass.java │ ├── OlOfficeDocItemsType.java │ ├── OlOutlookBarViewType.java │ ├── OlPane.java │ ├── OlPermission.java │ ├── OlPermissionService.java │ ├── OlRecurrenceState.java │ ├── OlRecurrenceType.java │ ├── OlRemoteStatus.java │ ├── OlResponseStatus.java │ ├── OlSaveAsType.java │ ├── OlSensitivity.java │ ├── OlShowItemCount.java │ ├── OlSortOrder.java │ ├── OlStoreType.java │ ├── OlSyncState.java │ ├── OlTaskDelegationState.java │ ├── OlTaskOwnership.java │ ├── OlTaskRecipientType.java │ ├── OlTaskResponse.java │ ├── OlTaskStatus.java │ ├── OlTrackingStatus.java │ ├── OlUserPropertyType.java │ ├── OlViewSaveOption.java │ ├── OlViewType.java │ ├── OlWindowState.java │ ├── Outlook.java │ └── package.html │ ├── package.html │ ├── powerpoint │ ├── MsoAnimAccumulate.java │ ├── MsoAnimAdditive.java │ ├── MsoAnimAfterEffect.java │ ├── MsoAnimCommandType.java │ ├── MsoAnimDirection.java │ ├── MsoAnimEffect.java │ ├── MsoAnimEffectAfter.java │ ├── MsoAnimEffectRestart.java │ ├── MsoAnimFilterEffectSubtype.java │ ├── MsoAnimFilterEffectType.java │ ├── MsoAnimProperty.java │ ├── MsoAnimTextUnitEffect.java │ ├── MsoAnimTriggerType.java │ ├── MsoAnimType.java │ ├── MsoAnimateByLevel.java │ ├── PowerPoint.java │ ├── PpActionType.java │ ├── PpAdvanceMode.java │ ├── PpAfterEffect.java │ ├── PpAlertLevel.java │ ├── PpArrangeStyle.java │ ├── PpAutoSize.java │ ├── PpBaselineAlignment.java │ ├── PpBorderType.java │ ├── PpBulletType.java │ ├── PpChangeCase.java │ ├── PpChartUnitEffect.java │ ├── PpColorSchemeIndex.java │ ├── PpDateTimeFormat.java │ ├── PpDirection.java │ ├── PpEntryEffect.java │ ├── PpExportMode.java │ ├── PpFarEastLineBreakLevel.java │ ├── PpFileDialogType.java │ ├── PpFollowColors.java │ ├── PpFrameColors.java │ ├── PpHTMLVersion.java │ ├── PpIndentControl.java │ ├── PpMediaType.java │ ├── PpMouseActivation.java │ ├── PpNumberedBulletStyle.java │ ├── PpParagraphAlignment.java │ ├── PpPasteDataType.java │ ├── PpPlaceholderType.java │ ├── PpPrintColorType.java │ ├── PpPrintHandoutOrder.java │ ├── PpPrintOutputType.java │ ├── PpPrintRangeType.java │ ├── PpPublishSourceType.java │ ├── PpRevisionInfo.java │ ├── PpSaveAsFileType.java │ ├── PpSelectionType.java │ ├── PpShapeFormat.java │ ├── PpSlideLayout.java │ ├── PpSlideShowAdvanceMode.java │ ├── PpSlideShowPointerType.java │ ├── PpSlideShowRangeType.java │ ├── PpSlideShowState.java │ ├── PpSlideShowType.java │ ├── PpSlideSizeType.java │ ├── PpSoundEffectType.java │ ├── PpSoundFormatType.java │ ├── PpTabStopType.java │ ├── PpTextLevelEffect.java │ ├── PpTextStyleType.java │ ├── PpTextUnitEffect.java │ ├── PpTransitionSpeed.java │ ├── PpUpdateOption.java │ ├── PpViewType.java │ ├── PpWindowState.java │ └── package.html │ └── word │ ├── WdAlertLevel.java │ ├── WdAnimation.java │ ├── WdAraSpeller.java │ ├── WdArabicNumeral.java │ ├── WdArrangeStyle.java │ ├── WdAutoFitBehavior.java │ ├── WdAutoMacros.java │ ├── WdAutoVersions.java │ ├── WdBaselineAlignment.java │ ├── WdBookmarkSortBy.java │ ├── WdBorderDistanceFrom.java │ ├── WdBorderType.java │ ├── WdBorderTypeHID.java │ ├── WdBreakType.java │ ├── WdBrowseTarget.java │ ├── WdBrowserLevel.java │ ├── WdBuiltInProperty.java │ ├── WdBuiltinStyle.java │ ├── WdCalendarType.java │ ├── WdCalendarTypeBi.java │ ├── WdCaptionLabelID.java │ ├── WdCaptionNumberStyle.java │ ├── WdCaptionNumberStyleHID.java │ ├── WdCaptionPosition.java │ ├── WdCellVerticalAlignment.java │ ├── WdCharacterCase.java │ ├── WdCharacterCaseHID.java │ ├── WdCharacterWidth.java │ ├── WdChevronConvertRule.java │ ├── WdCollapseDirection.java │ ├── WdColor.java │ ├── WdColorIndex.java │ ├── WdCompareTarget.java │ ├── WdCompatibility.java │ ├── WdConditionCode.java │ ├── WdConstants.java │ ├── WdContinue.java │ ├── WdCountry.java │ ├── WdCursorMovement.java │ ├── WdCursorType.java │ ├── WdCustomLabelPageSize.java │ ├── WdDateLanguage.java │ ├── WdDefaultFilePath.java │ ├── WdDefaultListBehavior.java │ ├── WdDefaultTableBehavior.java │ ├── WdDeleteCells.java │ ├── WdDeletedTextMark.java │ ├── WdDiacriticColor.java │ ├── WdDictionaryType.java │ ├── WdDictionaryTypeHID.java │ ├── WdDisableFeaturesIntroducedAfter.java │ ├── WdDocumentDirection.java │ ├── WdDocumentKind.java │ ├── WdDocumentMedium.java │ ├── WdDocumentType.java │ ├── WdDocumentViewDirection.java │ ├── WdDropPosition.java │ ├── WdEditionOption.java │ ├── WdEditionType.java │ ├── WdEditorType.java │ ├── WdEmailHTMLFidelity.java │ ├── WdEmphasisMark.java │ ├── WdEnableCancelKey.java │ ├── WdEncloseStyle.java │ ├── WdEnclosureType.java │ ├── WdEndnoteLocation.java │ ├── WdEnvelopeOrientation.java │ ├── WdFarEastLineBreakLanguageID.java │ ├── WdFarEastLineBreakLevel.java │ ├── WdFieldKind.java │ ├── WdFieldShading.java │ ├── WdFieldType.java │ ├── WdFindMatch.java │ ├── WdFindWrap.java │ ├── WdFlowDirection.java │ ├── WdFontBias.java │ ├── WdFootnoteLocation.java │ ├── WdFramePosition.java │ ├── WdFrameSizeRule.java │ ├── WdFramesetNewFrameLocation.java │ ├── WdFramesetSizeType.java │ ├── WdFramesetType.java │ ├── WdGoToDirection.java │ ├── WdGoToItem.java │ ├── WdGutterStyle.java │ ├── WdGutterStyleOld.java │ ├── WdHeaderFooterIndex.java │ ├── WdHeadingSeparator.java │ ├── WdHebSpellStart.java │ ├── WdHelpType.java │ ├── WdHelpTypeHID.java │ ├── WdHighAnsiText.java │ ├── WdHorizontalInVerticalType.java │ ├── WdHorizontalLineAlignment.java │ ├── WdHorizontalLineWidthType.java │ ├── WdIMEMode.java │ ├── WdIndexFilter.java │ ├── WdIndexFormat.java │ ├── WdIndexSortBy.java │ ├── WdIndexType.java │ ├── WdInformation.java │ ├── WdInlineShapeType.java │ ├── WdInsertCells.java │ ├── WdInsertedTextMark.java │ ├── WdInternationalIndex.java │ ├── WdJustificationMode.java │ ├── WdKana.java │ ├── WdKey.java │ ├── WdKeyCategory.java │ ├── WdLanguageID.java │ ├── WdLanguageID2000.java │ ├── WdLayoutMode.java │ ├── WdLetterStyle.java │ ├── WdLetterheadLocation.java │ ├── WdLineEndingType.java │ ├── WdLineSpacing.java │ ├── WdLineStyle.java │ ├── WdLineType.java │ ├── WdLineWidth.java │ ├── WdLinkType.java │ ├── WdListApplyTo.java │ ├── WdListGalleryType.java │ ├── WdListLevelAlignment.java │ ├── WdListNumberStyle.java │ ├── WdListNumberStyleHID.java │ ├── WdListType.java │ ├── WdMailMergeActiveRecord.java │ ├── WdMailMergeComparison.java │ ├── WdMailMergeDataSource.java │ ├── WdMailMergeDefaultRecord.java │ ├── WdMailMergeDestination.java │ ├── WdMailMergeMailFormat.java │ ├── WdMailMergeMainDocType.java │ ├── WdMailMergeState.java │ ├── WdMailSystem.java │ ├── WdMailerPriority.java │ ├── WdMappedDataFields.java │ ├── WdMeasurementUnits.java │ ├── WdMeasurementUnitsHID.java │ ├── WdMergeSubType.java │ ├── WdMergeTarget.java │ ├── WdMonthNames.java │ ├── WdMovementType.java │ ├── WdMultipleWordConversionsMode.java │ ├── WdNewDocumentType.java │ ├── WdNoteNumberStyle.java │ ├── WdNoteNumberStyleHID.java │ ├── WdNumberStyleWordBasicBiDi.java │ ├── WdNumberType.java │ ├── WdNumberingRule.java │ ├── WdOLEPlacement.java │ ├── WdOLEType.java │ ├── WdOLEVerb.java │ ├── WdOpenFormat.java │ ├── WdOrganizerObject.java │ ├── WdOrientation.java │ ├── WdOriginalFormat.java │ ├── WdOutlineLevel.java │ ├── WdPageBorderArt.java │ ├── WdPageFit.java │ ├── WdPageNumberAlignment.java │ ├── WdPageNumberStyle.java │ ├── WdPageNumberStyleHID.java │ ├── WdPaperSize.java │ ├── WdPaperTray.java │ ├── WdParagraphAlignment.java │ ├── WdParagraphAlignmentHID.java │ ├── WdPartOfSpeech.java │ ├── WdPasteDataType.java │ ├── WdPhoneticGuideAlignmentType.java │ ├── WdPictureLinkType.java │ ├── WdPreferredWidthType.java │ ├── WdPrintOutItem.java │ ├── WdPrintOutPages.java │ ├── WdPrintOutRange.java │ ├── WdProofreadingErrorType.java │ ├── WdProtectionType.java │ ├── WdReadingOrder.java │ ├── WdRecoveryType.java │ ├── WdRectangleType.java │ ├── WdReferenceKind.java │ ├── WdReferenceType.java │ ├── WdRelativeHorizontalPosition.java │ ├── WdRelativeVerticalPosition.java │ ├── WdRelocate.java │ ├── WdReplace.java │ ├── WdRevisedLinesMark.java │ ├── WdRevisedPropertiesMark.java │ ├── WdRevisionType.java │ ├── WdRevisionsBalloonMargin.java │ ├── WdRevisionsBalloonPrintOrientation.java │ ├── WdRevisionsBalloonWidthType.java │ ├── WdRevisionsMode.java │ ├── WdRevisionsView.java │ ├── WdRevisionsWrap.java │ ├── WdRoutingSlipDelivery.java │ ├── WdRoutingSlipStatus.java │ ├── WdRowAlignment.java │ ├── WdRowHeightRule.java │ ├── WdRulerStyle.java │ ├── WdSalutationGender.java │ ├── WdSalutationType.java │ ├── WdSaveFormat.java │ ├── WdSaveOptions.java │ ├── WdScrollbarType.java │ ├── WdSectionDirection.java │ ├── WdSectionStart.java │ ├── WdSeekView.java │ ├── WdSelectionFlags.java │ ├── WdSelectionType.java │ ├── WdSeparatorType.java │ ├── WdShapePosition.java │ ├── WdShowFilter.java │ ├── WdSmartTagControlType.java │ ├── WdSortFieldType.java │ ├── WdSortFieldTypeHID.java │ ├── WdSortOrder.java │ ├── WdSortSeparator.java │ ├── WdSpecialPane.java │ ├── WdSpellingErrorType.java │ ├── WdSpellingWordType.java │ ├── WdStatistic.java │ ├── WdStatisticHID.java │ ├── WdStoryType.java │ ├── WdStyleSheetLinkType.java │ ├── WdStyleSheetPrecedence.java │ ├── WdStyleType.java │ ├── WdSubscriberFormats.java │ ├── WdSummaryLength.java │ ├── WdSummaryMode.java │ ├── WdTCSCConverterDirection.java │ ├── WdTabAlignment.java │ ├── WdTabLeader.java │ ├── WdTabLeaderHID.java │ ├── WdTableDirection.java │ ├── WdTableFieldSeparator.java │ ├── WdTableFormat.java │ ├── WdTableFormatApply.java │ ├── WdTablePosition.java │ ├── WdTaskPanes.java │ ├── WdTemplateType.java │ ├── WdTextFormFieldType.java │ ├── WdTextOrientation.java │ ├── WdTextOrientationHID.java │ ├── WdTextureIndex.java │ ├── WdToaFormat.java │ ├── WdTocFormat.java │ ├── WdTofFormat.java │ ├── WdTrailingCharacter.java │ ├── WdTwoLinesInOneType.java │ ├── WdUnderline.java │ ├── WdUnits.java │ ├── WdUseFormattingFrom.java │ ├── WdVerticalAlignment.java │ ├── WdViewType.java │ ├── WdViewTypeOld.java │ ├── WdVisualSelection.java │ ├── WdWindowState.java │ ├── WdWindowType.java │ ├── WdWordDialog.java │ ├── WdWordDialogHID.java │ ├── WdWordDialogTab.java │ ├── WdWordDialogTabHID.java │ ├── WdWrapSideType.java │ ├── WdWrapType.java │ ├── WdWrapTypeMerged.java │ ├── WdXMLNodeLevel.java │ ├── WdXMLNodeType.java │ ├── WdXMLSelectionChangeReason.java │ ├── WdXMLValidationStatus.java │ ├── Word.java │ └── package.html ├── scriptom-office-2k7 ├── .settings │ ├── org.codehaus.groovy.eclipse.preferences.prefs │ ├── org.eclipse.jdt.core.prefs │ └── org.maven.ide.eclipse.prefs ├── build.gradle └── src │ └── main │ ├── groovy │ └── ExcelHelper.groovy │ └── java │ └── org │ └── codehaus │ └── groovy │ └── scriptom │ └── tlb │ └── office2007 │ ├── CertificateDetail.java │ ├── CertificateVerificationResults.java │ ├── ContentVerificationResults.java │ ├── DocProperties.java │ ├── EncryptionCipherMode.java │ ├── EncryptionProviderDetail.java │ ├── MailFormat.java │ ├── MsoAlertButtonType.java │ ├── MsoAlertCancelType.java │ ├── MsoAlertDefaultType.java │ ├── MsoAlertIconType.java │ ├── MsoAlignCmd.java │ ├── MsoAnimationType.java │ ├── MsoAppLanguageID.java │ ├── MsoArrowheadLength.java │ ├── MsoArrowheadStyle.java │ ├── MsoArrowheadWidth.java │ ├── MsoAutoShapeType.java │ ├── MsoAutoSize.java │ ├── MsoAutomationSecurity.java │ ├── MsoBackgroundStyleIndex.java │ ├── MsoBalloonButtonType.java │ ├── MsoBalloonErrorType.java │ ├── MsoBalloonType.java │ ├── MsoBarPosition.java │ ├── MsoBarProtection.java │ ├── MsoBarRow.java │ ├── MsoBarType.java │ ├── MsoBaselineAlignment.java │ ├── MsoBevelType.java │ ├── MsoBlackWhiteMode.java │ ├── MsoBlogCategorySupport.java │ ├── MsoBlogImageType.java │ ├── MsoBulletType.java │ ├── MsoButtonSetType.java │ ├── MsoButtonState.java │ ├── MsoButtonStyle.java │ ├── MsoButtonStyleHidden.java │ ├── MsoCTPDockPosition.java │ ├── MsoCTPDockPositionRestrict.java │ ├── MsoCalloutAngleType.java │ ├── MsoCalloutDropType.java │ ├── MsoCalloutType.java │ ├── MsoCharacterSet.java │ ├── MsoChartElementType.java │ ├── MsoClipboardFormat.java │ ├── MsoColorType.java │ ├── MsoComboStyle.java │ ├── MsoCommandBarButtonHyperlinkType.java │ ├── MsoCondition.java │ ├── MsoConnector.java │ ├── MsoConnectorType.java │ ├── MsoControlOLEUsage.java │ ├── MsoControlType.java │ ├── MsoCustomXMLNodeType.java │ ├── MsoCustomXMLValidationErrorType.java │ ├── MsoDateTimeFormat.java │ ├── MsoDiagramNodeType.java │ ├── MsoDiagramType.java │ ├── MsoDistributeCmd.java │ ├── MsoDocInspectorStatus.java │ ├── MsoDocProperties.java │ ├── MsoEditingType.java │ ├── MsoEncoding.java │ ├── MsoExtraInfoMethod.java │ ├── MsoExtrusionColorType.java │ ├── MsoFarEastLineBreakLanguageID.java │ ├── MsoFeatureInstall.java │ ├── MsoFileDialogType.java │ ├── MsoFileDialogView.java │ ├── MsoFileFindListBy.java │ ├── MsoFileFindOptions.java │ ├── MsoFileFindSortBy.java │ ├── MsoFileFindView.java │ ├── MsoFileNewAction.java │ ├── MsoFileNewSection.java │ ├── MsoFileType.java │ ├── MsoFillType.java │ ├── MsoFilterComparison.java │ ├── MsoFilterConjunction.java │ ├── MsoFlipCmd.java │ ├── MsoFontLanguageIndex.java │ ├── MsoGradientColorType.java │ ├── MsoGradientStyle.java │ ├── MsoHTMLProjectOpen.java │ ├── MsoHTMLProjectState.java │ ├── MsoHorizontalAnchor.java │ ├── MsoHyperlinkType.java │ ├── MsoIconType.java │ ├── MsoLanguageID.java │ ├── MsoLanguageIDHidden.java │ ├── MsoLastModified.java │ ├── MsoLightRigType.java │ ├── MsoLineDashStyle.java │ ├── MsoLineStyle.java │ ├── MsoMenuAnimation.java │ ├── MsoMetaPropertyType.java │ ├── MsoMixedType.java │ ├── MsoModeType.java │ ├── MsoMoveRow.java │ ├── MsoNumberedBulletStyle.java │ ├── MsoOLEMenuGroup.java │ ├── MsoOrgChartLayoutType.java │ ├── MsoOrgChartOrientation.java │ ├── MsoOrientation.java │ ├── MsoParagraphAlignment.java │ ├── MsoPathFormat.java │ ├── MsoPatternType.java │ ├── MsoPermission.java │ ├── MsoPictureColorType.java │ ├── MsoPresetCamera.java │ ├── MsoPresetExtrusionDirection.java │ ├── MsoPresetGradientType.java │ ├── MsoPresetLightingDirection.java │ ├── MsoPresetLightingSoftness.java │ ├── MsoPresetMaterial.java │ ├── MsoPresetTextEffect.java │ ├── MsoPresetTextEffectShape.java │ ├── MsoPresetTexture.java │ ├── MsoPresetThreeDFormat.java │ ├── MsoReflectionType.java │ ├── MsoRelativeNodePosition.java │ ├── MsoScaleFrom.java │ ├── MsoScreenSize.java │ ├── MsoScriptLanguage.java │ ├── MsoScriptLocation.java │ ├── MsoSearchIn.java │ ├── MsoSegmentType.java │ ├── MsoShadowStyle.java │ ├── MsoShadowType.java │ ├── MsoShapeStyleIndex.java │ ├── MsoShapeType.java │ ├── MsoSharedWorkspaceTaskPriority.java │ ├── MsoSharedWorkspaceTaskStatus.java │ ├── MsoSignatureSubset.java │ ├── MsoSoftEdgeType.java │ ├── MsoSortBy.java │ ├── MsoSortOrder.java │ ├── MsoSyncAvailableType.java │ ├── MsoSyncCompareType.java │ ├── MsoSyncConflictResolutionType.java │ ├── MsoSyncErrorType.java │ ├── MsoSyncEventType.java │ ├── MsoSyncStatusType.java │ ├── MsoSyncVersionType.java │ ├── MsoTabStopType.java │ ├── MsoTargetBrowser.java │ ├── MsoTextCaps.java │ ├── MsoTextChangeCase.java │ ├── MsoTextCharWrap.java │ ├── MsoTextDirection.java │ ├── MsoTextEffectAlignment.java │ ├── MsoTextFontAlign.java │ ├── MsoTextOrientation.java │ ├── MsoTextStrike.java │ ├── MsoTextTabAlign.java │ ├── MsoTextUnderlineType.java │ ├── MsoTextureAlignment.java │ ├── MsoTextureType.java │ ├── MsoThemeColorIndex.java │ ├── MsoThemeColorSchemeIndex.java │ ├── MsoTriState.java │ ├── MsoVerticalAnchor.java │ ├── MsoWarpFormat.java │ ├── MsoWizardActType.java │ ├── MsoWizardMsgType.java │ ├── MsoZOrderCmd.java │ ├── Office.java │ ├── RibbonControlSize.java │ ├── SignatureDetail.java │ ├── SignatureLineImage.java │ ├── SignatureProviderDetail.java │ ├── SignatureType.java │ ├── XlAxisCrosses.java │ ├── XlAxisGroup.java │ ├── XlAxisType.java │ ├── XlBarShape.java │ ├── XlBorderWeight.java │ ├── XlCategoryType.java │ ├── XlChartElementPosition.java │ ├── XlChartItem.java │ ├── XlChartOrientation.java │ ├── XlChartPictureType.java │ ├── XlChartSplitType.java │ ├── XlChartType.java │ ├── XlColorIndex.java │ ├── XlConstants.java │ ├── XlDataLabelPosition.java │ ├── XlDataLabelsType.java │ ├── XlDisplayBlanksAs.java │ ├── XlDisplayUnit.java │ ├── XlEndStyleCap.java │ ├── XlErrorBarDirection.java │ ├── XlErrorBarInclude.java │ ├── XlErrorBarType.java │ ├── XlHAlign.java │ ├── XlLegendPosition.java │ ├── XlMarkerStyle.java │ ├── XlPivotFieldOrientation.java │ ├── XlReadingOrder.java │ ├── XlRowCol.java │ ├── XlScaleType.java │ ├── XlSizeRepresents.java │ ├── XlTickLabelOrientation.java │ ├── XlTickLabelPosition.java │ ├── XlTickMark.java │ ├── XlTimeUnit.java │ ├── XlTrendlineType.java │ ├── XlUnderlineStyle.java │ ├── XlVAlign.java │ ├── excel │ ├── Constants.java │ ├── Excel.java │ ├── XlAboveBelow.java │ ├── XlActionType.java │ ├── XlApplicationInternational.java │ ├── XlApplyNamesOrder.java │ ├── XlArabicModes.java │ ├── XlArrangeStyle.java │ ├── XlArrowHeadLength.java │ ├── XlArrowHeadStyle.java │ ├── XlArrowHeadWidth.java │ ├── XlAutoFillType.java │ ├── XlAutoFilterOperator.java │ ├── XlAxisCrosses.java │ ├── XlAxisGroup.java │ ├── XlAxisType.java │ ├── XlBackground.java │ ├── XlBarShape.java │ ├── XlBorderWeight.java │ ├── XlBordersIndex.java │ ├── XlBuiltInDialog.java │ ├── XlCVError.java │ ├── XlCalcFor.java │ ├── XlCalculatedMemberType.java │ ├── XlCalculation.java │ ├── XlCalculationInterruptKey.java │ ├── XlCalculationState.java │ ├── XlCategoryType.java │ ├── XlCellInsertionMode.java │ ├── XlCellType.java │ ├── XlChartElementPosition.java │ ├── XlChartGallery.java │ ├── XlChartItem.java │ ├── XlChartLocation.java │ ├── XlChartPicturePlacement.java │ ├── XlChartPictureType.java │ ├── XlChartSplitType.java │ ├── XlChartType.java │ ├── XlCheckInVersionType.java │ ├── XlClipboardFormat.java │ ├── XlCmdType.java │ ├── XlColorIndex.java │ ├── XlColumnDataType.java │ ├── XlCommandUnderlines.java │ ├── XlCommentDisplayMode.java │ ├── XlConditionValueTypes.java │ ├── XlConnectionType.java │ ├── XlConsolidationFunction.java │ ├── XlContainsOperator.java │ ├── XlCopyPictureFormat.java │ ├── XlCorruptLoad.java │ ├── XlCreator.java │ ├── XlCredentialsMethod.java │ ├── XlCubeFieldSubType.java │ ├── XlCubeFieldType.java │ ├── XlCutCopyMode.java │ ├── XlDVAlertStyle.java │ ├── XlDVType.java │ ├── XlDataLabelPosition.java │ ├── XlDataLabelSeparator.java │ ├── XlDataLabelsType.java │ ├── XlDataSeriesDate.java │ ├── XlDataSeriesType.java │ ├── XlDeleteShiftDirection.java │ ├── XlDirection.java │ ├── XlDisplayBlanksAs.java │ ├── XlDisplayDrawingObjects.java │ ├── XlDisplayUnit.java │ ├── XlDupeUnique.java │ ├── XlDynamicFilterCriteria.java │ ├── XlEditionFormat.java │ ├── XlEditionOptionsOption.java │ ├── XlEditionType.java │ ├── XlEnableCancelKey.java │ ├── XlEnableSelection.java │ ├── XlEndStyleCap.java │ ├── XlErrorBarDirection.java │ ├── XlErrorBarInclude.java │ ├── XlErrorBarType.java │ ├── XlErrorChecks.java │ ├── XlFileAccess.java │ ├── XlFileFormat.java │ ├── XlFillWith.java │ ├── XlFilterAction.java │ ├── XlFilterAllDatesInPeriod.java │ ├── XlFindLookIn.java │ ├── XlFixedFormatQuality.java │ ├── XlFixedFormatType.java │ ├── XlFormControl.java │ ├── XlFormatConditionOperator.java │ ├── XlFormatConditionType.java │ ├── XlFormatFilterTypes.java │ ├── XlFormulaLabel.java │ ├── XlGenerateTableRefs.java │ ├── XlGradientFillType.java │ ├── XlHAlign.java │ ├── XlHebrewModes.java │ ├── XlHighlightChangesTime.java │ ├── XlHtmlType.java │ ├── XlIMEMode.java │ ├── XlIconSet.java │ ├── XlImportDataAs.java │ ├── XlInsertFormatOrigin.java │ ├── XlInsertShiftDirection.java │ ├── XlLayoutFormType.java │ ├── XlLayoutRowType.java │ ├── XlLegendPosition.java │ ├── XlLineStyle.java │ ├── XlLink.java │ ├── XlLinkInfo.java │ ├── XlLinkInfoType.java │ ├── XlLinkStatus.java │ ├── XlLinkType.java │ ├── XlListConflict.java │ ├── XlListDataType.java │ ├── XlListObjectSourceType.java │ ├── XlLocationInTable.java │ ├── XlLookAt.java │ ├── XlLookFor.java │ ├── XlMSApplication.java │ ├── XlMailSystem.java │ ├── XlMarkerStyle.java │ ├── XlMeasurementUnits.java │ ├── XlMouseButton.java │ ├── XlMousePointer.java │ ├── XlOLEType.java │ ├── XlOLEVerb.java │ ├── XlObjectSize.java │ ├── XlOrder.java │ ├── XlOrientation.java │ ├── XlPTSelectionMode.java │ ├── XlPageBreak.java │ ├── XlPageBreakExtent.java │ ├── XlPageOrientation.java │ ├── XlPaperSize.java │ ├── XlParameterDataType.java │ ├── XlParameterType.java │ ├── XlPasteSpecialOperation.java │ ├── XlPasteType.java │ ├── XlPattern.java │ ├── XlPhoneticAlignment.java │ ├── XlPhoneticCharacterType.java │ ├── XlPictureAppearance.java │ ├── XlPictureConvertorType.java │ ├── XlPivotCellType.java │ ├── XlPivotConditionScope.java │ ├── XlPivotFieldCalculation.java │ ├── XlPivotFieldDataType.java │ ├── XlPivotFieldOrientation.java │ ├── XlPivotFilterType.java │ ├── XlPivotFormatType.java │ ├── XlPivotLineType.java │ ├── XlPivotTableMissingItems.java │ ├── XlPivotTableSourceType.java │ ├── XlPivotTableVersionList.java │ ├── XlPlacement.java │ ├── XlPlatform.java │ ├── XlPrintErrors.java │ ├── XlPrintLocation.java │ ├── XlPriority.java │ ├── XlPropertyDisplayedIn.java │ ├── XlQueryType.java │ ├── XlRangeAutoFormat.java │ ├── XlRangeValueDataType.java │ ├── XlReferenceStyle.java │ ├── XlReferenceType.java │ ├── XlRemoveDocInfoType.java │ ├── XlRgbColor.java │ ├── XlRobustConnect.java │ ├── XlRoutingSlipDelivery.java │ ├── XlRoutingSlipStatus.java │ ├── XlRowCol.java │ ├── XlRunAutoMacro.java │ ├── XlSaveAction.java │ ├── XlSaveAsAccessMode.java │ ├── XlSaveConflictResolution.java │ ├── XlScaleType.java │ ├── XlSearchDirection.java │ ├── XlSearchOrder.java │ ├── XlSearchWithin.java │ ├── XlSheetType.java │ ├── XlSheetVisibility.java │ ├── XlSizeRepresents.java │ ├── XlSmartTagControlType.java │ ├── XlSmartTagDisplayMode.java │ ├── XlSortDataOption.java │ ├── XlSortMethod.java │ ├── XlSortMethodOld.java │ ├── XlSortOn.java │ ├── XlSortOrder.java │ ├── XlSortOrientation.java │ ├── XlSortType.java │ ├── XlSourceType.java │ ├── XlSpeakDirection.java │ ├── XlSpecialCellsValue.java │ ├── XlStdColorScale.java │ ├── XlSubscribeToFormat.java │ ├── XlSubtototalLocationType.java │ ├── XlSummaryColumn.java │ ├── XlSummaryReportType.java │ ├── XlSummaryRow.java │ ├── XlTabPosition.java │ ├── XlTableStyleElementType.java │ ├── XlTextParsingType.java │ ├── XlTextQualifier.java │ ├── XlTextVisualLayoutType.java │ ├── XlThemeColor.java │ ├── XlThemeFont.java │ ├── XlThreadMode.java │ ├── XlTickLabelOrientation.java │ ├── XlTickLabelPosition.java │ ├── XlTickMark.java │ ├── XlTimePeriods.java │ ├── XlTimeUnit.java │ ├── XlToolbarProtection.java │ ├── XlTopBottom.java │ ├── XlTotalsCalculation.java │ ├── XlTrendlineType.java │ ├── XlUnderlineStyle.java │ ├── XlUpdateLinks.java │ ├── XlVAlign.java │ ├── XlWBATemplate.java │ ├── XlWebFormatting.java │ ├── XlWebSelectionType.java │ ├── XlWindowState.java │ ├── XlWindowType.java │ ├── XlWindowView.java │ ├── XlXLMMacroType.java │ ├── XlXmlExportResult.java │ ├── XlXmlImportResult.java │ ├── XlXmlLoadOption.java │ ├── XlYesNoGuess.java │ └── package.html │ ├── outlook │ ├── OlAccountType.java │ ├── OlActionCopyLike.java │ ├── OlActionReplyStyle.java │ ├── OlActionResponseStyle.java │ ├── OlActionShowOn.java │ ├── OlAddressEntryUserType.java │ ├── OlAddressListType.java │ ├── OlAlign.java │ ├── OlAlignment.java │ ├── OlAppointmentTimeField.java │ ├── OlAttachmentBlockLevel.java │ ├── OlAttachmentType.java │ ├── OlAutoDiscoverConnectionMode.java │ ├── OlAutoPreview.java │ ├── OlBackStyle.java │ ├── OlBodyFormat.java │ ├── OlBorderStyle.java │ ├── OlBusinessCardType.java │ ├── OlBusyStatus.java │ ├── OlCalendarDetail.java │ ├── OlCalendarMailFormat.java │ ├── OlCalendarViewMode.java │ ├── OlCategoryColor.java │ ├── OlCategoryShortcutKey.java │ ├── OlColor.java │ ├── OlComboBoxStyle.java │ ├── OlContactPhoneNumber.java │ ├── OlContextMenu.java │ ├── OlDayWeekTimeScale.java │ ├── OlDaysOfWeek.java │ ├── OlDefaultExpandCollapseSetting.java │ ├── OlDefaultFolders.java │ ├── OlDefaultSelectNamesDisplayMode.java │ ├── OlDisplayType.java │ ├── OlDownloadState.java │ ├── OlDragBehavior.java │ ├── OlEditorType.java │ ├── OlEnterFieldBehavior.java │ ├── OlExchangeConnectionMode.java │ ├── OlExchangeStoreType.java │ ├── OlFlagIcon.java │ ├── OlFlagStatus.java │ ├── OlFolderDisplayMode.java │ ├── OlFormRegionIcon.java │ ├── OlFormRegionMode.java │ ├── OlFormRegionSize.java │ ├── OlFormRegistry.java │ ├── OlFormatCurrency.java │ ├── OlFormatDateTime.java │ ├── OlFormatDuration.java │ ├── OlFormatEnumeration.java │ ├── OlFormatInteger.java │ ├── OlFormatKeywords.java │ ├── OlFormatNumber.java │ ├── OlFormatPercent.java │ ├── OlFormatSmartFrom.java │ ├── OlFormatText.java │ ├── OlFormatYesNo.java │ ├── OlGender.java │ ├── OlGridLineStyle.java │ ├── OlGroupType.java │ ├── OlHorizontalLayout.java │ ├── OlIconViewPlacement.java │ ├── OlIconViewType.java │ ├── OlImportance.java │ ├── OlInspectorClose.java │ ├── OlItemType.java │ ├── OlJournalRecipientType.java │ ├── OlMailRecipientType.java │ ├── OlMailingAddress.java │ ├── OlMarkInterval.java │ ├── OlMatchEntry.java │ ├── OlMeetingRecipientType.java │ ├── OlMeetingResponse.java │ ├── OlMeetingStatus.java │ ├── OlMouseButton.java │ ├── OlMousePointer.java │ ├── OlMultiLine.java │ ├── OlMultiSelect.java │ ├── OlNavigationModuleType.java │ ├── OlNetMeetingType.java │ ├── OlNoteColor.java │ ├── OlObjectClass.java │ ├── OlOfficeDocItemsType.java │ ├── OlOutlookBarViewType.java │ ├── OlPageType.java │ ├── OlPane.java │ ├── OlPermission.java │ ├── OlPermissionService.java │ ├── OlPictureAlignment.java │ ├── OlRecipientSelectors.java │ ├── OlRecurrenceState.java │ ├── OlRecurrenceType.java │ ├── OlReferenceType.java │ ├── OlRemoteStatus.java │ ├── OlResponseStatus.java │ ├── OlRuleActionType.java │ ├── OlRuleConditionType.java │ ├── OlRuleExecuteOption.java │ ├── OlRuleType.java │ ├── OlSaveAsType.java │ ├── OlScrollBars.java │ ├── OlSearchScope.java │ ├── OlSensitivity.java │ ├── OlSharingMsgType.java │ ├── OlSharingProvider.java │ ├── OlShiftState.java │ ├── OlShowItemCount.java │ ├── OlSortOrder.java │ ├── OlSpecialFolders.java │ ├── OlStorageIdentifierType.java │ ├── OlStoreType.java │ ├── OlSyncState.java │ ├── OlTableContents.java │ ├── OlTaskDelegationState.java │ ├── OlTaskOwnership.java │ ├── OlTaskRecipientType.java │ ├── OlTaskResponse.java │ ├── OlTaskStatus.java │ ├── OlTextAlign.java │ ├── OlTimeStyle.java │ ├── OlTimelineViewMode.java │ ├── OlTrackingStatus.java │ ├── OlUserPropertyType.java │ ├── OlVerticalLayout.java │ ├── OlViewSaveOption.java │ ├── OlViewType.java │ ├── OlWindowState.java │ ├── Outlook.java │ └── package.html │ ├── package.html │ ├── powerpoint │ ├── MsoAnimAccumulate.java │ ├── MsoAnimAdditive.java │ ├── MsoAnimAfterEffect.java │ ├── MsoAnimCommandType.java │ ├── MsoAnimDirection.java │ ├── MsoAnimEffect.java │ ├── MsoAnimEffectAfter.java │ ├── MsoAnimEffectRestart.java │ ├── MsoAnimFilterEffectSubtype.java │ ├── MsoAnimFilterEffectType.java │ ├── MsoAnimProperty.java │ ├── MsoAnimTextUnitEffect.java │ ├── MsoAnimTriggerType.java │ ├── MsoAnimType.java │ ├── MsoAnimateByLevel.java │ ├── MsoClickState.java │ ├── PowerPoint.java │ ├── PpActionType.java │ ├── PpAdvanceMode.java │ ├── PpAfterEffect.java │ ├── PpAlertLevel.java │ ├── PpArrangeStyle.java │ ├── PpAutoSize.java │ ├── PpBaselineAlignment.java │ ├── PpBorderType.java │ ├── PpBulletType.java │ ├── PpChangeCase.java │ ├── PpChartUnitEffect.java │ ├── PpCheckInVersionType.java │ ├── PpColorSchemeIndex.java │ ├── PpDateTimeFormat.java │ ├── PpDirection.java │ ├── PpEntryEffect.java │ ├── PpExportMode.java │ ├── PpFarEastLineBreakLevel.java │ ├── PpFileDialogType.java │ ├── PpFixedFormatIntent.java │ ├── PpFixedFormatType.java │ ├── PpFollowColors.java │ ├── PpFrameColors.java │ ├── PpHTMLVersion.java │ ├── PpIndentControl.java │ ├── PpMediaType.java │ ├── PpMouseActivation.java │ ├── PpNumberedBulletStyle.java │ ├── PpParagraphAlignment.java │ ├── PpPasteDataType.java │ ├── PpPlaceholderType.java │ ├── PpPrintColorType.java │ ├── PpPrintHandoutOrder.java │ ├── PpPrintOutputType.java │ ├── PpPrintRangeType.java │ ├── PpPublishSourceType.java │ ├── PpRemoveDocInfoType.java │ ├── PpRevisionInfo.java │ ├── PpSaveAsFileType.java │ ├── PpSelectionType.java │ ├── PpShapeFormat.java │ ├── PpSlideLayout.java │ ├── PpSlideShowAdvanceMode.java │ ├── PpSlideShowPointerType.java │ ├── PpSlideShowRangeType.java │ ├── PpSlideShowState.java │ ├── PpSlideShowType.java │ ├── PpSlideSizeType.java │ ├── PpSoundEffectType.java │ ├── PpSoundFormatType.java │ ├── PpTabStopType.java │ ├── PpTextLevelEffect.java │ ├── PpTextStyleType.java │ ├── PpTextUnitEffect.java │ ├── PpTransitionSpeed.java │ ├── PpUpdateOption.java │ ├── PpViewType.java │ ├── PpWindowState.java │ └── package.html │ ├── visio │ ├── VisArcSweepFlags.java │ ├── VisAutoConnectDir.java │ ├── VisAutoLinkBehaviors.java │ ├── VisAutoLinkFieldTypes.java │ ├── VisBoundingBoxArgs.java │ ├── VisCellError.java │ ├── VisCellIndices.java │ ├── VisCellVals.java │ ├── VisCharsBias.java │ ├── VisCutCopyPasteCodes.java │ ├── VisDataColumnProperties.java │ ├── VisDataRecordsetAddOptions.java │ ├── VisDefaultColors.java │ ├── VisDefaultSaveFormats.java │ ├── VisDistributeTypes.java │ ├── VisDocCleanActions.java │ ├── VisDocCleanTargets.java │ ├── VisDocExIntent.java │ ├── VisDocModeArgs.java │ ├── VisDocVersions.java │ ├── VisDocumentTypes.java │ ├── VisDrawRegionFlags.java │ ├── VisDrawSplineFlags.java │ ├── VisEventCodes.java │ ├── VisExistsFlags.java │ ├── VisFieldCategories.java │ ├── VisFieldCodes.java │ ├── VisFieldFormats.java │ ├── VisFilterActions.java │ ├── VisFixedFormatTypes.java │ ├── VisFlipDirection.java │ ├── VisFlipTypes.java │ ├── VisFontAttributes.java │ ├── VisFromParts.java │ ├── VisGeomFlags.java │ ├── VisGetSetArgs.java │ ├── VisGlueSettings.java │ ├── VisGraphicField.java │ ├── VisGraphicItemTypes.java │ ├── VisGraphicPositionHorizontal.java │ ├── VisGraphicPositionVertical.java │ ├── VisGuideTypes.java │ ├── VisHitTestResults.java │ ├── VisHorizontalAlignTypes.java │ ├── VisInsertObjArgs.java │ ├── VisKeyButtonFlags.java │ ├── VisLinkReplaceBehavior.java │ ├── VisMasterProperties.java │ ├── VisMasterTypes.java │ ├── VisMeasurementSystem.java │ ├── VisMouseMoveDragStates.java │ ├── VisObjectTypes.java │ ├── VisOnComponentEnterCodes.java │ ├── VisOpenSaveArgs.java │ ├── VisPageAndMasterIDs.java │ ├── VisPageSizingBehaviors.java │ ├── VisPageTypes.java │ ├── VisPaperSizes.java │ ├── VisPasteSpecialCodes.java │ ├── VisPrimaryKeySettings.java │ ├── VisPrintOutRange.java │ ├── VisProtection.java │ ├── VisRefreshSettings.java │ ├── VisRegionalUIOptions.java │ ├── VisRemoveHiddenInfoItems.java │ ├── VisRotationTypes.java │ ├── VisRoundFlags.java │ ├── VisRowIndices.java │ ├── VisRowTags.java │ ├── VisRunTypes.java │ ├── VisSavePreviewMode.java │ ├── VisScrollbarStates.java │ ├── VisSectionIndices.java │ ├── VisSelectArgs.java │ ├── VisSelectItemStatus.java │ ├── VisSelectMode.java │ ├── VisSelectionTypes.java │ ├── VisShapeIDs.java │ ├── VisShapeTypes.java │ ├── VisSnapExtensions.java │ ├── VisSnapSettings.java │ ├── VisSpatialRelationCodes.java │ ├── VisSpatialRelationFlags.java │ ├── VisStatCodes.java │ ├── VisTextDisplayQualityTypes.java │ ├── VisThemeColors.java │ ├── VisThemeEffects.java │ ├── VisThemeTypes.java │ ├── VisToParts.java │ ├── VisToolbarFlavors.java │ ├── VisTraceFlags.java │ ├── VisTypeSelectionTypes.java │ ├── VisUIBarPosition.java │ ├── VisUIBarProtection.java │ ├── VisUIBarRow.java │ ├── VisUIButtonState.java │ ├── VisUIButtonStyle.java │ ├── VisUICmds.java │ ├── VisUICtrlAtts.java │ ├── VisUICtrlIDs.java │ ├── VisUICtrlTypes.java │ ├── VisUIIconIDs.java │ ├── VisUIMenuAnimation.java │ ├── VisUIObjSets.java │ ├── VisUISpacingTypes.java │ ├── VisUIStringIDs.java │ ├── VisUniqueIDArgs.java │ ├── VisUnitCodes.java │ ├── VisVerticalAlignTypes.java │ ├── VisWinTypes.java │ ├── VisWindowArrange.java │ ├── VisWindowFit.java │ ├── VisWindowScrollX.java │ ├── VisWindowScrollY.java │ ├── VisWindowStates.java │ ├── VisZoomBehavior.java │ ├── Visio.java │ ├── package.html │ ├── tagVisBoundingBoxArgs.java │ ├── tagVisCellError.java │ ├── tagVisCellIndices.java │ ├── tagVisCellVals.java │ ├── tagVisCharsBias.java │ ├── tagVisCutCopyPasteCodes.java │ ├── tagVisDefaultColors.java │ ├── tagVisDocCleanActions.java │ ├── tagVisDocCleanTargets.java │ ├── tagVisDocModeArgs.java │ ├── tagVisDocVersions.java │ ├── tagVisDrawRegionFlags.java │ ├── tagVisDrawSplineFlags.java │ ├── tagVisEventCodes.java │ ├── tagVisExistsFlags.java │ ├── tagVisFieldCategories.java │ ├── tagVisFieldCodes.java │ ├── tagVisFieldFormats.java │ ├── tagVisFontAttributes.java │ ├── tagVisFromParts.java │ ├── tagVisGeomFlags.java │ ├── tagVisGetSetArgs.java │ ├── tagVisGlueSettings.java │ ├── tagVisGuideTypes.java │ ├── tagVisHitTestResults.java │ ├── tagVisInsertObjArgs.java │ ├── tagVisMasterProperties.java │ ├── tagVisObjectTypes.java │ ├── tagVisOnComponentEnterCodes.java │ ├── tagVisOpenSaveArgs.java │ ├── tagVisPaperSizes.java │ ├── tagVisPasteSpecialCodes.java │ ├── tagVisProtection.java │ ├── tagVisRoundFlags.java │ ├── tagVisRowIndices.java │ ├── tagVisRowTags.java │ ├── tagVisRunTypes.java │ ├── tagVisSavePreviewMode.java │ ├── tagVisScrollbarStates.java │ ├── tagVisSectionIndices.java │ ├── tagVisSelectArgs.java │ ├── tagVisSelectItemStatus.java │ ├── tagVisSelectMode.java │ ├── tagVisShapeIDs.java │ ├── tagVisShapeTypes.java │ ├── tagVisSnapExtensions.java │ ├── tagVisSnapSettings.java │ ├── tagVisSpatialRelationCodes.java │ ├── tagVisSpatialRelationFlags.java │ ├── tagVisStatCodes.java │ ├── tagVisToParts.java │ ├── tagVisToolbarFlavors.java │ ├── tagVisTraceFlags.java │ ├── tagVisUIBarPosition.java │ ├── tagVisUIBarProtection.java │ ├── tagVisUIBarRow.java │ ├── tagVisUIButtonState.java │ ├── tagVisUIButtonStyle.java │ ├── tagVisUICmds.java │ ├── tagVisUICtrlAtts.java │ ├── tagVisUICtrlIDs.java │ ├── tagVisUICtrlTypes.java │ ├── tagVisUIIconIDs.java │ ├── tagVisUIMenuAnimation.java │ ├── tagVisUIObjSets.java │ ├── tagVisUISpacingTypes.java │ ├── tagVisUIStringIDs.java │ ├── tagVisUniqueIDArgs.java │ ├── tagVisUnitCodes.java │ ├── tagVisWinTypes.java │ ├── tagVisWindowArrange.java │ ├── tagVisWindowFit.java │ ├── tagVisWindowScrollX.java │ ├── tagVisWindowScrollY.java │ ├── tagVisWindowStates.java │ └── tagVisZoomBehavior.java │ └── word │ ├── WdAlertLevel.java │ ├── WdAlignmentTabAlignment.java │ ├── WdAlignmentTabRelative.java │ ├── WdAnimation.java │ ├── WdAraSpeller.java │ ├── WdArabicNumeral.java │ ├── WdArrangeStyle.java │ ├── WdAutoFitBehavior.java │ ├── WdAutoMacros.java │ ├── WdAutoVersions.java │ ├── WdBaselineAlignment.java │ ├── WdBookmarkSortBy.java │ ├── WdBorderDistanceFrom.java │ ├── WdBorderType.java │ ├── WdBorderTypeHID.java │ ├── WdBreakType.java │ ├── WdBrowseTarget.java │ ├── WdBrowserLevel.java │ ├── WdBuildingBlockTypes.java │ ├── WdBuiltInProperty.java │ ├── WdBuiltinStyle.java │ ├── WdCalendarType.java │ ├── WdCalendarTypeBi.java │ ├── WdCaptionLabelID.java │ ├── WdCaptionNumberStyle.java │ ├── WdCaptionNumberStyleHID.java │ ├── WdCaptionPosition.java │ ├── WdCellColor.java │ ├── WdCellVerticalAlignment.java │ ├── WdCharacterCase.java │ ├── WdCharacterCaseHID.java │ ├── WdCharacterWidth.java │ ├── WdCheckInVersionType.java │ ├── WdChevronConvertRule.java │ ├── WdCollapseDirection.java │ ├── WdColor.java │ ├── WdColorIndex.java │ ├── WdCompareDestination.java │ ├── WdCompareTarget.java │ ├── WdCompatibility.java │ ├── WdConditionCode.java │ ├── WdConstants.java │ ├── WdContentControlDateStorageFormat.java │ ├── WdContentControlType.java │ ├── WdContinue.java │ ├── WdCountry.java │ ├── WdCursorMovement.java │ ├── WdCursorType.java │ ├── WdCustomLabelPageSize.java │ ├── WdDateLanguage.java │ ├── WdDefaultFilePath.java │ ├── WdDefaultListBehavior.java │ ├── WdDefaultTableBehavior.java │ ├── WdDeleteCells.java │ ├── WdDeletedTextMark.java │ ├── WdDiacriticColor.java │ ├── WdDictionaryType.java │ ├── WdDictionaryTypeHID.java │ ├── WdDisableFeaturesIntroducedAfter.java │ ├── WdDocPartInsertOptions.java │ ├── WdDocumentDirection.java │ ├── WdDocumentKind.java │ ├── WdDocumentMedium.java │ ├── WdDocumentType.java │ ├── WdDocumentViewDirection.java │ ├── WdDropPosition.java │ ├── WdEditionOption.java │ ├── WdEditionType.java │ ├── WdEditorType.java │ ├── WdEmailHTMLFidelity.java │ ├── WdEmphasisMark.java │ ├── WdEnableCancelKey.java │ ├── WdEncloseStyle.java │ ├── WdEnclosureType.java │ ├── WdEndnoteLocation.java │ ├── WdEnvelopeOrientation.java │ ├── WdExportCreateBookmarks.java │ ├── WdExportFormat.java │ ├── WdExportItem.java │ ├── WdExportOptimizeFor.java │ ├── WdExportRange.java │ ├── WdFarEastLineBreakLanguageID.java │ ├── WdFarEastLineBreakLevel.java │ ├── WdFieldKind.java │ ├── WdFieldShading.java │ ├── WdFieldType.java │ ├── WdFindMatch.java │ ├── WdFindWrap.java │ ├── WdFlowDirection.java │ ├── WdFontBias.java │ ├── WdFootnoteLocation.java │ ├── WdFramePosition.java │ ├── WdFrameSizeRule.java │ ├── WdFramesetNewFrameLocation.java │ ├── WdFramesetSizeType.java │ ├── WdFramesetType.java │ ├── WdFrenchSpeller.java │ ├── WdGoToDirection.java │ ├── WdGoToItem.java │ ├── WdGranularity.java │ ├── WdGutterStyle.java │ ├── WdGutterStyleOld.java │ ├── WdHeaderFooterIndex.java │ ├── WdHeadingSeparator.java │ ├── WdHebSpellStart.java │ ├── WdHelpType.java │ ├── WdHelpTypeHID.java │ ├── WdHighAnsiText.java │ ├── WdHorizontalInVerticalType.java │ ├── WdHorizontalLineAlignment.java │ ├── WdHorizontalLineWidthType.java │ ├── WdIMEMode.java │ ├── WdIndexFilter.java │ ├── WdIndexFormat.java │ ├── WdIndexSortBy.java │ ├── WdIndexType.java │ ├── WdInformation.java │ ├── WdInlineShapeType.java │ ├── WdInsertCells.java │ ├── WdInsertedTextMark.java │ ├── WdInternationalIndex.java │ ├── WdJustificationMode.java │ ├── WdKana.java │ ├── WdKey.java │ ├── WdKeyCategory.java │ ├── WdLanguageID.java │ ├── WdLanguageID2000.java │ ├── WdLayoutMode.java │ ├── WdLetterStyle.java │ ├── WdLetterheadLocation.java │ ├── WdLineEndingType.java │ ├── WdLineSpacing.java │ ├── WdLineStyle.java │ ├── WdLineType.java │ ├── WdLineWidth.java │ ├── WdLinkType.java │ ├── WdListApplyTo.java │ ├── WdListGalleryType.java │ ├── WdListLevelAlignment.java │ ├── WdListNumberStyle.java │ ├── WdListNumberStyleHID.java │ ├── WdListType.java │ ├── WdMailMergeActiveRecord.java │ ├── WdMailMergeComparison.java │ ├── WdMailMergeDataSource.java │ ├── WdMailMergeDefaultRecord.java │ ├── WdMailMergeDestination.java │ ├── WdMailMergeMailFormat.java │ ├── WdMailMergeMainDocType.java │ ├── WdMailMergeState.java │ ├── WdMailSystem.java │ ├── WdMailerPriority.java │ ├── WdMappedDataFields.java │ ├── WdMeasurementUnits.java │ ├── WdMeasurementUnitsHID.java │ ├── WdMergeFormatFrom.java │ ├── WdMergeSubType.java │ ├── WdMergeTarget.java │ ├── WdMonthNames.java │ ├── WdMoveFromTextMark.java │ ├── WdMoveToTextMark.java │ ├── WdMovementType.java │ ├── WdMultipleWordConversionsMode.java │ ├── WdNewDocumentType.java │ ├── WdNoteNumberStyle.java │ ├── WdNoteNumberStyleHID.java │ ├── WdNumberStyleWordBasicBiDi.java │ ├── WdNumberType.java │ ├── WdNumberingRule.java │ ├── WdOLEPlacement.java │ ├── WdOLEType.java │ ├── WdOLEVerb.java │ ├── WdOMathBreakBin.java │ ├── WdOMathBreakSub.java │ ├── WdOMathFracType.java │ ├── WdOMathFunctionType.java │ ├── WdOMathHorizAlignType.java │ ├── WdOMathJc.java │ ├── WdOMathShapeType.java │ ├── WdOMathSpacingRule.java │ ├── WdOMathType.java │ ├── WdOMathVertAlignType.java │ ├── WdOpenFormat.java │ ├── WdOrganizerObject.java │ ├── WdOrientation.java │ ├── WdOriginalFormat.java │ ├── WdOutlineLevel.java │ ├── WdPageBorderArt.java │ ├── WdPageFit.java │ ├── WdPageNumberAlignment.java │ ├── WdPageNumberStyle.java │ ├── WdPageNumberStyleHID.java │ ├── WdPaperSize.java │ ├── WdPaperTray.java │ ├── WdParagraphAlignment.java │ ├── WdParagraphAlignmentHID.java │ ├── WdPartOfSpeech.java │ ├── WdPasteDataType.java │ ├── WdPasteOptions.java │ ├── WdPhoneticGuideAlignmentType.java │ ├── WdPictureLinkType.java │ ├── WdPreferredWidthType.java │ ├── WdPrintOutItem.java │ ├── WdPrintOutPages.java │ ├── WdPrintOutRange.java │ ├── WdProofreadingErrorType.java │ ├── WdProtectionType.java │ ├── WdReadingLayoutMargin.java │ ├── WdReadingOrder.java │ ├── WdRecoveryType.java │ ├── WdRectangleType.java │ ├── WdReferenceKind.java │ ├── WdReferenceType.java │ ├── WdRelativeHorizontalPosition.java │ ├── WdRelativeHorizontalSize.java │ ├── WdRelativeVerticalPosition.java │ ├── WdRelativeVerticalSize.java │ ├── WdRelocate.java │ ├── WdRemoveDocInfoType.java │ ├── WdReplace.java │ ├── WdRevisedLinesMark.java │ ├── WdRevisedPropertiesMark.java │ ├── WdRevisionType.java │ ├── WdRevisionsBalloonMargin.java │ ├── WdRevisionsBalloonPrintOrientation.java │ ├── WdRevisionsBalloonWidthType.java │ ├── WdRevisionsMode.java │ ├── WdRevisionsView.java │ ├── WdRevisionsWrap.java │ ├── WdRoutingSlipDelivery.java │ ├── WdRoutingSlipStatus.java │ ├── WdRowAlignment.java │ ├── WdRowHeightRule.java │ ├── WdRulerStyle.java │ ├── WdSalutationGender.java │ ├── WdSalutationType.java │ ├── WdSaveFormat.java │ ├── WdSaveOptions.java │ ├── WdScrollbarType.java │ ├── WdSectionDirection.java │ ├── WdSectionStart.java │ ├── WdSeekView.java │ ├── WdSelectionFlags.java │ ├── WdSelectionType.java │ ├── WdSeparatorType.java │ ├── WdShapePosition.java │ ├── WdShapePositionRelative.java │ ├── WdShapeSizeRelative.java │ ├── WdShowFilter.java │ ├── WdShowSourceDocuments.java │ ├── WdSmartTagControlType.java │ ├── WdSortFieldType.java │ ├── WdSortFieldTypeHID.java │ ├── WdSortOrder.java │ ├── WdSortSeparator.java │ ├── WdSpecialPane.java │ ├── WdSpellingErrorType.java │ ├── WdSpellingWordType.java │ ├── WdStatistic.java │ ├── WdStatisticHID.java │ ├── WdStoryType.java │ ├── WdStyleSheetLinkType.java │ ├── WdStyleSheetPrecedence.java │ ├── WdStyleSort.java │ ├── WdStyleType.java │ ├── WdSubscriberFormats.java │ ├── WdSummaryLength.java │ ├── WdSummaryMode.java │ ├── WdTCSCConverterDirection.java │ ├── WdTabAlignment.java │ ├── WdTabLeader.java │ ├── WdTabLeaderHID.java │ ├── WdTableDirection.java │ ├── WdTableFieldSeparator.java │ ├── WdTableFormat.java │ ├── WdTableFormatApply.java │ ├── WdTablePosition.java │ ├── WdTaskPanes.java │ ├── WdTemplateType.java │ ├── WdTextFormFieldType.java │ ├── WdTextOrientation.java │ ├── WdTextOrientationHID.java │ ├── WdTextboxTightWrap.java │ ├── WdTextureIndex.java │ ├── WdThemeColorIndex.java │ ├── WdToaFormat.java │ ├── WdTocFormat.java │ ├── WdTofFormat.java │ ├── WdTrailingCharacter.java │ ├── WdTwoLinesInOneType.java │ ├── WdUnderline.java │ ├── WdUnits.java │ ├── WdUseFormattingFrom.java │ ├── WdVerticalAlignment.java │ ├── WdViewType.java │ ├── WdViewTypeOld.java │ ├── WdVisualSelection.java │ ├── WdWindowState.java │ ├── WdWindowType.java │ ├── WdWordDialog.java │ ├── WdWordDialogHID.java │ ├── WdWordDialogTab.java │ ├── WdWordDialogTabHID.java │ ├── WdWrapSideType.java │ ├── WdWrapType.java │ ├── WdWrapTypeMerged.java │ ├── WdXMLNodeLevel.java │ ├── WdXMLNodeType.java │ ├── WdXMLSelectionChangeReason.java │ ├── WdXMLValidationStatus.java │ ├── Word.java │ └── package.html ├── scriptom-sapi ├── .settings │ ├── org.eclipse.jdt.core.prefs │ └── org.maven.ide.eclipse.prefs ├── build.gradle └── src │ └── main │ └── java │ └── org │ └── codehaus │ └── groovy │ └── scriptom │ └── tlb │ └── sapi │ ├── DISPIDSPRG.java │ ├── DISPIDSPTSI.java │ ├── DISPID_SpeechAudio.java │ ├── DISPID_SpeechAudioBufferInfo.java │ ├── DISPID_SpeechAudioFormat.java │ ├── DISPID_SpeechAudioStatus.java │ ├── DISPID_SpeechBaseStream.java │ ├── DISPID_SpeechCustomStream.java │ ├── DISPID_SpeechDataKey.java │ ├── DISPID_SpeechFileStream.java │ ├── DISPID_SpeechGrammarRule.java │ ├── DISPID_SpeechGrammarRuleState.java │ ├── DISPID_SpeechGrammarRuleStateTransition.java │ ├── DISPID_SpeechGrammarRuleStateTransitions.java │ ├── DISPID_SpeechGrammarRules.java │ ├── DISPID_SpeechLexicon.java │ ├── DISPID_SpeechLexiconProns.java │ ├── DISPID_SpeechLexiconPronunciation.java │ ├── DISPID_SpeechLexiconWord.java │ ├── DISPID_SpeechLexiconWords.java │ ├── DISPID_SpeechMMSysAudio.java │ ├── DISPID_SpeechMemoryStream.java │ ├── DISPID_SpeechObjectToken.java │ ├── DISPID_SpeechObjectTokenCategory.java │ ├── DISPID_SpeechObjectTokens.java │ ├── DISPID_SpeechPhoneConverter.java │ ├── DISPID_SpeechPhraseAlternate.java │ ├── DISPID_SpeechPhraseAlternates.java │ ├── DISPID_SpeechPhraseBuilder.java │ ├── DISPID_SpeechPhraseElement.java │ ├── DISPID_SpeechPhraseElements.java │ ├── DISPID_SpeechPhraseInfo.java │ ├── DISPID_SpeechPhraseProperties.java │ ├── DISPID_SpeechPhraseProperty.java │ ├── DISPID_SpeechPhraseReplacement.java │ ├── DISPID_SpeechPhraseReplacements.java │ ├── DISPID_SpeechPhraseRule.java │ ├── DISPID_SpeechPhraseRules.java │ ├── DISPID_SpeechRecoContext.java │ ├── DISPID_SpeechRecoContextEvents.java │ ├── DISPID_SpeechRecoResult.java │ ├── DISPID_SpeechRecoResultTimes.java │ ├── DISPID_SpeechRecognizer.java │ ├── DISPID_SpeechRecognizerStatus.java │ ├── DISPID_SpeechVoice.java │ ├── DISPID_SpeechVoiceEvent.java │ ├── DISPID_SpeechVoiceStatus.java │ ├── DISPID_SpeechWaveFormatEx.java │ ├── SPAUDIOOPTIONS.java │ ├── SPAUDIOSTATE.java │ ├── SPBOOKMARKOPTIONS.java │ ├── SPCONTEXTSTATE.java │ ├── SPDATAKEYLOCATION.java │ ├── SPEVENTENUM.java │ ├── SPFILEMODE.java │ ├── SPGRAMMARSTATE.java │ ├── SPGRAMMARWORDTYPE.java │ ├── SPINTERFERENCE.java │ ├── SPLEXICONTYPE.java │ ├── SPLOADOPTIONS.java │ ├── SPPARTOFSPEECH.java │ ├── SPRECOSTATE.java │ ├── SPRULESTATE.java │ ├── SPSTREAMFORMATTYPE.java │ ├── SPVISEMES.java │ ├── SPVPRIORITY.java │ ├── SPWAVEFORMATTYPE.java │ ├── SPWORDPRONOUNCEABLE.java │ ├── SPWORDTYPE.java │ ├── SpeechAudioFormatType.java │ ├── SpeechAudioState.java │ ├── SpeechBookmarkOptions.java │ ├── SpeechConstants.java │ ├── SpeechDataKeyLocation.java │ ├── SpeechDiscardType.java │ ├── SpeechDisplayAttributes.java │ ├── SpeechEngineConfidence.java │ ├── SpeechFormatType.java │ ├── SpeechGrammarRuleStateTransitionType.java │ ├── SpeechGrammarState.java │ ├── SpeechGrammarWordType.java │ ├── SpeechInterference.java │ ├── SpeechLexiconType.java │ ├── SpeechLib.java │ ├── SpeechLoadOption.java │ ├── SpeechPartOfSpeech.java │ ├── SpeechRecoContextState.java │ ├── SpeechRecoEvents.java │ ├── SpeechRecognitionType.java │ ├── SpeechRecognizerState.java │ ├── SpeechRetainedAudioOptions.java │ ├── SpeechRuleAttributes.java │ ├── SpeechRuleState.java │ ├── SpeechRunState.java │ ├── SpeechSpecialTransitionType.java │ ├── SpeechStreamFileMode.java │ ├── SpeechStreamSeekPositionType.java │ ├── SpeechStringConstants.java │ ├── SpeechTokenContext.java │ ├── SpeechTokenShellFolder.java │ ├── SpeechVisemeFeature.java │ ├── SpeechVisemeType.java │ ├── SpeechVoiceEvents.java │ ├── SpeechVoicePriority.java │ ├── SpeechVoiceSpeakFlags.java │ ├── SpeechWordPronounceable.java │ ├── SpeechWordType.java │ ├── _SPAUDIOSTATE.java │ └── package.html ├── scriptom-scripting ├── .settings │ ├── org.codehaus.groovy.eclipse.preferences.prefs │ ├── org.eclipse.jdt.core.prefs │ └── org.maven.ide.eclipse.prefs ├── build.gradle └── src │ └── main │ └── java │ └── org │ └── codehaus │ └── groovy │ └── scriptom │ └── tlb │ └── scripting │ ├── CompareMethod.java │ ├── DriveTypeConst.java │ ├── FileAttribute.java │ ├── IOMode.java │ ├── Scripting.java │ ├── SpecialFolderConst.java │ ├── StandardStreamTypes.java │ ├── Tristate.java │ └── package.html ├── scriptom-wbem ├── .settings │ ├── org.codehaus.groovy.eclipse.preferences.prefs │ ├── org.eclipse.jdt.core.prefs │ └── org.maven.ide.eclipse.prefs ├── build.gradle └── src │ └── main │ ├── groovy │ └── wbemscripting │ │ └── WbemDateTime.groovy │ └── java │ └── org │ └── codehaus │ └── groovy │ └── scriptom │ └── tlb │ └── wbemscripting │ ├── WbemAuthenticationLevelEnum.java │ ├── WbemChangeFlagEnum.java │ ├── WbemCimtypeEnum.java │ ├── WbemComparisonFlagEnum.java │ ├── WbemConnectOptionsEnum.java │ ├── WbemErrorEnum.java │ ├── WbemFlagEnum.java │ ├── WbemImpersonationLevelEnum.java │ ├── WbemObjectTextFormatEnum.java │ ├── WbemPrivilegeEnum.java │ ├── WbemQueryFlagEnum.java │ ├── WbemScripting.java │ ├── WbemTextFlagEnum.java │ ├── WbemTimeout.java │ └── package.html ├── scriptom-wsh ├── .settings │ ├── org.eclipse.jdt.core.prefs │ └── org.maven.ide.eclipse.prefs ├── build.gradle └── src │ └── main │ └── java │ └── org │ └── codehaus │ └── groovy │ └── scriptom │ └── tlb │ └── wscript │ ├── CompareMethod.java │ ├── DriveTypeConst.java │ ├── FileAttribute.java │ ├── IOMode.java │ ├── IWshRuntimeLibrary.java │ ├── SpecialFolderConst.java │ ├── StandardStreamTypes.java │ ├── Tristate.java │ ├── WshExecStatus.java │ ├── WshWindowStyle.java │ └── package.html ├── scriptom ├── .settings │ ├── org.codehaus.groovy.eclipse.preferences.prefs │ ├── org.eclipse.jdt.core.prefs │ └── org.maven.ide.eclipse.prefs ├── build.gradle └── src │ ├── main │ └── java │ │ └── org │ │ └── codehaus │ │ └── groovy │ │ └── scriptom │ │ ├── ActiveXObject.java │ │ ├── EventArguments.java │ │ ├── SafeArray.java │ │ ├── Scriptom.java │ │ ├── UnsupportedVariantTypeException.java │ │ ├── VariantByref.java │ │ ├── VariantError.java │ │ ├── VariantNull.java │ │ ├── VariantSupport.java │ │ └── package.html │ ├── site │ ├── site.xml │ └── xdoc │ │ ├── com-data-types.xml │ │ ├── index.xml │ │ ├── installation.xml │ │ ├── maven.xml │ │ └── troubleshooting.xml │ └── test │ ├── csharp │ └── ScriptomTestCSharp │ │ ├── ScriptomTestCSharp.sln │ │ ├── ScriptomTestCSharp.suo │ │ └── ScriptomTestCSharp │ │ ├── ClassWithTwoInterfaces.cs │ │ ├── Properties │ │ └── AssemblyInfo.cs │ │ ├── ScriptomTestCSharp.csproj │ │ ├── ScriptomTestCSharp.csproj.user │ │ ├── Types.cs │ │ ├── bin │ │ └── Release │ │ │ ├── ScriptomTestCSharp.dll │ │ │ ├── ScriptomTestCSharp.pdb │ │ │ └── ScriptomTestCSharp.tlb │ │ ├── obj │ │ └── Release │ │ │ ├── ScriptomTestCSharp.csproj.FileListAbsolute.txt │ │ │ ├── ScriptomTestCSharp.dll │ │ │ └── ScriptomTestCSharp.pdb │ │ └── testingKey.snk │ ├── groovy │ ├── BaseJacobTest.groovy │ ├── CSharp │ │ ├── TestMultipleInterfacesCS.groovy │ │ └── TestTypesCS.groovy │ └── VisualBasic │ │ ├── TestArraysVB8.groovy │ │ ├── TestEventsVB8.groovy │ │ ├── TestMisc.groovy │ │ ├── TestTypesByrefVB8.groovy │ │ └── TestTypesVB8.groovy │ ├── java │ └── org │ │ └── codehaus │ │ └── groovy │ │ └── scriptom │ │ └── tlb │ │ ├── csharptests │ │ ├── ScriptomTestCSharp.java │ │ └── ScriptomTestConstants.java │ │ └── vbtests │ │ └── ScriptomTestVB.java │ └── visualbasic │ ├── ScriptomTestVB │ ├── My Project │ │ ├── Application.Designer.vb │ │ ├── Application.myapp │ │ ├── AssemblyInfo.vb │ │ ├── Resources.Designer.vb │ │ ├── Resources.resx │ │ ├── Settings.Designer.vb │ │ └── Settings.settings │ ├── ScriptomTestVB.sln │ ├── ScriptomTestVB.suo │ ├── ScriptomTestVB.vbproj │ ├── ScriptomTestVB.vbproj.user │ ├── TestArrays.vb │ ├── TestComObject.vb │ ├── TestEvents.vb │ ├── TestTypes.vb │ ├── TestTypesByref.vb │ ├── bin │ │ └── Release │ │ │ ├── ScriptomTestVB.dll │ │ │ ├── ScriptomTestVB.pdb │ │ │ ├── ScriptomTestVB.tlb │ │ │ └── ScriptomTestVB.xml │ ├── obj │ │ ├── Debug │ │ │ ├── ScriptomTestVB2005.Resources.resources │ │ │ ├── ScriptomTestVB2005.dll │ │ │ ├── ScriptomTestVB2005.pdb │ │ │ ├── ScriptomTestVB2005.vbproj.GenerateResource.Cache │ │ │ ├── ScriptomTestVB2005.xml │ │ │ └── TempPE │ │ │ │ └── My Project.Resources.Designer.vb.dll │ │ ├── Release │ │ │ ├── ScriptomTestVB.Resources.resources │ │ │ ├── ScriptomTestVB.dll │ │ │ ├── ScriptomTestVB.pdb │ │ │ ├── ScriptomTestVB.vbproj.FileListAbsolute.txt │ │ │ ├── ScriptomTestVB.vbproj.GenerateResource.Cache │ │ │ ├── ScriptomTestVB.xml │ │ │ ├── ScriptomTestVB2005.Resources.resources │ │ │ ├── ScriptomTestVB2005.dll │ │ │ ├── ScriptomTestVB2005.pdb │ │ │ ├── ScriptomTestVB2005.vbproj.FileListAbsolute.txt │ │ │ ├── ScriptomTestVB2005.vbproj.GenerateResource.Cache │ │ │ ├── ScriptomTestVB2005.xml │ │ │ └── TempPE │ │ │ │ └── My Project.Resources.Designer.vb.dll │ │ └── ScriptomTestVB2005.vbproj.FileList.txt │ └── scriptom.pfx │ ├── UpgradeLog.XML │ ├── _UpgradeReport_Files │ ├── UpgradeReport.css │ ├── UpgradeReport.xslt │ ├── UpgradeReport_Minus.gif │ └── UpgradeReport_Plus.gif │ └── readme.txt └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- 1 | .gradle 2 | .idea 3 | *.iml 4 | build 5 | .classpath 6 | .project 7 | 8 | -------------------------------------------------------------------------------- /README.adoc: -------------------------------------------------------------------------------- 1 | = What is Scriptom 2 | 3 | **Note**: __Scriptom is not actively maintained.__ 4 | 5 | **Scriptom** provides a simple yet powerful COM library for Groovy. It is implemented as a thin layer around [JACOB (Java COM Bridge)](https://sourceforge.net/projects/jacob-project/). JACOB is a mature open-source library for Java that supports communicating with COM libraries and automation servers on Microsoft Windows. 6 | 7 | **Scriptom** attempts to mirror all the functionality of JACOB, but in a "groovy" way. Here is a quick example that uses 8 | `Scripting.FileSystemObject` to list the paths to all active rooted drives on your system (italics show COM methods and properties): 9 | 10 | [source,lang='groovy'] 11 | ---- 12 | new ActiveXObject('Scripting.FileSystemObject').Drives.findAll{it.IsReady}.each{println it.Path} ` 13 | ---- 14 | 15 | Visual Basic was never this easy! 16 | 17 | == Supported Variant Types and Translation Notes 18 | 19 | [cols="5*",options="header"] 20 | |=== 21 | | Variant-Type | Supported? | Java | VB6/VBA | Comments 22 | 23 | | Empty |Yes|`null`|`Variant.Empty`| 24 | | Null |Yes|`VariantNull`|`Variant.Null`|Don't be confused. `Variant.Null` is not the same as `null`. This is by design. 25 | | Short |Yes|`Short`|`Integer`|An `Integer` in VB6 represents a 16-bit signed value. 26 | | Int |Yes|`Integer`|`Long`|A `Long` in VB6 represents a 32-bit signed value. 27 | | Long |Yes|`Long/BigInteger`| |A 64-bit signed value. Supported by .NET. `BigInteger` supports arbitrary-precision integers, so there may be errors associated with converting a `BigInteger` to a 64-bit integer. 28 | 29 | |== 30 | 31 | By default, all Variants in **Scriptom** are passed by value (not `byref`). Note that it is safe to pass values `byval` 32 | even when the method argument is marked as 'byref.' In COM, 'byref' arguments allow a method to change a value which is 33 | then reflected in the calling scope. If you need to do this, take a look at the `VariantByref` class. You shouldn't run 34 | into this very often with the standard COM libraries, but isn't it nice to know we've got your back? 35 | 36 | Unsigned integer types are also supported by **Scriptom**. 37 | Each COM unsigned type is converted to equivalent signed Java type. 38 | 39 | -------------------------------------------------------------------------------- /appveyor.yml: -------------------------------------------------------------------------------- 1 | version: "{branch} {build}" 2 | 3 | build: 4 | verbosity: detailed 5 | 6 | build_script: 7 | - gradlew.bat assemble --info --no-daemon 8 | 9 | test_script: 10 | - gradlew.bat check --info --no-daemon 11 | 12 | branches: 13 | only: 14 | - master 15 | - development 16 | 17 | 18 | environment: 19 | matrix: 20 | - JAVA_HOME: C:\Program Files\Java\jdk1.7.0 21 | - JAVA_HOME: C:\Program Files\Java\jdk1.8.0 22 | - JAVA_HOME: C:\Program Files (x86)\Java\jdk1.7.0 23 | - JAVA_HOME: C:\Program Files (x86)\Java\jdk1.8.0 24 | 25 | 26 | -------------------------------------------------------------------------------- /archived-stuff/maven-scriptom-plugin/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Thu Aug 06 18:57:42 MDT 2009 2 | eclipse.preferences.version=1 3 | org.eclipse.jdt.core.builder.resourceCopyExclusionFilter=*.launch,*.groovy 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2 5 | org.eclipse.jdt.core.compiler.compliance=1.4 6 | org.eclipse.jdt.core.compiler.source=1.3 7 | -------------------------------------------------------------------------------- /archived-stuff/maven-scriptom-plugin/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Thu Aug 06 18:48:31 MDT 2009 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | skipCompilerPlugin=true 9 | version=1 10 | -------------------------------------------------------------------------------- /archived-stuff/maven-scriptom-plugin/pom.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | org.codehaus.groovy.modules.scriptom 8 | scriptom-module-pom 9 | 1.6.1-SNAPSHOT 10 | 11 | 4.0.0 12 | maven-scriptom-plugin 13 | Maven Scriptom Plugin 14 | maven-plugin 15 | 16 | 17 | org.codehaus.groovy 18 | groovy 19 | 1.6.4 20 | 21 | 22 | org.apache.maven 23 | maven-plugin-api 24 | 2.0.9 25 | 26 | 27 | org.apache.maven 28 | maven-artifact 29 | 2.0.9 30 | compile 31 | 32 | 33 | org.apache.maven 34 | maven-project 35 | 2.0.9 36 | compile 37 | 38 | 39 | org.apache.maven.shared 40 | maven-filtering 41 | 1.0-beta-2 42 | 43 | 44 | org.apache.maven 45 | maven-monitor 46 | 2.0.9 47 | 48 | 49 | org.apache.maven 50 | maven-settings 51 | 2.0.9 52 | 53 | 54 | org.codehaus.plexus 55 | plexus-utils 56 | 1.5.6 57 | 58 | 59 | 60 | 61 | 62 | org.apache.maven.plugins 63 | maven-plugin-plugin 64 | 2.4.3 65 | 66 | 67 | 68 | -------------------------------------------------------------------------------- /archived-stuff/maven-scriptom-plugin/src/site/site.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /archived-stuff/maven-scriptom-plugin/src/site/xdoc/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Scriptom Plugin 5 | Jason Smith 6 | 7 | 8 |
9 |

10 | The Scriptom Plugin is a clearing house for any mojos I might need for building 11 | and deploying Scriptom. It is not meant to be deployed, and it is not included 12 | as part of the Scriptom module set. 13 |

14 |

15 | See the comments in the Scriptom pom.xml file for usage information. 16 |

17 |

18 | You can build this project with documentation (look in the \target\site folder) 19 | with: 20 |

21 |
C:\...\maven-scriptom-plugin>mvn clean install site:stage -Preports
22 |
23 |

24 |
25 | 26 |
27 | -------------------------------------------------------------------------------- /archived-stuff/scriptom-ie-6/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | scriptom-module-pom 4 | org.codehaus.groovy.modules.scriptom 5 | 1.6.1-SNAPSHOT 6 | 7 | 4.0.0 8 | scriptom-ie-6-tlb 9 | Microsoft Internet Explorer 6 Type Library 10 | Internet Explorer 6 type library constants and utilities. 11 | 12 | 13 | ${project.groupId} 14 | scriptom 15 | ${project.version} 16 | 17 | 18 | -------------------------------------------------------------------------------- /archived-stuff/scriptom-office-2k3/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.codehaus.groovy.modules.scriptom 4 | scriptom-module-pom 5 | 1.6.1-SNAPSHOT 6 | 7 | 4.0.0 8 | scriptom-office-2K3-tlb 9 | 10 | Microsoft Office 2003 Type Libraries 11 | Microsoft Office 2003 type library constants. 12 | 13 | 14 | ${project.groupId} 15 | scriptom 16 | ${project.version} 17 | 18 | 19 | -------------------------------------------------------------------------------- /archived-stuff/scriptom-office-2k7/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.codehaus.groovy.modules.scriptom 4 | scriptom-module-pom 5 | 1.6.1-SNAPSHOT 6 | 7 | 4.0.0 8 | scriptom-office-2K7-tlb 9 | 10 | Microsoft Office 2007 Type Libraries 11 | Microsoft Office 2007 type library constants and utilities. 12 | 13 | 14 | ${project.groupId} 15 | scriptom 16 | ${project.version} 17 | 18 | 19 | -------------------------------------------------------------------------------- /archived-stuff/scriptom-sapi/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | scriptom-module-pom 4 | org.codehaus.groovy.modules.scriptom 5 | 1.6.1-SNAPSHOT 6 | 7 | 4.0.0 8 | scriptom-sapi-tlb 9 | Microsoft Speech API Type Library 10 | Microsoft Speech API (SAPI) type library constants and utilities. 11 | 12 | 13 | ${project.groupId} 14 | scriptom 15 | ${project.version} 16 | 17 | 18 | -------------------------------------------------------------------------------- /archived-stuff/scriptom-scripting/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | scriptom-module-pom 4 | org.codehaus.groovy.modules.scriptom 5 | 1.6.1-SNAPSHOT 6 | 7 | 4.0.0 8 | scriptom-scripting-tlb 9 | Microsoft Scripting-Runtime Type Library 10 | Microsoft Scripting-Runtime type library constants and utilities. 11 | 12 | 13 | ${project.groupId} 14 | scriptom 15 | ${project.version} 16 | 17 | 18 | -------------------------------------------------------------------------------- /archived-stuff/scriptom-wbem/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | scriptom-module-pom 4 | org.codehaus.groovy.modules.scriptom 5 | 1.6.1-SNAPSHOT 6 | 7 | 4.0.0 8 | scriptom-wbem-tlb 9 | Microsoft WBEM Scripting Type Library 10 | WBEM (WMI) scripting type library constants and utilities. 11 | 12 | 13 | ${project.groupId} 14 | scriptom 15 | ${project.version} 16 | 17 | 18 | -------------------------------------------------------------------------------- /archived-stuff/scriptom-wsh/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | scriptom-module-pom 4 | org.codehaus.groovy.modules.scriptom 5 | 1.6.1-SNAPSHOT 6 | 7 | 4.0.0 8 | scriptom-wsh-tlb 9 | Microsoft Windows Scripting Host Type Library 10 | Windows Scripting Host (WSH) type library constants and utilities. 11 | 12 | 13 | ${project.groupId} 14 | scriptom 15 | ${project.version} 16 | 17 | 18 | -------------------------------------------------------------------------------- /archived-stuff/site/resources/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /archived-stuff/site/site.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /archived-stuff/site/xdoc/download.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Download Scriptom 5 | Jason Smith 6 | 7 | 8 |
9 |

10 | Scriptom ${project.version} 11 | 12 |

13 | 14 |
15 | 16 |
17 | -------------------------------------------------------------------------------- /archived-stuff/site/xdoc/index-x.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Scriptom 5 | Jason Smith 6 | 7 | 8 |
9 |

10 | Scriptom is an optional Groovy module originally developed by Guillaume Laforge 11 | and currently maintained by Jason Smith. 12 | It combines the elegant "syntactical sugar" of Groovy with the power of the 13 | Jacob library (Java COM Bridge). 14 | Scriptom lets you use ActiveX or COM Windows components from Groovy. The result is something that looks eerily 15 | similar to VBScript - only groovier. 16 |

17 | 18 |

19 | You can use Scriptom to automate Word or Excel documents, control Internet Explorer, make your PC talk 20 | using the Microsoft Speech API, monitor processes with WMI (Windows Management Instrumentation), or browse the 21 | Windows Registry using WShell - and much more. Scriptom also provides an easy way to talk to custom 22 | VB6 or Microsoft.NET libraries. 23 |

24 | 25 |

26 | Needless to say, Scriptom can be used only on Microsoft Windows. 27 |

28 | 29 |

30 | Scriptom is included as an option in the Groovy Windows Installer, 31 | and Scriptom can be downloaded from this website. The Scriptom codebase is stable 32 | and feature-complete. The Jacob project - Scriptom's foundation - was started in 1999 and is being used in 33 | countless production Java applications worldwide. Scriptom is now in wide use as well, and has proven to be stable and mature. 34 |

35 | 36 |

37 | Scriptom gives you all the COM-scripting power of Jacob, and it is a lot easier. 38 |

39 |
40 | 41 |
42 | -------------------------------------------------------------------------------- /archived-stuff/site/xdoc/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Scriptom 5 | Jason Smith 6 | 7 | 8 |
9 |

10 | Scriptom is an optional Groovy module originally developed by Guillaume Laforge 11 | and currently maintained by Jason Smith. 12 | It combines the elegant "syntactical sugar" of Groovy with the power of the 13 | Jacob library (Java COM Bridge). 14 | Scriptom lets you use ActiveX or COM Windows components from Groovy. The result is something that looks eerily 15 | similar to VBScript - only groovier. 16 |

17 | 18 |

19 | You can use Scriptom to automate Word or Excel documents, control Internet Explorer, make your PC talk 20 | using the Microsoft Speech API, monitor processes with WMI (Windows Management Instrumentation), or browse the 21 | Windows Registry using WShell - and much more. Scriptom also provides an easy way to talk to custom 22 | VB6 or Microsoft.NET libraries. 23 |

24 | 25 |

26 | Needless to say, Scriptom can be used only on Microsoft Windows. 27 |

28 | 29 |

30 | Scriptom is included as an option in the Groovy Windows Installer, 31 | and Scriptom can be downloaded from this website. The Scriptom codebase is stable 32 | and feature-complete. The Jacob project - Scriptom's foundation - was started in 1999 and is being used in 33 | countless production Java applications worldwide. Scriptom is now in wide use as well, and has proven to be stable and mature. 34 |

35 | 36 |

37 | Scriptom gives you all the COM-scripting power of Jacob, and it is a lot easier. 38 |

39 |
40 | 41 |
42 | -------------------------------------------------------------------------------- /build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | repositories { 3 | jcenter() 4 | mavenCentral() 5 | } 6 | 7 | dependencies { 8 | classpath "com.netflix.nebula:gradle-extra-configurations-plugin:2.2.2" 9 | classpath group: 'net.sf.jacob-project', name: 'jacob', version: '1.14.3' 10 | } 11 | } 12 | 13 | allprojects { 14 | // Not going to be org.codehaus anymore, so choose something useful 15 | group = 'this.will.be.a.new.group' 16 | 17 | // Probably want to target later Groovy so let's adjust the version as well 18 | version = '2.4.0-SNAPSHOT' 19 | 20 | // group = 'org.codehaus.groovy.modules.scriptom' 21 | // version = '1.6.1-SNAPSHOT' 22 | } 23 | 24 | subprojects { 25 | apply plugin: 'java' 26 | apply plugin: 'groovy' 27 | apply plugin: 'maven' 28 | apply plugin: 'nebula.provided-base' 29 | 30 | ext { 31 | groovyVer = '1.8.0' 32 | // groovyVer = '[2.4.0,2.4.99]' 33 | jacobVer = '1.14.3' 34 | } 35 | 36 | repositories { 37 | jcenter() 38 | mavenCentral() 39 | } 40 | 41 | dependencies { 42 | provided group: 'org.codehaus.groovy', name: 'groovy', version: groovyVer 43 | compile group: 'net.sf.jacob-project', name: 'jacob', version: jacobVer 44 | testCompile 'junit:junit:4.11' 45 | // testCompile group: 'org.codehaus.groovy', name: 'groovy', version: groovyVer 46 | compile group: 'net.sf.jacob-project', name: 'jacob', version: jacobVer, classifier:'x64', ext:'dll' 47 | compile group: 'net.sf.jacob-project', name: 'jacob', version: jacobVer, classifier:'x86', ext:'dll' 48 | } 49 | 50 | // Probably want to go 1.6 here anyway 51 | // sourceCompatibility = 1.5 52 | // targetCompatibility = 1.5 53 | sourceCompatibility = 1.6 54 | targetCompatibility = 1.6 55 | 56 | task packageSources(type: Jar) { 57 | classifier = 'sources' 58 | from sourceSets.main.allSource 59 | } 60 | 61 | artifacts{ 62 | archives packageSources 63 | } 64 | 65 | sourceSets { 66 | test { 67 | resources { 68 | srcDir "$buildDir/test-resources" 69 | } 70 | } 71 | } 72 | 73 | compileTestGroovy.doLast { 74 | File testResources = new File("$buildDir/test-resources") 75 | testResources.mkdirs() 76 | File dll = configurations.compile.find {it.name == "jacob-$jacobVer-${com.jacob.com.LibraryLoader.shouldLoad32Bit()?'x86':'x64'}.dll"} 77 | new File(testResources, '/jacob-dll-path.properties').withWriter {it << 'jacob.dll.path=' + dll.canonicalPath.replace('\\', '/')} 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Tue Jul 21 12:39:07 BST 2015 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.0-all.zip 7 | -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 12 | set DEFAULT_JVM_OPTS= 13 | 14 | set DIRNAME=%~dp0 15 | if "%DIRNAME%" == "" set DIRNAME=. 16 | set APP_BASE_NAME=%~n0 17 | set APP_HOME=%DIRNAME% 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windowz variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | if "%@eval[2+2]" == "4" goto 4NT_args 53 | 54 | :win9xME_args 55 | @rem Slurp the command line arguments. 56 | set CMD_LINE_ARGS= 57 | set _SKIP=2 58 | 59 | :win9xME_args_slurp 60 | if "x%~1" == "x" goto execute 61 | 62 | set CMD_LINE_ARGS=%* 63 | goto execute 64 | 65 | :4NT_args 66 | @rem Get arguments from the 4NT Shell from JP Software 67 | set CMD_LINE_ARGS=%$ 68 | 69 | :execute 70 | @rem Setup the command line 71 | 72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if "%ERRORLEVEL%"=="0" goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 85 | exit /b 1 86 | 87 | :mainEnd 88 | if "%OS%"=="Windows_NT" endlocal 89 | 90 | :omega 91 | -------------------------------------------------------------------------------- /oddsnends/typelib/dotnet.txt: -------------------------------------------------------------------------------- 1 | //Type library locations on Windows XP. 2 | [ 3 | //['vbtests','C:/work/groovy/modules/scriptom/trunk/scriptom/src/test/visualbasic/ScriptomTestVB/bin/Release/ScriptomTestVB.tlb'], 4 | ['csharptests','C:/work/groovy/modules/scriptom/trunk/scriptom/src/test/csharp/ScriptomTestCSharp/ScriptomTestCSharp/bin/Release/ScriptomTestCSharp.tlb'] 5 | ] 6 | -------------------------------------------------------------------------------- /oddsnends/typelib/office2k3.txt: -------------------------------------------------------------------------------- 1 | //Type library locations on Windows XP. 2 | [ 3 | ['office', 'C:/Program Files/Common Files/Microsoft Shared/Office11/MSO.dll'], 4 | ['office.excel', 'C:/Program Files/Microsoft Office/OFFICE11/EXCEL.exe'], 5 | ['office.word', 'C:/Program Files/Microsoft Office/OFFICE11/MSWORD.olb'], 6 | ['office.outlook', 'C:/Program Files/Microsoft Office/OFFICE11/MSOutl.olb'], 7 | ['office.powerpoint', 'C:/Program Files/Microsoft Office/OFFICE11/msppt.olb'], 8 | ['office.access', 'C:/Program Files/Microsoft Office/OFFICE11/msacc.olb'], 9 | ] 10 | -------------------------------------------------------------------------------- /oddsnends/typelib/office2k7.txt: -------------------------------------------------------------------------------- 1 | //Type library locations on Windows XP. 2 | [ 3 | ['office2007', 'C:/Program Files/Common Files/Microsoft Shared/Office12/MSO.dll'], 4 | ['office2007.excel', 'C:/Program Files/Microsoft Office/OFFICE12/EXCEL.exe'], 5 | ['office2007.word', 'C:/Program Files/Microsoft Office/OFFICE12/MSWORD.olb'], 6 | ['office2007.outlook', 'C:/Program Files/Microsoft Office/OFFICE12/MSOutl.olb'], 7 | ['office2007.powerpoint', 'C:/Program Files/Microsoft Office/OFFICE12/msppt.olb'], 8 | ['office2007.visio', 'C:/Program Files/Microsoft Office/OFFICE12/vislib.dll'] 9 | ] 10 | -------------------------------------------------------------------------------- /oddsnends/typelib/readme.txt: -------------------------------------------------------------------------------- 1 | This folder contains a Groovy script that will generate Java libraries of constants based on Windows Type Libraries (constants, IID, etc.). These libraries are not required for using Scriptom, but they can be helpful. The constant names match Microsoft's documentation, and the interface IDs (used in event handling) are otherwise pretty hard to discover. 2 | 3 | To use this script, you must first register the included DLL. It's in the ZIP file. Instructions are included in the ZIP. 4 | 5 | Note that you can create a TLB for a .NET Framework DLL using TLBEXP.EXE. This TLB can be used to generate wrapper classes, just as with any other TLB. -------------------------------------------------------------------------------- /oddsnends/typelib/tlbinf32.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/oddsnends/typelib/tlbinf32.zip -------------------------------------------------------------------------------- /oddsnends/typelib/vista.txt: -------------------------------------------------------------------------------- 1 | //Type library locations on Windows Vista. 2 | [ 3 | ['sapi', 'C:/Windows/System32/Speech/Common/sapi.dll'], 4 | ['scripting', 'C:/WINDOWS/System32/scrrun.dll'], 5 | ['office2003', 'C:/Program Files/Common Files/Microsoft Shared/Office11/MSO.dll'], 6 | ['office2003.excel', 'C:/Program Files/Microsoft Office/OFFICE11/EXCEL.exe'], 7 | ['office2003.word', 'C:/Program Files/Microsoft Office/OFFICE11/MSWORD.olb'], 8 | ['office2003.outlook', 'C:/Program Files/Microsoft Office/OFFICE11/MSOutl.olb'] 9 | ] -------------------------------------------------------------------------------- /oddsnends/typelib/xp.txt: -------------------------------------------------------------------------------- 1 | //Type library locations on Windows XP. 2 | [ 3 | ['scripting', 'C:/WINDOWS/System32/scrrun.dll'], 4 | ['office', 'C:/Program Files/Common Files/Microsoft Shared/Office11/MSO.dll'], 5 | ['office.excel', 'C:/Program Files/Microsoft Office/OFFICE11/EXCEL.exe'], 6 | ['office.word', 'C:/Program Files/Microsoft Office/OFFICE11/MSWORD.olb'], 7 | ['office.outlook', 'C:/Program Files/Microsoft Office/OFFICE11/MSOutl.olb'], 8 | ['office.powerpoint', 'C:/Program Files/Microsoft Office/OFFICE11/msppt.olb'], 9 | ['office.access', 'C:/Program Files/Microsoft Office/OFFICE11/msacc.olb'], 10 | ['sapi', 'C:/Program Files/Common Files/Microsoft Shared/Speech/sapi.dll'], 11 | ['ie', 'C:/Windows/System32/shdocvw.dll'], 12 | ['wscript', 'C:/Windows/System32/wshom.ocx'], 13 | ['wbemscripting', 'C:/Windows/System32/wbem/wbemdisp.tlb'] 14 | ] 15 | -------------------------------------------------------------------------------- /scriptom-all-assembly/.settings/org.codehaus.groovy.eclipse.preferences.prefs: -------------------------------------------------------------------------------- 1 | #Mon Mar 16 14:58:49 MDT 2009 2 | eclipse.preferences.version=1 3 | groovy.compiler.output.path=bin-groovy 4 | support.groovy=true 5 | -------------------------------------------------------------------------------- /scriptom-all-assembly/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Mon Mar 16 14:58:49 MDT 2009 2 | eclipse.preferences.version=1 3 | org.eclipse.jdt.core.builder.resourceCopyExclusionFilter=*.launch,*.groovy 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 5 | org.eclipse.jdt.core.compiler.compliance=1.6 6 | org.eclipse.jdt.core.compiler.source=1.6 7 | -------------------------------------------------------------------------------- /scriptom-all-assembly/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Mon Mar 16 13:07:16 MDT 2009 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | version=1 9 | -------------------------------------------------------------------------------- /scriptom-all-assembly/src/main/supplementary/examples/excel/example2/template.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom-all-assembly/src/main/supplementary/examples/excel/example2/template.xlsx -------------------------------------------------------------------------------- /scriptom-all-assembly/src/main/supplementary/examples/ie/IE.groovy: -------------------------------------------------------------------------------- 1 | import org.codehaus.groovy.scriptom.*; 2 | 3 | Scriptom.inApartment 4 | { 5 | def ie = new ActiveXObject('InternetExplorer.Application') 6 | 7 | ie.Visible = true 8 | ie.AddressBar = true 9 | 10 | ie.Navigate "http://glaforge.free.fr/weblog" 11 | } -------------------------------------------------------------------------------- /scriptom-all-assembly/src/main/supplementary/examples/ie/IEEvents.groovy: -------------------------------------------------------------------------------- 1 | import org.codehaus.groovy.scriptom.*; 2 | import org.codehaus.groovy.scriptom.tlb.ie.*; 3 | 4 | /** 5 | * Adapted from the Jacob unittest for IE events which was 6 | * contributed by Niels Olof Bouvin 7 | * and Henning Jae.

8 | * 9 | * Of course, this version is alot easier to read. 10 | * 11 | * @author Jason Smith 12 | */ 13 | 14 | //To see all events, uncomment next line. 15 | //System.setProperty("org.codehaus.groovy.scriptom.debug", "true") 16 | 17 | volatile boolean done = false; 18 | 19 | int delay = 15000; // msec 20 | 21 | Scriptom.inApartment 22 | { 23 | ActiveXObject ie = new ActiveXObject('InternetExplorer.Application').toInterface(SHDocVw.IWebBrowser) 24 | 25 | println "SUPPORTED INTERFACES:" 26 | SHDocVw.interfaces.each {name, iid -> if(ie.supportsInterface(iid)) println "\t$name"} 27 | 28 | ie.Visible = true 29 | ie.AddressBar = true 30 | ie.StatusText = 'My Status Text' 31 | 32 | println "IETestThread: ${ie.Path}" 33 | 34 | println "Setting up events." 35 | ie.events.ProgressChange = {args -> println "\tEVENT (${Thread.currentThread().getName()}): ProgressChange - ${args.toString()}"} 36 | ie.events.BeforeNavigate2 = {args -> println "\tEVENT (${Thread.currentThread().getName()}): BeforeNavigate2 - ${args.toString()}"} 37 | ie.events.OnQuit = {args -> done=true} 38 | 39 | println "Navigate to SourceForge.net" 40 | ie.Navigate "http://sourceforge.net/projects/jacob-project" 41 | sleep delay 42 | 43 | println "Navigate to CodeHaus.org" 44 | ie.Navigate "http://groovy.codehaus.org/COM+Scripting" 45 | sleep delay 46 | 47 | println "Quitting..." 48 | ie.Quit() 49 | 50 | //Wait for done, or IE may lock up on Scriptom.releaseComResources() 51 | def now = System.currentTimeMillis() 52 | while(!done && System.currentTimeMillis() - now < 10000) 53 | sleep 10 54 | } -------------------------------------------------------------------------------- /scriptom-all-assembly/src/main/supplementary/examples/outlook/outlook.groovy: -------------------------------------------------------------------------------- 1 | import org.codehaus.groovy.scriptom.*; 2 | import org.codehaus.groovy.scriptom.tlb.office.outlook.OlDefaultFolders; 3 | import org.codehaus.groovy.scriptom.tlb.office.outlook.OlAttachmentType; 4 | 5 | /** 6 | * Opens an Outlook email message file (*.msg file) and reads 7 | * the header and body data from it.

8 | * 9 | * In most cases, since this is accessing Outlook externally, a message box will 10 | * ask the user to confirm that this operation is allowed. Refer to the 11 | * following article for more information.

12 | * 13 | * To use Outlook to process emails on the server, you have to disable the warning 14 | * dialog. And depending on your circumstances, it might not be possible to do so.

15 | * 16 | * http://outlookcode.com/article.aspx?id=52 17 | */ 18 | Scriptom.inApartment 19 | { 20 | def app = new ActiveXObject('Outlook.Application.11') 21 | 22 | 23 | def mail = app.CreateItemFromTemplate(new File('test.msg').canonicalPath, app.Session.GetDefaultFolder(OlDefaultFolders.olFolderDrafts)) 24 | 25 | println """ 26 | From: ${mail.SenderName} 27 | To: ${mail.To} 28 | CC: ${mail.CC} 29 | Subject: ${mail.Subject} 30 | 31 | Body: 32 | ****************************************************************** 33 | ${mail.body} 34 | ****************************************************************** 35 | """ 36 | 37 | println "ATTACHMENTS:" 38 | 39 | for(attachment in mail.Attachments) 40 | { 41 | if(attachment.Type == OlAttachmentType.olByValue || attachment.Type == OlAttachmentType.olEmbeddeditem) 42 | { 43 | println "\t${attachment.DisplayName}" 44 | } 45 | } 46 | } -------------------------------------------------------------------------------- /scriptom-all-assembly/src/main/supplementary/examples/outlook/test.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom-all-assembly/src/main/supplementary/examples/outlook/test.msg -------------------------------------------------------------------------------- /scriptom-all-assembly/src/main/supplementary/examples/scriptcontrol/RunJScript.groovy: -------------------------------------------------------------------------------- 1 | import org.codehaus.groovy.scriptom.* 2 | 3 | Scriptom.inApartment 4 | { 5 | def scriptControl = new ActiveXObject("ScriptControl") 6 | scriptControl.Language = "JScript" 7 | println scriptControl.Eval('2.0 + 2.0;') 8 | } -------------------------------------------------------------------------------- /scriptom-all-assembly/src/main/supplementary/examples/speech/Speak.groovy: -------------------------------------------------------------------------------- 1 | import org.codehaus.groovy.scriptom.* 2 | import org.codehaus.groovy.scriptom.tlb.sapi.SpeechVoiceSpeakFlags; 3 | import org.codehaus.groovy.scriptom.tlb.sapi.SpeechRunState; 4 | import org.codehaus.groovy.scriptom.tlb.sapi.SpeechLib; 5 | import org.codehaus.groovy.scriptom.tlb.sapi.SpeechVoiceEvents; 6 | 7 | //Definitive proof that you CAN talk and chew gum at the same time. 8 | 9 | //System.setProperty("org.codehaus.groovy.scriptom.debug", "true") 10 | 11 | Scriptom.inApartment 12 | { 13 | def voice = new ActiveXObject('SAPI.SpVoice') 14 | 15 | voice.speak 'GROOVY and SCRIPT um make com automation simple, fun, and groovy, man!', SpeechVoiceSpeakFlags.SVSFlagsAsync 16 | while(voice.Status.RunningState != SpeechRunState.SRSEDone) 17 | { 18 | println 'Chew gum...' 19 | sleep 1000 20 | } 21 | println 'Speaker is done.' 22 | } -------------------------------------------------------------------------------- /scriptom-all-assembly/src/main/supplementary/examples/speech/SpeechInterfaces.groovy: -------------------------------------------------------------------------------- 1 | import org.codehaus.groovy.scriptom.*; 2 | import org.codehaus.groovy.scriptom.tlb.sapi.SpeechLib; 3 | 4 | Scriptom.inApartment 5 | { 6 | def voice = new ActiveXObject('SAPI.SpVoice') 7 | SpeechLib.interfaces.each {name, iid -> if(voice.supportsInterface(iid)) println "SpeechLib.$name - $iid"} 8 | } -------------------------------------------------------------------------------- /scriptom-all-assembly/src/main/supplementary/examples/wmi/Processes.groovy: -------------------------------------------------------------------------------- 1 | import org.codehaus.groovy.scriptom.*; 2 | import static org.codehaus.groovy.scriptom.tlb.wbemscripting.WbemFlagEnum.*; 3 | import static org.codehaus.groovy.scriptom.util.wbemscripting.WbemDateTime.*; 4 | 5 | //Scriptom.setDebug true 6 | 7 | Scriptom.inApartment 8 | { 9 | def locator = new ActiveXObject('WbemScripting.SWbemLocator') 10 | def services = locator.ConnectServer('.') 11 | 12 | for(process in services.ExecQuery('SELECT * FROM Win32_Process', 'WQL', wbemFlagForwardOnly)) 13 | { 14 | if(!Scriptom.isNull(process.CreationDate)) 15 | { 16 | //CAREFUL! WMI returns dates as a Wbem-formatted string, 64-bit Ints as a string. 17 | //This code prints out the process handle, creation date, name, and time on the CPU. 18 | print "${process.Handle}".padRight(5) 19 | print "${toJavaDate(process.CreationDate)} - " 20 | print "${process.Name}".padRight(30) 21 | print "${(Long.parseLong(process.KernelModeTime) + Long.parseLong(process.UserModeTime)) / 10000 / 1000} sec".padLeft(16) 22 | println() 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /scriptom-all-assembly/src/main/supplementary/examples/wmi/Processes2.groovy: -------------------------------------------------------------------------------- 1 | import org.codehaus.groovy.scriptom.*; 2 | import static org.codehaus.groovy.scriptom.tlb.wbemscripting.WbemFlagEnum.*; 3 | 4 | //Scriptom.setDebug true 5 | 6 | Scriptom.inApartment 7 | { 8 | def locator = new ActiveXObject('WbemScripting.SWbemLocator') 9 | def services = locator.ConnectServer('.') 10 | 11 | for(process in services.ExecQuery('SELECT * FROM Win32_Process', 'WQL', wbemFlagForwardOnly)) 12 | { 13 | println "************************************************************" 14 | for(prop in process.Properties_) 15 | { 16 | println "\t${prop.Name} : ${prop.Value}" 17 | } 18 | } 19 | println "Done." 20 | } -------------------------------------------------------------------------------- /scriptom-all-assembly/src/test/groovy/org/codehaus/groovy/modules/scriptom/test/TestAssembly.groovy: -------------------------------------------------------------------------------- 1 | package org.codehaus.groovy.modules.scriptom.test 2 | import java.lang.management.ManagementFactory 3 | 4 | 5 | 6 | /** 7 | * @author jsmith 8 | * 9 | */ 10 | public class TestAssembly extends GroovyTestCase 11 | { 12 | public void setUp() 13 | { 14 | println "vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv${ManagementFactory.runtimeMXBean.name}" 15 | } 16 | 17 | public void testIt() 18 | { 19 | // 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /scriptom-ie-6/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Mon Mar 16 12:50:51 MDT 2009 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | eclipse.preferences.version=1 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | org.eclipse.jdt.core.compiler.compliance=1.6 6 | -------------------------------------------------------------------------------- /scriptom-ie-6/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Mon Mar 16 12:50:48 MDT 2009 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | version=1 9 | -------------------------------------------------------------------------------- /scriptom-ie-6/build.gradle: -------------------------------------------------------------------------------- 1 | 2 | description = 'Microsoft Internet Explorer 6 Type Library' 3 | dependencies { 4 | compile project(':scriptom') 5 | } 6 | -------------------------------------------------------------------------------- /scriptom-office-2k3/.settings/org.codehaus.groovy.eclipse.preferences.prefs: -------------------------------------------------------------------------------- 1 | #Mon Mar 16 11:16:39 MDT 2009 2 | eclipse.preferences.version=1 3 | groovy.compiler.output.path=bin-groovy 4 | support.groovy=true 5 | -------------------------------------------------------------------------------- /scriptom-office-2k3/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Mon Mar 16 08:50:17 MDT 2009 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | eclipse.preferences.version=1 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | org.eclipse.jdt.core.compiler.compliance=1.6 6 | -------------------------------------------------------------------------------- /scriptom-office-2k3/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Mon Mar 16 08:50:13 MDT 2009 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | version=1 9 | -------------------------------------------------------------------------------- /scriptom-office-2k3/build.gradle: -------------------------------------------------------------------------------- 1 | 2 | description = 'Microsoft Office 2003 Type Libraries' 3 | dependencies { 4 | compile project(':scriptom') 5 | } 6 | -------------------------------------------------------------------------------- /scriptom-office-2k3/src/main/java/org/codehaus/groovy/scriptom/tlb/office/access/package.html: -------------------------------------------------------------------------------- 1 | Microsoft Access 11.0 Object Library -------------------------------------------------------------------------------- /scriptom-office-2k3/src/main/java/org/codehaus/groovy/scriptom/tlb/office/excel/XlCreator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office.excel; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class XlCreator 42 | { 43 | private XlCreator() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 1480803660 (0x5843454C) 49 | */ 50 | public static final Integer xlCreatorCode = Integer.valueOf(1480803660); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("xlCreatorCode", xlCreatorCode); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k3/src/main/java/org/codehaus/groovy/scriptom/tlb/office/excel/package.html: -------------------------------------------------------------------------------- 1 | Microsoft Excel 11.0 Object Library -------------------------------------------------------------------------------- /scriptom-office-2k3/src/main/java/org/codehaus/groovy/scriptom/tlb/office/outlook/package.html: -------------------------------------------------------------------------------- 1 | Microsoft Outlook 11.0 Object Library -------------------------------------------------------------------------------- /scriptom-office-2k3/src/main/java/org/codehaus/groovy/scriptom/tlb/office/package.html: -------------------------------------------------------------------------------- 1 | Microsoft Office 11.0 Object Library -------------------------------------------------------------------------------- /scriptom-office-2k3/src/main/java/org/codehaus/groovy/scriptom/tlb/office/powerpoint/package.html: -------------------------------------------------------------------------------- 1 | Microsoft PowerPoint 11.0 Object Library -------------------------------------------------------------------------------- /scriptom-office-2k3/src/main/java/org/codehaus/groovy/scriptom/tlb/office/word/WdBorderTypeHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdBorderTypeHID 42 | { 43 | private WdBorderTypeHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k3/src/main/java/org/codehaus/groovy/scriptom/tlb/office/word/WdCaptionNumberStyleHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdCaptionNumberStyleHID 42 | { 43 | private WdCaptionNumberStyleHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k3/src/main/java/org/codehaus/groovy/scriptom/tlb/office/word/WdCharacterCaseHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdCharacterCaseHID 42 | { 43 | private WdCharacterCaseHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k3/src/main/java/org/codehaus/groovy/scriptom/tlb/office/word/WdDictionaryTypeHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdDictionaryTypeHID 42 | { 43 | private WdDictionaryTypeHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k3/src/main/java/org/codehaus/groovy/scriptom/tlb/office/word/WdHelpTypeHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdHelpTypeHID 42 | { 43 | private WdHelpTypeHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k3/src/main/java/org/codehaus/groovy/scriptom/tlb/office/word/WdListNumberStyleHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdListNumberStyleHID 42 | { 43 | private WdListNumberStyleHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k3/src/main/java/org/codehaus/groovy/scriptom/tlb/office/word/WdMeasurementUnitsHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdMeasurementUnitsHID 42 | { 43 | private WdMeasurementUnitsHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k3/src/main/java/org/codehaus/groovy/scriptom/tlb/office/word/WdNoteNumberStyleHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdNoteNumberStyleHID 42 | { 43 | private WdNoteNumberStyleHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k3/src/main/java/org/codehaus/groovy/scriptom/tlb/office/word/WdPageNumberStyleHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdPageNumberStyleHID 42 | { 43 | private WdPageNumberStyleHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k3/src/main/java/org/codehaus/groovy/scriptom/tlb/office/word/WdParagraphAlignmentHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdParagraphAlignmentHID 42 | { 43 | private WdParagraphAlignmentHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k3/src/main/java/org/codehaus/groovy/scriptom/tlb/office/word/WdSortFieldTypeHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdSortFieldTypeHID 42 | { 43 | private WdSortFieldTypeHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k3/src/main/java/org/codehaus/groovy/scriptom/tlb/office/word/WdStatisticHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdStatisticHID 42 | { 43 | private WdStatisticHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k3/src/main/java/org/codehaus/groovy/scriptom/tlb/office/word/WdTabLeaderHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdTabLeaderHID 42 | { 43 | private WdTabLeaderHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k3/src/main/java/org/codehaus/groovy/scriptom/tlb/office/word/WdTextOrientationHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdTextOrientationHID 42 | { 43 | private WdTextOrientationHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k3/src/main/java/org/codehaus/groovy/scriptom/tlb/office/word/WdWordDialogHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdWordDialogHID 42 | { 43 | private WdWordDialogHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k3/src/main/java/org/codehaus/groovy/scriptom/tlb/office/word/package.html: -------------------------------------------------------------------------------- 1 | Microsoft Word 11.0 Object Library -------------------------------------------------------------------------------- /scriptom-office-2k7/.settings/org.codehaus.groovy.eclipse.preferences.prefs: -------------------------------------------------------------------------------- 1 | #Sun Mar 29 19:01:21 MDT 2009 2 | eclipse.preferences.version=1 3 | groovy.compiler.output.path=bin-groovy 4 | support.groovy=true 5 | -------------------------------------------------------------------------------- /scriptom-office-2k7/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Sun Mar 29 19:01:21 MDT 2009 2 | eclipse.preferences.version=1 3 | org.eclipse.jdt.core.builder.resourceCopyExclusionFilter=*.launch,*.groovy 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2 5 | org.eclipse.jdt.core.compiler.compliance=1.4 6 | org.eclipse.jdt.core.compiler.source=1.3 7 | -------------------------------------------------------------------------------- /scriptom-office-2k7/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Sun Mar 29 18:02:40 MDT 2009 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | version=1 9 | -------------------------------------------------------------------------------- /scriptom-office-2k7/build.gradle: -------------------------------------------------------------------------------- 1 | 2 | description = 'Microsoft Office 2007 Type Libraries' 3 | dependencies { 4 | compile project(':scriptom') 5 | } 6 | -------------------------------------------------------------------------------- /scriptom-office-2k7/src/main/java/org/codehaus/groovy/scriptom/tlb/office2007/excel/XlCreator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office2007.excel; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class XlCreator 42 | { 43 | private XlCreator() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 1480803660 (0x5843454C) 49 | */ 50 | public static final Integer xlCreatorCode = Integer.valueOf(1480803660); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("xlCreatorCode", xlCreatorCode); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k7/src/main/java/org/codehaus/groovy/scriptom/tlb/office2007/excel/package.html: -------------------------------------------------------------------------------- 1 | Microsoft Excel 12.0 Object Library -------------------------------------------------------------------------------- /scriptom-office-2k7/src/main/java/org/codehaus/groovy/scriptom/tlb/office2007/outlook/OlFormatKeywords.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office2007.outlook; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class OlFormatKeywords 42 | { 43 | private OlFormatKeywords() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 1 (0x1) 49 | */ 50 | public static final Integer olFormatKeywordsText = Integer.valueOf(1); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("olFormatKeywordsText", olFormatKeywordsText); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k7/src/main/java/org/codehaus/groovy/scriptom/tlb/office2007/outlook/OlFormatText.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office2007.outlook; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class OlFormatText 42 | { 43 | private OlFormatText() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 1 (0x1) 49 | */ 50 | public static final Integer olFormatTextText = Integer.valueOf(1); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("olFormatTextText", olFormatTextText); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k7/src/main/java/org/codehaus/groovy/scriptom/tlb/office2007/outlook/package.html: -------------------------------------------------------------------------------- 1 | Microsoft Outlook 12.0 Object Library -------------------------------------------------------------------------------- /scriptom-office-2k7/src/main/java/org/codehaus/groovy/scriptom/tlb/office2007/package.html: -------------------------------------------------------------------------------- 1 | Microsoft Office 12.0 Object Library -------------------------------------------------------------------------------- /scriptom-office-2k7/src/main/java/org/codehaus/groovy/scriptom/tlb/office2007/powerpoint/package.html: -------------------------------------------------------------------------------- 1 | Microsoft PowerPoint 12.0 Object Library -------------------------------------------------------------------------------- /scriptom-office-2k7/src/main/java/org/codehaus/groovy/scriptom/tlb/office2007/visio/package.html: -------------------------------------------------------------------------------- 1 | Microsoft Visio 12.0 Type Library -------------------------------------------------------------------------------- /scriptom-office-2k7/src/main/java/org/codehaus/groovy/scriptom/tlb/office2007/word/WdBorderTypeHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office2007.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdBorderTypeHID 42 | { 43 | private WdBorderTypeHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k7/src/main/java/org/codehaus/groovy/scriptom/tlb/office2007/word/WdCaptionNumberStyleHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office2007.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdCaptionNumberStyleHID 42 | { 43 | private WdCaptionNumberStyleHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k7/src/main/java/org/codehaus/groovy/scriptom/tlb/office2007/word/WdCharacterCaseHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office2007.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdCharacterCaseHID 42 | { 43 | private WdCharacterCaseHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k7/src/main/java/org/codehaus/groovy/scriptom/tlb/office2007/word/WdDictionaryTypeHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office2007.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdDictionaryTypeHID 42 | { 43 | private WdDictionaryTypeHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k7/src/main/java/org/codehaus/groovy/scriptom/tlb/office2007/word/WdHelpTypeHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office2007.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdHelpTypeHID 42 | { 43 | private WdHelpTypeHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k7/src/main/java/org/codehaus/groovy/scriptom/tlb/office2007/word/WdListNumberStyleHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office2007.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdListNumberStyleHID 42 | { 43 | private WdListNumberStyleHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k7/src/main/java/org/codehaus/groovy/scriptom/tlb/office2007/word/WdMeasurementUnitsHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office2007.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdMeasurementUnitsHID 42 | { 43 | private WdMeasurementUnitsHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k7/src/main/java/org/codehaus/groovy/scriptom/tlb/office2007/word/WdNoteNumberStyleHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office2007.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdNoteNumberStyleHID 42 | { 43 | private WdNoteNumberStyleHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k7/src/main/java/org/codehaus/groovy/scriptom/tlb/office2007/word/WdPageNumberStyleHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office2007.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdPageNumberStyleHID 42 | { 43 | private WdPageNumberStyleHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k7/src/main/java/org/codehaus/groovy/scriptom/tlb/office2007/word/WdParagraphAlignmentHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office2007.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdParagraphAlignmentHID 42 | { 43 | private WdParagraphAlignmentHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k7/src/main/java/org/codehaus/groovy/scriptom/tlb/office2007/word/WdSortFieldTypeHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office2007.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdSortFieldTypeHID 42 | { 43 | private WdSortFieldTypeHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k7/src/main/java/org/codehaus/groovy/scriptom/tlb/office2007/word/WdStatisticHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office2007.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdStatisticHID 42 | { 43 | private WdStatisticHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k7/src/main/java/org/codehaus/groovy/scriptom/tlb/office2007/word/WdTabLeaderHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office2007.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdTabLeaderHID 42 | { 43 | private WdTabLeaderHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k7/src/main/java/org/codehaus/groovy/scriptom/tlb/office2007/word/WdTextOrientationHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office2007.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdTextOrientationHID 42 | { 43 | private WdTextOrientationHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k7/src/main/java/org/codehaus/groovy/scriptom/tlb/office2007/word/WdWordDialogHID.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 (C) The Codehaus. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.office2007.word; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class WdWordDialogHID 42 | { 43 | private WdWordDialogHID() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 0 (0x0) 49 | */ 50 | public static final Integer emptyenum = Integer.valueOf(0); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("emptyenum", emptyenum); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-office-2k7/src/main/java/org/codehaus/groovy/scriptom/tlb/office2007/word/package.html: -------------------------------------------------------------------------------- 1 | Microsoft Word 12.0 Object Library -------------------------------------------------------------------------------- /scriptom-sapi/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Mon Mar 16 12:32:28 MDT 2009 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | eclipse.preferences.version=1 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | org.eclipse.jdt.core.compiler.compliance=1.6 6 | -------------------------------------------------------------------------------- /scriptom-sapi/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Mon Mar 16 12:32:25 MDT 2009 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | version=1 9 | -------------------------------------------------------------------------------- /scriptom-sapi/build.gradle: -------------------------------------------------------------------------------- 1 | 2 | description = 'Microsoft Speech API Type Library' 3 | dependencies { 4 | compile project(':scriptom') 5 | } 6 | -------------------------------------------------------------------------------- /scriptom-sapi/src/main/java/org/codehaus/groovy/scriptom/tlb/sapi/DISPID_SpeechCustomStream.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007 (C) Guillaume Laforge. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.sapi; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * @author Jason Smith 40 | */ 41 | public final class DISPID_SpeechCustomStream 42 | { 43 | private DISPID_SpeechCustomStream() 44 | { 45 | } 46 | 47 | /** 48 | * Value is 100 (0x64) 49 | */ 50 | public static final Integer DISPID_SCSBaseStream = Integer.valueOf(100); 51 | 52 | /** 53 | * A {@code Map} of the symbolic names to constant values. 54 | */ 55 | public static final Map values; 56 | static 57 | { 58 | TreeMap v = new TreeMap(); 59 | v.put("DISPID_SCSBaseStream", DISPID_SCSBaseStream); 60 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /scriptom-sapi/src/main/java/org/codehaus/groovy/scriptom/tlb/sapi/package.html: -------------------------------------------------------------------------------- 1 | Microsoft Speech Object Library -------------------------------------------------------------------------------- /scriptom-scripting/.settings/org.codehaus.groovy.eclipse.preferences.prefs: -------------------------------------------------------------------------------- 1 | #Tue Mar 17 08:59:29 MDT 2009 2 | eclipse.preferences.version=1 3 | groovy.compiler.output.path=bin-groovy 4 | support.groovy=true 5 | -------------------------------------------------------------------------------- /scriptom-scripting/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Mon Mar 16 13:01:02 MDT 2009 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | eclipse.preferences.version=1 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | org.eclipse.jdt.core.compiler.compliance=1.6 6 | -------------------------------------------------------------------------------- /scriptom-scripting/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Mon Mar 16 13:00:58 MDT 2009 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | version=1 9 | -------------------------------------------------------------------------------- /scriptom-scripting/build.gradle: -------------------------------------------------------------------------------- 1 | 2 | description = 'Microsoft Scripting-Runtime Type Library' 3 | dependencies { 4 | compile project(':scriptom') 5 | } 6 | -------------------------------------------------------------------------------- /scriptom-scripting/src/main/java/org/codehaus/groovy/scriptom/tlb/scripting/package.html: -------------------------------------------------------------------------------- 1 | Microsoft Scripting Runtime -------------------------------------------------------------------------------- /scriptom-wbem/.settings/org.codehaus.groovy.eclipse.preferences.prefs: -------------------------------------------------------------------------------- 1 | #Mon Mar 16 11:35:26 MDT 2009 2 | eclipse.preferences.version=1 3 | groovy.compiler.output.path=bin-groovy 4 | support.groovy=true 5 | -------------------------------------------------------------------------------- /scriptom-wbem/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Mon Mar 16 11:34:54 MDT 2009 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | eclipse.preferences.version=1 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | org.eclipse.jdt.core.compiler.compliance=1.6 6 | -------------------------------------------------------------------------------- /scriptom-wbem/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Mon Mar 16 11:34:51 MDT 2009 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | version=1 9 | -------------------------------------------------------------------------------- /scriptom-wbem/build.gradle: -------------------------------------------------------------------------------- 1 | 2 | description = 'Microsoft WBEM Scripting Type Library' 3 | dependencies { 4 | compile project(':scriptom') 5 | } 6 | -------------------------------------------------------------------------------- /scriptom-wbem/src/main/groovy/wbemscripting/WbemDateTime.groovy: -------------------------------------------------------------------------------- 1 | package org.codehaus.groovy.scriptom.util.wbemscripting; 2 | 3 | import org.codehaus.groovy.scriptom.*; 4 | 5 | /** 6 | * Utility methods for working with WBEM-formatted datetime strings. 7 | */ 8 | class WbemDateTime 9 | { 10 | private WbemDateTime() 11 | { 12 | } 13 | 14 | /** 15 | * Converts a WBEM datetime in string format into a Java {@code Date}. 16 | * @param sWbemDateTime A WBEM-formatted datetime string. 17 | * @return A Java Date, in local time. 18 | */ 19 | static Date toJavaDate(Object sWbemDateTime) 20 | { 21 | if(Scriptom.isEmpty(sWbemDateTime) || Scriptom.isNull(sWbemDateTime)) 22 | return null 23 | else 24 | { 25 | return Scriptom.inApartment { 26 | def dt = new ActiveXObject('WbemScripting.SWbemDateTime') 27 | dt.Value = sWbemDateTime 28 | return dt.GetVarDate(true) 29 | } 30 | } 31 | } 32 | 33 | /** 34 | * Converts a Java {@code Date} into a WBEM datetime in string format. 35 | * @param Date A Java {@code Date}. 36 | * @return The date formatted as a WBEM datetime string. 37 | */ 38 | static Object toSWbemDateTime(Date date) 39 | { 40 | return Scriptom.inApartment { 41 | def dt = new ActiveXObject('WbemScripting.SWbemDateTime') 42 | dt.SetVarDate(date) 43 | return dt.Value 44 | } 45 | } 46 | } -------------------------------------------------------------------------------- /scriptom-wbem/src/main/java/org/codehaus/groovy/scriptom/tlb/wbemscripting/WbemTextFlagEnum.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007 (C) Guillaume Laforge. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.wbemscripting; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * Defines content of generated object text 40 | * @author Jason Smith 41 | */ 42 | public final class WbemTextFlagEnum 43 | { 44 | private WbemTextFlagEnum() 45 | { 46 | } 47 | 48 | /** 49 | * Value is 1 (0x1) 50 | */ 51 | public static final Integer wbemTextFlagNoFlavors = Integer.valueOf(1); 52 | 53 | /** 54 | * A {@code Map} of the symbolic names to constant values. 55 | */ 56 | public static final Map values; 57 | static 58 | { 59 | TreeMap v = new TreeMap(); 60 | v.put("wbemTextFlagNoFlavors", wbemTextFlagNoFlavors); 61 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /scriptom-wbem/src/main/java/org/codehaus/groovy/scriptom/tlb/wbemscripting/WbemTimeout.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007 (C) Guillaume Laforge. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom.tlb.wbemscripting; 33 | 34 | import java.util.Map; 35 | import java.util.TreeMap; 36 | import java.util.Collections; 37 | 38 | /** 39 | * Defines timeout constants 40 | * @author Jason Smith 41 | */ 42 | public final class WbemTimeout 43 | { 44 | private WbemTimeout() 45 | { 46 | } 47 | 48 | /** 49 | * Value is -1 (0xFFFFFFFF) 50 | */ 51 | public static final Integer wbemTimeoutInfinite = Integer.valueOf(-1); 52 | 53 | /** 54 | * A {@code Map} of the symbolic names to constant values. 55 | */ 56 | public static final Map values; 57 | static 58 | { 59 | TreeMap v = new TreeMap(); 60 | v.put("wbemTimeoutInfinite", wbemTimeoutInfinite); 61 | values = Collections.synchronizedMap(Collections.unmodifiableMap(v)); 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /scriptom-wbem/src/main/java/org/codehaus/groovy/scriptom/tlb/wbemscripting/package.html: -------------------------------------------------------------------------------- 1 | Microsoft WMI Scripting V1.2 Library -------------------------------------------------------------------------------- /scriptom-wsh/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Mon Mar 16 12:44:05 MDT 2009 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | eclipse.preferences.version=1 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | org.eclipse.jdt.core.compiler.compliance=1.6 6 | -------------------------------------------------------------------------------- /scriptom-wsh/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Mon Mar 16 12:44:03 MDT 2009 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | version=1 9 | -------------------------------------------------------------------------------- /scriptom-wsh/build.gradle: -------------------------------------------------------------------------------- 1 | 2 | description = 'Microsoft Windows Scripting Host Type Library' 3 | dependencies { 4 | compile project(':scriptom') 5 | } 6 | -------------------------------------------------------------------------------- /scriptom-wsh/src/main/java/org/codehaus/groovy/scriptom/tlb/wscript/package.html: -------------------------------------------------------------------------------- 1 | Windows Script Host Object Model -------------------------------------------------------------------------------- /scriptom/.settings/org.codehaus.groovy.eclipse.preferences.prefs: -------------------------------------------------------------------------------- 1 | #Mon Mar 16 08:47:18 MDT 2009 2 | eclipse.preferences.version=1 3 | groovy.compiler.output.path=bin-groovy 4 | support.groovy=true 5 | -------------------------------------------------------------------------------- /scriptom/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Mon Mar 16 11:21:52 MDT 2009 2 | eclipse.preferences.version=1 3 | org.eclipse.jdt.core.builder.resourceCopyExclusionFilter=*.launch,*.groovy 4 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 5 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 6 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 7 | org.eclipse.jdt.core.compiler.compliance=1.6 8 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 9 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 10 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 11 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 12 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 13 | org.eclipse.jdt.core.compiler.source=1.5 14 | -------------------------------------------------------------------------------- /scriptom/.settings/org.maven.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | #Mon Mar 16 08:07:02 MDT 2009 2 | activeProfiles= 3 | eclipse.preferences.version=1 4 | fullBuildGoals=process-test-resources 5 | includeModules=false 6 | resolveWorkspaceProjects=true 7 | resourceFilterGoals=process-resources resources\:testResources 8 | version=1 9 | -------------------------------------------------------------------------------- /scriptom/build.gradle: -------------------------------------------------------------------------------- 1 | 2 | description = 'Scriptom' 3 | -------------------------------------------------------------------------------- /scriptom/src/main/java/org/codehaus/groovy/scriptom/UnsupportedVariantTypeException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007 (C) Guillaume Laforge. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom; 33 | 34 | /** 35 | * Variant type is not supported. 36 | */ 37 | public class UnsupportedVariantTypeException extends IllegalArgumentException 38 | { 39 | private static final long serialVersionUID = 6606795137782726476L; 40 | 41 | UnsupportedVariantTypeException(int type) 42 | { 43 | super(type + " (" + Integer.toString(type, 16) + ")"); 44 | } 45 | 46 | UnsupportedVariantTypeException(String message) 47 | { 48 | super(message); 49 | } 50 | } -------------------------------------------------------------------------------- /scriptom/src/main/java/org/codehaus/groovy/scriptom/VariantNull.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2007 (C) Guillaume Laforge. All Rights Reserved. 3 | * 4 | * Redistribution and use of this software and associated documentation 5 | * ("Software"), with or without modification, are permitted provided that the 6 | * following conditions are met: 7 | * 1. Redistributions of source code must retain copyright statements and 8 | * notices. Redistributions must also contain a copy of this document. 9 | * 2. Redistributions in binary form must reproduce the above copyright 10 | * notice, this list of conditions and the following disclaimer in the 11 | * documentation and/or other materials provided with the distribution. 12 | * 3. The name "groovy" must not be used to endorse or promote products 13 | * derived from this Software without prior written permission of The Codehaus. 14 | * For written permission, please contact info@codehaus.org. 15 | * 4. Products derived from this Software may not be called "groovy" nor may 16 | * "groovy" appear in their names without prior written permission of The 17 | * Codehaus. "groovy" is a registered trademark of The Codehaus. 18 | * 5. Due credit should be given to The Codehaus - http://groovy.codehaus.org/ 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS ``AS IS'' AND ANY 21 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR 24 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 30 | * DAMAGE. 31 | */ 32 | package org.codehaus.groovy.scriptom; 33 | 34 | /** 35 | * Singleton used to represent a Variant-NULL.

36 | * 37 | * Java {@code null} represents Variant type {@code Empty}. This is correct 38 | * and by design. 'Empty' means that the variable has not been initialized. 39 | * There is also a Variant type {@code Null} which represents 40 | * a null value. {@code VariantNull.VARIANTNULL} is used to differentiate them. 41 | * 42 | * @author Jason Smith 43 | */ 44 | public class VariantNull 45 | { 46 | /** The global Variant NULL instance. */ 47 | public static final VariantNull VARIANTNULL = new VariantNull(); 48 | 49 | private VariantNull() 50 | { 51 | } 52 | 53 | public String toString() 54 | { 55 | return "VariantNull"; 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /scriptom/src/site/site.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |

13 | 14 | 15 | 16 | 17 | 18 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /scriptom/src/site/xdoc/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Scriptom 5 | Jason Smith 6 | 7 | 8 |
9 |

10 | Scriptom is an optional Groovy module originally developed by Guillaume Laforge 11 | and currently maintained by Jason Smith. 12 | It combines the elegant "syntactical sugar" of Groovy with the power of the 13 | Jacob library (Java COM Bridge). 14 | Scriptom lets you use ActiveX or COM Windows components from Groovy. The result is something that looks eerily 15 | similar to VBScript - only groovier. 16 |

17 | 18 |

19 | You can use Scriptom to automate Word or Excel documents, control Internet Explorer, make your PC talk 20 | using the Microsoft Speech API, monitor processes with WMI (Windows Management Instrumentation), or browse the 21 | Windows Registry using WShell - and much more. Scriptom also provides an easy way to talk to custom 22 | VB6 or Microsoft.NET libraries. 23 |

24 | 25 |

26 | Needless to say, Scriptom can be used only on Microsoft Windows. 27 |

28 | 29 |

30 | Scriptom is included as an option in the Groovy Windows Installer, 31 | and Scriptom can be downloaded from this website. The Scriptom codebase is stable 32 | and feature-complete. The Jacob project - Scriptom's foundation - was started in 1999 and is being used in 33 | countless production Java applications worldwide. Scriptom is now in wide use as well, and has proven to be stable and mature. 34 |

35 | 36 |

37 | Scriptom gives you all the COM-scripting power of Jacob, and it is a lot easier. 38 |

39 |
40 | 41 |
42 | -------------------------------------------------------------------------------- /scriptom/src/site/xdoc/troubleshooting.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Troubleshooting 5 | Jason Smith 6 | 7 | 8 |
9 | 10 |

11 | Symptom:
12 | A java.lang.UnsatisfiedLinkError when you run any Scriptom method. 13 |

14 |

15 | Solution:
16 | Install the appropriate Microsoft Visual C+\+ 2005 SP1 Redistributable Package. See Installation. 17 |

18 |
19 |
20 | 21 |
22 | -------------------------------------------------------------------------------- /scriptom/src/test/csharp/ScriptomTestCSharp/ScriptomTestCSharp.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 10.00 3 | # Visual C# Express 2008 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ScriptomTestCSharp", "ScriptomTestCSharp\ScriptomTestCSharp.csproj", "{9905C746-BE78-48A9-A9BB-BC7AF21F0415}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Any CPU = Debug|Any CPU 9 | Release|Any CPU = Release|Any CPU 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {9905C746-BE78-48A9-A9BB-BC7AF21F0415}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 13 | {9905C746-BE78-48A9-A9BB-BC7AF21F0415}.Debug|Any CPU.Build.0 = Debug|Any CPU 14 | {9905C746-BE78-48A9-A9BB-BC7AF21F0415}.Release|Any CPU.ActiveCfg = Release|Any CPU 15 | {9905C746-BE78-48A9-A9BB-BC7AF21F0415}.Release|Any CPU.Build.0 = Release|Any CPU 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /scriptom/src/test/csharp/ScriptomTestCSharp/ScriptomTestCSharp.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom/src/test/csharp/ScriptomTestCSharp/ScriptomTestCSharp.suo -------------------------------------------------------------------------------- /scriptom/src/test/csharp/ScriptomTestCSharp/ScriptomTestCSharp/ClassWithTwoInterfaces.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.InteropServices; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | 7 | 8 | namespace ScriptomTestCSharp 9 | { 10 | [ComVisible(true)] 11 | [Guid("5a57439d-0147-43da-b817-7acc3e8be5c5")] 12 | public interface IInterfaceOne 13 | { 14 | int IAmNumberOne(); 15 | } 16 | 17 | [ComVisible(true)] 18 | [Guid("3e8aa2b0-a2aa-4512-848b-f72f51a4dc25")] 19 | public interface IInterfaceTwo 20 | { 21 | int IAmNumberTwo(); 22 | } 23 | 24 | /// 25 | /// Very simple setup of a class with two COM interfaces. 26 | /// The Groovy side can see only one interface at a time, and actually 27 | /// has to cast to one or the other using .toInterface(). 28 | /// 29 | [ComDefaultInterface(typeof(IInterfaceOne))] 30 | [ComVisible(true)] 31 | [ClassInterface(ClassInterfaceType.None)] 32 | [Guid("90799802-2975-4582-bb49-37383b7e4eef")] 33 | [ProgId("ScriptomTestCSharp.ClassWithTwoInterfaces")] 34 | public class ClassWithTwoInterfaces : IInterfaceOne, IInterfaceTwo 35 | { 36 | public int IAmNumberOne() 37 | { 38 | return 1; 39 | } 40 | 41 | public int IAmNumberTwo() 42 | { 43 | return 2; 44 | } 45 | } 46 | 47 | [ComVisible(true)] 48 | [Guid("041bd380-4368-43bf-9c9e-5ef9bd2bdddf")] 49 | public interface IClassConsumer 50 | { 51 | IInterfaceOne mirrorOne(IInterfaceOne value); 52 | IInterfaceTwo mirrorTwo(IInterfaceTwo value); 53 | } 54 | 55 | /// 56 | /// Class with a couple of methods to cast between interfaces. 57 | /// The client can pass a ClassWithTwoInterfaces, and it becomes 58 | /// whatever type the method defines. The client is then obligated 59 | /// to use that interface only. 60 | /// 61 | [ComVisible(true)] 62 | [ClassInterface(ClassInterfaceType.None)] 63 | [Guid("c7bf86a2-c6f2-431f-9245-0c87622704ae")] 64 | [ProgId("ScriptomTestCSharp.ClassConsumer")] 65 | public class ClassConsumer : IClassConsumer 66 | { 67 | public IInterfaceOne mirrorOne(IInterfaceOne value) 68 | { 69 | return value; 70 | } 71 | 72 | public IInterfaceTwo mirrorTwo(IInterfaceTwo value) 73 | { 74 | return value; 75 | } 76 | } 77 | } 78 | -------------------------------------------------------------------------------- /scriptom/src/test/csharp/ScriptomTestCSharp/ScriptomTestCSharp/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("ScriptomTestCSharp")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("ScriptomTestCSharp")] 13 | [assembly: AssemblyCopyright("Copyright © 2009")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("56639640-28d3-4dba-b983-b35ba781ccc3")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /scriptom/src/test/csharp/ScriptomTestCSharp/ScriptomTestCSharp/ScriptomTestCSharp.csproj.user: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /scriptom/src/test/csharp/ScriptomTestCSharp/ScriptomTestCSharp/bin/Release/ScriptomTestCSharp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom/src/test/csharp/ScriptomTestCSharp/ScriptomTestCSharp/bin/Release/ScriptomTestCSharp.dll -------------------------------------------------------------------------------- /scriptom/src/test/csharp/ScriptomTestCSharp/ScriptomTestCSharp/bin/Release/ScriptomTestCSharp.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom/src/test/csharp/ScriptomTestCSharp/ScriptomTestCSharp/bin/Release/ScriptomTestCSharp.pdb -------------------------------------------------------------------------------- /scriptom/src/test/csharp/ScriptomTestCSharp/ScriptomTestCSharp/bin/Release/ScriptomTestCSharp.tlb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom/src/test/csharp/ScriptomTestCSharp/ScriptomTestCSharp/bin/Release/ScriptomTestCSharp.tlb -------------------------------------------------------------------------------- /scriptom/src/test/csharp/ScriptomTestCSharp/ScriptomTestCSharp/obj/Release/ScriptomTestCSharp.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\csharp\ScriptomTestCSharp\ScriptomTestCSharp\obj\Release\ResolveAssemblyReference.cache 2 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\csharp\ScriptomTestCSharp\ScriptomTestCSharp\bin\Release\ScriptomTestCSharp.dll 3 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\csharp\ScriptomTestCSharp\ScriptomTestCSharp\bin\Release\ScriptomTestCSharp.pdb 4 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\csharp\ScriptomTestCSharp\ScriptomTestCSharp\obj\Release\ScriptomTestCSharp.dll 5 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\csharp\ScriptomTestCSharp\ScriptomTestCSharp\obj\Release\ScriptomTestCSharp.pdb 6 | -------------------------------------------------------------------------------- /scriptom/src/test/csharp/ScriptomTestCSharp/ScriptomTestCSharp/obj/Release/ScriptomTestCSharp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom/src/test/csharp/ScriptomTestCSharp/ScriptomTestCSharp/obj/Release/ScriptomTestCSharp.dll -------------------------------------------------------------------------------- /scriptom/src/test/csharp/ScriptomTestCSharp/ScriptomTestCSharp/obj/Release/ScriptomTestCSharp.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom/src/test/csharp/ScriptomTestCSharp/ScriptomTestCSharp/obj/Release/ScriptomTestCSharp.pdb -------------------------------------------------------------------------------- /scriptom/src/test/csharp/ScriptomTestCSharp/ScriptomTestCSharp/testingKey.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom/src/test/csharp/ScriptomTestCSharp/ScriptomTestCSharp/testingKey.snk -------------------------------------------------------------------------------- /scriptom/src/test/groovy/BaseJacobTest.groovy: -------------------------------------------------------------------------------- 1 | package org.codehaus.groovy.modules.scriptom.test 2 | 3 | import groovy.util.GroovyTestCase 4 | 5 | import org.codehaus.groovy.scriptom.* 6 | 7 | /** 8 | * Sets up test to load Jacob. Assumes process per test. This sets up the Jacob DLL using a trick. 9 | * The jacob-dll-path.properties file is generated by the build early in the lifecycle. On each test, 10 | * the JNI library is loaded by Jacob. 11 | * @author Jason Smith 12 | */ 13 | abstract class BaseJacobTest extends GroovyTestCase 14 | { 15 | public void setUp() 16 | { 17 | Properties properties = new Properties() 18 | properties.load(getClass().getClassLoader().getResourceAsStream('jacob-dll-path.properties')) 19 | System.setProperty('jacob.dll.path', properties.getProperty('jacob.dll.path')) 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /scriptom/src/test/groovy/CSharp/TestMultipleInterfacesCS.groovy: -------------------------------------------------------------------------------- 1 | package org.codehaus.groovy.modules.scriptom.test 2 | 3 | import groovy.util.GroovyTestCase 4 | import org.codehaus.groovy.scriptom.* 5 | import com.jacob.com.* 6 | 7 | /** 8 | * Verify and define the behavior of objects with multiple interfaces. 9 | */ 10 | public class TestMultipleInterfacesCS extends BaseJacobTest 11 | { 12 | /** 13 | * Verify that the object behaves like interface one by default. 14 | */ 15 | public void testDefaultInterface() 16 | { 17 | Scriptom.inApartment() 18 | { 19 | def clazz = new ActiveXObject("ScriptomTestCSharp.ClassWithTwoInterfaces") 20 | assert clazz.IAmNumberOne == 1 21 | shouldFail ComFailException, {clazz.IAmNumberTwo} 22 | } 23 | } 24 | 25 | /** 26 | * Cast to second interface and verify it behaves like that type of an object. 27 | */ 28 | public void testSecondaryInterface() 29 | { 30 | Scriptom.inApartment() 31 | { 32 | def clazz = new ActiveXObject("ScriptomTestCSharp.ClassWithTwoInterfaces") 33 | assert clazz.supportsInterface("{3e8aa2b0-a2aa-4512-848b-f72f51a4dc25}") 34 | clazz = clazz.toInterface("{3e8aa2b0-a2aa-4512-848b-f72f51a4dc25}") 35 | assert clazz.IAmNumberTwo == 2 36 | shouldFail ComFailException, {clazz.IAmNumberOne} 37 | } 38 | } 39 | 40 | /** 41 | * Shows the behavior of multiple interfaces in COM objects. I can pass a COM 42 | * object as an argument, and the receiver (C# side)will automatically pick the correct 43 | * interface. However, I then have to use the interface as cast. If I use 44 | * .mirrorTwo(), the One interface is not accessible. This test shows that 45 | * you can pass a COM object as an argument, and shows the general behavior of 46 | * interface resolution. 47 | */ 48 | public void testMirrorInterfaces() 49 | { 50 | Scriptom.inApartment() 51 | { 52 | def clazz = new ActiveXObject("ScriptomTestCSharp.ClassWithTwoInterfaces") 53 | def consumer = new ActiveXObject("ScriptomTestCSharp.ClassConsumer") 54 | assert consumer.mirrorOne(clazz).IAmNumberOne() == 1 55 | shouldFail ComFailException, {consumer.mirrorOne(clazz).IAmNumberTwo()} 56 | assert consumer.mirrorTwo(clazz).IAmNumberTwo() == 2 57 | shouldFail ComFailException, {consumer.mirrorTwo(clazz).IAmNumberOne()} 58 | } 59 | 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /scriptom/src/test/groovy/VisualBasic/TestArraysVB8.groovy: -------------------------------------------------------------------------------- 1 | package org.codehaus.groovy.modules.scriptom.test 2 | 3 | import org.codehaus.groovy.scriptom.*; 4 | 5 | class TestArraysVB8 extends BaseJacobTest 6 | { 7 | void test1DString() 8 | { 9 | Scriptom.inApartment 10 | { 11 | def testObj = new ActiveXObject('ScriptomTestVB.TestArrays') 12 | 13 | SafeArray sA = new SafeArray(['a', 'b', 'c', 'd'] as String[]) 14 | SafeArray sB = testObj.Pass1DStringArray(sA) 15 | assert sA.bounds[0] == sB.bounds[0] 16 | sA.bounds[0].each {index -> assert "VB:${sA[index]}" == sB[index]} 17 | } 18 | } 19 | } 20 | 21 | 22 | /* 23 | * This fails. Reported as 1828569. 24 | */ 25 | //VariantByref v = new VariantByref(sA) 26 | //testObj.Pass1DStringArrayByref(v) 27 | //println "Made it this far." 28 | //SafeArray v2 = v.value 29 | //println "Made it a little further." 30 | //println v2[0] 31 | 32 | -------------------------------------------------------------------------------- /scriptom/src/test/groovy/VisualBasic/TestMisc.groovy: -------------------------------------------------------------------------------- 1 | package org.codehaus.groovy.modules.scriptom.test 2 | 3 | import groovy.util.GroovyTestCase 4 | import org.codehaus.groovy.scriptom.* 5 | 6 | /** 7 | * Various, uncategorized unit tests. 8 | * @author Jason Smith 9 | */ 10 | class TestMisc extends BaseJacobTest 11 | { 12 | /** 13 | * Tests Scriptom by calling the MS Speech API. 14 | */ 15 | void testSpeech() 16 | { 17 | Scriptom.inApartment 18 | { 19 | def voice = new ActiveXObject('SAPI.SpVoice') 20 | voice.speak "Testing, one... two... three..." 21 | } 22 | } 23 | 24 | /** 25 | * Tests that the ActiveX Object supports one of the known interfaces. This verifies that 26 | * {@link ActiveXObject#supportsInterface} is working correctly. 27 | * You can use import org.codehaus.groovy.scriptom.tlb.sapi.SpeechLib to find all the interface 28 | * definitions for MS SAPI. That library is a downstream dependency of Scriptom, so we can't use 29 | * the library here. Check out the SpeechInterfaces.groovy script in the Scriptom examples to 30 | * find all the interfaces this object supports. 31 | */ 32 | void testSpeechObjectSupportsExpectedInterface() 33 | { 34 | Scriptom.inApartment 35 | { 36 | def voice = new ActiveXObject('SAPI.SpVoice') 37 | assert voice.supportsInterface('{6C44DF74-72B9-4992-A1EC-EF996E0422D4}'), "Object does not support SpeechLib.ISpVoice interface." 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/My Project/Application.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' 3 | ' This code was generated by a tool. 4 | ' Runtime Version:2.0.50727.3053 5 | ' 6 | ' Changes to this file may cause incorrect behavior and will be lost if 7 | ' the code is regenerated. 8 | ' 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/My Project/Application.myapp: -------------------------------------------------------------------------------- 1 |  2 | 3 | false 4 | false 5 | 0 6 | true 7 | 0 8 | 1 9 | true 10 | 11 | -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/My Project/AssemblyInfo.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | Imports System.Reflection 3 | Imports System.Runtime.InteropServices 4 | 5 | ' General Information about an assembly is controlled through the following 6 | ' set of attributes. Change these attribute values to modify the information 7 | ' associated with an assembly. 8 | 9 | ' Review the values of the assembly attributes 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM 21 | 22 | 23 | ' Version information for an assembly consists of the following four values: 24 | ' 25 | ' Major Version 26 | ' Minor Version 27 | ' Build Number 28 | ' Revision 29 | ' 30 | ' You can specify all the values or you can default the Build and Revision Numbers 31 | ' by using the '*' as shown below: 32 | ' 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/My Project/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/ScriptomTestVB.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 10.00 3 | # Visual Basic Express 2008 4 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "ScriptomTestVB", "ScriptomTestVB.vbproj", "{5A0036F5-309E-403C-9EE6-4CD27D9EFAE1}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Any CPU = Debug|Any CPU 9 | Release|Any CPU = Release|Any CPU 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {5A0036F5-309E-403C-9EE6-4CD27D9EFAE1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 13 | {5A0036F5-309E-403C-9EE6-4CD27D9EFAE1}.Debug|Any CPU.Build.0 = Debug|Any CPU 14 | {5A0036F5-309E-403C-9EE6-4CD27D9EFAE1}.Release|Any CPU.ActiveCfg = Release|Any CPU 15 | {5A0036F5-309E-403C-9EE6-4CD27D9EFAE1}.Release|Any CPU.Build.0 = Release|Any CPU 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/ScriptomTestVB.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom/src/test/visualbasic/ScriptomTestVB/ScriptomTestVB.suo -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/ScriptomTestVB.vbproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | en-US 16 | false 17 | ShowAllFiles 18 | 19 | -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/TestArrays.vb: -------------------------------------------------------------------------------- 1 | Option Explicit On 2 | Option Strict On 3 | Option Compare Binary 4 | 5 | Public Class TestArrays 6 | Public Function Pass1DStringArray(ByVal A As String()) As String() 7 | For I As Integer = A.GetLowerBound(0) To A.GetUpperBound(0) 8 | A(I) = "VB:" + A(I) 9 | Next I 10 | Return A 11 | End Function 12 | 13 | Public Sub Pass1DStringArrayByref(ByVal A As String()) 14 | For I As Integer = A.GetLowerBound(0) To A.GetUpperBound(0) 15 | A(I) = "VB:" + A(I) 16 | Next I 17 | End Sub 18 | End Class 19 | -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/TestComObject.vb: -------------------------------------------------------------------------------- 1 | Option Explicit On 2 | Option Strict On 3 | Option Compare Binary 4 | 5 | Public Class TestComObject 6 | Private _Value As String 7 | 8 | Public Function Init(ByVal V As String) As TestComObject 9 | _Value = V 10 | Return Me 11 | End Function 12 | 13 | Public ReadOnly Property Value() As String 14 | Get 15 | Return _Value 16 | End Get 17 | End Property 18 | End Class -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/TestEvents.vb: -------------------------------------------------------------------------------- 1 | Option Explicit On 2 | Option Strict On 3 | Option Compare Binary 4 | 5 | Public Class TestEvents 6 | Public Event OnPassBooleanByref(ByRef Value As Boolean) 7 | Public Event OnPassIntegerByref(ByRef Value As Integer) 8 | Public Event OnPassStringByref(ByRef Value As String) 9 | Public Event OnPassDateByref(ByRef Value As Date) 10 | 11 | Public Function RaisePassBooleanByref(ByVal Value As Boolean) As Boolean 12 | RaiseEvent OnPassBooleanByref(Value) 13 | Return Value 14 | End Function 15 | 16 | Public Function RaisePassIntegerByref(ByVal Value As Integer) As Integer 17 | RaiseEvent OnPassIntegerByref(Value) 18 | Return Value 19 | End Function 20 | 21 | Public Function RaisePassStringByref(ByVal Value As String) As String 22 | RaiseEvent OnPassStringByref(Value) 23 | Return Value 24 | End Function 25 | 26 | Public Function RaisePassDateByref(ByVal Value As Date) As Date 27 | RaiseEvent OnPassDateByref(Value) 28 | Return Value 29 | End Function 30 | End Class 31 | -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/TestTypes.vb: -------------------------------------------------------------------------------- 1 | Option Explicit On 2 | Option Strict On 3 | Option Compare Binary 4 | 5 | Public Class TestTypes 6 | Public Function AddDecimals(ByVal A As Decimal, ByVal B As Decimal) As Decimal 7 | Return A + B 8 | End Function 9 | 10 | Public Function AddLongs(ByVal A As Long, ByVal B As Long) As Long 11 | Return A + B 12 | End Function 13 | 14 | Public Function AddULongs(ByVal A As ULong, ByVal B As ULong) As ULong 15 | Return A + B 16 | End Function 17 | 18 | Public Function AddIntegers(ByVal A As Integer, ByVal B As Integer) As Integer 19 | Return A + B 20 | End Function 21 | 22 | Public Function AddUIntegers(ByVal A As UInteger, ByVal B As UInteger) As UInteger 23 | Return A + B 24 | End Function 25 | 26 | Public Function AddShorts(ByVal A As Short, ByVal B As Short) As Short 27 | Return A + B 28 | End Function 29 | 30 | Public Function AddUShorts(ByVal A As UShort, ByVal B As UShort) As UShort 31 | Return A + B 32 | End Function 33 | 34 | Public Function AddSBytes(ByVal A As SByte, ByVal B As SByte) As SByte 35 | Return A + B 36 | End Function 37 | 38 | Public Function AddSingles(ByVal A As Single, ByVal B As Single) As Single 39 | Return A + B 40 | End Function 41 | 42 | Public Function AddDoubles(ByVal A As Double, ByVal B As Double) As Double 43 | Return A + B 44 | End Function 45 | 46 | Public Function Invert(ByVal A As Boolean) As Boolean 47 | Return Not A 48 | End Function 49 | 50 | Public Function PassDate(ByVal A As Date) As Date 51 | Return A 52 | End Function 53 | 54 | Public Function PassString(ByVal A As String) As String 55 | Return "VB:" & A 56 | End Function 57 | 58 | Public Function PassObject(ByVal A As TestComObject) As TestComObject 59 | Return New TestComObject().Init("VB:" & A.Value) 60 | End Function 61 | End Class 62 | 63 | 64 | -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/TestTypesByref.vb: -------------------------------------------------------------------------------- 1 | Public Class TestTypesByref 2 | Public Sub TestBoolean(ByRef A As Boolean) 3 | A = Not A 4 | End Sub 5 | 6 | Public Sub TestByte(ByRef A As Byte) 7 | A = A And &HF 8 | End Sub 9 | 10 | Public Sub TestShort(ByRef A As Short, Optional ByVal Addend As Integer = 1) 11 | A = A + Addend 12 | End Sub 13 | 14 | Public Sub TestUShort(ByRef A As UShort, Optional ByVal Addend As Integer = 1) 15 | A = A + Addend 16 | End Sub 17 | 18 | Public Sub TestInteger(ByRef A As Integer, Optional ByVal Addend As Integer = 1) 19 | A = A + Addend 20 | End Sub 21 | 22 | Public Sub TestUInteger(ByRef A As UInteger, Optional ByVal Addend As Integer = 1) 23 | A = A + Addend 24 | End Sub 25 | 26 | Public Sub TestLong(ByRef A As Long, Optional ByVal Addend As Long = 1) 27 | A = A + Addend 28 | End Sub 29 | 30 | Public Sub TestULong(ByRef A As ULong, Optional ByVal Addend As Long = 1) 31 | A = A + Addend 32 | End Sub 33 | 34 | Public Sub TestSingle(ByRef A As Single, Optional ByVal Addend As Double = 1.0) 35 | A = A + Addend 36 | End Sub 37 | 38 | Public Sub TestDouble(ByRef A As Double, Optional ByVal Addend As Double = 1.0) 39 | A = A + Addend 40 | End Sub 41 | 42 | Public Sub TestDecimal(ByRef A As Decimal, Optional ByVal Addend As Decimal = 1) 43 | A = A + Addend 44 | End Sub 45 | 46 | Public Sub TestDate(ByRef A As Date) 47 | A = DateAdd(DateInterval.Day, 1, A) 48 | End Sub 49 | 50 | Public Sub TestString(ByRef A As String) 51 | A = "VB:" & A 52 | End Sub 53 | 54 | Public Sub TestObject(ByRef A As TestComObject) 55 | A = New TestComObject().Init("VB:" & A.Value) 56 | Console.WriteLine("New value is '" & A.Value & "'") 57 | End Sub 58 | End Class 59 | 60 | -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/bin/Release/ScriptomTestVB.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom/src/test/visualbasic/ScriptomTestVB/bin/Release/ScriptomTestVB.dll -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/bin/Release/ScriptomTestVB.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom/src/test/visualbasic/ScriptomTestVB/bin/Release/ScriptomTestVB.pdb -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/bin/Release/ScriptomTestVB.tlb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom/src/test/visualbasic/ScriptomTestVB/bin/Release/ScriptomTestVB.tlb -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/bin/Release/ScriptomTestVB.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | ScriptomTestVB 6 | 7 | 8 | 9 | 10 | 11 | Returns the cached ResourceManager instance used by this class. 12 | 13 | 14 | 15 | Overrides the current thread's CurrentUICulture property for all 16 | resource lookups using this strongly typed resource class. 17 | 18 | 19 | 20 | A strongly-typed resource class, for looking up localized strings, etc. 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/obj/Debug/ScriptomTestVB2005.Resources.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom/src/test/visualbasic/ScriptomTestVB/obj/Debug/ScriptomTestVB2005.Resources.resources -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/obj/Debug/ScriptomTestVB2005.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom/src/test/visualbasic/ScriptomTestVB/obj/Debug/ScriptomTestVB2005.dll -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/obj/Debug/ScriptomTestVB2005.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom/src/test/visualbasic/ScriptomTestVB/obj/Debug/ScriptomTestVB2005.pdb -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/obj/Debug/ScriptomTestVB2005.vbproj.GenerateResource.Cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom/src/test/visualbasic/ScriptomTestVB/obj/Debug/ScriptomTestVB2005.vbproj.GenerateResource.Cache -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/obj/Debug/ScriptomTestVB2005.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | ScriptomTestVB2005 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom/src/test/visualbasic/ScriptomTestVB/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/obj/Release/ScriptomTestVB.Resources.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom/src/test/visualbasic/ScriptomTestVB/obj/Release/ScriptomTestVB.Resources.resources -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/obj/Release/ScriptomTestVB.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom/src/test/visualbasic/ScriptomTestVB/obj/Release/ScriptomTestVB.dll -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/obj/Release/ScriptomTestVB.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom/src/test/visualbasic/ScriptomTestVB/obj/Release/ScriptomTestVB.pdb -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/obj/Release/ScriptomTestVB.vbproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\visualbasic\ScriptomTestVB2005\bin\Release\ScriptomTestVB.dll 2 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\visualbasic\ScriptomTestVB2005\bin\Release\ScriptomTestVB.pdb 3 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\visualbasic\ScriptomTestVB2005\bin\Release\ScriptomTestVB.xml 4 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\visualbasic\ScriptomTestVB2005\obj\Release\ResolveAssemblyReference.cache 5 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\visualbasic\ScriptomTestVB2005\obj\Release\ScriptomTestVB.Resources.resources 6 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\visualbasic\ScriptomTestVB2005\obj\Release\ScriptomTestVB.vbproj.GenerateResource.Cache 7 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\visualbasic\ScriptomTestVB2005\obj\Release\ScriptomTestVB.dll 8 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\visualbasic\ScriptomTestVB2005\obj\Release\ScriptomTestVB.xml 9 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\visualbasic\ScriptomTestVB2005\obj\Release\ScriptomTestVB.pdb 10 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\visualbasic\ScriptomTestVB\bin\Release\ScriptomTestVB.dll 11 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\visualbasic\ScriptomTestVB\bin\Release\ScriptomTestVB.pdb 12 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\visualbasic\ScriptomTestVB\bin\Release\ScriptomTestVB.xml 13 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\visualbasic\ScriptomTestVB\obj\Release\ResolveAssemblyReference.cache 14 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\visualbasic\ScriptomTestVB\obj\Release\ScriptomTestVB.Resources.resources 15 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\visualbasic\ScriptomTestVB\obj\Release\ScriptomTestVB.vbproj.GenerateResource.Cache 16 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\visualbasic\ScriptomTestVB\obj\Release\ScriptomTestVB.dll 17 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\visualbasic\ScriptomTestVB\obj\Release\ScriptomTestVB.xml 18 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\visualbasic\ScriptomTestVB\obj\Release\ScriptomTestVB.pdb 19 | -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/obj/Release/ScriptomTestVB.vbproj.GenerateResource.Cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom/src/test/visualbasic/ScriptomTestVB/obj/Release/ScriptomTestVB.vbproj.GenerateResource.Cache -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/obj/Release/ScriptomTestVB.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | ScriptomTestVB 6 | 7 | 8 | 9 | 10 | 11 | Returns the cached ResourceManager instance used by this class. 12 | 13 | 14 | 15 | Overrides the current thread's CurrentUICulture property for all 16 | resource lookups using this strongly typed resource class. 17 | 18 | 19 | 20 | A strongly-typed resource class, for looking up localized strings, etc. 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/obj/Release/ScriptomTestVB2005.Resources.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom/src/test/visualbasic/ScriptomTestVB/obj/Release/ScriptomTestVB2005.Resources.resources -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/obj/Release/ScriptomTestVB2005.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom/src/test/visualbasic/ScriptomTestVB/obj/Release/ScriptomTestVB2005.dll -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/obj/Release/ScriptomTestVB2005.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom/src/test/visualbasic/ScriptomTestVB/obj/Release/ScriptomTestVB2005.pdb -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/obj/Release/ScriptomTestVB2005.vbproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\visualbasic\ScriptomTestVB2005\obj\Release\ResolveAssemblyReference.cache 2 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\visualbasic\ScriptomTestVB2005\obj\Release\ScriptomTestVB2005.Resources.resources 3 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\visualbasic\ScriptomTestVB2005\obj\Release\ScriptomTestVB2005.vbproj.GenerateResource.Cache 4 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\visualbasic\ScriptomTestVB2005\obj\Release\ScriptomTestVB2005.dll 5 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\visualbasic\ScriptomTestVB2005\obj\Release\ScriptomTestVB2005.xml 6 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\visualbasic\ScriptomTestVB2005\obj\Release\ScriptomTestVB2005.pdb 7 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\visualbasic\ScriptomTestVB2005\bin\Release\ScriptomTestVB2005.dll 8 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\visualbasic\ScriptomTestVB2005\bin\Release\ScriptomTestVB2005.pdb 9 | C:\work\groovy\modules\scriptom\trunk\scriptom\src\test\visualbasic\ScriptomTestVB2005\bin\Release\ScriptomTestVB2005.xml 10 | -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/obj/Release/ScriptomTestVB2005.vbproj.GenerateResource.Cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom/src/test/visualbasic/ScriptomTestVB/obj/Release/ScriptomTestVB2005.vbproj.GenerateResource.Cache -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/obj/Release/ScriptomTestVB2005.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | ScriptomTestVB2005 6 | 7 | 8 | 9 | 10 | 11 | Returns the cached ResourceManager instance used by this class. 12 | 13 | 14 | 15 | Overrides the current thread's CurrentUICulture property for all 16 | resource lookups using this strongly typed resource class. 17 | 18 | 19 | 20 | A strongly-typed resource class, for looking up localized strings, etc. 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/obj/Release/TempPE/My Project.Resources.Designer.vb.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom/src/test/visualbasic/ScriptomTestVB/obj/Release/TempPE/My Project.Resources.Designer.vb.dll -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/obj/ScriptomTestVB2005.vbproj.FileList.txt: -------------------------------------------------------------------------------- 1 | bin\Debug\ScriptomTestVB2005.dll 2 | bin\Debug\ScriptomTestVB2005.pdb 3 | bin\Debug\ScriptomTestVB2005.xml 4 | obj\Debug\ResolveAssemblyReference.cache 5 | obj\Debug\ScriptomTestVB2005.Resources.resources 6 | obj\Debug\ScriptomTestVB2005.vbproj.GenerateResource.Cache 7 | obj\Debug\ScriptomTestVB2005.dll 8 | obj\Debug\ScriptomTestVB2005.xml 9 | obj\Debug\ScriptomTestVB2005.pdb 10 | bin\Release\ScriptomTestVB2005.dll 11 | bin\Release\ScriptomTestVB2005.pdb 12 | bin\Release\ScriptomTestVB2005.xml 13 | obj\Release\ResolveAssemblyReference.cache 14 | obj\Release\ScriptomTestVB2005.Resources.resources 15 | obj\Release\ScriptomTestVB2005.vbproj.GenerateResource.Cache 16 | obj\Release\ScriptomTestVB2005.dll 17 | obj\Release\ScriptomTestVB2005.xml 18 | obj\Release\ScriptomTestVB2005.pdb 19 | -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/ScriptomTestVB/scriptom.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom/src/test/visualbasic/ScriptomTestVB/scriptom.pfx -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/UpgradeLog.XML: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/_UpgradeReport_Files/UpgradeReport_Minus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom/src/test/visualbasic/_UpgradeReport_Files/UpgradeReport_Minus.gif -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/_UpgradeReport_Files/UpgradeReport_Plus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groovy/Scriptom/790eef97cdacc5da293d18600854b547f47e4169/scriptom/src/test/visualbasic/_UpgradeReport_Files/UpgradeReport_Plus.gif -------------------------------------------------------------------------------- /scriptom/src/test/visualbasic/readme.txt: -------------------------------------------------------------------------------- 1 | The test DLLs are built using Visual Basic 2008 Express Edition, .NET 3.5. The password to "scriptom.pfx" is "groovy". There is no need to rebuild the DLL, since the POM registers it using "RegAsm.exe". You will need to have the .NET 3.5 Framework installed for the tests to run. -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'scriptom-module-pom' 2 | include ':scriptom' 3 | include ':scriptom-office-2K7-tlb' 4 | include ':scriptom-office-2K3-tlb' 5 | include ':scriptom-wbem-tlb' 6 | include ':scriptom-sapi-tlb' 7 | include ':scriptom-wsh-tlb' 8 | include ':scriptom-ie-6-tlb' 9 | include ':scriptom-scripting-tlb' 10 | include ':scriptom-all-assembly' 11 | 12 | project(':scriptom').projectDir = "$rootDir/scriptom" as File 13 | project(':scriptom-office-2K7-tlb').projectDir = "$rootDir/scriptom-office-2k7" as File 14 | project(':scriptom-office-2K3-tlb').projectDir = "$rootDir/scriptom-office-2k3" as File 15 | project(':scriptom-wbem-tlb').projectDir = "$rootDir/scriptom-wbem" as File 16 | project(':scriptom-sapi-tlb').projectDir = "$rootDir/scriptom-sapi" as File 17 | project(':scriptom-wsh-tlb').projectDir = "$rootDir/scriptom-wsh" as File 18 | project(':scriptom-ie-6-tlb').projectDir = "$rootDir/scriptom-ie-6" as File 19 | project(':scriptom-scripting-tlb').projectDir = "$rootDir/scriptom-scripting" as File 20 | project(':scriptom-all-assembly').projectDir = "$rootDir/scriptom-all-assembly" as File --------------------------------------------------------------------------------