summaryrefslogtreecommitdiffstats
path: root/offapi/com/sun/star/awt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:06:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:06:44 +0000
commited5640d8b587fbcfed7dd7967f3de04b37a76f26 (patch)
tree7a5f7c6c9d02226d7471cb3cc8fbbf631b415303 /offapi/com/sun/star/awt
parentInitial commit. (diff)
downloadlibreoffice-upstream/4%7.4.7.tar.xz
libreoffice-upstream/4%7.4.7.zip
Adding upstream version 4:7.4.7.upstream/4%7.4.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'offapi/com/sun/star/awt')
-rw-r--r--offapi/com/sun/star/awt/AccessibleButton.idl108
-rw-r--r--offapi/com/sun/star/awt/AccessibleCheckBox.idl111
-rw-r--r--offapi/com/sun/star/awt/AccessibleComboBox.idl93
-rw-r--r--offapi/com/sun/star/awt/AccessibleDropDownComboBox.idl104
-rw-r--r--offapi/com/sun/star/awt/AccessibleDropDownListBox.idl104
-rw-r--r--offapi/com/sun/star/awt/AccessibleEdit.idl110
-rw-r--r--offapi/com/sun/star/awt/AccessibleFixedText.idl92
-rw-r--r--offapi/com/sun/star/awt/AccessibleIconChoiceControl.idl99
-rw-r--r--offapi/com/sun/star/awt/AccessibleIconChoiceControlEntry.idl94
-rw-r--r--offapi/com/sun/star/awt/AccessibleList.idl120
-rw-r--r--offapi/com/sun/star/awt/AccessibleListBox.idl92
-rw-r--r--offapi/com/sun/star/awt/AccessibleListBoxList.idl44
-rw-r--r--offapi/com/sun/star/awt/AccessibleListItem.idl92
-rw-r--r--offapi/com/sun/star/awt/AccessibleMenu.idl122
-rw-r--r--offapi/com/sun/star/awt/AccessibleMenuBar.idl94
-rw-r--r--offapi/com/sun/star/awt/AccessibleMenuItem.idl113
-rw-r--r--offapi/com/sun/star/awt/AccessibleMenuSeparator.idl88
-rw-r--r--offapi/com/sun/star/awt/AccessiblePopupMenu.idl94
-rw-r--r--offapi/com/sun/star/awt/AccessibleRadioButton.idl113
-rw-r--r--offapi/com/sun/star/awt/AccessibleScrollBar.idl104
-rw-r--r--offapi/com/sun/star/awt/AccessibleStatusBar.idl80
-rw-r--r--offapi/com/sun/star/awt/AccessibleStatusBarItem.idl88
-rw-r--r--offapi/com/sun/star/awt/AccessibleTabBar.idl89
-rw-r--r--offapi/com/sun/star/awt/AccessibleTabBarPage.idl86
-rw-r--r--offapi/com/sun/star/awt/AccessibleTabBarPageList.idl88
-rw-r--r--offapi/com/sun/star/awt/AccessibleTabControl.idl92
-rw-r--r--offapi/com/sun/star/awt/AccessibleTabPage.idl95
-rw-r--r--offapi/com/sun/star/awt/AccessibleTextField.idl101
-rw-r--r--offapi/com/sun/star/awt/AccessibleToolBox.idl99
-rw-r--r--offapi/com/sun/star/awt/AccessibleToolBoxItem.idl120
-rw-r--r--offapi/com/sun/star/awt/AccessibleTreeListBox.idl99
-rw-r--r--offapi/com/sun/star/awt/AccessibleTreeListBoxEntry.idl120
-rw-r--r--offapi/com/sun/star/awt/AccessibleWindow.idl96
-rw-r--r--offapi/com/sun/star/awt/ActionEvent.idl57
-rw-r--r--offapi/com/sun/star/awt/AdjustmentEvent.idl52
-rw-r--r--offapi/com/sun/star/awt/AdjustmentType.idl60
-rw-r--r--offapi/com/sun/star/awt/AnimatedImagesControl.idl49
-rw-r--r--offapi/com/sun/star/awt/AnimatedImagesControlModel.idl48
-rw-r--r--offapi/com/sun/star/awt/AsyncCallback.idl38
-rw-r--r--offapi/com/sun/star/awt/CharSet.idl103
-rw-r--r--offapi/com/sun/star/awt/Command.idl112
-rw-r--r--offapi/com/sun/star/awt/ContainerWindowProvider.idl42
-rw-r--r--offapi/com/sun/star/awt/DeviceCapability.idl54
-rw-r--r--offapi/com/sun/star/awt/DeviceInfo.idl91
-rw-r--r--offapi/com/sun/star/awt/DialogProvider.idl53
-rw-r--r--offapi/com/sun/star/awt/DialogProvider2.idl41
-rw-r--r--offapi/com/sun/star/awt/DockingData.idl50
-rw-r--r--offapi/com/sun/star/awt/DockingEvent.idl65
-rw-r--r--offapi/com/sun/star/awt/EndDockingEvent.idl55
-rw-r--r--offapi/com/sun/star/awt/EndPopupModeEvent.idl52
-rw-r--r--offapi/com/sun/star/awt/EnhancedMouseEvent.idl52
-rw-r--r--offapi/com/sun/star/awt/FieldUnit.idl54
-rw-r--r--offapi/com/sun/star/awt/FocusChangeReason.idl77
-rw-r--r--offapi/com/sun/star/awt/FocusEvent.idl74
-rw-r--r--offapi/com/sun/star/awt/FontDescriptor.idl163
-rw-r--r--offapi/com/sun/star/awt/FontEmphasisMark.idl78
-rw-r--r--offapi/com/sun/star/awt/FontFamily.idl75
-rw-r--r--offapi/com/sun/star/awt/FontPitch.idl56
-rw-r--r--offapi/com/sun/star/awt/FontRelief.idl56
-rw-r--r--offapi/com/sun/star/awt/FontSlant.idl68
-rw-r--r--offapi/com/sun/star/awt/FontStrikeout.idl75
-rw-r--r--offapi/com/sun/star/awt/FontType.idl60
-rw-r--r--offapi/com/sun/star/awt/FontUnderline.idl135
-rw-r--r--offapi/com/sun/star/awt/FontWeight.idl90
-rw-r--r--offapi/com/sun/star/awt/FontWidth.idl90
-rw-r--r--offapi/com/sun/star/awt/Gradient.idl98
-rw-r--r--offapi/com/sun/star/awt/GradientStyle.idl68
-rw-r--r--offapi/com/sun/star/awt/ImageAlign.idl58
-rw-r--r--offapi/com/sun/star/awt/ImageDrawMode.idl58
-rw-r--r--offapi/com/sun/star/awt/ImagePosition.idl91
-rw-r--r--offapi/com/sun/star/awt/ImageScaleMode.idl49
-rw-r--r--offapi/com/sun/star/awt/ImageStatus.idl60
-rw-r--r--offapi/com/sun/star/awt/InputEvent.idl53
-rw-r--r--offapi/com/sun/star/awt/InvalidateStyle.idl73
-rw-r--r--offapi/com/sun/star/awt/ItemEvent.idl55
-rw-r--r--offapi/com/sun/star/awt/ItemListEvent.idl67
-rw-r--r--offapi/com/sun/star/awt/Key.idl462
-rw-r--r--offapi/com/sun/star/awt/KeyEvent.idl62
-rw-r--r--offapi/com/sun/star/awt/KeyFunction.idl95
-rw-r--r--offapi/com/sun/star/awt/KeyGroup.idl70
-rw-r--r--offapi/com/sun/star/awt/KeyModifier.idl56
-rw-r--r--offapi/com/sun/star/awt/KeyStroke.idl68
-rw-r--r--offapi/com/sun/star/awt/LineEndFormat.idl56
-rw-r--r--offapi/com/sun/star/awt/MenuBar.idl38
-rw-r--r--offapi/com/sun/star/awt/MenuEvent.idl40
-rw-r--r--offapi/com/sun/star/awt/MenuItemStyle.idl47
-rw-r--r--offapi/com/sun/star/awt/MenuItemType.idl55
-rw-r--r--offapi/com/sun/star/awt/MessageBoxButtons.idl83
-rw-r--r--offapi/com/sun/star/awt/MessageBoxResults.idl60
-rw-r--r--offapi/com/sun/star/awt/MessageBoxType.idl55
-rw-r--r--offapi/com/sun/star/awt/MouseButton.idl53
-rw-r--r--offapi/com/sun/star/awt/MouseEvent.idl85
-rw-r--r--offapi/com/sun/star/awt/MouseWheelBehavior.idl53
-rw-r--r--offapi/com/sun/star/awt/PaintEvent.idl60
-rw-r--r--offapi/com/sun/star/awt/Point.idl47
-rw-r--r--offapi/com/sun/star/awt/Pointer.idl38
-rw-r--r--offapi/com/sun/star/awt/PopupMenu.idl37
-rw-r--r--offapi/com/sun/star/awt/PopupMenuDirection.idl56
-rw-r--r--offapi/com/sun/star/awt/PosSize.idl73
-rw-r--r--offapi/com/sun/star/awt/PrinterException.idl43
-rw-r--r--offapi/com/sun/star/awt/PrinterServer.idl27
-rw-r--r--offapi/com/sun/star/awt/PushButtonType.idl58
-rw-r--r--offapi/com/sun/star/awt/RasterOperation.idl65
-rw-r--r--offapi/com/sun/star/awt/Rectangle.idl57
-rw-r--r--offapi/com/sun/star/awt/RoadmapItem.idl69
-rw-r--r--offapi/com/sun/star/awt/ScrollBarOrientation.idl48
-rw-r--r--offapi/com/sun/star/awt/Selection.idl48
-rw-r--r--offapi/com/sun/star/awt/SimpleFontMetric.idl87
-rw-r--r--offapi/com/sun/star/awt/Size.idl48
-rw-r--r--offapi/com/sun/star/awt/SpinEvent.idl45
-rw-r--r--offapi/com/sun/star/awt/SpinningProgressControlModel.idl47
-rw-r--r--offapi/com/sun/star/awt/Style.idl49
-rw-r--r--offapi/com/sun/star/awt/SystemDependentXWindow.idl56
-rw-r--r--offapi/com/sun/star/awt/SystemPointer.idl411
-rw-r--r--offapi/com/sun/star/awt/TabController.idl38
-rw-r--r--offapi/com/sun/star/awt/TabControllerModel.idl45
-rw-r--r--offapi/com/sun/star/awt/TextAlign.idl53
-rw-r--r--offapi/com/sun/star/awt/TextEvent.idl45
-rw-r--r--offapi/com/sun/star/awt/Toolkit.idl41
-rw-r--r--offapi/com/sun/star/awt/UnoControl.idl71
-rw-r--r--offapi/com/sun/star/awt/UnoControlButton.idl50
-rw-r--r--offapi/com/sun/star/awt/UnoControlButtonModel.idl247
-rw-r--r--offapi/com/sun/star/awt/UnoControlCheckBox.idl49
-rw-r--r--offapi/com/sun/star/awt/UnoControlCheckBoxModel.idl200
-rw-r--r--offapi/com/sun/star/awt/UnoControlComboBox.idl46
-rw-r--r--offapi/com/sun/star/awt/UnoControlComboBoxModel.idl215
-rw-r--r--offapi/com/sun/star/awt/UnoControlContainer.idl51
-rw-r--r--offapi/com/sun/star/awt/UnoControlContainerModel.idl95
-rw-r--r--offapi/com/sun/star/awt/UnoControlCurrencyField.idl56
-rw-r--r--offapi/com/sun/star/awt/UnoControlCurrencyFieldModel.idl233
-rw-r--r--offapi/com/sun/star/awt/UnoControlDateField.idl55
-rw-r--r--offapi/com/sun/star/awt/UnoControlDateFieldModel.idl245
-rw-r--r--offapi/com/sun/star/awt/UnoControlDialog.idl36
-rw-r--r--offapi/com/sun/star/awt/UnoControlDialogElement.idl79
-rw-r--r--offapi/com/sun/star/awt/UnoControlDialogModel.idl185
-rw-r--r--offapi/com/sun/star/awt/UnoControlDialogModelProvider.idl46
-rw-r--r--offapi/com/sun/star/awt/UnoControlEdit.idl53
-rw-r--r--offapi/com/sun/star/awt/UnoControlEditModel.idl245
-rw-r--r--offapi/com/sun/star/awt/UnoControlFileControl.idl45
-rw-r--r--offapi/com/sun/star/awt/UnoControlFileControlModel.idl150
-rw-r--r--offapi/com/sun/star/awt/UnoControlFixedHyperlink.idl47
-rw-r--r--offapi/com/sun/star/awt/UnoControlFixedHyperlinkModel.idl150
-rw-r--r--offapi/com/sun/star/awt/UnoControlFixedLine.idl43
-rw-r--r--offapi/com/sun/star/awt/UnoControlFixedLineModel.idl106
-rw-r--r--offapi/com/sun/star/awt/UnoControlFixedText.idl50
-rw-r--r--offapi/com/sun/star/awt/UnoControlFixedTextModel.idl153
-rw-r--r--offapi/com/sun/star/awt/UnoControlFormattedField.idl50
-rw-r--r--offapi/com/sun/star/awt/UnoControlFormattedFieldModel.idl271
-rw-r--r--offapi/com/sun/star/awt/UnoControlGroupBox.idl42
-rw-r--r--offapi/com/sun/star/awt/UnoControlGroupBoxModel.idl106
-rw-r--r--offapi/com/sun/star/awt/UnoControlImageControl.idl45
-rw-r--r--offapi/com/sun/star/awt/UnoControlImageControlModel.idl135
-rw-r--r--offapi/com/sun/star/awt/UnoControlListBox.idl56
-rw-r--r--offapi/com/sun/star/awt/UnoControlListBoxModel.idl206
-rw-r--r--offapi/com/sun/star/awt/UnoControlModel.idl80
-rw-r--r--offapi/com/sun/star/awt/UnoControlNumericField.idl56
-rw-r--r--offapi/com/sun/star/awt/UnoControlNumericFieldModel.idl223
-rw-r--r--offapi/com/sun/star/awt/UnoControlPatternField.idl56
-rw-r--r--offapi/com/sun/star/awt/UnoControlPatternFieldModel.idl187
-rw-r--r--offapi/com/sun/star/awt/UnoControlProgressBar.idl47
-rw-r--r--offapi/com/sun/star/awt/UnoControlProgressBarModel.idl110
-rw-r--r--offapi/com/sun/star/awt/UnoControlRadioButton.idl49
-rw-r--r--offapi/com/sun/star/awt/UnoControlRadioButtonModel.idl195
-rw-r--r--offapi/com/sun/star/awt/UnoControlRoadmap.idl68
-rw-r--r--offapi/com/sun/star/awt/UnoControlRoadmapModel.idl141
-rw-r--r--offapi/com/sun/star/awt/UnoControlScrollBar.idl46
-rw-r--r--offapi/com/sun/star/awt/UnoControlScrollBarModel.idl169
-rw-r--r--offapi/com/sun/star/awt/UnoControlSpinButton.idl49
-rw-r--r--offapi/com/sun/star/awt/UnoControlSpinButtonModel.idl154
-rw-r--r--offapi/com/sun/star/awt/UnoControlTimeField.idl56
-rw-r--r--offapi/com/sun/star/awt/UnoControlTimeFieldModel.idl229
-rw-r--r--offapi/com/sun/star/awt/VclContainerEvent.idl52
-rw-r--r--offapi/com/sun/star/awt/VclWindowPeerAttribute.idl121
-rw-r--r--offapi/com/sun/star/awt/VisualEffect.idl51
-rw-r--r--offapi/com/sun/star/awt/WindowAttribute.idl116
-rw-r--r--offapi/com/sun/star/awt/WindowClass.idl59
-rw-r--r--offapi/com/sun/star/awt/WindowDescriptor.idl156
-rw-r--r--offapi/com/sun/star/awt/WindowEvent.idl92
-rw-r--r--offapi/com/sun/star/awt/XActionListener.idl47
-rw-r--r--offapi/com/sun/star/awt/XActivateListener.idl63
-rw-r--r--offapi/com/sun/star/awt/XAdjustmentListener.idl47
-rw-r--r--offapi/com/sun/star/awt/XAnimatedImages.idl167
-rw-r--r--offapi/com/sun/star/awt/XAnimation.idl54
-rw-r--r--offapi/com/sun/star/awt/XBitmap.idl57
-rw-r--r--offapi/com/sun/star/awt/XButton.idl65
-rw-r--r--offapi/com/sun/star/awt/XCallback.idl48
-rw-r--r--offapi/com/sun/star/awt/XCheckBox.idl77
-rw-r--r--offapi/com/sun/star/awt/XComboBox.idl105
-rw-r--r--offapi/com/sun/star/awt/XContainerWindowEventHandler.idl91
-rw-r--r--offapi/com/sun/star/awt/XContainerWindowProvider.idl115
-rw-r--r--offapi/com/sun/star/awt/XControl.idl115
-rw-r--r--offapi/com/sun/star/awt/XControlContainer.idl69
-rw-r--r--offapi/com/sun/star/awt/XControlModel.idl40
-rw-r--r--offapi/com/sun/star/awt/XCurrencyField.idl122
-rw-r--r--offapi/com/sun/star/awt/XDataTransferProviderAccess.idl95
-rw-r--r--offapi/com/sun/star/awt/XDateField.idl123
-rw-r--r--offapi/com/sun/star/awt/XDevice.idl105
-rw-r--r--offapi/com/sun/star/awt/XDialog.idl63
-rw-r--r--offapi/com/sun/star/awt/XDialog2.idl51
-rw-r--r--offapi/com/sun/star/awt/XDialogEventHandler.idl90
-rw-r--r--offapi/com/sun/star/awt/XDialogProvider.idl59
-rw-r--r--offapi/com/sun/star/awt/XDialogProvider2.idl123
-rw-r--r--offapi/com/sun/star/awt/XDisplayBitmap.idl43
-rw-r--r--offapi/com/sun/star/awt/XDisplayConnection.idl93
-rw-r--r--offapi/com/sun/star/awt/XDockableWindow.idl124
-rw-r--r--offapi/com/sun/star/awt/XDockableWindowListener.idl93
-rw-r--r--offapi/com/sun/star/awt/XEnhancedMouseClickHandler.idl54
-rw-r--r--offapi/com/sun/star/awt/XEventHandler.idl54
-rw-r--r--offapi/com/sun/star/awt/XExtendedToolkit.idl195
-rw-r--r--offapi/com/sun/star/awt/XFileDialog.idl68
-rw-r--r--offapi/com/sun/star/awt/XFixedHyperlink.idl86
-rw-r--r--offapi/com/sun/star/awt/XFixedText.idl66
-rw-r--r--offapi/com/sun/star/awt/XFocusListener.idl59
-rw-r--r--offapi/com/sun/star/awt/XFont.idl107
-rw-r--r--offapi/com/sun/star/awt/XFont2.idl56
-rw-r--r--offapi/com/sun/star/awt/XFontMappingUse.idl56
-rw-r--r--offapi/com/sun/star/awt/XFontMappingUseItem.idl55
-rw-r--r--offapi/com/sun/star/awt/XGraphics.idl236
-rw-r--r--offapi/com/sun/star/awt/XGraphics2.idl79
-rw-r--r--offapi/com/sun/star/awt/XImageButton.idl58
-rw-r--r--offapi/com/sun/star/awt/XImageConsumer.idl116
-rw-r--r--offapi/com/sun/star/awt/XImageProducer.idl75
-rw-r--r--offapi/com/sun/star/awt/XInfoPrinter.idl49
-rw-r--r--offapi/com/sun/star/awt/XItemEventBroadcaster.idl53
-rw-r--r--offapi/com/sun/star/awt/XItemList.idl275
-rw-r--r--offapi/com/sun/star/awt/XItemListListener.idl76
-rw-r--r--offapi/com/sun/star/awt/XItemListener.idl48
-rw-r--r--offapi/com/sun/star/awt/XKeyHandler.idl91
-rw-r--r--offapi/com/sun/star/awt/XKeyListener.idl55
-rw-r--r--offapi/com/sun/star/awt/XLayoutConstrains.idl57
-rw-r--r--offapi/com/sun/star/awt/XListBox.idl166
-rw-r--r--offapi/com/sun/star/awt/XMenu.idl299
-rw-r--r--offapi/com/sun/star/awt/XMenuBar.idl36
-rw-r--r--offapi/com/sun/star/awt/XMenuListener.idl53
-rw-r--r--offapi/com/sun/star/awt/XMessageBox.idl50
-rw-r--r--offapi/com/sun/star/awt/XMessageBoxFactory.idl74
-rw-r--r--offapi/com/sun/star/awt/XMetricField.idl132
-rw-r--r--offapi/com/sun/star/awt/XMouseClickHandler.idl67
-rw-r--r--offapi/com/sun/star/awt/XMouseListener.idl78
-rw-r--r--offapi/com/sun/star/awt/XMouseMotionHandler.idl75
-rw-r--r--offapi/com/sun/star/awt/XMouseMotionListener.idl59
-rw-r--r--offapi/com/sun/star/awt/XNumericField.idl122
-rw-r--r--offapi/com/sun/star/awt/XPaintListener.idl48
-rw-r--r--offapi/com/sun/star/awt/XPatternField.idl72
-rw-r--r--offapi/com/sun/star/awt/XPointer.idl51
-rw-r--r--offapi/com/sun/star/awt/XPopupMenu.idl184
-rw-r--r--offapi/com/sun/star/awt/XPrinter.idl102
-rw-r--r--offapi/com/sun/star/awt/XPrinterPropertySet.idl89
-rw-r--r--offapi/com/sun/star/awt/XPrinterServer.idl66
-rw-r--r--offapi/com/sun/star/awt/XPrinterServer2.idl49
-rw-r--r--offapi/com/sun/star/awt/XProgressBar.idl71
-rw-r--r--offapi/com/sun/star/awt/XProgressMonitor.idl57
-rw-r--r--offapi/com/sun/star/awt/XRadioButton.idl68
-rw-r--r--offapi/com/sun/star/awt/XRegion.idl105
-rw-r--r--offapi/com/sun/star/awt/XRequestCallback.idl52
-rw-r--r--offapi/com/sun/star/awt/XReschedule.idl50
-rw-r--r--offapi/com/sun/star/awt/XScrollBar.idl122
-rw-r--r--offapi/com/sun/star/awt/XSimpleTabController.idl145
-rw-r--r--offapi/com/sun/star/awt/XSpinField.idl78
-rw-r--r--offapi/com/sun/star/awt/XSpinListener.idl62
-rw-r--r--offapi/com/sun/star/awt/XSpinValue.idl118
-rw-r--r--offapi/com/sun/star/awt/XStyleChangeListener.idl45
-rw-r--r--offapi/com/sun/star/awt/XStyleSettings.idl224
-rw-r--r--offapi/com/sun/star/awt/XStyleSettingsSupplier.idl43
-rw-r--r--offapi/com/sun/star/awt/XSystemChildFactory.idl70
-rw-r--r--offapi/com/sun/star/awt/XSystemDependentMenuPeer.idl65
-rw-r--r--offapi/com/sun/star/awt/XSystemDependentWindowPeer.idl73
-rw-r--r--offapi/com/sun/star/awt/XTabController.idl93
-rw-r--r--offapi/com/sun/star/awt/XTabControllerModel.idl86
-rw-r--r--offapi/com/sun/star/awt/XTabListener.idl75
-rw-r--r--offapi/com/sun/star/awt/XTextArea.idl45
-rw-r--r--offapi/com/sun/star/awt/XTextComponent.idl106
-rw-r--r--offapi/com/sun/star/awt/XTextEditField.idl45
-rw-r--r--offapi/com/sun/star/awt/XTextLayoutConstrains.idl53
-rw-r--r--offapi/com/sun/star/awt/XTextListener.idl47
-rw-r--r--offapi/com/sun/star/awt/XTimeField.idl113
-rw-r--r--offapi/com/sun/star/awt/XToggleButton.idl44
-rw-r--r--offapi/com/sun/star/awt/XToolkit.idl93
-rw-r--r--offapi/com/sun/star/awt/XToolkit2.idl59
-rw-r--r--offapi/com/sun/star/awt/XToolkit3.idl47
-rw-r--r--offapi/com/sun/star/awt/XToolkitExperimental.idl65
-rw-r--r--offapi/com/sun/star/awt/XToolkitRobot.idl40
-rw-r--r--offapi/com/sun/star/awt/XTopWindow.idl73
-rw-r--r--offapi/com/sun/star/awt/XTopWindow2.idl68
-rw-r--r--offapi/com/sun/star/awt/XTopWindowListener.idl81
-rw-r--r--offapi/com/sun/star/awt/XUnitConversion.idl98
-rw-r--r--offapi/com/sun/star/awt/XUnoControlContainer.idl62
-rw-r--r--offapi/com/sun/star/awt/XUnoControlDialog.idl58
-rw-r--r--offapi/com/sun/star/awt/XUserInputInterception.idl86
-rw-r--r--offapi/com/sun/star/awt/XVclContainer.idl63
-rw-r--r--offapi/com/sun/star/awt/XVclContainerListener.idl59
-rw-r--r--offapi/com/sun/star/awt/XVclContainerPeer.idl61
-rw-r--r--offapi/com/sun/star/awt/XVclWindowPeer.idl96
-rw-r--r--offapi/com/sun/star/awt/XView.idl81
-rw-r--r--offapi/com/sun/star/awt/XWindow.idl168
-rw-r--r--offapi/com/sun/star/awt/XWindow2.idl82
-rw-r--r--offapi/com/sun/star/awt/XWindowListener.idl69
-rw-r--r--offapi/com/sun/star/awt/XWindowListener2.idl48
-rw-r--r--offapi/com/sun/star/awt/XWindowPeer.idl77
-rw-r--r--offapi/com/sun/star/awt/grid/DefaultGridColumnModel.idl38
-rw-r--r--offapi/com/sun/star/awt/grid/DefaultGridDataModel.idl45
-rw-r--r--offapi/com/sun/star/awt/grid/GridColumn.idl42
-rw-r--r--offapi/com/sun/star/awt/grid/GridColumnEvent.idl51
-rw-r--r--offapi/com/sun/star/awt/grid/GridDataEvent.idl68
-rw-r--r--offapi/com/sun/star/awt/grid/GridInvalidDataException.idl44
-rw-r--r--offapi/com/sun/star/awt/grid/GridInvalidModelException.idl43
-rw-r--r--offapi/com/sun/star/awt/grid/GridSelectionEvent.idl49
-rw-r--r--offapi/com/sun/star/awt/grid/SortableGridDataModel.idl93
-rw-r--r--offapi/com/sun/star/awt/grid/UnoControlGrid.idl70
-rw-r--r--offapi/com/sun/star/awt/grid/UnoControlGridModel.idl243
-rw-r--r--offapi/com/sun/star/awt/grid/XGridColumn.idl142
-rw-r--r--offapi/com/sun/star/awt/grid/XGridColumnListener.idl45
-rw-r--r--offapi/com/sun/star/awt/grid/XGridColumnModel.idl135
-rw-r--r--offapi/com/sun/star/awt/grid/XGridControl.idl98
-rw-r--r--offapi/com/sun/star/awt/grid/XGridDataListener.idl62
-rw-r--r--offapi/com/sun/star/awt/grid/XGridDataModel.idl110
-rw-r--r--offapi/com/sun/star/awt/grid/XGridRowSelection.idl103
-rw-r--r--offapi/com/sun/star/awt/grid/XGridSelectionListener.idl46
-rw-r--r--offapi/com/sun/star/awt/grid/XMutableGridDataModel.idl184
-rw-r--r--offapi/com/sun/star/awt/grid/XSortableGridData.idl70
-rw-r--r--offapi/com/sun/star/awt/grid/XSortableMutableGridDataModel.idl52
-rw-r--r--offapi/com/sun/star/awt/tab/TabPageActivatedEvent.idl45
-rw-r--r--offapi/com/sun/star/awt/tab/UnoControlTabPage.idl47
-rw-r--r--offapi/com/sun/star/awt/tab/UnoControlTabPageContainer.idl46
-rw-r--r--offapi/com/sun/star/awt/tab/UnoControlTabPageContainerModel.idl46
-rw-r--r--offapi/com/sun/star/awt/tab/UnoControlTabPageModel.idl83
-rw-r--r--offapi/com/sun/star/awt/tab/XTabPage.idl43
-rw-r--r--offapi/com/sun/star/awt/tab/XTabPageContainer.idl94
-rw-r--r--offapi/com/sun/star/awt/tab/XTabPageContainerListener.idl47
-rw-r--r--offapi/com/sun/star/awt/tab/XTabPageContainerModel.idl61
-rw-r--r--offapi/com/sun/star/awt/tab/XTabPageModel.idl74
-rw-r--r--offapi/com/sun/star/awt/tree/ExpandVetoException.idl44
-rw-r--r--offapi/com/sun/star/awt/tree/MutableTreeDataModel.idl41
-rw-r--r--offapi/com/sun/star/awt/tree/MutableTreeNode.idl39
-rw-r--r--offapi/com/sun/star/awt/tree/TreeControl.idl86
-rw-r--r--offapi/com/sun/star/awt/tree/TreeControlModel.idl97
-rw-r--r--offapi/com/sun/star/awt/tree/TreeDataModelEvent.idl54
-rw-r--r--offapi/com/sun/star/awt/tree/TreeExpansionEvent.idl45
-rw-r--r--offapi/com/sun/star/awt/tree/XMutableTreeDataModel.idl71
-rw-r--r--offapi/com/sun/star/awt/tree/XMutableTreeNode.idl109
-rw-r--r--offapi/com/sun/star/awt/tree/XTreeControl.idl269
-rw-r--r--offapi/com/sun/star/awt/tree/XTreeDataModel.idl72
-rw-r--r--offapi/com/sun/star/awt/tree/XTreeDataModelListener.idl82
-rw-r--r--offapi/com/sun/star/awt/tree/XTreeEditListener.idl72
-rw-r--r--offapi/com/sun/star/awt/tree/XTreeExpansionListener.idl76
-rw-r--r--offapi/com/sun/star/awt/tree/XTreeNode.idl92
346 files changed, 29599 insertions, 0 deletions
diff --git a/offapi/com/sun/star/awt/AccessibleButton.idl b/offapi/com/sun/star/awt/AccessibleButton.idl
new file mode 100644
index 000000000..d4022e85b
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleButton.idl
@@ -0,0 +1,108 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleButton_idl__
+#define __com_sun_star_awt_AccessibleButton_idl__
+
+#include <com/sun/star/accessibility/XAccessibleContext.idl>
+#include <com/sun/star/accessibility/XAccessibleEventBroadcaster.idl>
+#include <com/sun/star/accessibility/XAccessibleComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleExtendedComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleText.idl>
+#include <com/sun/star/accessibility/XAccessibleAction.idl>
+#include <com/sun/star/accessibility/XAccessibleValue.idl>
+
+module com { module sun { module star { module awt {
+
+/** specifies accessibility support for a button.
+
+ @since OOo 1.1.2
+ */
+service AccessibleButton
+{
+ /** This interface gives access to the structural information of a button:
+
+ <ul>
+ <li>Role: The role of a button is
+ com::sun::star::accessibility::AccessibleRole::PUSH_BUTTON.</li>
+ <li>Name: The name of a button is its localized label.</li>
+ <li>Description: The description of a button is its localized
+ help text.</li>
+ <li>Children: There are no children.</li>
+ <li>Parent: The parent is the window that contains the button.</li>
+ <li>Relations: There are no relations.</li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::CHECKED
+ is set if the object is currently checked.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSED
+ is set if the object currently has the keyboard focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::PRESSED
+ is set if the object is currently pressed.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ interface ::com::sun::star::accessibility::XAccessibleContext;
+
+ interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster;
+
+ interface ::com::sun::star::accessibility::XAccessibleComponent;
+
+ interface ::com::sun::star::accessibility::XAccessibleExtendedComponent;
+
+ /** This interface gives read-only access to the text representation
+ of a button.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleText;
+
+ /** This interface gives access to the actions that can be executed for
+ a button. The supported actions for a button are:
+ <ul>
+ <li>click</li>
+ </ul>
+ */
+ interface ::com::sun::star::accessibility::XAccessibleAction;
+
+ /** This interface gives access to the numerical value of a button,
+ which is related to the button's
+ com::sun::star::accessibility::AccessibleStateType::PRESSED state.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleValue;
+
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleCheckBox.idl b/offapi/com/sun/star/awt/AccessibleCheckBox.idl
new file mode 100644
index 000000000..9ef4d9e9f
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleCheckBox.idl
@@ -0,0 +1,111 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleCheckBox_idl__
+#define __com_sun_star_awt_AccessibleCheckBox_idl__
+
+#include <com/sun/star/accessibility/XAccessibleContext.idl>
+#include <com/sun/star/accessibility/XAccessibleEventBroadcaster.idl>
+#include <com/sun/star/accessibility/XAccessibleComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleExtendedComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleText.idl>
+#include <com/sun/star/accessibility/XAccessibleAction.idl>
+#include <com/sun/star/accessibility/XAccessibleValue.idl>
+
+module com { module sun { module star { module awt {
+
+/** specifies accessibility support for a check box.
+
+ @since OOo 1.1.2
+ */
+service AccessibleCheckBox
+{
+ /** This interface gives access to the structural information of a
+ check box:
+
+ <ul>
+ <li>Role: The role of a check box is
+ com::sun::star::accessibility::AccessibleRole::CHECK_BOX.</li>
+ <li>Name: The name of a check box is its localized label.</li>
+ <li>Description: The description of a check box is its localized
+ help text.</li>
+ <li>Children: There are no children.</li>
+ <li>Parent: The parent is the window that contains the check box.</li>
+ <li>Relations: There are no relations.</li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::CHECKED
+ is set if the object is currently checked.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSED
+ is set if the object currently has the keyboard focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ interface ::com::sun::star::accessibility::XAccessibleContext;
+
+ interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster;
+
+ interface ::com::sun::star::accessibility::XAccessibleComponent;
+
+ interface ::com::sun::star::accessibility::XAccessibleExtendedComponent;
+
+ /** This interface gives read-only access to the text representation
+ of a check box.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleText;
+
+ /** This interface gives access to the actions that can be executed for
+ a check box. The supported actions for a check box are:
+ <ul>
+ <li>click</li>
+ </ul>
+ */
+ interface ::com::sun::star::accessibility::XAccessibleAction;
+
+ /** This interface gives access to the numerical value of a
+ check box, which is related to the check box state:
+
+ <pre>
+ 0: not checked
+ 1: checked
+ 2: don't know
+ </pre>
+ */
+ interface ::com::sun::star::accessibility::XAccessibleValue;
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleComboBox.idl b/offapi/com/sun/star/awt/AccessibleComboBox.idl
new file mode 100644
index 000000000..aa350b59c
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleComboBox.idl
@@ -0,0 +1,93 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleComboBox_idl__
+#define __com_sun_star_awt_AccessibleComboBox_idl__
+
+#include <com/sun/star/accessibility/AccessibleContext.idl>
+
+module com { module sun { module star { module accessibility {
+
+ interface XAccessibleText;
+ interface XAccessibleExtendedComponent;
+ interface XAccessibleComponent;
+
+}; }; }; };
+
+module com { module sun { module star { module awt {
+
+/** specifies accessibility support for a combo box.
+
+ @see com::sun::star::accessibility::AccessibleContext
+ @see com::sun::star::accessibility::XAccessibleComponent
+ @see com::sun::star::accessibility::XAccessibleExtendedComponent
+ @since OOo 1.1.2
+*/
+service AccessibleComboBox
+{
+ /** This interface gives access to the structural information of a combo box:
+
+ <ul>
+ <li>Role: The role of a combo box is
+ com::sun::star::accessibility::AccessibleRole::COMBO_BOX.</li>
+ <li>Name: The name of a combo box is its localized label.</li>
+ <li>Description: The description of a combo box is its localized
+ help text.</li>
+ <li>Children: There exists two children.
+ The first is a com::sun::star::awt::AccessibleTextField
+ and the 2nd is a com::sun::star::awt::AccessibleList. </li>
+ <li>Parent: The parent is the window that contains the combo box.</li>
+ <li>Relations: There are no relations.</li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSED
+ is set if the object currently has the keyboard focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ACTIVE
+ is set if a child has currently the focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::RESIZABLE
+ is set if the object can be resized.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+
+ service com::sun::star::accessibility::AccessibleContext;
+
+ interface com::sun::star::accessibility::XAccessibleComponent;
+ interface com::sun::star::accessibility::XAccessibleExtendedComponent;
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleDropDownComboBox.idl b/offapi/com/sun/star/awt/AccessibleDropDownComboBox.idl
new file mode 100644
index 000000000..5e3aea6df
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleDropDownComboBox.idl
@@ -0,0 +1,104 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleDropDownComboBox_idl__
+#define __com_sun_star_awt_AccessibleDropDownComboBox_idl__
+
+#include <com/sun/star/accessibility/AccessibleContext.idl>
+
+
+module com { module sun { module star { module accessibility {
+
+ interface XAccessibleAction;
+ interface XAccessibleExtendedComponent;
+ interface XAccessibleComponent;
+
+}; }; }; };
+
+module com { module sun { module star { module awt {
+
+/** specifies accessibility support for a dropdown combo box.
+
+ @see com::sun::star::accessibility::AccessibleContext
+
+ @see com::sun::star::accessibility::XAccessibleComponent
+ @see com::sun::star::accessibility::XAccessibleExtendedComponent
+ @see com::sun::star::accessibility::XAccessibleAction
+
+ @since OOo 1.1.2
+*/
+service AccessibleDropDownComboBox
+{
+ /** This interface gives access to the structural information of a dropdown combo box:
+
+ <ul>
+ <li>Role: The role of a dropdown combo box is
+ com::sun::star::accessibility::AccessibleRole::COMBO_BOX.</li>
+ <li>Name: The name of a dropdown combo box is its localized label.</li>
+ <li>Description: The description of a dropdown combo box is its localized
+ help text.</li>
+ <li>Children: There exists two children.
+ The first is a com::sun::star::awt::AccessibleTextField
+ and the 2nd is a com::sun::star::awt::AccessibleList. </li>
+ <li>Parent: The parent is the window that contains the dropdown combo box.</li>
+ <li>Relations: There are no relations.</li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSED
+ is set if the object currently has the keyboard focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ACTIVE
+ is set if a child has currently the focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::RESIZABLE
+ is set if the object can be resized.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ service com::sun::star::accessibility::AccessibleContext;
+
+ interface com::sun::star::accessibility::XAccessibleComponent;
+ interface com::sun::star::accessibility::XAccessibleExtendedComponent;
+
+ /** This interface gives access to the actions that can be executed for
+ a dropdown combo box. The supported actions for a dropdown combo box are:
+ <ul>
+ <li>togglePopup</li>
+ </ul>
+ */
+ interface com::sun::star::accessibility::XAccessibleAction;
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleDropDownListBox.idl b/offapi/com/sun/star/awt/AccessibleDropDownListBox.idl
new file mode 100644
index 000000000..62a649186
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleDropDownListBox.idl
@@ -0,0 +1,104 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleDropDownListBox_idl__
+#define __com_sun_star_awt_AccessibleDropDownListBox_idl__
+
+#include <com/sun/star/accessibility/AccessibleContext.idl>
+
+
+module com { module sun { module star { module accessibility {
+
+ interface XAccessibleAction;
+ interface XAccessibleExtendedComponent;
+ interface XAccessibleComponent;
+
+}; }; }; };
+
+module com { module sun { module star { module awt {
+
+
+/** specifies accessibility support for a dropdown list box.
+
+ @see com::sun::star::accessibility::AccessibleContext
+
+ @see com::sun::star::accessibility::XAccessibleComponent
+ @see com::sun::star::accessibility::XAccessibleExtendedComponent
+ @see com::sun::star::accessibility::XAccessibleAction
+
+ @since OOo 1.1.2
+*/
+service AccessibleDropDownListBox
+{
+ /** This interface gives access to the structural information of a dropdown list box:
+
+ <ul>
+ <li>Role: The role of a dropdown list box is
+ com::sun::star::accessibility::AccessibleRole::COMBO_BOX.</li>
+ <li>Name: The name of a dropdown list box is its localized label.</li>
+ <li>Description: The description of a dropdown list box is its localized
+ help text.</li>
+ <li>Children: There exists one child.
+ It is of type com::sun::star::awt::AccessibleList.</li>
+ <li>Parent: The parent is the window that contains the dropdown list box.</li>
+ <li>Relations: There are no relations.</li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSED
+ is set if the object currently has the keyboard focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ACTIVE
+ is set if a child has currently the focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::RESIZABLE
+ is set if the object can be resized.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ service com::sun::star::accessibility::AccessibleContext;
+
+ interface com::sun::star::accessibility::XAccessibleComponent;
+ interface com::sun::star::accessibility::XAccessibleExtendedComponent;
+
+ /** This interface gives access to the actions that can be executed for
+ a dropdown list box. The supported actions for a dropdown list box are:
+ <ul>
+ <li>togglePopup</li>
+ </ul>
+ */
+ interface com::sun::star::accessibility::XAccessibleAction;
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleEdit.idl b/offapi/com/sun/star/awt/AccessibleEdit.idl
new file mode 100644
index 000000000..3c4cce690
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleEdit.idl
@@ -0,0 +1,110 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleEdit_idl__
+#define __com_sun_star_awt_AccessibleEdit_idl__
+
+#include <com/sun/star/accessibility/XAccessibleContext.idl>
+#include <com/sun/star/accessibility/XAccessibleEventBroadcaster.idl>
+#include <com/sun/star/accessibility/XAccessibleComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleExtendedComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleText.idl>
+#include <com/sun/star/accessibility/XAccessibleEditableText.idl>
+
+module com { module sun { module star { module awt {
+
+/** specifies accessibility support for an edit.
+
+ @since OOo 1.1.2
+ */
+service AccessibleEdit
+{
+ /** This interface gives access to the structural information of an edit:
+
+ <ul>
+ <li>Role: The role of an edit is
+ com::sun::star::accessibility::AccessibleRole::TEXT.
+ If the text content of the edit is password protected
+ the role is
+ com::sun::star::accessibility::AccessibleRole::PASSWORD_TEXT.</li>
+ <li>Name: If the relation of type
+ com::sun::star::accessibility::AccessibleRelationType::LABELED_BY
+ is set, the name of the edit is the localized label of the target
+ object, otherwise there is no name.</li>
+ <li>Description: The description of an edit is its localized
+ help text.</li>
+ <li>Children: There are no children.</li>
+ <li>Parent: The parent is the window that contains the edit.</li>
+ <li>Relations: The relations supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleRelationType::LABELED_BY
+ is set if the object is labeled by one or more target
+ objects.</li>
+ </ul>
+ </li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::EDITABLE
+ is set
+ if the content of the object can be changed by the user.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSED
+ is set if the object currently has the keyboard focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ interface ::com::sun::star::accessibility::XAccessibleContext;
+
+ interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster;
+
+ interface ::com::sun::star::accessibility::XAccessibleComponent;
+
+ interface ::com::sun::star::accessibility::XAccessibleExtendedComponent;
+
+ /** This interface gives read-only access to the text representation
+ of an edit.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleText;
+
+ /** This interface extends the
+ com::sun::star::accessibility::XAccessibleText
+ interface and gives read and write access to the text representation
+ of an edit.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleEditableText;
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleFixedText.idl b/offapi/com/sun/star/awt/AccessibleFixedText.idl
new file mode 100644
index 000000000..bf50561bc
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleFixedText.idl
@@ -0,0 +1,92 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleFixedText_idl__
+#define __com_sun_star_awt_AccessibleFixedText_idl__
+
+#include <com/sun/star/accessibility/XAccessibleContext.idl>
+#include <com/sun/star/accessibility/XAccessibleEventBroadcaster.idl>
+#include <com/sun/star/accessibility/XAccessibleComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleExtendedComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleText.idl>
+
+module com { module sun { module star { module awt {
+
+/** specifies accessibility support for a fixed text.
+
+ @since OOo 1.1.2
+ */
+service AccessibleFixedText
+{
+ /** This interface gives access to the structural information of a
+ fixed text:
+
+ <ul>
+ <li>Role: The role of a fixed text is
+ com::sun::star::accessibility::AccessibleRole::LABEL.</li>
+ <li>Name: The name of a fixed text is its localized label.</li>
+ <li>Description: The description of a fixed text is its localized
+ help text.</li>
+ <li>Children: There are no children.</li>
+ <li>Parent: The parent is the window that contains the fixed text.</li>
+ <li>Relations: The relations supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleRelationType::LABEL_FOR
+ is set if the object is a label for one or more target
+ objects.</li>
+ </ul>
+ </li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::MULTI_LINE
+ is set if the object contains multiple lines of text.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ interface ::com::sun::star::accessibility::XAccessibleContext;
+
+ interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster;
+
+ interface ::com::sun::star::accessibility::XAccessibleComponent;
+
+ interface ::com::sun::star::accessibility::XAccessibleExtendedComponent;
+
+ /** This interface gives read-only access to the text representation
+ of a fixed text.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleText;
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleIconChoiceControl.idl b/offapi/com/sun/star/awt/AccessibleIconChoiceControl.idl
new file mode 100644
index 000000000..9d9325753
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleIconChoiceControl.idl
@@ -0,0 +1,99 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleIconChoiceControl_idl__
+#define __com_sun_star_awt_AccessibleIconChoiceControl_idl__
+
+#include <com/sun/star/accessibility/AccessibleContext.idl>
+
+
+module com { module sun { module star { module accessibility {
+
+ interface XAccessibleSelection;
+ interface XAccessibleComponent;
+
+}; }; }; };
+
+module com { module sun { module star { module awt {
+
+/** specifies accessibility support for an icon choice control.
+
+ @see com::sun::star::accessibility::AccessibleContext
+ @see com::sun::star::accessibility::XAccessibleComponent
+
+ @since OOo 1.1.2
+*/
+service AccessibleIconChoiceControl
+{
+ /** This interface gives access to the structural information of an icon choice control:
+
+ <ul>
+ <li>Role: The role of an icon choice control is
+ com::sun::star::accessibility::AccessibleRole::TREE.</li>
+ <li>Name: The name of an icon choice control is IconChoiceControl.</li>
+ <li>Description: The description of an icon choice control is its localized
+ help text.</li>
+ <li>Children: There exists children of type com::sun::star::awt::AccessibleIconChoiceControlEntry.
+ </li>
+ <li>Parent: The parent is the window that contains the icon choice control.</li>
+ <li>Relations: There are no relations.</li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li><com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSED
+ is set if the object currently has the keyboard focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ACTIVE
+ is set if a child has currently the focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::RESIZABLE
+ is set if the object can be resized.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::MANAGES_DESCENDANTS
+ is always set. Children are transient.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::MULTI_SELECTABLE
+ is set when multi selection is enabled.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ service com::sun::star::accessibility::AccessibleContext;
+
+ interface com::sun::star::accessibility::XAccessibleComponent;
+
+ /** This interface gives access to the selectable children of a
+ icon choice control.
+ */
+ interface com::sun::star::accessibility::XAccessibleSelection;
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleIconChoiceControlEntry.idl b/offapi/com/sun/star/awt/AccessibleIconChoiceControlEntry.idl
new file mode 100644
index 000000000..aa20ed170
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleIconChoiceControlEntry.idl
@@ -0,0 +1,94 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleIconChoiceControlEntry_idl__
+#define __com_sun_star_awt_AccessibleIconChoiceControlEntry_idl__
+
+#include <com/sun/star/accessibility/AccessibleContext.idl>
+
+
+module com { module sun { module star { module accessibility {
+
+ interface XAccessibleText;
+ interface XAccessibleComponent;
+
+}; }; }; };
+
+module com { module sun { module star { module awt {
+
+/** specifies accessibility support for an icon choice control entry.
+
+ @see com::sun::star::accessibility::AccessibleContext
+
+ @see com::sun::star::accessibility::XAccessibleComponent
+ @see com::sun::star::accessibility::XAccessibleText
+
+ @since OOo 1.1.2
+*/
+service AccessibleIconChoiceControlEntry
+{
+ /** This interface gives access to the structural information of an icon choice control entry:
+
+ <ul>
+ <li>Role: The role of an icon choice control entry is
+ com::sun::star::accessibility::AccessibleRole::LABEL.</li>
+ <li>Name: The name of an icon choice control entry is it's text.</li>
+ <li>Description: The description of an icon choice control entry is empty.</li>
+ <li>Children: There exist no children.
+ </li>
+ <li>Parent: The parent is either the com::sun::star::awt::AccessibleIconChoiceControl.</li>
+ <li>Relations: There are no relations.</li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::TRANSIENT
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SELECTABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SELECTED
+ is set when it is selected.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ service com::sun::star::accessibility::AccessibleContext;
+
+ interface com::sun::star::accessibility::XAccessibleComponent;
+
+ /** This interface gives read-only access to the text representation
+ of an icon choice control entry.
+ */
+ interface com::sun::star::accessibility::XAccessibleText;
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleList.idl b/offapi/com/sun/star/awt/AccessibleList.idl
new file mode 100644
index 000000000..c351d21c7
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleList.idl
@@ -0,0 +1,120 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleList_idl__
+#define __com_sun_star_awt_AccessibleList_idl__
+
+#include <com/sun/star/accessibility/AccessibleContext.idl>
+
+module com { module sun { module star { module accessibility {
+
+ interface XAccessible;
+ interface XAccessibleExtendedComponent;
+ interface XAccessibleComponent;
+ interface XAccessibleSelection;
+
+}; }; }; };
+
+module com { module sun { module star { module awt {
+
+
+
+/** Accessible lists are used by combo boxes as container for
+ the list items.
+
+ @see com::sun::star::accessibility::AccessibleContext
+
+ @see com::sun::star::accessibility::XAccessibleComponent
+ @see com::sun::star::accessibility::XAccessibleExtendedComponent
+ @see ::com::sun::star::accessibility::XAccessibleSelection
+
+ @since OOo 1.1.2
+*/
+service AccessibleList
+{
+ /** This interface gives access to the structural information of a list:
+
+ <ul>
+ <li>Role: The role of a list is
+ ::com::sun::star::accessibility::AccessibleRole::LIST.</li>
+ <li>Name: The name of a list is its localized label.</li>
+ <li>Description: The description of a list is its localized
+ help text.</li>
+ <li>Children: There exists children.
+ Each child is of type com::sun::star::awt::AccessibleListItem. </li>
+ <li>Parent: The parent can be of type
+ <ul>
+ <li>com::sun::star::awt::AccessibleComboBox</li>
+ <li>com::sun::star::awt::AccessibleListBox</li>
+ <li>com::sun::star::awt::AccessibleDropDownListBox</li>
+ <li>com::sun::star::awt::AccessibleDropDownComboBox</li>
+ </ul>
+ </li>
+ <li>Relations: There are no relations.</li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSED
+ is set if the object currently has the keyboard focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ACTIVE
+ is set if a child has currently the focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::RESIZABLE
+ is set if the object can be resized.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::MULTI_SELECTABLE
+ is set if the list supports multi selection.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::MANAGES_DESCENDANTS
+ is always set.
+ The children are transient.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ service com::sun::star::accessibility::AccessibleContext;
+
+ interface com::sun::star::accessibility::XAccessibleComponent;
+ interface com::sun::star::accessibility::XAccessibleExtendedComponent;
+
+ /** Support of the com::sun::star::accessibility::XAccessible interface may be
+ discontinued in the future.
+ */
+ interface com::sun::star::accessibility::XAccessible;
+
+ /** This interface gives access to the selectable children of a
+ list.
+ */
+ interface com::sun::star::accessibility::XAccessibleSelection;
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleListBox.idl b/offapi/com/sun/star/awt/AccessibleListBox.idl
new file mode 100644
index 000000000..388af78b8
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleListBox.idl
@@ -0,0 +1,92 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleListBox_idl__
+#define __com_sun_star_awt_AccessibleListBox_idl__
+
+#include <com/sun/star/accessibility/AccessibleContext.idl>
+
+module com { module sun { module star { module accessibility {
+
+ interface XAccessibleSelection;
+ interface XAccessibleExtendedComponent;
+ interface XAccessibleComponent;
+
+}; }; }; };
+
+module com { module sun { module star { module awt {
+/** specifies accessibility support for a list box.
+
+ @see com::sun::star::accessibility::AccessibleContext
+
+ @see com::sun::star::accessibility::XAccessibleComponent
+ @see com::sun::star::accessibility::XAccessibleExtendedComponent
+
+ @since OOo 1.1.2
+*/
+service AccessibleListBox
+{
+ /** This interface gives access to the structural information of a list box:
+
+ <ul>
+ <li>Role: The role of a list box is
+ com::sun::star::accessibility::AccessibleRole::PANEL.</li>
+ <li>Name: The name of a list box is its localized label.</li>
+ <li>Description: The description of a list box is its localized
+ help text.</li>
+ <li>Children: There exists one child.
+ It is of type com::sun::star::awt::AccessibleList.</li>
+ <li>Parent: The parent is the window that contains the list box.</li>
+ <li>Relations: There are no relations.</li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSED
+ is set if the object currently has the keyboard focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ACTIVE
+ is set if a child has currently the focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::RESIZABLE
+ is set if the object can be resized.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ service com::sun::star::accessibility::AccessibleContext;
+
+ interface com::sun::star::accessibility::XAccessibleComponent;
+ interface com::sun::star::accessibility::XAccessibleExtendedComponent;
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleListBoxList.idl b/offapi/com/sun/star/awt/AccessibleListBoxList.idl
new file mode 100644
index 000000000..7ff907899
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleListBoxList.idl
@@ -0,0 +1,44 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleListBoxList_idl__
+#define __com_sun_star_awt_AccessibleListBoxList_idl__
+
+#include <com/sun/star/awt/AccessibleList.idl>
+
+
+module com { module sun { module star { module awt {
+
+/** Accessible list box lists are used by list boxes as container for
+ the list items. In addition of the simple container functionality of the
+ AccessibleList service the
+ com::sun::star::accessibility::XAccessibleSelection interface is supported.
+
+ @since OOo 1.1.2
+*/
+service AccessibleListBoxList
+{
+ service AccessibleList;
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleListItem.idl b/offapi/com/sun/star/awt/AccessibleListItem.idl
new file mode 100644
index 000000000..f4aa65a5c
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleListItem.idl
@@ -0,0 +1,92 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleListItem_idl__
+#define __com_sun_star_awt_AccessibleListItem_idl__
+
+#include <com/sun/star/accessibility/AccessibleContext.idl>
+
+
+module com { module sun { module star { module accessibility {
+
+ interface XAccessibleText;
+ interface XAccessibleComponent;
+
+}; }; }; };
+
+module com { module sun { module star { module awt {
+
+/** specifies accessibility support for a list item.
+
+ @see com::sun::star::accessibility::AccessibleContext
+ @see com::sun::star::accessibility::XAccessibleComponent
+ @see com::sun::star::accessibility::XAccessibleText
+
+ @since OOo 1.1.2
+*/
+service AccessibleListItem
+{
+ /** This interface gives access to the structural information of a list item:
+
+ <ul>
+ <li>Role: The role of a list item is
+ com::sun::star::accessibility::AccessibleRole::LIST_ITEM.</li>
+ <li>Name: The name of a list item is the text of the item.</li>
+ <li>Description: The description of a list item is empty.</li>
+ <li>Children: There exists no children.</li>
+ <li>Parent: The parent is of type com::sun::star::awt::AccessibleList.</li>
+ <li>Relations: There are no relations.</li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::TRANSIENT
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SELECTABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SELECTED
+ is set when the item is selected.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ service com::sun::star::accessibility::AccessibleContext;
+
+ interface com::sun::star::accessibility::XAccessibleComponent;
+
+ /** This interface gives read-only access to the text representation
+ of a list item.
+ */
+ interface com::sun::star::accessibility::XAccessibleText;
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleMenu.idl b/offapi/com/sun/star/awt/AccessibleMenu.idl
new file mode 100644
index 000000000..d0bcd5197
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleMenu.idl
@@ -0,0 +1,122 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleMenu_idl__
+#define __com_sun_star_awt_AccessibleMenu_idl__
+
+#include <com/sun/star/accessibility/XAccessibleContext.idl>
+#include <com/sun/star/accessibility/XAccessibleEventBroadcaster.idl>
+#include <com/sun/star/accessibility/XAccessibleComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleExtendedComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleText.idl>
+#include <com/sun/star/accessibility/XAccessibleAction.idl>
+#include <com/sun/star/accessibility/XAccessibleValue.idl>
+#include <com/sun/star/accessibility/XAccessibleSelection.idl>
+
+module com { module sun { module star { module awt {
+
+/** specifies accessibility support for a menu.
+
+ @since OOo 1.1.2
+ */
+service AccessibleMenu
+{
+ /** This interface gives access to the structural information of a menu:
+
+ <ul>
+ <li>Role: The role of a menu is
+ com::sun::star::accessibility::AccessibleRole::MENU.</li>
+ <li>Name: The name of a menu is the localized item text.</li>
+ <li>Description: The description of a menu is its localized
+ help text.</li>
+ <li>Children: The children of a menu are menus, menu items or
+ menu separators, whose accessible context supports the services
+ AccessibleMenu, AccessibleMenuItem or
+ AccessibleMenuSeparator.</li>
+ <li>Parent: The parent of a menu is a menu bar, a pop-up menu or
+ a menu, whose accessible context supports the services
+ AccessibleMenuBar, AccessiblePopupMenu
+ or AccessibleMenu.</li>
+ <li>Relations: There are no relations.</li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::ARMED
+ is set if the object is highlighted.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::CHECKED
+ is set if the object is currently checked.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::OPAQUE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SELECTABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SELECTED
+ is set if the object is selected.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ interface ::com::sun::star::accessibility::XAccessibleContext;
+
+ interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster;
+
+ interface ::com::sun::star::accessibility::XAccessibleComponent;
+
+ interface ::com::sun::star::accessibility::XAccessibleExtendedComponent;
+
+ /** This interface gives read-only access to the text representation
+ of a menu.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleText;
+
+ /** This interface gives access to the actions that can be executed for
+ a menu. The supported actions for a menu are:
+ <ul>
+ <li>select</li>
+ </ul>
+ */
+ interface ::com::sun::star::accessibility::XAccessibleAction;
+
+ /** This interface gives access to the numerical value of a
+ menu, which is related to the menu's
+ com::sun::star::accessibility::AccessibleStateType::SELECTED state.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleValue;
+
+ /** This interface gives access to the selectable children of a
+ menu.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleSelection;
+
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleMenuBar.idl b/offapi/com/sun/star/awt/AccessibleMenuBar.idl
new file mode 100644
index 000000000..5ed8059e3
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleMenuBar.idl
@@ -0,0 +1,94 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleMenuBar_idl__
+#define __com_sun_star_awt_AccessibleMenuBar_idl__
+
+#include <com/sun/star/accessibility/XAccessibleContext.idl>
+#include <com/sun/star/accessibility/XAccessibleEventBroadcaster.idl>
+#include <com/sun/star/accessibility/XAccessibleComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleExtendedComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleSelection.idl>
+
+module com { module sun { module star { module awt {
+
+/** specifies accessibility support for a menu bar.
+
+ @since OOo 1.1.2
+ */
+service AccessibleMenuBar
+{
+ /** This interface gives access to the structural information of a
+ menu bar:
+
+ <ul>
+ <li>Role: The role of a menu bar is
+ com::sun::star::accessibility::AccessibleRole::MENU_BAR.</li>
+ <li>Name: There is no name.</li>
+ <li>Description: The description of a menu bar is its localized
+ help text.</li>
+ <li>Children: The children of a menu bar are menus, menu items or
+ menu separators, whose accessible context supports the services
+ AccessibleMenu, AccessibleMenuItem or
+ AccessibleMenuSeparator.</li>
+ <li>Parent: The parent is the window that contains the menu bar.</li>
+ <li>Relations: There are no relations.</li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSED
+ is set if the object currently has the keyboard focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::OPAQUE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ interface ::com::sun::star::accessibility::XAccessibleContext;
+
+ interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster;
+
+ interface ::com::sun::star::accessibility::XAccessibleComponent;
+
+ interface ::com::sun::star::accessibility::XAccessibleExtendedComponent;
+
+ /** This interface gives access to the selectable children of a
+ menu bar.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleSelection;
+
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleMenuItem.idl b/offapi/com/sun/star/awt/AccessibleMenuItem.idl
new file mode 100644
index 000000000..efbe09efe
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleMenuItem.idl
@@ -0,0 +1,113 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleMenuItem_idl__
+#define __com_sun_star_awt_AccessibleMenuItem_idl__
+
+#include <com/sun/star/accessibility/XAccessibleContext.idl>
+#include <com/sun/star/accessibility/XAccessibleEventBroadcaster.idl>
+#include <com/sun/star/accessibility/XAccessibleComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleExtendedComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleText.idl>
+#include <com/sun/star/accessibility/XAccessibleAction.idl>
+#include <com/sun/star/accessibility/XAccessibleValue.idl>
+
+module com { module sun { module star { module awt {
+
+/** specifies accessibility support for a menu item.
+
+ @since OOo 1.1.2
+ */
+service AccessibleMenuItem
+{
+ /** This interface gives access to the structural information of a
+ menu item:
+
+ <ul>
+ <li>Role: The role of a menu item is
+ com::sun::star::accessibility::AccessibleRole::MENU_ITEM.</li>
+ <li>Name: The name of a menu item is the localized item text.</li>
+ <li>Description: The description of a menu item is its localized
+ help text.</li>
+ <li>Children: There are no children.</li>
+ <li>Parent: The parent of a menu item is a menu bar, a pop-up menu or
+ a menu, whose accessible context supports the services
+ AccessibleMenuBar, AccessiblePopupMenu
+ or AccessibleMenu.</li>
+ <li>Relations: There are no relations.</li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::ARMED
+ is set if the object is highlighted.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::CHECKED
+ is set if the object is currently checked.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::OPAQUE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SELECTABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SELECTED
+ is set if the object is selected.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ interface ::com::sun::star::accessibility::XAccessibleContext;
+
+ interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster;
+
+ interface ::com::sun::star::accessibility::XAccessibleComponent;
+
+ interface ::com::sun::star::accessibility::XAccessibleExtendedComponent;
+
+ /** This interface gives read-only access to the text representation
+ of a menu item.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleText;
+
+ /** This interface gives access to the actions that can be executed for
+ a menu item. The supported actions for a menu item are:
+ <ul>
+ <li>select</li>
+ </ul>
+ */
+ interface ::com::sun::star::accessibility::XAccessibleAction;
+
+ /** This interface gives access to the numerical value of a
+ menu item, which is related to the menu item's
+ com::sun::star::accessibility::AccessibleStateType::SELECTED state.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleValue;
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleMenuSeparator.idl b/offapi/com/sun/star/awt/AccessibleMenuSeparator.idl
new file mode 100644
index 000000000..ff2a282f5
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleMenuSeparator.idl
@@ -0,0 +1,88 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleMenuSeparator_idl__
+#define __com_sun_star_awt_AccessibleMenuSeparator_idl__
+
+#include <com/sun/star/accessibility/XAccessibleContext.idl>
+#include <com/sun/star/accessibility/XAccessibleEventBroadcaster.idl>
+#include <com/sun/star/accessibility/XAccessibleComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleExtendedComponent.idl>
+
+module com { module sun { module star { module awt {
+
+/** specifies accessibility support for a menu separator.
+
+ @since OOo 1.1.2
+ */
+service AccessibleMenuSeparator
+{
+ /** This interface gives access to the structural information of a
+ menu separator:
+
+ <ul>
+ <li>Role: The role of a menu separator is
+ com::sun::star::accessibility::AccessibleRole::SEPARATOR.</li>
+ <li>Name: There is no name.</li>
+ <li>Description: There is no description.</li>
+ <li>Children: There are no children.</li>
+ <li>Parent: The parent of a menu separator is a menu bar,
+ a pop-up menu or a menu, whose accessible context supports the
+ services AccessibleMenuBar,
+ AccessiblePopupMenu or
+ AccessibleMenu.</li>
+ <li>Relations: There are no relations.</li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li><com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li><com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::OPAQUE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SELECTABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SELECTED
+ is set if the object is selected.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ interface ::com::sun::star::accessibility::XAccessibleContext;
+
+ interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster;
+
+ interface ::com::sun::star::accessibility::XAccessibleComponent;
+
+ interface ::com::sun::star::accessibility::XAccessibleExtendedComponent;
+
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessiblePopupMenu.idl b/offapi/com/sun/star/awt/AccessiblePopupMenu.idl
new file mode 100644
index 000000000..b70db67a2
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessiblePopupMenu.idl
@@ -0,0 +1,94 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessiblePopupMenu_idl__
+#define __com_sun_star_awt_AccessiblePopupMenu_idl__
+
+#include <com/sun/star/accessibility/XAccessibleContext.idl>
+#include <com/sun/star/accessibility/XAccessibleEventBroadcaster.idl>
+#include <com/sun/star/accessibility/XAccessibleComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleExtendedComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleSelection.idl>
+
+module com { module sun { module star { module awt {
+
+/** specifies accessibility support for a pop-up menu.
+
+ @since OOo 1.1.2
+ */
+service AccessiblePopupMenu
+{
+ /** This interface gives access to the structural information of a
+ pop-up menu:
+
+ <ul>
+ <li>Role: The role of a pop-up menu is
+ com::sun::star::accessibility::AccessibleRole::POPUP_MENU.</li>
+ <li>Name: There is no name.</li>
+ <li>Description: The description of a pop-up menu is its localized
+ help text.</li>
+ <li>Children: The children of a pop-up menu are menus, menu items or
+ menu separators, whose accessible context supports the services
+ AccessibleMenu, AccessibleMenuItem or
+ AccessibleMenuSeparator.</li>
+ <li>Parent: The parent is the window that contains the pop-up menu.</li>
+ <li>Relations: There are no relations.</li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSED
+ is set if the object currently has the keyboard focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::OPAQUE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ interface ::com::sun::star::accessibility::XAccessibleContext;
+
+ interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster;
+
+ interface ::com::sun::star::accessibility::XAccessibleComponent;
+
+ interface ::com::sun::star::accessibility::XAccessibleExtendedComponent;
+
+ /** This interface gives access to the selectable children of a
+ pop-up menu.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleSelection;
+
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleRadioButton.idl b/offapi/com/sun/star/awt/AccessibleRadioButton.idl
new file mode 100644
index 000000000..e065cb536
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleRadioButton.idl
@@ -0,0 +1,113 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleRadioButton_idl__
+#define __com_sun_star_awt_AccessibleRadioButton_idl__
+
+#include <com/sun/star/accessibility/XAccessibleContext.idl>
+#include <com/sun/star/accessibility/XAccessibleEventBroadcaster.idl>
+#include <com/sun/star/accessibility/XAccessibleComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleExtendedComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleText.idl>
+#include <com/sun/star/accessibility/XAccessibleAction.idl>
+#include <com/sun/star/accessibility/XAccessibleValue.idl>
+
+module com { module sun { module star { module awt {
+
+/** specifies accessibility support for a radio button.
+
+ @since OOo 1.1.2
+ */
+service AccessibleRadioButton
+{
+ /** This interface gives access to the structural information of a
+ radio button:
+
+ <ul>
+ <li>Role: The role of a radio button is
+ com::sun::star::accessibility::AccessibleRole::RADIO_BUTTON.</li>
+ <li>Name: The name of a radio button is its localized label.</li>
+ <li>Description: The description of a radio button is its localized
+ help text.</li>
+ <li>Children: There are no children.</li>
+ <li>Parent: The parent is the window that contains the radio button.</li>
+ <li>Relations: The relations supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleRelationType::MEMBER_OF
+ is set if the object is a member of a group of one or more
+ target objects.</li>
+ </ul>
+ </li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::CHECKED
+ is set if the object is currently checked.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSED
+ is set if the object currently has the keyboard focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ interface ::com::sun::star::accessibility::XAccessibleContext;
+
+ interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster;
+
+ interface ::com::sun::star::accessibility::XAccessibleComponent;
+
+ interface ::com::sun::star::accessibility::XAccessibleExtendedComponent;
+
+ /** This interface gives read-only access to the text representation
+ of a radio button.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleText;
+
+ /** This interface gives access to the actions that can be executed for
+ a radio button. The supported actions for a radio button are:
+ <ul>
+ <li>click</li>
+ </ul>
+ */
+ interface ::com::sun::star::accessibility::XAccessibleAction;
+
+ /** This interface gives access to the numerical value of a
+ radio button, which is related to the radio button's
+ com::sun::star::accessibility::AccessibleStateType::CHECKED state.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleValue;
+
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleScrollBar.idl b/offapi/com/sun/star/awt/AccessibleScrollBar.idl
new file mode 100644
index 000000000..3ad246c9f
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleScrollBar.idl
@@ -0,0 +1,104 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleScrollBar_idl__
+#define __com_sun_star_awt_AccessibleScrollBar_idl__
+
+#include <com/sun/star/accessibility/XAccessibleContext.idl>
+#include <com/sun/star/accessibility/XAccessibleEventBroadcaster.idl>
+#include <com/sun/star/accessibility/XAccessibleComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleExtendedComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleAction.idl>
+#include <com/sun/star/accessibility/XAccessibleValue.idl>
+
+module com { module sun { module star { module awt {
+
+/** specifies accessibility support for a scroll bar.
+
+ @since OOo 1.1.2
+ */
+service AccessibleScrollBar
+{
+ /** This interface gives access to the structural information of a
+ scroll bar:
+
+ <ul>
+ <li>Role: The role of a scroll bar is
+ com::sun::star::accessibility::AccessibleRole::SCROLL_BAR.</li>
+ <li>Name: There is no name.</li>
+ <li>Description: The description of a scroll bar is its localized
+ help text.</li>
+ <li>Children: There are no children.</li>
+ <li>Parent: The parent is the window that contains the scroll bar.</li>
+ <li>Relations: There are no relations.</li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSED
+ is set if the object currently has the keyboard focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::HORIZONTAL
+ is set if the orientation of the object is horizontal.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VERTICAL
+ is set if the orientation of the object is vertical.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ interface ::com::sun::star::accessibility::XAccessibleContext;
+
+ interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster;
+
+ interface ::com::sun::star::accessibility::XAccessibleComponent;
+
+ interface ::com::sun::star::accessibility::XAccessibleExtendedComponent;
+
+ /** This interface gives access to the actions that can be executed for
+ a scroll bar. The supported actions for a scroll bar are:
+ <ul>
+ <li>decrementLine</li>
+ <li>incrementLine</li>
+ <li>decrementBlock</li>
+ <li>incrementBlock</li>
+ </ul>
+ */
+ interface ::com::sun::star::accessibility::XAccessibleAction;
+
+ /** This interface gives access to the numerical value of a scroll bar,
+ which is related to the position of the scroll bar thumb.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleValue;
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleStatusBar.idl b/offapi/com/sun/star/awt/AccessibleStatusBar.idl
new file mode 100644
index 000000000..9cca46691
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleStatusBar.idl
@@ -0,0 +1,80 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleStatusBar_idl__
+#define __com_sun_star_awt_AccessibleStatusBar_idl__
+
+#include <com/sun/star/accessibility/XAccessibleContext.idl>
+#include <com/sun/star/accessibility/XAccessibleEventBroadcaster.idl>
+#include <com/sun/star/accessibility/XAccessibleComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleExtendedComponent.idl>
+
+module com { module sun { module star { module awt {
+
+/** specifies accessibility support for a status bar.
+
+ @since OOo 1.1.2
+ */
+service AccessibleStatusBar
+{
+ /** This interface gives access to the structural information of a
+ status bar:
+
+ <ul>
+ <li>Role: The role of a status bar is
+ com::sun::star::accessibility::AccessibleRole::STATUS_BAR.</li>
+ <li>Name: There is no name.</li>
+ <li>Description: There is no description.</li>
+ <li>Children: The children of a status bar are status bar items,
+ whose accessible context supports the service
+ AccessibleStatusBarItem.</li>
+ <li>Parent: The parent is the window that contains the status bar.</li>
+ <li>Relations: There are no relations.</li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ interface ::com::sun::star::accessibility::XAccessibleContext;
+
+ interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster;
+
+ interface ::com::sun::star::accessibility::XAccessibleComponent;
+
+ interface ::com::sun::star::accessibility::XAccessibleExtendedComponent;
+
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleStatusBarItem.idl b/offapi/com/sun/star/awt/AccessibleStatusBarItem.idl
new file mode 100644
index 000000000..7b2cc61b9
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleStatusBarItem.idl
@@ -0,0 +1,88 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleStatusBarItem_idl__
+#define __com_sun_star_awt_AccessibleStatusBarItem_idl__
+
+#include <com/sun/star/accessibility/XAccessibleContext.idl>
+#include <com/sun/star/accessibility/XAccessibleEventBroadcaster.idl>
+#include <com/sun/star/accessibility/XAccessibleComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleExtendedComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleText.idl>
+
+module com { module sun { module star { module awt {
+
+/** specifies accessibility support for a status bar item.
+
+ @since OOo 1.1.2
+ */
+service AccessibleStatusBarItem
+{
+ /** This interface gives access to the structural information of a
+ status bar item:
+
+ <ul>
+ <li>Role: The role of a status bar item is
+ com::sun::star::accessibility::AccessibleRole::LABEL.</li>
+ <li>Name: The name of a status bar item is its localized
+ configuration name.</li>
+ <li>Description: The description of a status bar item is
+ its localized help text.</li>
+ <li>Children: There are no children.</li>
+ <li>Parent: The parent of a status bar item is the status bar,
+ whose accessible context supports the service
+ AccessibleStatusBar.</li>
+ <li>Relations: There are no relations.</li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ interface ::com::sun::star::accessibility::XAccessibleContext;
+
+ interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster;
+
+ interface ::com::sun::star::accessibility::XAccessibleComponent;
+
+ interface ::com::sun::star::accessibility::XAccessibleExtendedComponent;
+
+ /** This interface gives read-only access to the text representation
+ of the status bar item.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleText;
+
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleTabBar.idl b/offapi/com/sun/star/awt/AccessibleTabBar.idl
new file mode 100644
index 000000000..f8c3b316e
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleTabBar.idl
@@ -0,0 +1,89 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleTabBar_idl__
+#define __com_sun_star_awt_AccessibleTabBar_idl__
+
+#include <com/sun/star/accessibility/XAccessibleContext.idl>
+#include <com/sun/star/accessibility/XAccessibleEventBroadcaster.idl>
+#include <com/sun/star/accessibility/XAccessibleComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleExtendedComponent.idl>
+
+module com { module sun { module star { module awt {
+
+/** specifies accessibility support for a tabbar.
+
+ @since OOo 1.1.2
+ */
+service AccessibleTabBar
+{
+ /** This interface gives access to the structural information of a
+ tabbar:
+
+ <ul>
+ <li>Role: The role of a tabbar is
+ com::sun::star::accessibility::AccessibleRole::PANEL.</li>
+ <li>Name: There is no name.</li>
+ <li>Description: The description of a tabbar is its localized
+ help text.</li>
+ <li>Children: The children of a tabbar are tabbar buttons,
+ the tabbar sizer and the tabbar page list,
+ whose accessible context supports the service
+ AccessibleTabBarPageList.</li>
+ <li>Parent: The parent is the window that contains the
+ tabbar.</li>
+ <li>Relations: There are no relations.</li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSED
+ is set if the object currently has the keyboard focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::RESIZABLE
+ is set if the size of the object is not fixed.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ interface ::com::sun::star::accessibility::XAccessibleContext;
+
+ interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster;
+
+ interface ::com::sun::star::accessibility::XAccessibleComponent;
+
+ interface ::com::sun::star::accessibility::XAccessibleExtendedComponent;
+
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleTabBarPage.idl b/offapi/com/sun/star/awt/AccessibleTabBarPage.idl
new file mode 100644
index 000000000..0d47e13cb
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleTabBarPage.idl
@@ -0,0 +1,86 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleTabBarPage_idl__
+#define __com_sun_star_awt_AccessibleTabBarPage_idl__
+
+#include <com/sun/star/accessibility/XAccessibleContext.idl>
+#include <com/sun/star/accessibility/XAccessibleEventBroadcaster.idl>
+#include <com/sun/star/accessibility/XAccessibleComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleExtendedComponent.idl>
+
+module com { module sun { module star { module awt {
+
+/** specifies accessibility support for a tabbar page.
+
+ @since OOo 1.1.2
+ */
+service AccessibleTabBarPage
+{
+ /** This interface gives access to the structural information of a
+ tabbar page:
+
+ <ul>
+ <li>Role: The role of a tabbar page is
+ com::sun::star::accessibility::AccessibleRole::PAGE_TAB.</li>
+ <li>Name: The name of a tabbar page is the localized
+ tabbar page text.</li>
+ <li>Description: The description of a tabbar page is its localized
+ help text.</li>
+ <li>Children: There are no children.</li>
+ <li>Parent: The parent of a tabbar page is the tabbar page list,
+ whose accessible context supports the service
+ AccessibleTabBarPageList.</li>
+ <li>Relations: There are no relations.</li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SELECTABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SELECTED
+ is set if the object is selected.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ interface ::com::sun::star::accessibility::XAccessibleContext;
+
+ interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster;
+
+ interface ::com::sun::star::accessibility::XAccessibleComponent;
+
+ interface ::com::sun::star::accessibility::XAccessibleExtendedComponent;
+
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleTabBarPageList.idl b/offapi/com/sun/star/awt/AccessibleTabBarPageList.idl
new file mode 100644
index 000000000..849088455
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleTabBarPageList.idl
@@ -0,0 +1,88 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleTabBarPageList_idl__
+#define __com_sun_star_awt_AccessibleTabBarPageList_idl__
+
+#include <com/sun/star/accessibility/XAccessibleContext.idl>
+#include <com/sun/star/accessibility/XAccessibleEventBroadcaster.idl>
+#include <com/sun/star/accessibility/XAccessibleComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleExtendedComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleSelection.idl>
+
+module com { module sun { module star { module awt {
+
+/** specifies accessibility support for a tabbar page list.
+
+ @since OOo 1.1.2
+ */
+service AccessibleTabBarPageList
+{
+ /** This interface gives access to the structural information of a
+ tabbar page list:
+
+ <ul>
+ <li>Role: The role of a tabbar page list is
+ com::sun::star::accessibility::AccessibleRole::PAGE_TAB_LIST.</li>
+ <li>Name: There is no name.</li>
+ <li>Description: There is no description.</li>
+ <li>Children: The children of a tabbar page list are tabbar pages,
+ whose accessible context supports the service
+ AccessibleTabBarPage.</li>
+ <li>Parent: The parent of a tabbar page list is the tabbar,
+ whose accessible context supports the service
+ AccessibleTabBar.</li>
+ <li>Relations: There are no relations.</li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ interface ::com::sun::star::accessibility::XAccessibleContext;
+
+ interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster;
+
+ interface ::com::sun::star::accessibility::XAccessibleComponent;
+
+ interface ::com::sun::star::accessibility::XAccessibleExtendedComponent;
+
+ /** This interface gives access to the selectable children of a
+ tabbar page list.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleSelection;
+
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleTabControl.idl b/offapi/com/sun/star/awt/AccessibleTabControl.idl
new file mode 100644
index 000000000..36c99fa4d
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleTabControl.idl
@@ -0,0 +1,92 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleTabControl_idl__
+#define __com_sun_star_awt_AccessibleTabControl_idl__
+
+#include <com/sun/star/accessibility/XAccessibleContext.idl>
+#include <com/sun/star/accessibility/XAccessibleEventBroadcaster.idl>
+#include <com/sun/star/accessibility/XAccessibleComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleExtendedComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleSelection.idl>
+
+module com { module sun { module star { module awt {
+
+/** specifies accessibility support for a tab control.
+
+ @since OOo 1.1.2
+ */
+service AccessibleTabControl
+{
+ /** This interface gives access to the structural information of a
+ tab control:
+
+ <ul>
+ <li>Role: The role of a tab control is
+ com::sun::star::accessibility::AccessibleRole::PAGE_TAB_LIST.</li>
+ <li>Name: There is no name.</li>
+ <li>Description: The description of a tab control is its localized
+ help text.</li>
+ <li>Children: The children of a tab control are tab pages,
+ whose accessible context supports the service
+ AccessibleTabPage.</li>
+ <li>Parent: The parent is the window that contains the
+ tab control.</li>
+ <li>Relations: There are no relations.</li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSED
+ is set if the object currently has the keyboard focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ interface ::com::sun::star::accessibility::XAccessibleContext;
+
+ interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster;
+
+ interface ::com::sun::star::accessibility::XAccessibleComponent;
+
+ interface ::com::sun::star::accessibility::XAccessibleExtendedComponent;
+
+ /** This interface gives access to the selectable children of a
+ tab control.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleSelection;
+
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleTabPage.idl b/offapi/com/sun/star/awt/AccessibleTabPage.idl
new file mode 100644
index 000000000..76de39818
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleTabPage.idl
@@ -0,0 +1,95 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleTabPage_idl__
+#define __com_sun_star_awt_AccessibleTabPage_idl__
+
+#include <com/sun/star/accessibility/XAccessibleContext.idl>
+#include <com/sun/star/accessibility/XAccessibleEventBroadcaster.idl>
+#include <com/sun/star/accessibility/XAccessibleComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleExtendedComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleText.idl>
+
+module com { module sun { module star { module awt {
+
+/** specifies accessibility support for a tab page.
+
+ @since OOo 1.1.2
+ */
+service AccessibleTabPage
+{
+ /** This interface gives access to the structural information of a
+ tab page:
+
+ <ul>
+ <li>Role: The role of a tab page is
+ com::sun::star::accessibility::AccessibleRole::PAGE_TAB.</li>
+ <li>Name: The name of a tab page is the localized tab page text.</li>
+ <li>Description: The description of a tab page is its localized
+ help text.</li>
+ <li>Children: The child of a tab page is a panel.</li>
+ <li>Parent: The parent of a tab page is the tab control,
+ whose accessible context supports the service
+ AccessibleTabControl.</li>
+ <li>Relations: There are no relations.</li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSED
+ is set if the object currently has the keyboard focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SELECTABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SELECTED
+ is set if the object is selected.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ interface ::com::sun::star::accessibility::XAccessibleContext;
+
+ interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster;
+
+ interface ::com::sun::star::accessibility::XAccessibleComponent;
+
+ interface ::com::sun::star::accessibility::XAccessibleExtendedComponent;
+
+ /** This interface gives read-only access to the text representation
+ of a tab page.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleText;
+
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleTextField.idl b/offapi/com/sun/star/awt/AccessibleTextField.idl
new file mode 100644
index 000000000..c7b3b3f42
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleTextField.idl
@@ -0,0 +1,101 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleTextField_idl__
+#define __com_sun_star_awt_AccessibleTextField_idl__
+
+#include <com/sun/star/accessibility/AccessibleContext.idl>
+
+
+module com { module sun { module star { module accessibility {
+
+ interface XAccessibleExtendedComponent;
+ interface XAccessibleComponent;
+ interface XAccessibleText;
+
+}; }; }; };
+
+module com { module sun { module star { module awt {
+
+
+/** Text fields are like edit fields as described by the
+ AccessibleEdit service but without the ability to edit the
+ text.
+ @see com::sun::star::accessibility::AccessibleContext
+ @see com::sun::star::accessibility::XAccessibleComponent
+ @see com::sun::star::accessibility::XAccessibleExtendedComponent
+ @see com::sun::star::accessibility::XAccessibleText
+
+ @since OOo 1.1.2
+*/
+service AccessibleTextField
+{
+ /** This interface gives access to the structural information of a text field:
+
+ <ul>
+ <li>Role: The role of a text field is
+ com::sun::star::accessibility::AccessibleRole::TEXT.</li>
+ <li>Name: The name of a text field is its localized label.</li>
+ <li>Description: The description of a text field is its localized
+ help text.</li>
+ <li>Children: There exists no children.</li>
+ <li>Parent: The parent is the window that contains the text field.</li>
+ <li>Relations: There are no relations.</li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSED
+ is set if the object currently has the keyboard focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ACTIVE
+ is set if a child has currently the focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::RESIZABLE
+ is set if the object can be resized.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+
+ service com::sun::star::accessibility::AccessibleContext;
+
+ /** This interface gives read-only access to the text representation
+ of a text field.
+ */
+ interface com::sun::star::accessibility::XAccessibleText;
+ interface com::sun::star::accessibility::XAccessibleComponent;
+ interface com::sun::star::accessibility::XAccessibleExtendedComponent;
+
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleToolBox.idl b/offapi/com/sun/star/awt/AccessibleToolBox.idl
new file mode 100644
index 000000000..2d4701329
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleToolBox.idl
@@ -0,0 +1,99 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleToolBox_idl__
+#define __com_sun_star_awt_AccessibleToolBox_idl__
+
+#include <com/sun/star/accessibility/AccessibleContext.idl>
+
+
+module com { module sun { module star { module accessibility {
+
+ interface XAccessibleExtendedComponent;
+ interface XAccessibleComponent;
+
+}; }; }; };
+
+module com { module sun { module star { module awt {
+
+
+
+/** specifies accessibility support for a tool box.
+
+ @see com::sun::star::accessibility::AccessibleContext
+ @see com::sun::star::accessibility::XAccessibleComponent
+ @see com::sun::star::accessibility::XAccessibleExtendedComponent
+
+ @since OOo 1.1.2
+*/
+service AccessibleToolBox
+{
+ /** This interface gives access to the structural information of a tool box:
+
+ <ul>
+ <li>Role: The role of a tool box is
+ com::sun::star::accessibility::AccessibleRole::TOOL_BAR.</li>
+ <li>Name: The name of a tool box is its localized label.</li>
+ <li>Description: The description of a tool box is its localized
+ help text.</li>
+ <li>Children: There exists children of type com::sun::star::awt::AccessibleToolBoxItem.
+ </li>
+ <li>Parent: The parent is the window that contains the tool box.</li>
+ <li>Relations: There are no relations.</li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSED
+ is set if the object currently has the keyboard focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ACTIVE
+ is set if a child has currently the focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::RESIZABLE
+ is set if the object can be resized.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VERTICAL
+ is set if the tool box is vertical.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::HORIZONTAL
+ is set if the tool box is horizontal.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ service com::sun::star::accessibility::AccessibleContext;
+
+ interface com::sun::star::accessibility::XAccessibleComponent;
+ interface com::sun::star::accessibility::XAccessibleExtendedComponent;
+
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleToolBoxItem.idl b/offapi/com/sun/star/awt/AccessibleToolBoxItem.idl
new file mode 100644
index 000000000..d35325338
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleToolBoxItem.idl
@@ -0,0 +1,120 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleToolBoxItem_idl__
+#define __com_sun_star_awt_AccessibleToolBoxItem_idl__
+
+#include <com/sun/star/accessibility/AccessibleContext.idl>
+
+
+module com { module sun { module star { module accessibility {
+
+ interface XAccessibleAction;
+ interface XAccessibleText;
+ interface XAccessibleValue;
+ interface XAccessibleExtendedComponent;
+ interface XAccessibleComponent;
+
+}; }; }; };
+
+module com { module sun { module star { module awt {
+
+/** specifies accessibility support for a tool box item.
+
+ @see com::sun::star::accessibility::AccessibleContext
+
+ @see com::sun::star::accessibility::XAccessibleComponent
+ @see com::sun::star::accessibility::XAccessibleExtendedComponent
+
+ @see com::sun::star::accessibility::XAccessibleAction
+ @see com::sun::star::accessibility::XAccessibleText
+ @see com::sun::star::accessibility::XAccessibleValue
+
+ @since OOo 1.1.2
+*/
+service AccessibleToolBoxItem
+{
+ /** This interface gives access to the structural information of a tool box item:
+
+ <ul>
+ <li>Role: The role of a tool box item is
+ com::sun::star::accessibility::AccessibleRole::PUSH_BUTTON when the item is a push button, or
+ com::sun::star::accessibility::AccessibleRole::TOGGLE_BUTTON when the item is a button and checkable, or
+ com::sun::star::accessibility::AccessibleRole::PANEL when the item is a window, or
+ com::sun::star::accessibility::AccessibleRole::FILLER when the item is a fill item, or
+ com::sun::star::accessibility::AccessibleRole::SEPARATOR when the item is a separator.</li>
+ <li>Name: The name of a tool box item is the name set.</li>
+ <li>Description: The description of a tool box item is its localized
+ help text.</li>
+ <li>Children: There can exist one child.
+ This can be any kind of accessible object.</li>
+ <li>Parent: The parent is the tool box that contains the tool box item.</li>
+ <li>Relations: There are no relations.</li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSED
+ is set if the object currently has the keyboard focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::CHECKED
+ is set if the tool box item is checked.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ service com::sun::star::accessibility::AccessibleContext;
+
+ interface com::sun::star::accessibility::XAccessibleComponent;
+ interface com::sun::star::accessibility::XAccessibleExtendedComponent;
+
+ /** This interface gives access to the actions that can be executed for
+ a menu. The supported actions for a tool box item are:
+ <ul>
+ <li>click</li>
+ </ul>
+ */
+ interface com::sun::star::accessibility::XAccessibleAction;
+
+ /** This interface gives read-only access to the text representation
+ of a tool box item.
+ */
+ interface com::sun::star::accessibility::XAccessibleText;
+ /** This interface gives access to the numerical value of a
+ tool box item, which is related to the tool box item's
+ com::sun::star::accessibility::AccessibleStateType::CHECKED state.
+ */
+ interface com::sun::star::accessibility::XAccessibleValue;
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleTreeListBox.idl b/offapi/com/sun/star/awt/AccessibleTreeListBox.idl
new file mode 100644
index 000000000..5119965f8
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleTreeListBox.idl
@@ -0,0 +1,99 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleTreeListBox_idl__
+#define __com_sun_star_awt_AccessibleTreeListBox_idl__
+
+#include <com/sun/star/accessibility/AccessibleContext.idl>
+
+
+module com { module sun { module star { module accessibility {
+
+ interface XAccessibleSelection;
+ interface XAccessibleComponent;
+
+}; }; }; };
+
+module com { module sun { module star { module awt {
+
+/** specifies accessibility support for a tree list box.
+
+ @see com::sun::star::accessibility::AccessibleContext
+
+ @see com::sun::star::accessibility::XAccessibleComponent
+ @see com::sun::star::accessibility::XAccessibleSelection
+
+ @since OOo 1.1.2
+*/
+service AccessibleTreeListBox
+{
+ /** This interface gives access to the structural information of a tree list box:
+
+ <ul>
+ <li>Role: The role of a tree list box is
+ com::sun::star::accessibility::AccessibleRole::TREE.</li>
+ <li>Name: The name of a tree list box is its localized label.</li>
+ <li>Description: The description of a tree list box is its localized
+ help text.</li>
+ <li>Children: There exists children of type com::sun::star::awt::AccessibleTreeListBoxEntry.
+ </li>
+ <li>Parent: The parent is the window that contains the tree list box.</li>
+ <li>Relations: There are no relations.</li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSED
+ is set if the object currently has the keyboard focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ACTIVE
+ is set if a child has currently the focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::RESIZABLE
+ is set if the object can be resized.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::MULTI_SELECTABLE
+ is set when multi selection is enabled.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ service com::sun::star::accessibility::AccessibleContext;
+
+ interface com::sun::star::accessibility::XAccessibleComponent;
+
+ /** This interface gives access to the selectable children of a
+ tree list box.
+ */
+ interface com::sun::star::accessibility::XAccessibleSelection;
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleTreeListBoxEntry.idl b/offapi/com/sun/star/awt/AccessibleTreeListBoxEntry.idl
new file mode 100644
index 000000000..c9e67ef78
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleTreeListBoxEntry.idl
@@ -0,0 +1,120 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleTreeListBoxEntry_idl__
+#define __com_sun_star_awt_AccessibleTreeListBoxEntry_idl__
+
+#include <com/sun/star/accessibility/AccessibleContext.idl>
+
+
+module com { module sun { module star { module accessibility {
+
+ interface XAccessibleAction;
+ interface XAccessibleSelection;
+ interface XAccessibleText;
+ interface XAccessibleComponent;
+
+}; }; }; };
+
+module com { module sun { module star { module awt {
+
+
+/** specifies accessibility support for a treelistbox entry.
+
+ @see com::sun::star::accessibility::AccessibleContext
+
+ @see com::sun::star::accessibility::XAccessibleAction
+ @see com::sun::star::accessibility::XAccessibleSelection
+ @see com::sun::star::accessibility::XAccessibleText
+
+ @since OOo 1.1.2
+*/
+service AccessibleTreeListBoxEntry
+{
+ /** This interface gives access to the structural information of a tree list box entry:
+
+ <ul>
+ <li>Role: The role of a tree list box entry is
+ com::sun::star::accessibility::AccessibleRole::LABEL.</li>
+ <li>Name: The name of a tree list box entry is it's text.</li>
+ <li>Description: The description of a tree list box entry is empty.</li>
+ <li>Children: There can exist children of type com::sun::star::awt::AccessibleTreeListBoxEntry.
+ </li>
+ <li>Parent: The parent is either the com::sun::star::awt::AccessibleTreeListBox
+ or a com::sun::star::awt::AccessibleTreeListBoxEntry that contains the tree list box entry.</li>
+ <li>Relations: There are no relations.</li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::EDITABLE
+ is set when a tree list box entry can be edited.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::EXPANDABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::EXPANDED
+ is set when it is expanded.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::COLLAPSED
+ is set when it is collapsed.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::CHECKED
+ is set when it is checked.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SELECTABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SELECTED
+ is set when it is selected.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ service com::sun::star::accessibility::AccessibleContext;
+
+ interface com::sun::star::accessibility::XAccessibleComponent;
+
+ /** This interface gives access to the actions that can be executed for
+ a menu. The supported actions for a tree list box entry are:
+ <ul>
+ <li>toggleExpand</li>
+ </ul>
+ */
+ interface com::sun::star::accessibility::XAccessibleAction;
+
+ /** This interface gives access to the selectable children of a
+ tree list box entry.
+ */
+ interface com::sun::star::accessibility::XAccessibleSelection;
+
+ /** This interface gives read-only access to the text representation
+ of a tool box item.
+ */
+ interface com::sun::star::accessibility::XAccessibleText;
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AccessibleWindow.idl b/offapi/com/sun/star/awt/AccessibleWindow.idl
new file mode 100644
index 000000000..f5883c9e3
--- /dev/null
+++ b/offapi/com/sun/star/awt/AccessibleWindow.idl
@@ -0,0 +1,96 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AccessibleWindow_idl__
+#define __com_sun_star_awt_AccessibleWindow_idl__
+
+#include <com/sun/star/accessibility/XAccessibleContext.idl>
+#include <com/sun/star/accessibility/XAccessibleEventBroadcaster.idl>
+#include <com/sun/star/accessibility/XAccessibleComponent.idl>
+#include <com/sun/star/accessibility/XAccessibleExtendedComponent.idl>
+
+module com { module sun { module star { module awt {
+
+/** specifies accessibility support for a window.
+
+ @since OOo 1.1.2
+ */
+service AccessibleWindow
+{
+ /** This interface gives access to the structural information of a window:
+
+ <ul>
+ <li>Role: The role of a window is not fixed. A window may have
+ one of the following roles:
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleRole::DIALOG</li>
+ <li>com::sun::star::accessibility::AccessibleRole::FRAME</li>
+ <li>com::sun::star::accessibility::AccessibleRole::LAYERED_PANE</li>
+ <li>com::sun::star::accessibility::AccessibleRole::PANEL</li>
+ <li>com::sun::star::accessibility::AccessibleRole::ROOT_PANE</li>
+ <li>com::sun::star::accessibility::AccessibleRole::SCROLL_PANE</li>
+ <li>com::sun::star::accessibility::AccessibleRole::SPLIT_PANE</li>
+ <li>com::sun::star::accessibility::AccessibleRole::WINDOW</li>
+ <li>...</li>
+ </ul>
+ </li>
+ <li>Name: The name of a window is its localized title.</li>
+ <li>Description: The description of a window is its localized
+ help text.</li>
+ <li>Children: The children of a window are the child windows.</li>
+ <li>Parent: The parent of a window is the parent window.</li>
+ <li>Relations: There are no relations.</li>
+ <li>States: The states supported by this service are
+ <ul>
+ <li>com::sun::star::accessibility::AccessibleStateType::ACTIVE
+ is set if the object is currently the active object.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is set if the object has already been disposed
+ and subsequent calls to this object result in
+ com::sun::star::lang::DisposedException
+ exceptions.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is set if the object is enabled.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSABLE
+ is always set.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::FOCUSED
+ is set if the object currently has the keyboard focus.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::MODAL
+ is set if the object is modal.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::RESIZABLE
+ is set if the size of the object is not fixed.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is set if the object is displayed on the screen.</li>
+ <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always set.</li>
+ </ul>
+ </li>
+ </ul>
+ */
+ interface ::com::sun::star::accessibility::XAccessibleContext;
+ interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster;
+ interface ::com::sun::star::accessibility::XAccessibleComponent;
+ interface ::com::sun::star::accessibility::XAccessibleExtendedComponent;
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/ActionEvent.idl b/offapi/com/sun/star/awt/ActionEvent.idl
new file mode 100644
index 000000000..f938e713d
--- /dev/null
+++ b/offapi/com/sun/star/awt/ActionEvent.idl
@@ -0,0 +1,57 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_ActionEvent_idl__
+#define __com_sun_star_awt_ActionEvent_idl__
+
+#include <com/sun/star/lang/EventObject.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** a semantic event which indicates that a component-defined action occurred.
+
+ <p>This high-level event is generated by a component (such as a Button)
+ when the component-specific action occurs (such as being pressed).
+ The event is passed to every XActionListener object
+ that registered to receive such events using the component's
+ <code>addActionListener</code> method.</p>
+
+ <p>The object that implements the XActionListener interface
+ gets this ActionEvent when the event occurs. The listener is therefore
+ spared the details of processing individual mouse movements and mouse
+ clicks, and can instead process a "meaningful" (semantic) event like
+ "button pressed".</p>
+ */
+published struct ActionEvent: com::sun::star::lang::EventObject
+{
+
+ /** contains the command string associated with this action.
+ */
+ string ActionCommand;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AdjustmentEvent.idl b/offapi/com/sun/star/awt/AdjustmentEvent.idl
new file mode 100644
index 000000000..6a8fd3b39
--- /dev/null
+++ b/offapi/com/sun/star/awt/AdjustmentEvent.idl
@@ -0,0 +1,52 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_AdjustmentEvent_idl__
+#define __com_sun_star_awt_AdjustmentEvent_idl__
+
+#include <com/sun/star/lang/EventObject.idl>
+
+#include <com/sun/star/awt/AdjustmentType.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** adjustment event emitted by adjustable objects.
+ */
+published struct AdjustmentEvent: com::sun::star::lang::EventObject
+{
+
+ /** contains the current value in the adjustment event.
+ */
+ long Value;
+
+
+ /** contains the type of the adjustment event.
+ */
+ com::sun::star::awt::AdjustmentType Type;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AdjustmentType.idl b/offapi/com/sun/star/awt/AdjustmentType.idl
new file mode 100644
index 000000000..eb21111a3
--- /dev/null
+++ b/offapi/com/sun/star/awt/AdjustmentType.idl
@@ -0,0 +1,60 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_AdjustmentType_idl__
+#define __com_sun_star_awt_AdjustmentType_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the adjustment type.
+ */
+published enum AdjustmentType
+{
+
+ /** adjustment is originated by a line jump.
+
+ <p>A line jump can, for example, be caused by a click on
+ one of the pointer buttons.</p>
+ */
+ ADJUST_LINE,
+
+
+ /** adjustment is originated by a page jump.
+
+ <p>A page jump can, for example, be caused by a click in the
+ background area of the scrollbar (neither one of the pointer
+ buttons, nor the thumb).</p>
+ */
+ ADJUST_PAGE,
+
+
+ /** adjustment is originated by dragging the thumb.
+ */
+ ADJUST_ABS
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AnimatedImagesControl.idl b/offapi/com/sun/star/awt/AnimatedImagesControl.idl
new file mode 100644
index 000000000..99ccd222e
--- /dev/null
+++ b/offapi/com/sun/star/awt/AnimatedImagesControl.idl
@@ -0,0 +1,49 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AnimatedImagesControl_idl__
+#define __com_sun_star_awt_AnimatedImagesControl_idl__
+
+#include <com/sun/star/awt/UnoControl.idl>
+
+
+module com { module sun { module star { module awt {
+
+interface XAnimation;
+
+
+/** is the default control used for an AnimatedImagesControlModel, displayed a series of
+ images.
+
+ @since OOo 3.4
+ */
+service AnimatedImagesControl
+{
+ service com::sun::star::awt::UnoControl;
+
+ interface XAnimation;
+};
+
+
+}; }; }; };
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AnimatedImagesControlModel.idl b/offapi/com/sun/star/awt/AnimatedImagesControlModel.idl
new file mode 100644
index 000000000..5bbfd0938
--- /dev/null
+++ b/offapi/com/sun/star/awt/AnimatedImagesControlModel.idl
@@ -0,0 +1,48 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AnimatedImagesControlModel_idl__
+#define __com_sun_star_awt_AnimatedImagesControlModel_idl__
+
+#include <com/sun/star/awt/UnoControlModel.idl>
+
+
+module com { module sun { module star { module awt {
+
+interface XAnimatedImages;
+
+
+/** describes the model for a control displaying a series of images
+
+ @since OOo 3.4
+ */
+service AnimatedImagesControlModel
+{
+ service com::sun::star::awt::UnoControlModel;
+
+ interface XAnimatedImages;
+};
+
+
+}; }; }; };
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/AsyncCallback.idl b/offapi/com/sun/star/awt/AsyncCallback.idl
new file mode 100644
index 000000000..277ee51f8
--- /dev/null
+++ b/offapi/com/sun/star/awt/AsyncCallback.idl
@@ -0,0 +1,38 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_AsyncCallback_idl__
+#define __com_sun_star_awt_AsyncCallback_idl__
+
+#include <com/sun/star/awt/XRequestCallback.idl>
+
+module com { module sun { module star { module awt {
+
+/** An implementation which uses the message queue to call the
+ callback implementation asynchronously.
+
+ @see XRequestCallback
+ */
+service AsyncCallback: XRequestCallback;
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/CharSet.idl b/offapi/com/sun/star/awt/CharSet.idl
new file mode 100644
index 000000000..dfd3030f2
--- /dev/null
+++ b/offapi/com/sun/star/awt/CharSet.idl
@@ -0,0 +1,103 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_CharSet_idl__
+#define __com_sun_star_awt_CharSet_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** These values are used to specify the characters which are available in
+ a font and their codes.
+
+ <P>The currently defined constants of <CODE>CharSet</CODE> have the same
+ numerical values as the corresponding enum values of the C/C++
+ <CODE>rtl_TextEncoding</CODE> (from <CODE>rtl/textenc.h</CODE>). This
+ correspondence is by design. Since <CODE>CharSet</CODE> is deprecated,
+ however, it is not planned to add further constants to keep it in sync with
+ <CODE>rtl_TextEncoding</CODE>.</P>
+
+ @deprecated
+ */
+published constants CharSet
+{
+
+ /** specifies an unknown character set.
+ */
+ const short DONTKNOW = 0;
+
+
+ /** specifies the ANSI character set.
+ */
+ const short ANSI = 1;
+
+
+ /** specifies the Apple Macintosh character set.
+ */
+ const short MAC = 2;
+
+
+ /** specifies the IBM PC character set number 437.
+ */
+ const short IBMPC_437 = 3;
+
+
+ /** specifies the IBM PC character set number 850.
+ */
+ const short IBMPC_850 = 4;
+
+
+ /** specifies the IBM PC character set number 860.
+ */
+ const short IBMPC_860 = 5;
+
+
+ /** specifies the IBM PC character set number 861.
+ */
+ const short IBMPC_861 = 6;
+
+
+ /** specifies the IBM PC character set number 863.
+ */
+ const short IBMPC_863 = 7;
+
+
+ /** specifies the IBM PC character set number 865.
+ */
+ const short IBMPC_865 = 8;
+
+
+ /** specifies the system character set.
+ */
+ const short SYSTEM = 9;
+
+
+ /** specifies a set of symbols.
+ */
+ const short SYMBOL = 10;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/Command.idl b/offapi/com/sun/star/awt/Command.idl
new file mode 100644
index 000000000..a821378cd
--- /dev/null
+++ b/offapi/com/sun/star/awt/Command.idl
@@ -0,0 +1,112 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_Command_idl__
+#define __com_sun_star_awt_Command_idl__
+
+
+module com { module sun { module star { module awt {
+
+/** these values specify the different command types available.
+*/
+
+published constants Command
+{
+
+
+ /** specifies a requests for a context menu.
+ */
+ const short CONTEXTMENU = 1;
+
+
+ /** specifies the beginning of a drag operation.
+ */
+ const short STARTDRAG = 2;
+
+
+ /** specifies a mouse wheel operation.
+ */
+ const short WHEEL = 3;
+
+
+ /** specifies the beginning of an auto scroll operation.
+ */
+ const short STARTAUTOSCROLL = 4;
+
+
+ /** specifies an auto scroll operation.
+ */
+ const short AUTOSCROLL = 5;
+
+
+ /** specifies a request for a voice operation.
+ */
+ const short VOICE = 6;
+
+
+ /** specifies the beginning of an extended text input operation.
+ */
+ const short STARTEXTTEXTINPUT = 7;
+
+
+ /** specifies an extended text input operation.
+ */
+ const short EXTTEXTINPUT = 8;
+
+
+ /** specifies the end of an extended text input operation.
+ */
+ const short ENDEXTTEXTINPUT = 9;
+
+
+ /** specifies that the input context has been changed.
+ */
+ const short INPUTCONTEXTCHANGE = 10;
+
+
+ /** specifies the cursor position.
+ */
+ const short CURSORPOS = 11;
+
+
+ /** specifies a paste selection command.
+ */
+ const short PASTESELECTION = 12;
+
+
+ /** specifies that the state of a key modifier has changed.
+ */
+ const short MODKEYCHANGE = 13;
+
+
+ /** specifies a Hangul hanja conversion command.
+ */
+ const short HANGUL_HANJA_CONVERSION = 14;
+
+
+ /** specifies a user-defined command.
+ */
+ const short USER = 4096;
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/ContainerWindowProvider.idl b/offapi/com/sun/star/awt/ContainerWindowProvider.idl
new file mode 100644
index 000000000..7a4334f24
--- /dev/null
+++ b/offapi/com/sun/star/awt/ContainerWindowProvider.idl
@@ -0,0 +1,42 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_ContainerWindowProvider_idl__
+#define __com_sun_star_awt_ContainerWindowProvider_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+#include <com/sun/star/awt/XContainerWindowProvider.idl>
+
+
+
+module com { module sun { module star { module awt {
+
+
+/** specifies a provider for container windows implementing the
+ com::sun::star::awt::XWindow interface.
+ */
+service ContainerWindowProvider : com::sun::star::awt::XContainerWindowProvider;
+
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/DeviceCapability.idl b/offapi/com/sun/star/awt/DeviceCapability.idl
new file mode 100644
index 000000000..8a6358d99
--- /dev/null
+++ b/offapi/com/sun/star/awt/DeviceCapability.idl
@@ -0,0 +1,54 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_DeviceCapability_idl__
+#define __com_sun_star_awt_DeviceCapability_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** defines which capabilities a device supports.
+ */
+published constants DeviceCapability
+{
+
+ /** supports the device raster operations.
+
+ @see XGraphics::setRasterOp
+ */
+ const long RASTEROPERATIONS = 1;
+
+
+ /** supports the XDevice::createBitmap(),
+ the XDevice::createDevice() and the
+ XGraphics::copy() methods.
+
+ @see XGraphics::setRasterOp
+ */
+ const long GETBITS = 2;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/DeviceInfo.idl b/offapi/com/sun/star/awt/DeviceInfo.idl
new file mode 100644
index 000000000..f24828101
--- /dev/null
+++ b/offapi/com/sun/star/awt/DeviceInfo.idl
@@ -0,0 +1,91 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_DeviceInfo_idl__
+#define __com_sun_star_awt_DeviceInfo_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** contains information about a device.
+ */
+published struct DeviceInfo
+{
+
+ /** contains the width of the device in pixels.
+ */
+ long Width;
+
+
+ /** contains the height of the device in pixels.
+ */
+ long Height;
+
+
+ /** contains the inset from the left.
+ */
+ long LeftInset;
+
+
+ /** contains the inset from the top.
+ */
+ long TopInset;
+
+
+ /** contains the inset from the right.
+ */
+ long RightInset;
+
+
+ /** contains the inset from the bottom.
+ */
+ long BottomInset;
+
+
+ /** contains the X-axis resolution of the device in pixel/meter.
+ */
+ double PixelPerMeterX;
+
+
+ /** contains the Y-axis resolution of the device in pixel/meter.
+ */
+ double PixelPerMeterY;
+
+
+ /** contains the color-depth of the device.
+ */
+ short BitsPerPixel;
+
+
+ /** specifies special operations which are possible on the device.
+
+ @see DeviceCapability
+ */
+ long Capabilities;
+
+};
+
+
+}; }; }; };
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/DialogProvider.idl b/offapi/com/sun/star/awt/DialogProvider.idl
new file mode 100644
index 000000000..bfdbe0d2a
--- /dev/null
+++ b/offapi/com/sun/star/awt/DialogProvider.idl
@@ -0,0 +1,53 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_DialogProvider_idl__
+#define __com_sun_star_awt_DialogProvider_idl__
+
+#include <com/sun/star/awt/XDialogProvider.idl>
+#include <com/sun/star/container/XNameContainer.idl>
+#include <com/sun/star/frame/XModel.idl>
+#include <com/sun/star/io/XInputStream.idl>
+#include <com/sun/star/script/XScriptListener.idl>
+
+
+
+module com { module sun { module star { module awt {
+
+
+/** Specifies a provider for dialogs implementing the
+ com::sun::star::awt::XDialog interface.
+ */
+service DialogProvider : com::sun::star::awt::XDialogProvider
+{
+
+ createWithModel([in] com::sun::star::frame::XModel Model);
+
+ createWithModelAndScripting([in] com::sun::star::frame::XModel Model,
+ [in] com::sun::star::io::XInputStream InStream,
+ [in] com::sun::star::container::XNameContainer DialogLib,
+ [in] com::sun::star::script::XScriptListener ScriptListener);
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/DialogProvider2.idl b/offapi/com/sun/star/awt/DialogProvider2.idl
new file mode 100644
index 000000000..49afa12d8
--- /dev/null
+++ b/offapi/com/sun/star/awt/DialogProvider2.idl
@@ -0,0 +1,41 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_DialogProvider2_idl__
+#define __com_sun_star_awt_DialogProvider2_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+#include <com/sun/star/awt/XDialogProvider2.idl>
+
+
+
+module com { module sun { module star { module awt {
+
+
+/** specifies a provider for dialogs implementing the
+ com::sun::star::awt::XDialog interface.
+ */
+service DialogProvider2 : com::sun::star::awt::XDialogProvider2;
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/DockingData.idl b/offapi/com/sun/star/awt/DockingData.idl
new file mode 100644
index 000000000..ffea2bf44
--- /dev/null
+++ b/offapi/com/sun/star/awt/DockingData.idl
@@ -0,0 +1,50 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_DockingData_idl__
+#define __com_sun_star_awt_DockingData_idl__
+
+#include <com/sun/star/awt/Rectangle.idl>
+
+
+module com { module sun { module star { module awt {
+
+
+/** data returned by docking handler
+
+ */
+struct DockingData
+{
+
+ /** specifies the position and size where the window would be placed
+ if the user releases the mouse
+ */
+ com::sun::star::awt::Rectangle TrackingRectangle;
+
+
+ /** specifies that the window should be floating (TRUE) or docked (FALSE)
+ */
+ boolean bFloating;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/DockingEvent.idl b/offapi/com/sun/star/awt/DockingEvent.idl
new file mode 100644
index 000000000..f4bc7f222
--- /dev/null
+++ b/offapi/com/sun/star/awt/DockingEvent.idl
@@ -0,0 +1,65 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_DockingEvent_idl__
+#define __com_sun_star_awt_DockingEvent_idl__
+
+#include <com/sun/star/lang/EventObject.idl>
+
+#include <com/sun/star/awt/Rectangle.idl>
+#include <com/sun/star/awt/Point.idl>
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a docking event.
+ */
+struct DockingEvent: com::sun::star::lang::EventObject
+{
+
+ /** specifies the current tracking rectangle
+ */
+ com::sun::star::awt::Rectangle TrackingRectangle;
+
+
+ /** specifies the current mouse position in frame coordinates
+ */
+ com::sun::star::awt::Point MousePos;
+
+
+ /** specifies if the layout should be adjusted immediately
+ */
+ boolean bLiveMode;
+
+
+ /** specifies if the docking procedure is interactive which means that
+ the user is currently dragging the window to a new position
+ if this member is `FALSE` the window will be docked or undocked immediately
+ using the returned tracking rectangle
+ */
+ boolean bInteractive;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/EndDockingEvent.idl b/offapi/com/sun/star/awt/EndDockingEvent.idl
new file mode 100644
index 000000000..6dc1ef6f7
--- /dev/null
+++ b/offapi/com/sun/star/awt/EndDockingEvent.idl
@@ -0,0 +1,55 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_EndDockingEvent_idl__
+#define __com_sun_star_awt_EndDockingEvent_idl__
+
+#include <com/sun/star/lang/EventObject.idl>
+#include <com/sun/star/awt/Rectangle.idl>
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies an end docking event.
+ */
+struct EndDockingEvent: com::sun::star::lang::EventObject
+{
+
+ /** specifies the new bounding rectangle of the window
+ */
+ com::sun::star::awt::Rectangle WindowRectangle;
+
+
+ /** specifies if the window is now floating `TRUE` or docked `FALSE`
+ */
+ boolean bFloating;
+
+
+ /** specifies that the docking procedure was canceled
+ */
+ boolean bCancelled;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/EndPopupModeEvent.idl b/offapi/com/sun/star/awt/EndPopupModeEvent.idl
new file mode 100644
index 000000000..e0de19ace
--- /dev/null
+++ b/offapi/com/sun/star/awt/EndPopupModeEvent.idl
@@ -0,0 +1,52 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_EndPopupModeEvent_idl__
+#define __com_sun_star_awt_EndPopupModeEvent_idl__
+
+#include <com/sun/star/lang/EventObject.idl>
+#include <com/sun/star/awt/Point.idl>
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies an end pop-up mode event.
+ */
+struct EndPopupModeEvent: com::sun::star::lang::EventObject
+{
+
+ /** specifies how the pop-up mode was ended
+ `TRUE` means the window should be teared-off and positioned at FloatingPosition
+ `FALSE` means the window was closed
+ */
+ boolean bTearoff;
+
+
+ /** specifies the new position of the floating window in frame coordinates
+ if bTearoff is `TRUE`
+ */
+ com::sun::star::awt::Point FloatingPosition;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/EnhancedMouseEvent.idl b/offapi/com/sun/star/awt/EnhancedMouseEvent.idl
new file mode 100644
index 000000000..66c18b8ae
--- /dev/null
+++ b/offapi/com/sun/star/awt/EnhancedMouseEvent.idl
@@ -0,0 +1,52 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_EnhancedMouseEvent_idl__
+#define __com_sun_star_awt_EnhancedMouseEvent_idl__
+
+#include <com/sun/star/awt/MouseEvent.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies an event from the mouse.
+
+ @see MouseEvent
+
+ @since OOo 2.0
+
+ */
+published struct EnhancedMouseEvent: com::sun::star::awt::MouseEvent
+{
+
+ /** contains the object on the location of the mouse.
+ */
+
+ com::sun::star::uno::XInterface Target;
+
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/FieldUnit.idl b/offapi/com/sun/star/awt/FieldUnit.idl
new file mode 100644
index 000000000..4813f128c
--- /dev/null
+++ b/offapi/com/sun/star/awt/FieldUnit.idl
@@ -0,0 +1,54 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_FieldUnit_idl__
+#define __com_sun_star_awt_FieldUnit_idl__
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies attributes for the MetricField map units.
+
+ <p><b>IMPORTANT:</b> These constants have to be disjunct with
+ constants in util/MeasureUnit.</p>
+ */
+constants FieldUnit
+{
+ const short FUNIT_NONE = 0;
+ const short FUNIT_MM = 1;
+ const short FUNIT_CM = 2;
+ const short FUNIT_M = 3;
+ const short FUNIT_KM = 4;
+ const short FUNIT_TWIP = 5;
+ const short FUNIT_POINT = 6;
+ const short FUNIT_PICA = 7;
+ const short FUNIT_INCH = 8;
+ const short FUNIT_FOOT = 9;
+ const short FUNIT_MILE = 10;
+ const short FUNIT_CUSTOM = 11;
+ const short FUNIT_PERCENT = 12;
+ const short FUNIT_100TH_MM = 13;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/FocusChangeReason.idl b/offapi/com/sun/star/awt/FocusChangeReason.idl
new file mode 100644
index 000000000..e49532318
--- /dev/null
+++ b/offapi/com/sun/star/awt/FocusChangeReason.idl
@@ -0,0 +1,77 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_FocusChangeReason_idl__
+#define __com_sun_star_awt_FocusChangeReason_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** A combination of these values can be used to specify the reason
+ for a focus change.
+ */
+published constants FocusChangeReason
+{
+
+ /** Focus changed because TAB was pressed.
+ */
+ const long TAB = 1;
+
+
+ /** Focus changed because Key Left/Right/Up/Down was pressed.
+ */
+ const long CURSOR = 2;
+
+
+ /** Focus changed because mnemonic key was pressed.
+ */
+ const long MNEMONIC = 4;
+
+
+ /** Changed Focus to the next control.
+ */
+ const long FORWARD = 16;
+
+
+ /** Changed Focus to the previous control.
+ */
+ const long BACKWARD = 32;
+
+
+ /** Changed Focus forward from last to first or backward from first to
+ last.
+ */
+ const long AROUND = 64;
+
+
+ /** Focus changed because mnemonic key was pressed and this mnemonic is
+ unique.
+ */
+ const long UNIQUEMNEMONIC = 256;
+
+};
+
+
+}; }; }; };
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/FocusEvent.idl b/offapi/com/sun/star/awt/FocusEvent.idl
new file mode 100644
index 000000000..9c303b786
--- /dev/null
+++ b/offapi/com/sun/star/awt/FocusEvent.idl
@@ -0,0 +1,74 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_FocusEvent_idl__
+#define __com_sun_star_awt_FocusEvent_idl__
+
+#include <com/sun/star/lang/EventObject.idl>
+
+#include <com/sun/star/uno/XInterface.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a keyboard focus event.
+
+ <p>There are two levels of focus change events: permanent and temporary.
+ Permanent focus change events occur when focus is directly moved
+ from one component to another, such as through calls to requestFocus()
+ or as the user uses the Tab key to traverse components.
+ Temporary focus change events occur when focus is
+ gained or lost for a component as the indirect result of another
+ operation, such as window deactivation or a scrollbar drag. In this
+ case, the original focus state will automatically be restored once
+ that operation is finished, or for the case of window deactivation,
+ when the window is reactivated. Both permanent and temporary focus
+ events are delivered using the FOCUS_GAINED and FOCUS_LOST event ids;
+ the levels may be distinguished in the event using the isTemporary()
+ method.</p>
+ */
+published struct FocusEvent: com::sun::star::lang::EventObject
+{
+
+ /** specifies the reason for the focus change as an arithmetic-or
+ combination of FocusChangeReason.
+
+ @see FocusChangeReason
+ */
+ short FocusFlags;
+
+
+ /** contains the window which gets the focus on a lose focus event.
+ */
+ com::sun::star::uno::XInterface NextFocus;
+
+
+ /** specifies if this focus change event is a temporary change.
+ */
+ boolean Temporary;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/FontDescriptor.idl b/offapi/com/sun/star/awt/FontDescriptor.idl
new file mode 100644
index 000000000..3e83889e0
--- /dev/null
+++ b/offapi/com/sun/star/awt/FontDescriptor.idl
@@ -0,0 +1,163 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_FontDescriptor_idl__
+#define __com_sun_star_awt_FontDescriptor_idl__
+
+#include <com/sun/star/awt/FontSlant.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** describes the characteristics of a font.
+
+ <p>For example, this can be used to select a font.</p>
+ */
+published struct FontDescriptor
+{
+
+ /** specifies the exact name of the font.
+ */
+ string Name;
+
+
+ /** specifies the height of the font in the measure of the
+ destination.
+ */
+ short Height;
+
+
+ /** specifies the width of the font in the measure of the
+ destination.
+ */
+ short Width;
+
+
+ /** specifies the style name of the font.
+ */
+ string StyleName;
+
+
+ /** specifies the general style of the font.
+
+ <p>Use one value out of the constant group
+ com::sun::star::awt::FontFamily.</p>
+ */
+ short Family;
+
+
+ /** specifies the character set which is supported by the font.
+
+ <p>Use one value out of the constant group
+ com::sun::star::awt::CharSet.</p>
+ */
+ short CharSet;
+
+
+ /** specifies the pitch of the font.
+
+ <p>Use one value out of the constant group
+ com::sun::star::awt::FontPitch.</p>
+ */
+ short Pitch;
+
+
+ /** specifies the character width.
+
+ <p>Depending on the specified width, a font that supports this
+ width may be selected.</p>
+
+ <p>The value is expressed as a percentage.</p>
+ */
+ float CharacterWidth;
+
+
+ /** specifies the thickness of the line.
+
+ <p>Depending on the specified weight, a font that supports this
+ thickness may be selected.</p>
+
+ <p>The value is expressed as a percentage.</p>
+ */
+ float Weight;
+
+
+ /** specifies the slant of the font.
+ */
+ com::sun::star::awt::FontSlant Slant;
+
+
+ /** specifies the kind of underlining.
+
+ <p>Use one value out of the constant group
+ com::sun::star::awt::FontUnderline.</p>
+ */
+ short Underline;
+
+
+ /** specifies the kind of strikeout.
+
+ <p>Use one value out of the constant group
+ com::sun::star::awt::FontStrikeout.</p>
+ */
+ short Strikeout;
+
+
+ /** specifies the rotation of the font.
+
+ <p>The unit of measure is degrees; 0 is the baseline.</p>
+ */
+ float Orientation;
+
+
+ /** For requesting, it specifies if there is a kerning table available.
+ For selecting, it specifies if the kerning table is to be used.
+ */
+ boolean Kerning;
+
+
+ /** specifies if only words get underlined.
+
+ <p>`TRUE` means that only non-space characters get underlined,
+ `FALSE` means that the spacing also gets underlined.</p>
+
+ <p>This property is only valid if the property
+ com::sun::star::awt::FontDescriptor::Underline
+ is not FontUnderline::NONE.</p>
+ */
+ boolean WordLineMode;
+
+
+ /** specifies the technology of the font representation.
+
+ <p>One or more values out of the constant group
+ com::sun::star::awt::FontType can be combined by
+ an arithmetical or-operation.</p>
+ */
+ short Type;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/FontEmphasisMark.idl b/offapi/com/sun/star/awt/FontEmphasisMark.idl
new file mode 100644
index 000000000..7fa3641d7
--- /dev/null
+++ b/offapi/com/sun/star/awt/FontEmphasisMark.idl
@@ -0,0 +1,78 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_FontEmphasisMark_idl__
+#define __com_sun_star_awt_FontEmphasisMark_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** These values are used to specify the kind of emphasis mark.
+
+ <p>They may be expanded in future versions.</p>
+ */
+published constants FontEmphasisMark
+{
+
+ /** specifies no emphasis mark.
+ */
+ const short NONE = 0x0000;
+
+
+ /** specifies emphasis mark dot.
+ */
+ const short DOT = 0x0001;
+
+
+ /** specifies emphasis mark circle.
+ */
+ const short CIRCLE = 0x0002;
+
+
+ /** specifies emphasis mark disc.
+ */
+ const short DISC = 0x0003;
+
+
+ /** specifies emphasis mark accent.
+ */
+ const short ACCENT = 0x0004;
+
+
+ /** specifies that the emphasis mark should be positioned above the
+ characters.
+ */
+ const short ABOVE = 0x1000;
+
+
+ /** specifies that the emphasis mark should be positioned below the
+ characters.
+ */
+ const short BELOW = 0x2000;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/FontFamily.idl b/offapi/com/sun/star/awt/FontFamily.idl
new file mode 100644
index 000000000..88f37f888
--- /dev/null
+++ b/offapi/com/sun/star/awt/FontFamily.idl
@@ -0,0 +1,75 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_FontFamily_idl__
+#define __com_sun_star_awt_FontFamily_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** These values are used to specify the general kind of font.
+
+ <p>They may be expanded in future versions.</p>
+ */
+published constants FontFamily
+{
+
+ /** specifies an unknown font family.
+ */
+ const short DONTKNOW = 0;
+
+
+ /** specifies the family of decorative fonts.
+ */
+ const short DECORATIVE = 1;
+
+
+ /** specifies the family of modern fonts.
+ */
+ const short MODERN = 2;
+
+
+ /** specifies the family roman fonts (with serifs).
+ */
+ const short ROMAN = 3;
+
+
+ /** specifies the family of script fonts.
+ */
+ const short SCRIPT = 4;
+
+
+ /** specifies the family roman fonts (without serifs).
+ */
+ const short SWISS = 5;
+
+
+ /** specifies the family system fonts.
+ */
+ const short SYSTEM = 6;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/FontPitch.idl b/offapi/com/sun/star/awt/FontPitch.idl
new file mode 100644
index 000000000..fac202182
--- /dev/null
+++ b/offapi/com/sun/star/awt/FontPitch.idl
@@ -0,0 +1,56 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_FontPitch_idl__
+#define __com_sun_star_awt_FontPitch_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** These values are used to specify whether the width of a character is
+ fixed or variable.
+
+ <p>They may be expanded in future versions.</p>
+ */
+published constants FontPitch
+{
+
+ /** specifies that the pitch for this font is unknown.
+ */
+ const short DONTKNOW = 0;
+
+
+ /** specifies a font with a fixed character width.
+ */
+ const short FIXED = 1;
+
+
+ /** specifies a font with a variable character width.
+ */
+ const short VARIABLE = 2;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/FontRelief.idl b/offapi/com/sun/star/awt/FontRelief.idl
new file mode 100644
index 000000000..2807b883f
--- /dev/null
+++ b/offapi/com/sun/star/awt/FontRelief.idl
@@ -0,0 +1,56 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_FontRelief_idl__
+#define __com_sun_star_awt_FontRelief_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** These values are used to specify the kind of relief.
+
+ <p>They may be expanded in future versions.</p>
+ */
+
+published constants FontRelief
+{
+
+ /** specifies no relief.
+ */
+ const short NONE = 0;
+
+
+ /** specifies no embossed.
+ */
+ const short EMBOSSED = 1;
+
+
+ /** specifies no engraved.
+ */
+ const short ENGRAVED = 2;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/FontSlant.idl b/offapi/com/sun/star/awt/FontSlant.idl
new file mode 100644
index 000000000..7f56b159e
--- /dev/null
+++ b/offapi/com/sun/star/awt/FontSlant.idl
@@ -0,0 +1,68 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_FontSlant_idl__
+#define __com_sun_star_awt_FontSlant_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** used to specify the slant of a font.
+ */
+published enum FontSlant
+{
+
+ /** specifies a font without slant.
+ */
+ NONE,
+
+
+ /** specifies an oblique font (slant not designed into the font).
+ */
+ OBLIQUE,
+
+
+ /** specifies an italic font (slant designed into the font).
+ */
+ ITALIC,
+
+
+ /** specifies a font with an unknown slant.
+ */
+ DONTKNOW,
+
+
+ /** specifies a reverse oblique font (slant not designed into the font).
+ */
+ REVERSE_OBLIQUE,
+
+
+ /** specifies a reverse italic font (slant designed into the font).
+ */
+ REVERSE_ITALIC
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/FontStrikeout.idl b/offapi/com/sun/star/awt/FontStrikeout.idl
new file mode 100644
index 000000000..f813df349
--- /dev/null
+++ b/offapi/com/sun/star/awt/FontStrikeout.idl
@@ -0,0 +1,75 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_FontStrikeout_idl__
+#define __com_sun_star_awt_FontStrikeout_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** These values are used to specify the kind of strikeout.
+
+ <p>They may be expanded in future versions.</p>
+ */
+published constants FontStrikeout
+{
+
+ /** specifies not to strike out the characters.
+ */
+ const short NONE = 0;
+
+
+ /** specifies to strike out the characters with a single line.
+ */
+ const short SINGLE = 1;
+
+
+ /** specifies to strike out the characters with a double line.
+ */
+ const short DOUBLE = 2;
+
+
+ /** The strikeout mode is not specified.
+ */
+ const short DONTKNOW = 3;
+
+
+ /** specifies to strike out the characters with a bold line.
+ */
+ const short BOLD = 4;
+
+
+ /** specifies to strike out the characters with slashes.
+ */
+ const short SLASH = 5;
+
+
+ /** specifies to strike out the characters with X's.
+ */
+ const short X = 6;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/FontType.idl b/offapi/com/sun/star/awt/FontType.idl
new file mode 100644
index 000000000..76ab60e61
--- /dev/null
+++ b/offapi/com/sun/star/awt/FontType.idl
@@ -0,0 +1,60 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_FontType_idl__
+#define __com_sun_star_awt_FontType_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** These values are used to specify the technology of the font representation.
+
+ <p>They may be expanded in future versions.</p>
+ */
+published constants FontType
+{
+
+ /** The type of the font is not known.
+ */
+ const short DONTKNOW = 0;
+
+
+ /** specifies a raster font.
+ */
+ const short RASTER = 1;
+
+
+ /** specifies a device font.
+ */
+ const short DEVICE = 2;
+
+
+ /** specifies a scalable font.
+ */
+ const short SCALABLE = 4;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/FontUnderline.idl b/offapi/com/sun/star/awt/FontUnderline.idl
new file mode 100644
index 000000000..7f6d56fad
--- /dev/null
+++ b/offapi/com/sun/star/awt/FontUnderline.idl
@@ -0,0 +1,135 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_FontUnderline_idl__
+#define __com_sun_star_awt_FontUnderline_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** These values are used to specify the kind of underlining.
+
+ <p>They may be expanded in future versions.</p>
+ */
+published constants FontUnderline
+{
+
+ /** specifies no underlining.
+ */
+ const short NONE = 0;
+
+
+ /** specifies underlining with a single line.
+ */
+ const short SINGLE = 1;
+
+
+ /** specifies underlining with a double line.
+ */
+ const short DOUBLE = 2;
+
+
+ /** specifies underlining with a dotted line.
+ */
+ const short DOTTED = 3;
+
+
+ /** The kind of underlining is not known.
+ */
+ const short DONTKNOW = 4;
+
+
+ /** specifies underlining with a dashed line.
+ */
+ const short DASH = 5;
+
+
+ /** specifies underlining with long dashes.
+ */
+ const short LONGDASH = 6;
+
+
+ /** specifies underlining with a dash and dot sequence.
+ */
+ const short DASHDOT = 7;
+
+
+ /** specifies underlining with a dash, dot, dot sequence.
+ */
+ const short DASHDOTDOT = 8;
+
+
+ /** specifies underlining with a small wave.
+ */
+ const short SMALLWAVE = 9;
+
+
+ /** specifies underlining with a wave.
+ */
+ const short WAVE = 10;
+
+
+ /** specifies underlining with a double wave.
+ */
+ const short DOUBLEWAVE = 11;
+
+
+ /** specifies underlining with a bold line.
+ */
+ const short BOLD = 12;
+
+
+ /** specifies underlining with bold dots.
+ */
+ const short BOLDDOTTED = 13;
+
+
+ /** specifies underlining with bold dashes.
+ */
+ const short BOLDDASH = 14;
+
+
+ /** specifies underlining with long bold dashes.
+ */
+ const short BOLDLONGDASH = 15;
+
+
+ /** specifies underlining with a dash and dot sequence in bold.
+ */
+ const short BOLDDASHDOT = 16;
+
+
+ /** specifies underlining with a dash, dot, dot sequence in bold.
+ */
+ const short BOLDDASHDOTDOT = 17;
+
+
+ /** specifies underlining with a bold wave.
+ */
+ const short BOLDWAVE = 18;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/FontWeight.idl b/offapi/com/sun/star/awt/FontWeight.idl
new file mode 100644
index 000000000..d6377e5f6
--- /dev/null
+++ b/offapi/com/sun/star/awt/FontWeight.idl
@@ -0,0 +1,90 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_FontWeight_idl__
+#define __com_sun_star_awt_FontWeight_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** These values are used to specify whether a font is thin or bold.
+
+ <p>They may be expanded in future versions.</p>
+ */
+published constants FontWeight
+{
+
+ /** The font weight is not specified/known.
+ */
+ const float DONTKNOW = 0.000000;
+
+
+ /** specifies a 50% font weight.
+ */
+ const float THIN = 50.000000;
+
+
+ /** specifies a 60% font weight.
+ */
+ const float ULTRALIGHT = 60.000000;
+
+
+ /** specifies a 75% font weight.
+ */
+ const float LIGHT = 75.000000;
+
+
+ /** specifies a 90% font weight.
+ */
+ const float SEMILIGHT = 90.000000;
+
+
+ /** specifies a normal font weight.
+ */
+ const float NORMAL = 100.000000;
+
+
+ /** specifies a 110% font weight.
+ */
+ const float SEMIBOLD = 110.000000;
+
+
+ /** specifies a 150% font weight.
+ */
+ const float BOLD = 150.000000;
+
+
+ /** specifies a 175% font weight.
+ */
+ const float ULTRABOLD = 175.000000;
+
+
+ /** specifies a 200% font weight.
+ */
+ const float BLACK = 200.000000;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/FontWidth.idl b/offapi/com/sun/star/awt/FontWidth.idl
new file mode 100644
index 000000000..40b86a278
--- /dev/null
+++ b/offapi/com/sun/star/awt/FontWidth.idl
@@ -0,0 +1,90 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_FontWidth_idl__
+#define __com_sun_star_awt_FontWidth_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** These values are used to specify the width of the characters of a font.
+
+ <p>They may be expanded in future versions.</p>
+ */
+published constants FontWidth
+{
+
+ /** The width of the font is not specified/known.
+ */
+ const float DONTKNOW = 0.000000;
+
+
+ /** The width of the font is condensed to 50%.
+ */
+ const float ULTRACONDENSED = 50.000000;
+
+
+ /** The width of the font is condensed to 60%.
+ */
+ const float EXTRACONDENSED = 60.000000;
+
+
+ /** The width of the font is condensed to 75%.
+ */
+ const float CONDENSED = 75.000000;
+
+
+ /** The width of the font is condensed to 90%.
+ */
+ const float SEMICONDENSED = 90.000000;
+
+
+ /** The width of the font is normal.
+ */
+ const float NORMAL = 100.000000;
+
+
+ /** The width of the font is expanded to 110%.
+ */
+ const float SEMIEXPANDED = 110.000000;
+
+
+ /** The width of the font is expanded to 150%.
+ */
+ const float EXPANDED = 150.000000;
+
+
+ /** The width of the font is expanded to 175%.
+ */
+ const float EXTRAEXPANDED = 175.000000;
+
+
+ /** The width of the font is expanded to 200%.
+ */
+ const float ULTRAEXPANDED = 200.000000;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/Gradient.idl b/offapi/com/sun/star/awt/Gradient.idl
new file mode 100644
index 000000000..caa722a22
--- /dev/null
+++ b/offapi/com/sun/star/awt/Gradient.idl
@@ -0,0 +1,98 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_Gradient_idl__
+#define __com_sun_star_awt_Gradient_idl__
+
+#include <com/sun/star/awt/GradientStyle.idl>
+
+#include <com/sun/star/util/Color.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** Describes a gradient between two colors. Many aspects of the
+ * gradient are undefined, like the algorithm and color space to use
+ * to interpolate between the colors and what "intensity" means.
+ */
+published struct Gradient
+{
+
+ /** specifies the style of the gradient.
+ */
+ com::sun::star::awt::GradientStyle Style;
+
+
+ /** specifies the color at the start point of the gradient.
+ */
+ com::sun::star::util::Color StartColor;
+
+
+ /** specifies the color at the end point of the gradient.
+ */
+ com::sun::star::util::Color EndColor;
+
+
+ /** angle of the gradient in 1/10 degree.
+ */
+ short Angle;
+
+
+ /** per cent of the total width where just the start color is used.
+ */
+ short Border;
+
+
+ /** Specifies the X-coordinate, where the gradient begins.
+ * This is effectively the center of the RADIAL, ELLIPTICAL, SQUARE and
+ * RECT style gradients.
+ */
+ short XOffset;
+
+
+ /** Specifies the Y-coordinate, where the gradient begins. See
+ previous field.
+ */
+ short YOffset;
+
+
+ /** Specifies the intensity at the start point of the gradient. What that means is undefined.
+ */
+ short StartIntensity;
+
+
+ /** specifies the intensity at the end point of the gradient.
+ */
+ short EndIntensity;
+
+
+ /** Specifies the number of steps of change color. What that means
+ * is undefined.
+ */
+ short StepCount;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/GradientStyle.idl b/offapi/com/sun/star/awt/GradientStyle.idl
new file mode 100644
index 000000000..afb6df0aa
--- /dev/null
+++ b/offapi/com/sun/star/awt/GradientStyle.idl
@@ -0,0 +1,68 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_GradientStyle_idl__
+#define __com_sun_star_awt_GradientStyle_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specify the style of color dispersion.
+ */
+published enum GradientStyle
+{
+
+ /** specifies a linear gradient.
+ */
+ LINEAR,
+
+
+ /** specifies an axial gradient.
+ */
+ AXIAL,
+
+
+ /** specifies a radial gradient.
+ */
+ RADIAL,
+
+
+ /** specifies an elliptical gradient.
+ */
+ ELLIPTICAL,
+
+
+ /** specifies a gradient in the shape of a square.
+ */
+ SQUARE,
+
+
+ /** specifies a gradient in the shape of a rectangle.
+ */
+ RECT
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/ImageAlign.idl b/offapi/com/sun/star/awt/ImageAlign.idl
new file mode 100644
index 000000000..b50b01c47
--- /dev/null
+++ b/offapi/com/sun/star/awt/ImageAlign.idl
@@ -0,0 +1,58 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_ImageAlign_idl__
+#define __com_sun_star_awt_ImageAlign_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the alignment of an image.
+ */
+published constants ImageAlign
+{
+
+ /** specifies to align left.
+ */
+ const short LEFT = 0;
+
+
+ /** specifies to align top.
+ */
+ const short TOP = 1;
+
+
+ /** specifies to align right.
+ */
+ const short RIGHT = 2;
+
+
+ /** specifies to align bottom.
+ */
+ const short BOTTOM = 3;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/ImageDrawMode.idl b/offapi/com/sun/star/awt/ImageDrawMode.idl
new file mode 100644
index 000000000..328b06899
--- /dev/null
+++ b/offapi/com/sun/star/awt/ImageDrawMode.idl
@@ -0,0 +1,58 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_ImageDrawMode_idl__
+#define __com_sun_star_awt_ImageDrawMode_idl__
+
+module com { module sun { module star { module awt {
+
+/** defines modes how an image is drawn onto a device
+
+ @see com::sun::star::awt::XGraphics2::drawImage()
+ @since LibreOffice 4.1
+ */
+constants ImageDrawMode
+{
+ /** the image is drawn as is, without any color transformation.
+ */
+ const short NONE = 0x0000;
+
+ /** the image is drawn as if it represented a feature whose state is disabled.
+ */
+ const short DISABLE = 0x0001;
+
+ /** the image is drawn as being highlighted.
+ See com::sun::star::awt::XStyleSettings::HighlightColor.
+ */
+ const short HIGHLIGHT = 0x0002;
+
+ /** the image is drawn as being deactivated.
+ See com::sun::star::awt::XStyleSettings::DeactiveColor.
+ */
+ const short DEACTIVE = 0x0004;
+
+ /** the image is drawn semi-transparent.
+ */
+ const short SEMITRANSPARENT = 0x0010;
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/ImagePosition.idl b/offapi/com/sun/star/awt/ImagePosition.idl
new file mode 100644
index 000000000..84cda7027
--- /dev/null
+++ b/offapi/com/sun/star/awt/ImagePosition.idl
@@ -0,0 +1,91 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_ImagePosition_idl__
+#define __com_sun_star_awt_ImagePosition_idl__
+
+
+module com { module sun { module star { module awt {
+
+
+/** specifies the position of an image, relative to another object
+
+ @see ImageAlign
+*/
+constants ImagePosition
+{
+ /** specifies that the image should be positioned at the left of, and top-aligned to, the other object
+ */
+ const short LeftTop = 0;
+
+ /** specifies that the image should be positioned at the left of, and vertically centered to, the other object
+ */
+ const short LeftCenter = 1;
+
+ /** specifies that the image should be positioned at the left of, and bottom-aligned to, the other object
+ */
+ const short LeftBottom = 2;
+
+ /** specifies that the image should be positioned at the right of, and top-aligned to, the other object
+ */
+ const short RightTop = 3;
+
+ /** specifies that the image should be positioned at the right of, and vertically centered to, the other object
+ */
+ const short RightCenter = 4;
+
+ /** specifies that the image should be positioned at the right of, and bottom-aligned to, the other object
+ */
+ const short RightBottom = 5;
+
+ /** specifies that the image should be positioned above and left-aligned to the other object
+ */
+ const short AboveLeft = 6;
+
+ /** specifies that the image should be positioned above and horizontally centered to the other object
+ */
+ const short AboveCenter = 7;
+
+ /** specifies that the image should be positioned above and right-aligned to the other object
+ */
+ const short AboveRight = 8;
+
+ /** specifies that the image should be positioned below and left-aligned to the other object
+ */
+ const short BelowLeft = 9;
+
+ /** specifies that the image should be positioned below and horizontally centered to the other object
+ */
+ const short BelowCenter = 10;
+
+ /** specifies that the image should be positioned below and right-aligned centered to the other object
+ */
+ const short BelowRight = 11;
+
+ /** specifies that the image should be horizontally and vertically centered to the other object.
+ */
+ const short Centered = 12;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/ImageScaleMode.idl b/offapi/com/sun/star/awt/ImageScaleMode.idl
new file mode 100644
index 000000000..cb05a16a7
--- /dev/null
+++ b/offapi/com/sun/star/awt/ImageScaleMode.idl
@@ -0,0 +1,49 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_ImageScaleMode_idl__
+#define __com_sun_star_awt_ImageScaleMode_idl__
+
+module com { module sun { module star { module awt {
+
+/** defines modes how an image displayed in a given area should be scaled to fit this area
+ */
+constants ImageScaleMode
+{
+ /** specifies that no scaling should happen at all
+ */
+ const short NONE = 0;
+
+ /** specifies that the image should be scaled up or down to the size of the surrounding area isotropically,
+ i.e. by keeping its aspect ratio.
+ */
+ const short ISOTROPIC = 1;
+
+ /** specifies that the image should be scaled up or down to the size of the surrounding area anisotropically.
+
+ <p>The image will finally cover all of the surrounding area, but its dimensions might be distorted.</p>
+ */
+ const short ANISOTROPIC = 2;
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/ImageStatus.idl b/offapi/com/sun/star/awt/ImageStatus.idl
new file mode 100644
index 000000000..7ca9f4447
--- /dev/null
+++ b/offapi/com/sun/star/awt/ImageStatus.idl
@@ -0,0 +1,60 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_ImageStatus_idl__
+#define __com_sun_star_awt_ImageStatus_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** These values are used to specify to which degree an image is available.
+ */
+published constants ImageStatus
+{
+
+ /** This conveys that an error was encountered while producing the image.
+ */
+ const long IMAGESTATUS_ERROR = 1;
+
+
+ /** This conveys that one frame of the image is complete but there are more
+ frames to be delivered.
+ */
+ const long IMAGESTATUS_SINGLEFRAMEDONE = 2;
+
+
+ /** This conveys that the image is complete and there are no more pixels or
+ frames to be delivered.
+ */
+ const long IMAGESTATUS_STATICIMAGEDONE = 3;
+
+
+ /** This conveys that the image creation process was deliberately aborted.
+ */
+ const long IMAGESTATUS_ABORTED = 4;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/InputEvent.idl b/offapi/com/sun/star/awt/InputEvent.idl
new file mode 100644
index 000000000..303fa21ba
--- /dev/null
+++ b/offapi/com/sun/star/awt/InputEvent.idl
@@ -0,0 +1,53 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_InputEvent_idl__
+#define __com_sun_star_awt_InputEvent_idl__
+
+#include <com/sun/star/lang/EventObject.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** the root event class for all component-level input events.
+
+ <p>Input events are delivered to listeners before they are
+ processed normally by the source where they originated.</p>
+
+ @see WindowEvent
+ */
+published struct InputEvent: com::sun::star::lang::EventObject
+{
+
+ /** contains the modifier keys which were pressed while the event occurred.
+
+ <p>Zero or more constants from the
+ com::sun::star::awt::KeyModifier group.</p>
+ */
+ short Modifiers;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/InvalidateStyle.idl b/offapi/com/sun/star/awt/InvalidateStyle.idl
new file mode 100644
index 000000000..8d043c076
--- /dev/null
+++ b/offapi/com/sun/star/awt/InvalidateStyle.idl
@@ -0,0 +1,73 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_InvalidateStyle_idl__
+#define __com_sun_star_awt_InvalidateStyle_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies how to invalidate windows.
+ */
+published constants InvalidateStyle
+{
+
+ /** The child windows are invalidated, too.
+ */
+ const short CHILDREN = 1;
+
+
+ /** The child windows are not invalidated.
+ */
+ const short NOCHILDREN = 2;
+
+
+ /** The invalidated area is painted with the background color/pattern.
+ */
+ const short NOERASE = 4;
+
+
+ /** The invalidated area is updated immediately.
+ */
+ const short UPDATE = 8;
+
+
+ /** The parent window is invalidated, too.
+ */
+ const short TRANSPARENT = 16;
+
+
+ /** The parent window is not invalidated.
+ */
+ const short NOTRANSPARENT = 32;
+
+
+ /** The area is invalidated regardless of overlapping child windows.
+ */
+ const short NOCLIPCHILDREN = 16384;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/ItemEvent.idl b/offapi/com/sun/star/awt/ItemEvent.idl
new file mode 100644
index 000000000..2cd762148
--- /dev/null
+++ b/offapi/com/sun/star/awt/ItemEvent.idl
@@ -0,0 +1,55 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_ItemEvent_idl__
+#define __com_sun_star_awt_ItemEvent_idl__
+
+#include <com/sun/star/lang/EventObject.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies an event occurred to an item of a menu, a list box etc.
+ */
+published struct ItemEvent: com::sun::star::lang::EventObject
+{
+
+ /** specifies which item is newly selected.
+ */
+ long Selected;
+
+
+ /** specifies which item is newly highlighted.
+ */
+ long Highlighted;
+
+
+ /** specifies the id of the item.
+ */
+ long ItemId;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/ItemListEvent.idl b/offapi/com/sun/star/awt/ItemListEvent.idl
new file mode 100644
index 000000000..85e702396
--- /dev/null
+++ b/offapi/com/sun/star/awt/ItemListEvent.idl
@@ -0,0 +1,67 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_ItemListEvent_idl__
+#define __com_sun_star_awt_ItemListEvent_idl__
+
+#include <com/sun/star/lang/EventObject.idl>
+#include <com/sun/star/beans/Optional.idl>
+
+
+module com { module sun { module star { module awt {
+
+
+/** is the event broadcasted by a XListItems implementation for changes
+ in its item list.
+ */
+struct ItemListEvent : ::com::sun::star::lang::EventObject
+{
+ /** specifies the position of the item which is affected by the event
+
+ <p>In case the event is not related to a single item, but to the complete list, the value of this
+ member is undefined.</p>
+ */
+ long ItemPosition;
+
+ /** the text of the item.
+
+ <p>If the event being notified did not touch the text of an item, this member is empty. For instance, upon
+ invocation of XItemList::setItemImage(), only <code>ItemImageURL</code> will be set, and
+ <code>ItemText</code> will be empty.</p>
+ */
+ ::com::sun::star::beans::Optional< string >
+ ItemText;
+
+ /** the URL of the image of the item
+
+ <p>If the event being notified did not touch the image of an item, this member is empty. For instance, upon
+ invocation of XItemList::setItemText(), only <code>ItemText</code> will be set, and
+ <code>ItemImageURL</code> will be empty.</p>
+ */
+ ::com::sun::star::beans::Optional< string >
+ ItemImageURL;
+};
+
+
+}; }; }; };
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/Key.idl b/offapi/com/sun/star/awt/Key.idl
new file mode 100644
index 000000000..7ad04ae22
--- /dev/null
+++ b/offapi/com/sun/star/awt/Key.idl
@@ -0,0 +1,462 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_Key_idl__
+#define __com_sun_star_awt_Key_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** These values are used to specify distinct physical keys, plus
+ some special values used by the macOS implementation.
+ */
+published constants Key
+{
+
+ const short NUM0 = 256;
+
+
+ const short NUM1 = 257;
+
+
+ const short NUM2 = 258;
+
+
+ const short NUM3 = 259;
+
+
+ const short NUM4 = 260;
+
+
+ const short NUM5 = 261;
+
+
+ const short NUM6 = 262;
+
+
+ const short NUM7 = 263;
+
+
+ const short NUM8 = 264;
+
+
+ const short NUM9 = 265;
+
+
+ const short A = 512;
+
+
+ const short B = 513;
+
+
+ const short C = 514;
+
+
+ const short D = 515;
+
+
+ const short E = 516;
+
+
+ const short F = 517;
+
+
+ const short G = 518;
+
+
+ const short H = 519;
+
+
+ const short I = 520;
+
+
+ const short J = 521;
+
+
+ const short K = 522;
+
+
+ const short L = 523;
+
+
+ const short M = 524;
+
+
+ const short N = 525;
+
+
+ const short O = 526;
+
+
+ const short P = 527;
+
+
+ const short Q = 528;
+
+
+ const short R = 529;
+
+
+ const short S = 530;
+
+
+ const short T = 531;
+
+
+ const short U = 532;
+
+
+ const short V = 533;
+
+
+ const short W = 534;
+
+
+ const short X = 535;
+
+
+ const short Y = 536;
+
+
+ const short Z = 537;
+
+
+ const short F1 = 768;
+
+
+ const short F2 = 769;
+
+
+ const short F3 = 770;
+
+
+ const short F4 = 771;
+
+
+ const short F5 = 772;
+
+
+ const short F6 = 773;
+
+
+ const short F7 = 774;
+
+
+ const short F8 = 775;
+
+
+ const short F9 = 776;
+
+
+ const short F10 = 777;
+
+
+ const short F11 = 778;
+
+
+ const short F12 = 779;
+
+
+ const short F13 = 780;
+
+
+ const short F14 = 781;
+
+
+ const short F15 = 782;
+
+
+ const short F16 = 783;
+
+
+ const short F17 = 784;
+
+
+ const short F18 = 785;
+
+
+ const short F19 = 786;
+
+
+ const short F20 = 787;
+
+
+ const short F21 = 788;
+
+
+ const short F22 = 789;
+
+
+ const short F23 = 790;
+
+
+ const short F24 = 791;
+
+
+ const short F25 = 792;
+
+
+ const short F26 = 793;
+
+
+ const short DOWN = 1024;
+
+
+ const short UP = 1025;
+
+
+ const short LEFT = 1026;
+
+
+ const short RIGHT = 1027;
+
+
+ const short HOME = 1028;
+
+
+ const short END = 1029;
+
+
+ const short PAGEUP = 1030;
+
+
+ const short PAGEDOWN = 1031;
+
+
+ const short RETURN = 1280;
+
+
+ const short ESCAPE = 1281;
+
+
+ const short TAB = 1282;
+
+
+ const short BACKSPACE = 1283;
+
+
+ const short SPACE = 1284;
+
+
+ const short INSERT = 1285;
+
+
+ const short DELETE = 1286;
+
+
+ const short ADD = 1287;
+
+
+ const short SUBTRACT = 1288;
+
+
+ const short MULTIPLY = 1289;
+
+
+ const short DIVIDE = 1290;
+
+
+ const short POINT = 1291;
+
+
+ const short COMMA = 1292;
+
+
+ const short LESS = 1293;
+
+
+ const short GREATER = 1294;
+
+
+ const short EQUAL = 1295;
+
+
+ const short OPEN = 1296;
+
+
+ const short CUT = 1297;
+
+
+ const short COPY = 1298;
+
+
+ const short PASTE = 1299;
+
+
+ const short UNDO = 1300;
+
+
+ const short REPEAT = 1301;
+
+
+ const short FIND = 1302;
+
+
+ const short PROPERTIES = 1303;
+
+
+ const short FRONT = 1304;
+
+
+ const short CONTEXTMENU = 1305;
+
+
+ const short HELP = 1306;
+
+
+ const short MENU = 1307;
+
+
+ const short HANGUL_HANJA = 1308;
+
+
+ const short DECIMAL = 1309;
+
+
+ const short TILDE = 1310;
+
+
+ const short QUOTELEFT = 1311;
+
+
+ const short CAPSLOCK = 1312;
+
+
+ const short NUMLOCK = 1313;
+
+
+ const short SCROLLLOCK = 1314;
+
+
+ const short DELETE_TO_BEGIN_OF_LINE = 1536;
+
+
+ const short DELETE_TO_END_OF_LINE = 1537;
+
+
+ const short DELETE_TO_BEGIN_OF_PARAGRAPH = 1538;
+
+
+ const short BRACKETLEFT = 1315;
+
+
+ const short BRACKETRIGHT = 1316;
+
+
+ const short SEMICOLON = 1317;
+
+
+ /** @since LibreOffice 4.3 **/
+ const short QUOTERIGHT = 1318;
+
+
+ /** The following values don't correspond to physical keys on any
+ keyboard but are used in the macOS implementation of VCL. They
+ correspond to some of the action messages of the NSResponder
+ abstract class.
+ */
+
+ const short DELETE_TO_END_OF_PARAGRAPH = 1539;
+
+
+ const short DELETE_WORD_BACKWARD = 1540;
+
+
+ const short DELETE_WORD_FORWARD = 1541;
+
+
+ const short INSERT_LINEBREAK = 1542;
+
+
+ const short INSERT_PARAGRAPH = 1543;
+
+
+ const short MOVE_WORD_BACKWARD = 1544;
+
+
+ const short MOVE_WORD_FORWARD = 1545;
+
+
+ const short MOVE_TO_BEGIN_OF_LINE = 1546;
+
+
+ const short MOVE_TO_END_OF_LINE = 1547;
+
+
+ const short MOVE_TO_BEGIN_OF_PARAGRAPH = 1548;
+
+
+ const short MOVE_TO_END_OF_PARAGRAPH = 1549;
+
+
+ const short SELECT_BACKWARD = 1550;
+
+
+ const short SELECT_FORWARD = 1551;
+
+
+ const short SELECT_WORD_BACKWARD = 1552;
+
+
+ const short SELECT_WORD_FORWARD = 1553;
+
+
+ const short SELECT_WORD = 1554;
+
+
+ const short SELECT_LINE = 1555;
+
+
+ const short SELECT_PARAGRAPH = 1556;
+
+
+ const short SELECT_ALL = 1557;
+
+
+ const short SELECT_TO_BEGIN_OF_LINE = 1558;
+
+
+ const short SELECT_TO_END_OF_LINE = 1559;
+
+
+ const short MOVE_TO_BEGIN_OF_DOCUMENT = 1560;
+
+
+ const short MOVE_TO_END_OF_DOCUMENT = 1561;
+
+
+ const short SELECT_TO_BEGIN_OF_DOCUMENT = 1562;
+
+
+ const short SELECT_TO_END_OF_DOCUMENT = 1563;
+
+
+ const short SELECT_TO_BEGIN_OF_PARAGRAPH = 1564;
+
+
+ const short SELECT_TO_END_OF_PARAGRAPH = 1565;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/KeyEvent.idl b/offapi/com/sun/star/awt/KeyEvent.idl
new file mode 100644
index 000000000..3f1489d2c
--- /dev/null
+++ b/offapi/com/sun/star/awt/KeyEvent.idl
@@ -0,0 +1,62 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_KeyEvent_idl__
+#define __com_sun_star_awt_KeyEvent_idl__
+
+#include <com/sun/star/awt/InputEvent.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a key event.
+
+ @see InputEvent
+ */
+published struct KeyEvent: com::sun::star::awt::InputEvent
+{
+
+ /** contains the integer code representing the key of the event.
+
+ <p>This is a constant from the constant group Key.</p>
+ */
+ short KeyCode;
+
+
+ /** contains the Unicode character generated by this event or 0.
+ */
+ char KeyChar;
+
+
+ /** contains the function type of the key event.
+
+ <p>This is a constant from the constant group
+ KeyFunction.</p>
+ */
+ short KeyFunc;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/KeyFunction.idl b/offapi/com/sun/star/awt/KeyFunction.idl
new file mode 100644
index 000000000..132c68b0f
--- /dev/null
+++ b/offapi/com/sun/star/awt/KeyFunction.idl
@@ -0,0 +1,95 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_KeyFunction_idl__
+#define __com_sun_star_awt_KeyFunction_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** These values are used to specify logical key functions.
+ */
+published constants KeyFunction
+{
+
+ const short DONTKNOW = 0;
+
+
+ const short NEW = 1;
+
+
+ const short OPEN = 2;
+
+
+ const short SAVE = 3;
+
+
+ const short SAVEAS = 4;
+
+
+ const short PRINT = 5;
+
+
+ const short CLOSE = 6;
+
+
+ const short QUIT = 7;
+
+
+ const short CUT = 8;
+
+
+ const short COPY = 9;
+
+
+ const short PASTE = 10;
+
+
+ const short UNDO = 11;
+
+
+ const short REDO = 12;
+
+
+ const short DELETE = 13;
+
+
+ const short REPEAT = 14;
+
+
+ const short FIND = 15;
+
+
+ const short FINDBACKWARD = 16;
+
+
+ const short PROPERTIES = 17;
+
+
+ const short FRONT = 18;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/KeyGroup.idl b/offapi/com/sun/star/awt/KeyGroup.idl
new file mode 100644
index 000000000..87ef5a0c0
--- /dev/null
+++ b/offapi/com/sun/star/awt/KeyGroup.idl
@@ -0,0 +1,70 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_KeyGroup_idl__
+#define __com_sun_star_awt_KeyGroup_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** These values are used to specify functional groups of keys.
+
+ @deprecated
+ */
+published constants KeyGroup
+{
+
+ /** specifies a numeric key.
+ */
+ const short NUM = 256;
+
+
+ /** specifies an alphabetic key.
+ */
+ const short ALPHA = 512;
+
+
+ /** specifies a function key.
+ */
+ const short FKEYS = 768;
+
+
+ /** specifies a cursor key.
+ */
+ const short CURSOR = 1024;
+
+
+ /** specifies other keys.
+ */
+ const short MISC = 1280;
+
+
+ /** specifies the group mask.
+ */
+ const short TYPE = 3840;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/KeyModifier.idl b/offapi/com/sun/star/awt/KeyModifier.idl
new file mode 100644
index 000000000..c1dbf5044
--- /dev/null
+++ b/offapi/com/sun/star/awt/KeyModifier.idl
@@ -0,0 +1,56 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_KeyModifier_idl__
+#define __com_sun_star_awt_KeyModifier_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** These values are used to specify which modifier keys are pressed.
+ */
+published constants KeyModifier
+{
+
+ /** refers to both shift keys.
+ */
+ const short SHIFT = 1;
+
+
+ /** refers in the most cases to the "Ctrl" key (Cmd on macOS).
+ */
+ const short MOD1 = 2;
+
+
+ /** refers in the most cases to the "Alt" key.
+ */
+ const short MOD2 = 4;
+
+ /** refers in the most cases to the "Ctrl" key (macOS)
+ */
+ const short MOD3 = 8;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/KeyStroke.idl b/offapi/com/sun/star/awt/KeyStroke.idl
new file mode 100644
index 000000000..91404bec1
--- /dev/null
+++ b/offapi/com/sun/star/awt/KeyStroke.idl
@@ -0,0 +1,68 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_KeyStroke_idl__
+#define __com_sun_star_awt_KeyStroke_idl__
+
+
+
+module com { module sun { module star { module awt {
+
+
+/** Describes a key stroke for hotkeys etc.
+
+ @since OOo 1.1.2
+ */
+published struct KeyStroke
+{
+
+ /** contains the modifier keys which were pressed while the event occurred.
+
+ <p>Zero or more constants from the group
+ com::sun::star::awt::KeyModifier.</p>
+ */
+ short Modifiers;
+
+
+ /** contains the integer code representing the key of the event.
+
+ <p>This is a constant from the constant group
+ com::sun::star::awt::Key.</p>
+ */
+ short KeyCode;
+
+
+ /** contains the Unicode character generated by this event or 0.
+ */
+ char KeyChar;
+
+
+ /** contains the function type of the key event.
+
+ <p>This is a constant from the constant group
+ com::sun::star::awt::KeyFunction.</p>
+ */
+ short KeyFunc;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/LineEndFormat.idl b/offapi/com/sun/star/awt/LineEndFormat.idl
new file mode 100644
index 000000000..832efc389
--- /dev/null
+++ b/offapi/com/sun/star/awt/LineEndFormat.idl
@@ -0,0 +1,56 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_LineEndFormat_idl__
+#define __com_sun_star_awt_LineEndFormat_idl__
+
+
+
+module com { module sun { module star { module awt {
+
+
+/** These values are used to specify which line end format should be used in strings
+ */
+constants LineEndFormat
+{
+
+ /** specifies that line ends are to be represented by a carriage
+ return character (`\r`)
+ */
+ const short CARRIAGE_RETURN = 0;
+
+
+ /** specifies that line ends are to be represented by a line feed
+ character (`\n`)
+ */
+ const short LINE_FEED = 1;
+
+
+ /** specifies that line ends are to be represented by a line feed
+ character (`\n`), followed by a carriage return character (`\r`).
+ */
+ const short CARRIAGE_RETURN_LINE_FEED = 2;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/MenuBar.idl b/offapi/com/sun/star/awt/MenuBar.idl
new file mode 100644
index 000000000..ce28b1a75
--- /dev/null
+++ b/offapi/com/sun/star/awt/MenuBar.idl
@@ -0,0 +1,38 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_MenuBar_idl__
+#define __com_sun_star_awt_MenuBar_idl__
+
+#include <com/sun/star/awt/XMenuBar.idl>
+
+module com { module sun { module star { module awt {
+
+/** describes a menu for top-level windows.
+ <p>A menu bar can only be used by top-level windows. They support
+ the interface com::sun::star::awt::XTopWindow
+ to set an menu bar object.
+ </p>
+ */
+published service MenuBar : XMenuBar;
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/MenuEvent.idl b/offapi/com/sun/star/awt/MenuEvent.idl
new file mode 100644
index 000000000..16820242b
--- /dev/null
+++ b/offapi/com/sun/star/awt/MenuEvent.idl
@@ -0,0 +1,40 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_MenuEvent_idl__
+#define __com_sun_star_awt_MenuEvent_idl__
+
+#include <com/sun/star/lang/EventObject.idl>
+
+module com { module sun { module star { module awt {
+
+/** specifies a menu event.
+ */
+published struct MenuEvent: com::sun::star::lang::EventObject
+{
+ /** contains the item ID.
+ */
+ short MenuId;
+
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/MenuItemStyle.idl b/offapi/com/sun/star/awt/MenuItemStyle.idl
new file mode 100644
index 000000000..194a732ae
--- /dev/null
+++ b/offapi/com/sun/star/awt/MenuItemStyle.idl
@@ -0,0 +1,47 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_MenuItemStyle_idl__
+#define __com_sun_star_awt_MenuItemStyle_idl__
+
+module com { module sun { module star { module awt {
+
+/** These values are used to specify the properties of a menu item.
+ */
+constants MenuItemStyle
+{
+ /** specifies an item which can be checked independently.
+ */
+ const short CHECKABLE = 1;
+
+ /** specifies an item which can be checked dependent on the neighbouring
+ items.
+ */
+ const short RADIOCHECK = 2;
+
+ /** specifies to check this item automatically on select.
+ */
+ const short AUTOCHECK = 4;
+
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/MenuItemType.idl b/offapi/com/sun/star/awt/MenuItemType.idl
new file mode 100644
index 000000000..cd538a39c
--- /dev/null
+++ b/offapi/com/sun/star/awt/MenuItemType.idl
@@ -0,0 +1,55 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_MenuItemType_idl__
+#define __com_sun_star_awt_MenuItemType_idl__
+
+module com { module sun { module star { module awt {
+
+/** specifies the type of a menu item, as returned by
+ com::sun::star::awt::XMenu::getItemType().
+ */
+published enum MenuItemType
+{
+ /** specifies that the menu item type is unknown.
+ */
+ DONTKNOW,
+
+ /** specifies that the menu item has a text.
+ */
+ STRING,
+
+ /** specifies that the menu item has an image.
+ */
+ IMAGE,
+
+ /** specifies that the menu item has a text <b>and</b> an image.
+ */
+ STRINGIMAGE,
+
+ /** specifies that the menu item is a separator.
+ */
+ SEPARATOR
+
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/MessageBoxButtons.idl b/offapi/com/sun/star/awt/MessageBoxButtons.idl
new file mode 100644
index 000000000..a893cf782
--- /dev/null
+++ b/offapi/com/sun/star/awt/MessageBoxButtons.idl
@@ -0,0 +1,83 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_MessageBoxButtons_idl__
+#define __com_sun_star_awt_MessageBoxButtons_idl__
+
+module com { module sun { module star { module awt {
+
+/** defines constants for the possible message box button
+ combinations.
+
+ */
+constants MessageBoxButtons
+{
+ /** specifies a message with "OK" button.
+ */
+ const long BUTTONS_OK = 1;
+
+ /** specifies a message box with "OK" and "CANCEL" button.
+ */
+ const long BUTTONS_OK_CANCEL = 2;
+
+ /** specifies a message box with "YES" and "NO" button.
+ */
+ const long BUTTONS_YES_NO = 3;
+
+ /** specifies a message box with "YES", "NO" and "CANCEL" button.
+ */
+ const long BUTTONS_YES_NO_CANCEL = 4;
+
+ /** specifies a message box with "RETRY" and "CANCEL" button.
+ */
+ const long BUTTONS_RETRY_CANCEL = 5;
+
+ /** specifies a message box with "ABORT", "IGNORE" and "RETRY" button.
+ */
+ const long BUTTONS_ABORT_IGNORE_RETRY = 6;
+
+ /** specifies that OK is the default button.
+ */
+ const long DEFAULT_BUTTON_OK = 0x10000;
+
+ /** specifies that CANCEL is the default button.
+ */
+ const long DEFAULT_BUTTON_CANCEL = 0x20000;
+
+ /** specifies that RETRY is the default button.
+ */
+ const long DEFAULT_BUTTON_RETRY = 0x30000;
+
+ /** specifies that YES is the default button.
+ */
+ const long DEFAULT_BUTTON_YES = 0x40000;
+
+ /** specifies that NO is the default button.
+ */
+ const long DEFAULT_BUTTON_NO = 0x50000;
+
+ /** specifies that IGNORE is the default button.
+ */
+ const long DEFAULT_BUTTON_IGNORE = 0x60000;
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/MessageBoxResults.idl b/offapi/com/sun/star/awt/MessageBoxResults.idl
new file mode 100644
index 000000000..4c4ccf5f5
--- /dev/null
+++ b/offapi/com/sun/star/awt/MessageBoxResults.idl
@@ -0,0 +1,60 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_MessageBoxResults_idl__
+#define __com_sun_star_awt_MessageBoxResults_idl__
+
+module com { module sun { module star { module awt {
+
+/** These constants are used to specify a result of executing a XMessageBox.
+
+ @since LibreOffice 4.2
+ */
+constants MessageBoxResults
+{
+ /** The user canceled the XMessageBox, by pressing "Cancel" or "Abort" button.
+ */
+ const short CANCEL = 0;
+
+ /** The user pressed the "Ok" button.
+ */
+ const short OK = 1;
+
+ /** The user pressed the "Yes" button.
+ */
+ const short YES = 2;
+
+ /** The user pressed the "No" button.
+ */
+ const short NO = 3;
+
+ /** The user pressed the "Retry" button.
+ */
+ const short RETRY = 4;
+
+ /** The user pressed the "Ignore" button.
+ */
+ const short IGNORE = 5;
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/MessageBoxType.idl b/offapi/com/sun/star/awt/MessageBoxType.idl
new file mode 100644
index 000000000..eaac92274
--- /dev/null
+++ b/offapi/com/sun/star/awt/MessageBoxType.idl
@@ -0,0 +1,55 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_MessageBoxType_idl__
+#define __com_sun_star_awt_MessageBoxType_idl__
+
+module com { module sun { module star { module awt {
+
+/** specifies the type of a XMessageBox.
+
+ @since LibreOffice 4.2
+ */
+published enum MessageBoxType
+{
+ /** A normal message box.
+ */
+ MESSAGEBOX,
+
+ /** A message box to inform the user about a certain event
+ */
+ INFOBOX,
+
+ /** A message to warn the user about a certain problem.
+ */
+ WARNINGBOX,
+
+ /** A message box to provide an error message to the user.
+ */
+ ERRORBOX,
+
+ /** A message box to query information from the user.
+ */
+ QUERYBOX
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/MouseButton.idl b/offapi/com/sun/star/awt/MouseButton.idl
new file mode 100644
index 000000000..0b55f727f
--- /dev/null
+++ b/offapi/com/sun/star/awt/MouseButton.idl
@@ -0,0 +1,53 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_MouseButton_idl__
+#define __com_sun_star_awt_MouseButton_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** These values are used to specify which keys on the mouse are pressed.
+ */
+published constants MouseButton
+{
+
+ /** specifies the left mouse button as being pressed.
+ */
+ const short LEFT = 1;
+
+
+ /** specifies the right mouse button as being pressed.
+ */
+ const short RIGHT = 2;
+
+
+ /** specifies the middle mouse button as being pressed.
+ */
+ const short MIDDLE = 4;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/MouseEvent.idl b/offapi/com/sun/star/awt/MouseEvent.idl
new file mode 100644
index 000000000..b16bc6e4c
--- /dev/null
+++ b/offapi/com/sun/star/awt/MouseEvent.idl
@@ -0,0 +1,85 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_MouseEvent_idl__
+#define __com_sun_star_awt_MouseEvent_idl__
+
+#include <com/sun/star/awt/InputEvent.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies an event from the mouse.
+
+ <p>This event is also used for pop-up menu requests on objects.
+ See #PopupTrigger for details.</p>
+
+ @see XMouseListener
+ @see XMouseMotionListener
+ @see InputEvent
+ */
+published struct MouseEvent: com::sun::star::awt::InputEvent
+{
+
+ /** contains the pressed mouse buttons.
+
+ <p>Zero ore more constants from the
+ com::sun::star::awt::MouseButton group.</p>
+ */
+ short Buttons;
+
+
+ /** contains the x coordinate location of the mouse.
+ */
+ long X;
+
+
+ /** contains the y coordinate location of the mouse.
+ */
+ long Y;
+
+
+ /** contains the number of mouse clicks associated with event.
+ */
+ long ClickCount;
+
+
+ /** specifies if this event is a pop-up menu trigger event.
+
+ <p>If this member is `TRUE`, the event describes a request for a pop-up menu,
+ also known as context menu, on an object.</p>
+
+ <p>In this case, X and Y describe the position
+ where the request was issued. If those members are <code>-1</code>, then the
+ request was issued using the keyboard, by pressing the operating-system dependent
+ key combination for this purpose.</p>
+
+ @see XMouseListener::mousePressed
+ */
+ boolean PopupTrigger;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/MouseWheelBehavior.idl b/offapi/com/sun/star/awt/MouseWheelBehavior.idl
new file mode 100644
index 000000000..d4bad0500
--- /dev/null
+++ b/offapi/com/sun/star/awt/MouseWheelBehavior.idl
@@ -0,0 +1,53 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_MouseWheelBehavior_idl__
+#define __com_sun_star_awt_MouseWheelBehavior_idl__
+
+
+module com { module sun { module star { module awt {
+
+
+/** describes the scroll behavior of the mouse wheel for a control
+ @since OOo 3.2
+ */
+constants MouseWheelBehavior
+{
+ /** defines that the mouse wheel cannot be used to scroll through the control's content
+ */
+ const short SCROLL_DISABLED = 0;
+
+ /** defines that the mouse can only be used to scroll through the control's content if it currently
+ has the focus.
+ */
+ const short SCROLL_FOCUS_ONLY = 1;
+
+ /** defines that the mouse can be used to scroll through the control's content, no matter whether or not
+ it has the focus, as long as the mouse pointer is over the control.
+ */
+ const short SCROLL_ALWAYS = 2;
+};
+
+
+}; }; }; };
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/PaintEvent.idl b/offapi/com/sun/star/awt/PaintEvent.idl
new file mode 100644
index 000000000..d9099e3e5
--- /dev/null
+++ b/offapi/com/sun/star/awt/PaintEvent.idl
@@ -0,0 +1,60 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_PaintEvent_idl__
+#define __com_sun_star_awt_PaintEvent_idl__
+
+#include <com/sun/star/lang/EventObject.idl>
+
+#include <com/sun/star/awt/Rectangle.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the paint event for a component.
+
+ <p>This event is a special type which is used to ensure that
+ paint/update method calls are serialized along with the other
+ events delivered from the event queue.</p>
+
+ @see WindowEvent
+ */
+published struct PaintEvent: com::sun::star::lang::EventObject
+{
+
+ /** contains the rectangle area which needs to be repainted.
+ */
+ com::sun::star::awt::Rectangle UpdateRect;
+
+
+ /** contains the number of paint events that follows this event if
+ it is a multiple PaintEvent. You can collect the PaintEvent
+ until Count is zero.
+ */
+ short Count;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/Point.idl b/offapi/com/sun/star/awt/Point.idl
new file mode 100644
index 000000000..4a1accd1a
--- /dev/null
+++ b/offapi/com/sun/star/awt/Point.idl
@@ -0,0 +1,47 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_Point_idl__
+#define __com_sun_star_awt_Point_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a 2-dimensional point using the Cartesian coordinate system.
+ */
+published struct Point
+{
+ /** specifies the x-coordinate.
+ */
+ long X;
+
+
+ /** specifies the y-coordinate.
+ */
+ long Y;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/Pointer.idl b/offapi/com/sun/star/awt/Pointer.idl
new file mode 100644
index 000000000..04e96ddb3
--- /dev/null
+++ b/offapi/com/sun/star/awt/Pointer.idl
@@ -0,0 +1,38 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_Pointer_idl__
+#define __com_sun_star_awt_Pointer_idl__
+
+#include <com/sun/star/awt/XPointer.idl>
+
+
+module com { module sun { module star { module awt {
+
+
+/**
+ @since LibreOffice 4.1
+ */
+service Pointer : XPointer;
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/PopupMenu.idl b/offapi/com/sun/star/awt/PopupMenu.idl
new file mode 100644
index 000000000..5040da5d8
--- /dev/null
+++ b/offapi/com/sun/star/awt/PopupMenu.idl
@@ -0,0 +1,37 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_PopupMenu_idl__
+#define __com_sun_star_awt_PopupMenu_idl__
+
+#include <com/sun/star/awt/XPopupMenu.idl>
+
+module com { module sun { module star { module awt {
+
+/** describes a popup menu which is a recursive container for commands
+ <p>A popup menu can be used as a standalone object to display a context
+ menu. It's also possible to use a popup menu to integrate it into
+ another menu.</p>
+ */
+published service PopupMenu : XPopupMenu;
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/PopupMenuDirection.idl b/offapi/com/sun/star/awt/PopupMenuDirection.idl
new file mode 100644
index 000000000..021ab5cf7
--- /dev/null
+++ b/offapi/com/sun/star/awt/PopupMenuDirection.idl
@@ -0,0 +1,56 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_PopupMenuDirection_idl__
+#define __com_sun_star_awt_PopupMenuDirection_idl__
+
+module com { module sun { module star { module awt {
+
+/** These values are used to specify the direction in which
+ a pop-up menu will grow.
+
+ <p>They may be expanded in future versions.</p>
+ */
+published constants PopupMenuDirection
+{
+ /** opens on execute in a default direction.
+ */
+ const short EXECUTE_DEFAULT = 0;
+
+ /** opens on execute downwards.
+ */
+ const short EXECUTE_DOWN = 1;
+
+ /** opens on execute upwards.
+ */
+ const short EXECUTE_UP = 2;
+
+ /** opens on execute to the left.
+ */
+ const short EXECUTE_LEFT = 4;
+
+ /** opens on execute to the right.
+ */
+ const short EXECUTE_RIGHT = 8;
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/PosSize.idl b/offapi/com/sun/star/awt/PosSize.idl
new file mode 100644
index 000000000..260f4b449
--- /dev/null
+++ b/offapi/com/sun/star/awt/PosSize.idl
@@ -0,0 +1,73 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_PosSize_idl__
+#define __com_sun_star_awt_PosSize_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** These constants are used to flag the parameters of a rectangle.
+ */
+published constants PosSize
+{
+
+ /** flags the x-coordinate.
+ */
+ const short X = 1;
+
+
+ /** flags the y-coordinate.
+ */
+ const short Y = 2;
+
+
+ /** flags the width.
+ */
+ const short WIDTH = 4;
+
+
+ /** flags the height.
+ */
+ const short HEIGHT = 8;
+
+
+ /** flags the x- and y-coordinate.
+ */
+ const short POS = 3;
+
+
+ /** flags the width and height.
+ */
+ const short SIZE = 12;
+
+
+ /** flags the x- and y-coordinate, width and height.
+ */
+ const short POSSIZE = 15;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/PrinterException.idl b/offapi/com/sun/star/awt/PrinterException.idl
new file mode 100644
index 000000000..e5926e1ce
--- /dev/null
+++ b/offapi/com/sun/star/awt/PrinterException.idl
@@ -0,0 +1,43 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_PrinterException_idl__
+#define __com_sun_star_awt_PrinterException_idl__
+
+#include <com/sun/star/uno/Exception.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** fired if a resource cannot be locked.
+
+ <p>It is an error if the exception occurs in a non-transacted task.
+ A transacted task repeats later.</p>
+ */
+published exception PrinterException: com::sun::star::uno::Exception
+{
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/PrinterServer.idl b/offapi/com/sun/star/awt/PrinterServer.idl
new file mode 100644
index 000000000..063e75bc1
--- /dev/null
+++ b/offapi/com/sun/star/awt/PrinterServer.idl
@@ -0,0 +1,27 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef __com_sun_star_awt_PrinterServer_idl__
+#define __com_sun_star_awt_PrinterServer_idl__
+
+#include <com/sun/star/awt/XPrinterServer.idl>
+
+module com { module sun { module star { module awt {
+
+/** mechanism to discover and manage printers
+
+ @since LibreOffice 4.1
+ */
+service PrinterServer: com::sun::star::awt::XPrinterServer2;
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/PushButtonType.idl b/offapi/com/sun/star/awt/PushButtonType.idl
new file mode 100644
index 000000000..ad77a2e68
--- /dev/null
+++ b/offapi/com/sun/star/awt/PushButtonType.idl
@@ -0,0 +1,58 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_PushButtonType_idl__
+#define __com_sun_star_awt_PushButtonType_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the default actions of a button.
+ */
+published enum PushButtonType
+{
+
+ /** acts like a standard push button.
+ */
+ STANDARD,
+
+
+ /** acts like an OK button.
+ */
+ OK,
+
+
+ /** acts like a cancel button.
+ */
+ CANCEL,
+
+
+ /** acts like a help button.
+ */
+ HELP
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/RasterOperation.idl b/offapi/com/sun/star/awt/RasterOperation.idl
new file mode 100644
index 000000000..fa1073dc7
--- /dev/null
+++ b/offapi/com/sun/star/awt/RasterOperation.idl
@@ -0,0 +1,65 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_RasterOperation_idl__
+#define __com_sun_star_awt_RasterOperation_idl__
+
+
+
+module com { module sun { module star { module awt {
+
+
+/** These values are used to specify the binary pixel-operation applied
+ when pixels are written to the device.
+*/
+published enum RasterOperation
+{
+
+ /** sets all pixel as written in the output operation.
+ */
+ OVERPAINT,
+
+
+ /** uses the pixel written as one and the current pixel as
+ the other operator of an exclusive or-operation.
+ */
+ XOR,
+
+
+ /** All bits which are affected by this operation are set to 0.
+ */
+ ZEROBITS,
+
+
+ /** All bits which are affected by this operation are set to 1.
+ */
+ ALLBITS,
+
+
+ /** All bits which are affected by this operation are inverted.
+ */
+ INVERT
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/Rectangle.idl b/offapi/com/sun/star/awt/Rectangle.idl
new file mode 100644
index 000000000..45971cfa3
--- /dev/null
+++ b/offapi/com/sun/star/awt/Rectangle.idl
@@ -0,0 +1,57 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_Rectangle_idl__
+#define __com_sun_star_awt_Rectangle_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a rectangular area by position and size.
+ */
+published struct Rectangle
+{
+ /** specifies the x-coordinate.
+ */
+ long X;
+
+
+ /** specifies the y-coordinate.
+ */
+ long Y;
+
+
+ /** specifies the width.
+ */
+ long Width;
+
+
+ /** specifies the height.
+ */
+ long Height;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/RoadmapItem.idl b/offapi/com/sun/star/awt/RoadmapItem.idl
new file mode 100644
index 000000000..1072b82e0
--- /dev/null
+++ b/offapi/com/sun/star/awt/RoadmapItem.idl
@@ -0,0 +1,69 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_RoadmapItem_idl__
+#define __com_sun_star_awt_RoadmapItem_idl__
+
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/* specifies a RoadmapItem which serves as an Element in a Container like the Roadmap
+ * specified in com::sun::star::awt::UnoControlRoadmapModel and
+ * com::sun::star::awt::UnoControlRoadmap
+ */
+service RoadmapItem
+{
+ /** The ID uniquely identifies the roadmap item.
+ * When the RoadmapItem is inserted into the Roadmap via "insertByIndex"
+ * the default value of the ID is the first available absolute digit that
+ * has not yet been assigned to other existing RoadmapItems.
+ */
+ [property] short ID;
+
+ /** The Label of the RoadmapItem does not include its Prefix that is automatically
+ * set after the following algorithm:
+ * (Index + 1) + ". " + Label
+ */
+ [property] string Label;
+
+
+ /** When "Interactive" is true the RoadmapItem supports a certain "HyperLabel
+ * functionality":
+ * Moving the mouse pointer over the RoadmapItem will change it to a Refhand and
+ * underline the Label for the time the mouse pointer resides over the RoadmapItem.
+ * Clicking with mouse pointer will then notify the Roadmap Container.
+ * The property Interactive" is readonly because it is adapted from the container of the
+ * RoadmapItem.
+ */
+ [property] boolean Interactive;
+
+
+ /** determines whether a control is enabled or disabled.
+ */
+ [property] boolean Enabled;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/ScrollBarOrientation.idl b/offapi/com/sun/star/awt/ScrollBarOrientation.idl
new file mode 100644
index 000000000..a5390a0d1
--- /dev/null
+++ b/offapi/com/sun/star/awt/ScrollBarOrientation.idl
@@ -0,0 +1,48 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_ScrollBarOrientation_idl__
+#define __com_sun_star_awt_ScrollBarOrientation_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** These constants are used to specify the orientation of a scroll bar.
+ */
+published constants ScrollBarOrientation
+{
+
+ /** specifies a horizontal scroll bar.
+ */
+ const long HORIZONTAL = 0;
+
+
+ /** specifies a vertical scroll bar.
+ */
+ const long VERTICAL = 1;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/Selection.idl b/offapi/com/sun/star/awt/Selection.idl
new file mode 100644
index 000000000..9a55bb001
--- /dev/null
+++ b/offapi/com/sun/star/awt/Selection.idl
@@ -0,0 +1,48 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_Selection_idl__
+#define __com_sun_star_awt_Selection_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a numerical range.
+ */
+published struct Selection
+{
+
+ /** specifies the lower limit of the range.
+ */
+ long Min;
+
+
+ /** specifies the upper limit of the range.
+ */
+ long Max;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/SimpleFontMetric.idl b/offapi/com/sun/star/awt/SimpleFontMetric.idl
new file mode 100644
index 000000000..5939399bd
--- /dev/null
+++ b/offapi/com/sun/star/awt/SimpleFontMetric.idl
@@ -0,0 +1,87 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_SimpleFontMetric_idl__
+#define __com_sun_star_awt_SimpleFontMetric_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** describes the general metrics of a certain font.
+ */
+published struct SimpleFontMetric
+{
+ /** specifies the portion of a lower case character that
+ rises above the height of the character "x" of the font.
+
+ <p>For example, the letters "b", "d", "h", "k" and "l"
+ have an ascent unequal to 0.</p>
+
+ <p>The ascent is measured in pixels, thus the font metric is
+ device dependent.</p>
+ */
+ short Ascent;
+
+
+ /** specifies the portion of a letter falling below the baseline.
+
+ <p>For example, the letters "g", "p", and "y"
+ have a descent unequal to 0.</p>
+
+ <p>The descent is measured in pixels, thus the font metric is
+ device dependent.</p>
+ */
+ short Descent;
+
+
+ /** specifies the vertical space between lines of this font;
+ it is also called internal line spacing.
+
+ <p>The leading is measured in pixels, thus the font metric is
+ device dependent.</p>
+ */
+ short Leading;
+
+
+ /** specifies the slant of the characters (italic).
+
+ <p>The slant is measured in degrees from 0 to 359.</p>
+ */
+ short Slant;
+
+
+ /** specifies the code of the first printable character in the font.
+ */
+ char FirstChar;
+
+
+ /** specifies the code of the last printable character in the font.
+ */
+ char LastChar;
+
+};
+
+
+}; }; }; };
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/Size.idl b/offapi/com/sun/star/awt/Size.idl
new file mode 100644
index 000000000..6b9e48bfd
--- /dev/null
+++ b/offapi/com/sun/star/awt/Size.idl
@@ -0,0 +1,48 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_Size_idl__
+#define __com_sun_star_awt_Size_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the 2-dimensional size of an area using width and height.
+ */
+published struct Size
+{
+
+ /** specifies the width.
+ */
+ long Width;
+
+
+ /** specifies the height.
+ */
+ long Height;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/SpinEvent.idl b/offapi/com/sun/star/awt/SpinEvent.idl
new file mode 100644
index 000000000..8ec65011e
--- /dev/null
+++ b/offapi/com/sun/star/awt/SpinEvent.idl
@@ -0,0 +1,45 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_SpinEvent_idl__
+#define __com_sun_star_awt_SpinEvent_idl__
+
+#include <com/sun/star/lang/EventObject.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a spin button event.
+ */
+published struct SpinEvent: com::sun::star::lang::EventObject
+{
+
+ /** This is a dummy field only. Please ignore.
+ */
+ short dummy1;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/SpinningProgressControlModel.idl b/offapi/com/sun/star/awt/SpinningProgressControlModel.idl
new file mode 100644
index 000000000..98cbc23b4
--- /dev/null
+++ b/offapi/com/sun/star/awt/SpinningProgressControlModel.idl
@@ -0,0 +1,47 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_SpinningProgressControlModel_idl__
+#define __com_sun_star_awt_SpinningProgressControlModel_idl__
+
+#include <com/sun/star/awt/AnimatedImagesControlModel.idl>
+
+
+module com { module sun { module star { module awt {
+
+
+/** is a specialization of the AnimatedImagesControlModel.
+
+ <p>To show a progress which cannot be expressed as a percentage of execution,
+ it displays animated images from a standard image set.</p>
+
+ <p>Three image sets are provided, of size 16x16, 32x32, and 64x64 pixels.</p>
+ */
+service SpinningProgressControlModel
+{
+ service AnimatedImagesControlModel;
+};
+
+
+}; }; }; };
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/Style.idl b/offapi/com/sun/star/awt/Style.idl
new file mode 100644
index 000000000..8a2f978c9
--- /dev/null
+++ b/offapi/com/sun/star/awt/Style.idl
@@ -0,0 +1,49 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_Style_idl__
+#define __com_sun_star_awt_Style_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the style of a window.
+ */
+published constants Style
+{
+
+ /** specifies a frame.
+ */
+ const short FRAME = 0;
+
+
+ /** specifies a dialog.
+ */
+ const short DIALOG = 1;
+
+};
+
+
+}; }; }; };
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/SystemDependentXWindow.idl b/offapi/com/sun/star/awt/SystemDependentXWindow.idl
new file mode 100644
index 000000000..e5ac39320
--- /dev/null
+++ b/offapi/com/sun/star/awt/SystemDependentXWindow.idl
@@ -0,0 +1,56 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_SystemDependentXWindow_idl__
+#define __com_sun_star_awt_SystemDependentXWindow_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a system dependent XWindow.
+
+ <p>This is the structure returned in the
+ XSystemDependentWindowPeer::getWindowHandle() call,
+ if the system type is
+ com::sun::star::lang::SystemDependent::XWINDOW.</p>
+
+ @deprecated
+ */
+published struct SystemDependentXWindow
+{
+
+ /** The XWindow handle if possible, otherwise 0.
+ */
+ long WindowHandle;
+
+
+ /** The display pointer.
+ */
+ hyper DisplayPointer;
+
+};
+
+
+}; }; }; };
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/SystemPointer.idl b/offapi/com/sun/star/awt/SystemPointer.idl
new file mode 100644
index 000000000..b7ae1af9f
--- /dev/null
+++ b/offapi/com/sun/star/awt/SystemPointer.idl
@@ -0,0 +1,411 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_SystemPointer_idl__
+#define __com_sun_star_awt_SystemPointer_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the shape of a mouse pointer.
+ */
+published constants SystemPointer
+{
+
+ /** specifies the normal arrow-like mouse pointer.
+ */
+ const long ARROW = 0;
+
+
+ /** specifies an invisible mouse pointer.
+ */
+ const long INVISIBLE = 1;
+
+
+ /** specifies a waiting symbol as a mouse pointer (for example hourglass).
+ */
+ const long WAIT = 2;
+
+
+ /** specifies a mouse pointer for text (cursor-like).
+ */
+ const long TEXT = 3;
+
+
+ /** specifies a mouse pointer for on-line help.
+ */
+ const long HELP = 4;
+
+
+ /** specifies a cross as a mouse pointer.
+ */
+ const long CROSS = 5;
+
+
+ /** specifies a mouse pointer which symbolizes movement.
+ */
+ const long MOVE = 6;
+
+
+ /** specifies a mouse pointer which symbolizes resizing for a top border.
+ */
+ const long NSIZE = 7;
+
+
+ /** specifies a mouse pointer which symbolizes resizing for a bottom
+ border.
+ */
+ const long SSIZE = 8;
+
+
+ /** specifies a mouse pointer which symbolizes resizing for a left border.
+ */
+ const long WSIZE = 9;
+
+
+ /** specifies a mouse pointer which symbolizes resizing for a right border.
+ */
+ const long ESIZE = 10;
+
+
+ /** specifies a mouse pointer which symbolizes resizing for the top-left
+ corner.
+ */
+ const long NWSIZE = 11;
+
+
+ /** specifies a mouse pointer which symbolizes resizing for the top-right
+ corner.
+ */
+ const long NESIZE = 12;
+
+
+ /** specifies a mouse pointer which symbolizes resizing for the bottom-left
+ corner.
+ */
+ const long SWSIZE = 13;
+
+
+ /** specifies a mouse pointer which symbolizes resizing for the
+ bottom-right corner.
+ */
+ const long SESIZE = 14;
+
+
+ /** specifies a mouse pointer which symbolizes window resizing for a top
+ border.
+ */
+ const long WINDOW_NSIZE = 15;
+
+
+ /** specifies a mouse pointer which symbolizes window resizing for a bottom
+ border.
+ */
+ const long WINDOW_SSIZE = 16;
+
+
+ /** specifies a mouse pointer which symbolizes window resizing for a left
+ border.
+ */
+ const long WINDOW_WSIZE = 17;
+
+
+ /** specifies a mouse pointer which symbolizes window resizing for a right
+ border.
+ */
+ const long WINDOW_ESIZE = 18;
+
+
+ /** specifies a mouse pointer which symbolizes window resizing for the
+ top-left corner.
+ */
+ const long WINDOW_NWSIZE = 19;
+
+
+ /** specifies a mouse pointer which symbolizes window resizing for the
+ top-right corner.
+ */
+ const long WINDOW_NESIZE = 20;
+
+
+ /** specifies a mouse pointer which symbolizes window resizing for the
+ bottom-left corner.
+ */
+ const long WINDOW_SWSIZE = 21;
+
+
+ /** specifies a mouse pointer which symbolizes window resizing for the
+ bottom-right corner.
+ */
+ const long WINDOW_SESIZE = 22;
+
+
+ /** specifies a mouse pointer which symbolizes horizontal splitting.
+ */
+ const long HSPLIT = 23;
+
+
+ /** specifies a mouse pointer which symbolizes vertical splitting.
+ */
+ const long VSPLIT = 24;
+
+
+ /** specifies a mouse pointer which symbolizes horizontal resizing.
+ */
+ const long HSIZEBAR = 25;
+
+
+ /** specifies a mouse pointer which symbolizes vertical resizing.
+ */
+ const long VSIZEBAR = 26;
+
+
+ /** specifies a hand symbol as mouse pointer.
+ */
+ const long HAND = 27;
+
+
+ /** specifies a pointing hand symbol as mouse pointer.
+ */
+ const long REFHAND = 28;
+
+
+ /** specifies a pen symbol as mouse pointer.
+ */
+ const long PEN = 29;
+
+
+ /** specifies a magnify symbol as mouse pointer.
+ */
+ const long MAGNIFY = 30;
+
+
+ /** specifies a fill symbol as mouse pointer.
+ */
+ const long FILL = 31;
+
+
+ /** specifies a rotate symbol as mouse pointer.
+ */
+ const long ROTATE = 32;
+
+
+ /** specifies a horizontal shear symbol as mouse pointer.
+ */
+ const long HSHEAR = 33;
+
+
+ /** specifies a vertical shear symbol as mouse pointer.
+ */
+ const long VSHEAR = 34;
+
+
+ /** specifies a mirror symbol as mouse pointer.
+ */
+ const long MIRROR = 35;
+
+
+ /** specifies a crook symbol as mouse pointer.
+ */
+ const long CROOK = 36;
+
+
+ /** specifies a crop symbol as mouse pointer.
+ */
+ const long CROP = 37;
+
+
+ /** specifies a mouse pointer which symbolizes moving a point.
+ */
+ const long MOVEPOINT = 38;
+
+
+ /** specifies a mouse pointer which symbolizes moving a Bezier weight.
+ */
+ const long MOVEBEZIERWEIGHT = 39;
+
+
+ /** specifies a mouse pointer which symbolizes moving data.
+ */
+ const long MOVEDATA = 40;
+
+
+ /** specifies a mouse pointer which symbolizes copying data.
+ */
+ const long COPYDATA = 41;
+
+
+ /** specifies a mouse pointer which symbolizes linking data.
+ */
+ const long LINKDATA = 42;
+
+
+ /** specifies a mouse pointer which symbolizes moving a data link.
+ */
+ const long MOVEDATALINK = 43;
+
+
+ /** specifies a mouse pointer which symbolizes copying a data link.
+ */
+ const long COPYDATALINK = 44;
+
+
+ /** specifies a mouse pointer which symbolizes moving a file.
+ */
+ const long MOVEFILE = 45;
+
+
+ /** specifies a mouse pointer which symbolizes copying a file.
+ */
+ const long COPYFILE = 46;
+
+
+ /** specifies a mouse pointer which symbolizes linking a file.
+ */
+ const long LINKFILE = 47;
+
+
+ /** specifies a mouse pointer which symbolizes moving a file link.
+ */
+ const long MOVEFILELINK = 48;
+
+
+ /** specifies a mouse pointer which symbolizes copying a file link.
+ */
+ const long COPYFILELINK = 49;
+
+
+ /** specifies a mouse pointer which symbolizes moving multiple files.
+ */
+ const long MOVEFILES = 50;
+
+
+ /** specifies a mouse pointer which symbolizes copying multiple files.
+ */
+ const long COPYFILES = 51;
+
+
+ /** specifies a mouse pointer which symbolizes "not allowed".
+ */
+ const long NOTALLOWED = 52;
+
+
+ /** specifies a mouse pointer which symbolizes drawing a line.
+ */
+ const long DRAW_LINE = 53;
+
+
+ /** specifies a mouse pointer which symbolizes drawing a rectangle.
+ */
+ const long DRAW_RECT = 54;
+
+
+ /** specifies a mouse pointer which symbolizes drawing a polygon.
+ */
+ const long DRAW_POLYGON = 55;
+
+
+ /** specifies a mouse pointer which symbolizes drawing a Bezier.
+ */
+ const long DRAW_BEZIER = 56;
+
+
+ /** specifies a mouse pointer which symbolizes drawing an arc.
+ */
+ const long DRAW_ARC = 57;
+
+
+ /** specifies a mouse pointer which symbolizes drawing a pie.
+ */
+ const long DRAW_PIE = 58;
+
+
+ /** specifies a mouse pointer which symbolizes drawing a circle cut.
+ */
+ const long DRAW_CIRCLECUT = 59;
+
+
+ /** specifies a mouse pointer which symbolizes drawing an ellipse.
+ */
+ const long DRAW_ELLIPSE = 60;
+
+
+ /** specifies a mouse pointer which symbolizes drawing free handed.
+ */
+ const long DRAW_FREEHAND = 61;
+
+
+ /** specifies a mouse pointer which symbolizes drawing a connector.
+ */
+ const long DRAW_CONNECT = 62;
+
+
+ /** specifies a mouse pointer which symbolizes drawing text.
+ */
+ const long DRAW_TEXT = 63;
+
+
+ /** specifies a mouse pointer which symbolizes drawing a text caption.
+ */
+ const long DRAW_CAPTION = 64;
+
+
+ /** specifies a mouse pointer which symbolizes a chart.
+ */
+ const long CHART = 65;
+
+
+ /** specifies a mouse pointer which symbolizes a detective.
+ */
+ const long DETECTIVE = 66;
+
+
+ /** specifies a mouse pointer which symbolizes a pivot column.
+ */
+ const long PIVOT_COL = 67;
+
+
+ /** specifies a mouse pointer which symbolizes a pivot row.
+ */
+ const long PIVOT_ROW = 68;
+
+
+ /** specifies a mouse pointer which symbolizes a pivot field.
+ */
+ const long PIVOT_FIELD = 69;
+
+
+ /** specifies a mouse pointer which symbolizes a chain.
+ */
+ const long CHAIN = 70;
+
+
+ /** specifies a mouse pointer which symbolizes "chaining not allowed".
+ */
+ const long CHAIN_NOTALLOWED = 71;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/TabController.idl b/offapi/com/sun/star/awt/TabController.idl
new file mode 100644
index 000000000..52aad7a75
--- /dev/null
+++ b/offapi/com/sun/star/awt/TabController.idl
@@ -0,0 +1,38 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_TabController_idl__
+#define __com_sun_star_awt_TabController_idl__
+
+#include <com/sun/star/awt/XTabController.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a standard tab controller.
+ */
+published service TabController : XTabController;
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/TabControllerModel.idl b/offapi/com/sun/star/awt/TabControllerModel.idl
new file mode 100644
index 000000000..118bf2a4d
--- /dev/null
+++ b/offapi/com/sun/star/awt/TabControllerModel.idl
@@ -0,0 +1,45 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_TabControllerModel_idl__
+#define __com_sun_star_awt_TabControllerModel_idl__
+
+#include <com/sun/star/awt/XTabControllerModel.idl>
+#include <com/sun/star/io/XPersistObject.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a standard tab controller model.
+ */
+published service TabControllerModel
+{
+ interface com::sun::star::awt::XTabControllerModel;
+
+ interface com::sun::star::io::XPersistObject;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/TextAlign.idl b/offapi/com/sun/star/awt/TextAlign.idl
new file mode 100644
index 000000000..e29227c30
--- /dev/null
+++ b/offapi/com/sun/star/awt/TextAlign.idl
@@ -0,0 +1,53 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_TextAlign_idl__
+#define __com_sun_star_awt_TextAlign_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the alignment of text.
+ */
+published constants TextAlign
+{
+
+ /** specifies to left align text.
+ */
+ const long LEFT = 0;
+
+
+ /** specifies to center text.
+ */
+ const long CENTER = 1;
+
+
+ /** specifies to right align text.
+ */
+ const long RIGHT = 2;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/TextEvent.idl b/offapi/com/sun/star/awt/TextEvent.idl
new file mode 100644
index 000000000..1fbe07a2c
--- /dev/null
+++ b/offapi/com/sun/star/awt/TextEvent.idl
@@ -0,0 +1,45 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_TextEvent_idl__
+#define __com_sun_star_awt_TextEvent_idl__
+
+#include <com/sun/star/lang/EventObject.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a text event.
+ */
+published struct TextEvent: com::sun::star::lang::EventObject
+{
+
+ /** This is a dummy field only. Please ignore.
+ */
+ short dummy1;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/Toolkit.idl b/offapi/com/sun/star/awt/Toolkit.idl
new file mode 100644
index 000000000..2290688c4
--- /dev/null
+++ b/offapi/com/sun/star/awt/Toolkit.idl
@@ -0,0 +1,41 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_Toolkit_idl__
+#define __com_sun_star_awt_Toolkit_idl__
+
+#include <com/sun/star/awt/XToolkit2.idl>
+
+
+module com { module sun { module star { module awt {
+
+/** describes a toolkit that creates windows on a screen.
+
+ <p>The design of the interfaces for the toolkit implementation
+ should be remote. This means that the calls to the interfaces
+ of the toolkit should be one-way. Too many synchronous calls kill the
+ remote performance.</p>
+ */
+published service Toolkit : XToolkit2;
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControl.idl b/offapi/com/sun/star/awt/UnoControl.idl
new file mode 100644
index 000000000..06d8e5abb
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControl.idl
@@ -0,0 +1,71 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControl_idl__
+#define __com_sun_star_awt_UnoControl_idl__
+
+#include <com/sun/star/lang/XComponent.idl>
+#include <com/sun/star/awt/XControl.idl>
+#include <com/sun/star/awt/XWindow.idl>
+#include <com/sun/star/awt/XView.idl>
+#include <com/sun/star/accessibility/XAccessible.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies an abstract control.
+
+ <p>All components which implement this service can
+ be integrated in a windowing environment. This service describes
+ the controller of the Smalltalk model view controller design.</p>
+
+ <p>You must set a model and a stub to the UnoControl before using
+ other methods. The implementation only allows the change of the
+ graphics (XView) if the window is not visible. The
+ change of the graphics in visible state should redirect the output
+ to these graphics, but this behavior is implementation-specific.</p>
+
+ <p>The change of data directly at the control may not affect the
+ model data. To ensure this behavior, modify the data of the model.</p>
+ */
+published service UnoControl
+{
+ interface com::sun::star::lang::XComponent;
+
+ interface com::sun::star::awt::XControl;
+
+ interface com::sun::star::awt::XWindow;
+
+ interface com::sun::star::awt::XView;
+
+ /** provides access to the accessible context associated with this object.
+
+ @since OOo 1.1.2
+ */
+ [optional] interface com::sun::star::accessibility::XAccessible;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlButton.idl b/offapi/com/sun/star/awt/UnoControlButton.idl
new file mode 100644
index 000000000..80aee22c8
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlButton.idl
@@ -0,0 +1,50 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlButton_idl__
+#define __com_sun_star_awt_UnoControlButton_idl__
+
+#include <com/sun/star/awt/UnoControl.idl>
+
+#include <com/sun/star/awt/XButton.idl>
+
+#include <com/sun/star/awt/XLayoutConstrains.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a button control.
+ */
+published service UnoControlButton
+{
+ service com::sun::star::awt::UnoControl;
+
+ interface com::sun::star::awt::XButton;
+
+ interface com::sun::star::awt::XLayoutConstrains;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlButtonModel.idl b/offapi/com/sun/star/awt/UnoControlButtonModel.idl
new file mode 100644
index 000000000..3627b37bd
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlButtonModel.idl
@@ -0,0 +1,247 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlButtonModel_idl__
+#define __com_sun_star_awt_UnoControlButtonModel_idl__
+
+#include <com/sun/star/awt/FontDescriptor.idl>
+#include <com/sun/star/awt/UnoControlModel.idl>
+#include <com/sun/star/style/VerticalAlignment.idl>
+#include <com/sun/star/graphic/XGraphic.idl>
+#include <com/sun/star/util/Color.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the standard model of a UnoControlButton.
+ */
+published service UnoControlButtonModel
+{
+ service com::sun::star::awt::UnoControlModel;
+
+
+ /** specifies the horizontal alignment of the text in the control.
+
+ <pre>
+ 0: left
+ 1: center
+ 2: right
+ </pre>
+ */
+ [optional, property] short Align;
+
+
+ /** specifies the background color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color BackgroundColor;
+
+
+ /** specifies that the button is the default button on the document.
+ */
+ [property] boolean DefaultButton;
+
+
+ /** determines whether the control is enabled or disabled.
+ */
+ [property] boolean Enabled;
+
+
+ /** specifies whether the button control should grab the focus when clicked.
+
+ <p>If set to `TRUE` (which is the default), the button control automatically grabs the
+ focus when the user clicks onto it with the mouse.<br/>
+ If set to `FALSE`, the focus is preserved when the user operates the button control with
+ the mouse.</p>
+
+ @since OOo 2.0
+ */
+ [optional, property] boolean FocusOnClick;
+
+
+ /** specifies the font attributes of the text in the control.
+ */
+ [property] com::sun::star::awt::FontDescriptor FontDescriptor;
+
+
+ /** specifies the com::sun::star::text::FontEmphasis
+ value of the text in the control.
+ */
+ [property] short FontEmphasisMark;
+
+
+ /** specifies the com::sun::star::text::FontRelief
+ value of the text in the control.
+ */
+ [property] short FontRelief;
+
+
+ /** specifies the help text of the control.
+ */
+ [property] string HelpText;
+
+
+ /** specifies the help URL of the control.
+ */
+ [property] string HelpURL;
+
+
+ /** specifies the alignment of the image inside the button as
+ ImageAlign value.
+ */
+ [property] short ImageAlign;
+
+
+ /** specifies the position of the image, if any, relative to the text, if any
+
+ <p>Valid values of this property are specified with ImagePosition.</p>
+
+ <p>If this property is present, it supersedes the #ImageAlign property - setting
+ one of both properties sets the other one to the best possible match.</p>
+ */
+ [optional, property] short ImagePosition;
+
+
+ /** specifies a URL to an image to use for the button.
+ @see Graphic
+ */
+ [property] string ImageURL;
+
+
+ /** specifies a graphic to be displayed at the button
+
+ <p>If this property is present, it interacts with the #ImageURL in the
+ following way:
+ <ul><li>If #ImageURL is set, #Graphic will be reset
+ to an object as loaded from the given image URL, or `NULL` if #ImageURL
+ does not point to a valid image file.</li>
+ <li>If #Graphic is set, #ImageURL will be reset
+ to an empty string.</li>
+ </ul></p>
+
+ @since OOo 2.1
+ */
+ [optional, property, transient] com::sun::star::graphic::XGraphic Graphic;
+
+
+ /** specifies the label of the control.
+ */
+ [property] string Label;
+
+
+ /** specifies that the text may be displayed on more than one line.
+
+ @since OOo 2.0
+ */
+ [optional, property] boolean MultiLine;
+
+
+ /** specifies that the control will be printed with the document.
+ */
+ [property] boolean Printable;
+
+
+ /** specifies the default action of the button as PushButtonType value.
+ */
+ [property] short PushButtonType;
+
+
+ /** specifies whether the control should show repeating behavior.
+
+ <p>Normally, when you click a button with the mouse, you need to
+ release the mouse button, and press it again. With this property
+ set to `TRUE`, the button is repeatedly pressed while you hold
+ down the mouse button.</p>
+
+ @since OOo 2.0
+ */
+ [optional, property] boolean Repeat;
+
+
+ /** specifies the mouse repeat delay, in milliseconds.
+
+ <p>When the user presses a mouse in a control area where this triggers
+ an action (such as pressing the button), then usual control implementations
+ allow to repeatedly trigger this action, without the need to release the
+ mouse button and to press it again. The delay between two such triggers
+ is specified with this property.</p>
+
+ @since OOo 2.0
+ */
+ [optional, property] long RepeatDelay;
+
+
+ /** specifies the state of the control.
+
+ If #Toggle property is set to `TRUE`, the pressed state
+ is enabled and its pressed state can be obtained with this property.
+
+ <pre>
+ 0: not pressed
+ 1: pressed
+ 2: don't know
+ </pre>
+ @see #Toggle
+ */
+ [property] short State;
+
+
+ /** specifies that the control can be reached with the TAB key.
+ */
+ [property] boolean Tabstop;
+
+
+ /** specifies the text color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextColor;
+
+
+ /** specifies the text line color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextLineColor;
+
+
+ /** specifies whether the button should toggle on a single operation.
+
+ <p>If this property is set to `TRUE`, a single operation of the button control (pressing space
+ while it is focused, or clicking onto it) toggles it between a <em>pressed</em> and a <em>not
+ pressed</em> state.</p>
+
+ <p>The default for this property is `FALSE`, which means the button behaves like a usual
+ push button.</p>
+
+ @since OOo 2.0
+ */
+ [optional, property] boolean Toggle;
+
+
+ /** specifies the vertical alignment of the text in the control.
+
+ @since OOo 2.0
+ */
+ [optional, property] com::sun::star::style::VerticalAlignment VerticalAlign;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlCheckBox.idl b/offapi/com/sun/star/awt/UnoControlCheckBox.idl
new file mode 100644
index 000000000..9b2554f67
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlCheckBox.idl
@@ -0,0 +1,49 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlCheckBox_idl__
+#define __com_sun_star_awt_UnoControlCheckBox_idl__
+
+#include <com/sun/star/awt/UnoControl.idl>
+
+#include <com/sun/star/awt/XCheckBox.idl>
+#include <com/sun/star/awt/XLayoutConstrains.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a check box control.
+ */
+published service UnoControlCheckBox
+{
+ service com::sun::star::awt::UnoControl;
+
+ interface com::sun::star::awt::XCheckBox;
+
+ interface com::sun::star::awt::XLayoutConstrains;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlCheckBoxModel.idl b/offapi/com/sun/star/awt/UnoControlCheckBoxModel.idl
new file mode 100644
index 000000000..d880efa05
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlCheckBoxModel.idl
@@ -0,0 +1,200 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlCheckBoxModel_idl__
+#define __com_sun_star_awt_UnoControlCheckBoxModel_idl__
+
+#include <com/sun/star/awt/FontDescriptor.idl>
+#include <com/sun/star/awt/UnoControlModel.idl>
+#include <com/sun/star/style/VerticalAlignment.idl>
+#include <com/sun/star/util/Color.idl>
+#include <com/sun/star/graphic/XGraphic.idl>
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the standard model of a UnoControlCheckBox.
+ */
+published service UnoControlCheckBoxModel
+{
+ service com::sun::star::awt::UnoControlModel;
+
+
+ /** specifies the horizontal alignment of the text in the control.
+
+ <pre>
+ 0: left
+ 1: center
+ 2: right
+ </pre>
+
+ @since OOo 2.0
+ */
+ [optional, property] short Align;
+
+
+ /** specifies the background color (RGB) of the control.
+ */
+ [optional, property] long BackgroundColor;
+
+
+ /** determines whether the control is enabled or disabled.
+ */
+ [property] boolean Enabled;
+
+
+ /** specifies the font attributes of the text in the control.
+ */
+ [property] com::sun::star::awt::FontDescriptor FontDescriptor;
+
+
+ /** specifies the com::sun::star::text::FontEmphasis
+ value of the text in the control.
+ */
+ [property] short FontEmphasisMark;
+
+
+ /** specifies the com::sun::star::text::FontRelief
+ value of the text in the control.
+ */
+ [property] short FontRelief;
+
+
+ /** specifies the help text of the control.
+ */
+ [property] string HelpText;
+
+
+ /** specifies the help URL of the control.
+ */
+ [property] string HelpURL;
+
+
+ /** specifies the position of the image, if any, relative to the text, if any
+
+ <p>Valid values of this property are specified with ImagePosition.</p>
+ */
+ [optional, property] short ImagePosition;
+
+
+ /** specifies a URL to an image to display besides the label of the control
+ @see Graphic
+ */
+ [optional, property] string ImageURL;
+
+
+ /** specifies a graphic to be displayed besides the label of the control
+
+ <p>If this property is present, it interacts with the #ImageURL in the
+ following way:
+ <ul><li>If #ImageURL is set, #Graphic will be reset
+ to an object as loaded from the given image URL, or `NULL` if #ImageURL
+ does not point to a valid image file.</li>
+ <li>If #Graphic is set, #ImageURL will be reset
+ to an empty string.</li>
+ </ul></p>
+
+ @since OOo 2.1
+ */
+ [optional, property, transient] com::sun::star::graphic::XGraphic Graphic;
+
+
+ /** specifies the label of the control.
+ */
+ [property] string Label;
+
+
+ /** specifies that the text may be displayed on more than one line.
+
+ @since OOo 2.0
+ */
+ [optional, property] boolean MultiLine;
+
+
+ /** specifies that the control will be printed with the document.
+ */
+ [property] boolean Printable;
+
+
+ /** specifies the state of the control.
+
+ <pre>
+ 0: not checked
+ 1: checked
+ 2: don't know
+ </pre>
+ */
+ [property] short State;
+
+
+ /** specifies that the control can be reached with the TAB key.
+ */
+ [property] boolean Tabstop;
+
+
+ /** specifies the text color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextColor;
+
+
+ /** specifies the text line color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextLineColor;
+
+
+ /** specifies that the control may have the state "don't know".
+ */
+ [property] boolean TriState;
+
+
+ /** specifies the vertical alignment of the text in the control.
+
+ @since OOo 2.0
+ */
+ [optional, property] com::sun::star::style::VerticalAlignment VerticalAlign;
+
+
+ /** specifies a visual effect to apply to the check box control
+
+ <p>Possible values for this property are VisualEffect::FLAT and
+ VisualEffect::LOOK3D.</p>
+
+ @see com::sun::star::awt::VisualEffect
+
+ @since OOo 2.0
+ */
+ [optional, property] short VisualEffect;
+
+ /** denotes the writing mode used in the control, as specified in the
+ com::sun::star::text::WritingMode2 constants group.
+
+ <p>Only com::sun::star::text::WritingMode2::LR_TB and
+ com::sun::star::text::WritingMode2::RL_TB are supported at the moment.</p>
+
+ @since OOo 3.1
+ */
+ [optional, property] short WritingMode;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlComboBox.idl b/offapi/com/sun/star/awt/UnoControlComboBox.idl
new file mode 100644
index 000000000..685053465
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlComboBox.idl
@@ -0,0 +1,46 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlComboBox_idl__
+#define __com_sun_star_awt_UnoControlComboBox_idl__
+
+#include <com/sun/star/awt/UnoControlEdit.idl>
+
+#include <com/sun/star/awt/XComboBox.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a combo box control.
+ */
+published service UnoControlComboBox
+{
+ service com::sun::star::awt::UnoControlEdit;
+
+ interface com::sun::star::awt::XComboBox;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlComboBoxModel.idl b/offapi/com/sun/star/awt/UnoControlComboBoxModel.idl
new file mode 100644
index 000000000..a3405e181
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlComboBoxModel.idl
@@ -0,0 +1,215 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlComboBoxModel_idl__
+#define __com_sun_star_awt_UnoControlComboBoxModel_idl__
+
+#include <com/sun/star/awt/FontDescriptor.idl>
+#include <com/sun/star/awt/UnoControlModel.idl>
+
+#include <com/sun/star/util/Color.idl>
+
+#include <com/sun/star/awt/XItemList.idl>
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the standard model of a UnoControlComboBox.
+ */
+published service UnoControlComboBoxModel
+{
+ service com::sun::star::awt::UnoControlModel;
+
+
+ /** specifies the horizontal alignment of the text in the control.
+
+ <pre>
+ 0: left
+ 1: center
+ 2: right
+ </pre>
+ */
+ [optional, property] short Align;
+
+
+ /** specifies whether automatic completion of text is enabled.
+ */
+ [property] boolean Autocomplete;
+
+
+ /** specifies the background color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color BackgroundColor;
+
+
+ /** specifies the border style of the control.
+
+ <pre>
+ 0: No border
+ 1: 3D border
+ 2: simple border
+ </pre>
+ */
+ [property] short Border;
+
+
+ /** specifies the color of the border, if present
+
+ <p>Not every border style (see #Border) may support coloring.
+ For instance, usually a border with 3D effect will ignore the BorderColor setting.</p>
+
+ @since OOo 2.0
+ */
+ [optional, property] long BorderColor;
+
+
+ /** specifies if the control has a drop down button.
+ */
+ [property] boolean Dropdown;
+
+
+ /** determines whether the control is enabled or disabled.
+ */
+ [property] boolean Enabled;
+
+
+ /** specifies the font attributes of the text in the control.
+ */
+ [property] com::sun::star::awt::FontDescriptor FontDescriptor;
+
+
+ /** specifies the com::sun::star::text::FontEmphasis
+ value of the text in the control.
+ */
+ [property] short FontEmphasisMark;
+
+
+ /** specifies the com::sun::star::text::FontRelief
+ value of the text in the control.
+ */
+ [property] short FontRelief;
+
+
+ /** specifies the help text of the control.
+ */
+ [property] string HelpText;
+
+
+ /** specifies the help URL of the control.
+ */
+ [property] string HelpURL;
+
+
+ /** specifies whether the selection in the control should be hidden when
+ the control is not active (focused).
+
+ @since OOo 2.0
+ */
+ [optional, property] boolean HideInactiveSelection;
+
+
+ /** specifies the maximum line count displayed in the drop down box.
+ */
+ [property] short LineCount;
+
+
+ /** specifies the maximum character count.
+
+ <p>There's no limitation, if set to 0.</p>
+ */
+ [property] short MaxTextLen;
+
+
+ /** specifies that the control will be printed with the document.
+ */
+ [property] boolean Printable;
+
+
+ /** specifies that the content of the control cannot be modified by the user.
+ */
+ [property] boolean ReadOnly;
+
+
+ /** specifies the list of items.
+ */
+ [property] sequence<string> StringItemList;
+
+
+ /** specifies that the control can be reached with the TAB key.
+ */
+ [property] boolean Tabstop;
+
+
+ /** specifies the text displayed in the control.
+ */
+ [property] string Text;
+
+
+ /** specifies the text color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextColor;
+
+
+ /** specifies the text line color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextLineColor;
+
+ /** denotes the writing mode used in the control, as specified in the
+ com::sun::star::text::WritingMode2 constants group.
+
+ <p>Only com::sun::star::text::WritingMode2::LR_TB and
+ com::sun::star::text::WritingMode2::RL_TB are supported at the moment.</p>
+
+ @since OOo 3.1
+ */
+ [optional, property] short WritingMode;
+
+ /** defines how the mouse wheel can be used to scroll through the control's content.
+
+ <p>Usually, the mouse wheel scroll through the control's entry list. Using this property,
+ and one of the MouseWheelBehavior constants, you can control under which circumstances
+ this is possible.</p>
+ */
+ [optional, property] short MouseWheelBehavior;
+
+ /** allows manipulating the list of items in the combo box more fine-grained than the
+ #StringItemList property.
+ */
+ [optional] interface XItemList;
+
+ /** specifies the list of raw typed (not stringized) items.
+
+ <p>This list corresponds with the StringItemList and if given
+ has to be of the same length, the elements' positions matching
+ those of their string representation in StringItemList.</p>
+
+ <p>If a new value is entered via the ComboBox edit then this
+ list will be invalidated.</p>
+
+ @since LibreOffice 5.4
+ */
+ [optional, property] sequence<any> TypedItemList;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlContainer.idl b/offapi/com/sun/star/awt/UnoControlContainer.idl
new file mode 100644
index 000000000..54b1b4093
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlContainer.idl
@@ -0,0 +1,51 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlContainer_idl__
+#define __com_sun_star_awt_UnoControlContainer_idl__
+
+#include <com/sun/star/awt/UnoControl.idl>
+#include <com/sun/star/awt/XUnoControlContainer.idl>
+#include <com/sun/star/awt/XControlContainer.idl>
+#include <com/sun/star/container/XContainer.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies an abstract control which contains other controls.
+ */
+published service UnoControlContainer
+{
+ service com::sun::star::awt::UnoControl;
+
+ interface com::sun::star::awt::XUnoControlContainer;
+
+ interface com::sun::star::awt::XControlContainer;
+
+ interface com::sun::star::container::XContainer;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlContainerModel.idl b/offapi/com/sun/star/awt/UnoControlContainerModel.idl
new file mode 100644
index 000000000..b63a37f09
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlContainerModel.idl
@@ -0,0 +1,95 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlContainerModel_idl__
+#define __com_sun_star_awt_UnoControlContainerModel_idl__
+
+#include <com/sun/star/awt/UnoControlModel.idl>
+
+#include <com/sun/star/util/Color.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the standard model of a UnoControlContainer.
+ */
+published service UnoControlContainerModel
+{
+ service com::sun::star::awt::UnoControlModel;
+
+
+ /** specifies the background color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color BackgroundColor;
+
+
+ /** determines whether a control is enabled or disabled.
+ */
+ [property] boolean Enabled;
+
+
+ /** specifies the border style of the control.
+
+ <pre>
+ 0: No border
+ 1: 3D border
+ 2: simple border
+ </pre>
+ */
+ [property] short Border;
+
+
+ /** specifies the color of the border, if present
+
+ <p>Not every border style (see #Border) may support coloring.
+ For instance, usually a border with 3D effect will ignore the BorderColor setting.</p>
+
+ @since OOo 2.0
+ */
+ [optional, property] long BorderColor;
+
+
+ /** specifies whether the control will be printed with the document.
+ */
+ [property] boolean Printable;
+
+
+ /** specifies the text displayed in the control.
+ */
+ [property] string Text;
+
+
+ /** specifies the help text of the control.
+ */
+ [property] string HelpText;
+
+
+ /** specifies the help URL of the control.
+ */
+ [property] string HelpURL;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlCurrencyField.idl b/offapi/com/sun/star/awt/UnoControlCurrencyField.idl
new file mode 100644
index 000000000..0099f7c46
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlCurrencyField.idl
@@ -0,0 +1,56 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlCurrencyField_idl__
+#define __com_sun_star_awt_UnoControlCurrencyField_idl__
+
+#include <com/sun/star/awt/UnoControlEdit.idl>
+#include <com/sun/star/awt/XSpinField.idl>
+#include <com/sun/star/awt/XCurrencyField.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a currency field control.
+
+ <p>A currency field makes it possible to enter, display and edit
+ currency values.</p>
+ */
+published service UnoControlCurrencyField
+{
+ service com::sun::star::awt::UnoControlEdit;
+
+ /** gives access to the value of a spin field and makes it possible to
+ register for spin events.
+
+ @since OOo 1.1.2
+ */
+ [optional] interface com::sun::star::awt::XSpinField;
+
+ interface com::sun::star::awt::XCurrencyField;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlCurrencyFieldModel.idl b/offapi/com/sun/star/awt/UnoControlCurrencyFieldModel.idl
new file mode 100644
index 000000000..cb2bcc7d5
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlCurrencyFieldModel.idl
@@ -0,0 +1,233 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlCurrencyFieldModel_idl__
+#define __com_sun_star_awt_UnoControlCurrencyFieldModel_idl__
+
+#include <com/sun/star/awt/FontDescriptor.idl>
+#include <com/sun/star/awt/UnoControlModel.idl>
+
+#include <com/sun/star/util/Color.idl>
+
+#include <com/sun/star/style/VerticalAlignment.idl>
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the standard model of a UnoControlCurrencyField.
+ */
+published service UnoControlCurrencyFieldModel
+{
+ service com::sun::star::awt::UnoControlModel;
+
+
+ /** specifies the background color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color BackgroundColor;
+
+
+ /** specifies the border style of the control.
+
+ <pre>
+ 0: No border
+ 1: 3D border
+ 2: simple border
+ </pre>
+ */
+ [property] short Border;
+
+
+ /** specifies the color of the border, if present
+
+ <p>Not every border style (see #Border) may support coloring.
+ For instance, usually a border with 3D effect will ignore the BorderColor setting.</p>
+
+ @since OOo 2.0
+ */
+ [optional, property] long BorderColor;
+
+
+ /** specifies the currency symbol.
+ */
+ [property] string CurrencySymbol;
+
+
+ /** specifies the decimal accuracy.
+ */
+ [property] short DecimalAccuracy;
+
+
+ /** determines whether the control is enabled or disabled.
+ */
+ [property] boolean Enabled;
+
+
+ /** specifies the font attributes of the text in the control.
+ */
+ [property] com::sun::star::awt::FontDescriptor FontDescriptor;
+
+
+ /** specifies the com::sun::star::text::FontEmphasis
+ value of the text in the control.
+ */
+ [property] short FontEmphasisMark;
+
+
+ /** specifies the com::sun::star::text::FontRelief
+ value of the text in the control.
+ */
+ [property] short FontRelief;
+
+
+ /** specifies the help text of the control.
+ */
+ [property] string HelpText;
+
+
+ /** specifies the help URL of the control.
+ */
+ [property] string HelpURL;
+
+
+ /** specifies whether the selection in the control should be hidden when
+ the control is not active (focused).
+
+ @since OOo 2.0
+ */
+ [optional, property] boolean HideInactiveSelection;
+
+
+ /** specifies whether the currency symbol is to be prepended.
+ */
+
+ [property] boolean PrependCurrencySymbol;
+
+
+ /** specifies that the control will be printed with the document.
+ */
+ [property] boolean Printable;
+
+
+ /** specifies that the content of the control cannot be modified by the user.
+ */
+ [property] boolean ReadOnly;
+
+
+ /** specifies whether the mouse should show repeating behavior, i.e.
+ repeatedly trigger an action when keeping pressed.
+
+ @since OOo 2.0
+ */
+ [optional, property] boolean Repeat;
+
+
+ /** specifies the mouse repeat delay, in milliseconds.
+
+ <p>When the user presses a mouse in a control area where this triggers
+ an action (such as spinning the value), then usual control implementations
+ allow to repeatedly trigger this action, without the need to release the
+ mouse button and to press it again. The delay between two such triggers
+ is specified with this property.</p>
+
+ @since OOo 2.0
+ */
+ [optional, property] long RepeatDelay;
+
+
+ /** specifies whether the thousands separator is to be displayed.
+ */
+ [property] boolean ShowThousandsSeparator;
+
+
+ /** specifies that the control has a spin button.
+ */
+ [property] boolean Spin;
+
+
+ /** specifies that the value is checked during the user input.
+ */
+ [property] boolean StrictFormat;
+
+
+ /** specifies that the control can be reached with the TAB key.
+ */
+ [property] boolean Tabstop;
+
+
+ /** specifies the text color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextColor;
+
+
+ /** specifies the text line color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextLineColor;
+
+
+ /** specifies the value displayed in the control.
+ */
+ [property] double Value;
+
+
+ /** specifies the maximum value that can be entered.
+ */
+ [property] double ValueMax;
+
+
+ /** specifies the minimum value that can be entered.
+ */
+ [property] double ValueMin;
+
+
+ /** specifies the value step when using the spin button.
+ */
+ [property] double ValueStep;
+
+ /** denotes the writing mode used in the control, as specified in the
+ com::sun::star::text::WritingMode2 constants group.
+
+ <p>Only com::sun::star::text::WritingMode2::LR_TB and
+ com::sun::star::text::WritingMode2::RL_TB are supported at the moment.</p>
+
+ @since OOo 3.1
+ */
+ [optional, property] short WritingMode;
+
+ /** defines how the mouse wheel can be used to scroll through the control's content.
+
+ <p>Usually, the mouse wheel spins the numeric value displayed in the control. Using this property,
+ and one of the MouseWheelBehavior constants, you can control under which circumstances
+ this is possible.</p>
+ */
+ [optional, property] short MouseWheelBehavior;
+
+
+ /** specifies the vertical alignment of the text in the control.
+
+ @since OOo 3.3
+ */
+ [optional, property] com::sun::star::style::VerticalAlignment VerticalAlign;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlDateField.idl b/offapi/com/sun/star/awt/UnoControlDateField.idl
new file mode 100644
index 000000000..058f350c8
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlDateField.idl
@@ -0,0 +1,55 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlDateField_idl__
+#define __com_sun_star_awt_UnoControlDateField_idl__
+
+#include <com/sun/star/awt/UnoControlEdit.idl>
+#include <com/sun/star/awt/XSpinField.idl>
+#include <com/sun/star/awt/XDateField.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a date field control.
+
+ <p>A date field makes it possible to enter, display and edit date values.</p>
+ */
+published service UnoControlDateField
+{
+ service com::sun::star::awt::UnoControlEdit;
+
+ /** gives access to the value of a spin field and makes it possible to
+ register for spin events.
+
+ @since OOo 1.1.2
+ */
+ [optional] interface com::sun::star::awt::XSpinField;
+
+ interface com::sun::star::awt::XDateField;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlDateFieldModel.idl b/offapi/com/sun/star/awt/UnoControlDateFieldModel.idl
new file mode 100644
index 000000000..46536c59f
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlDateFieldModel.idl
@@ -0,0 +1,245 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlDateFieldModel_idl__
+#define __com_sun_star_awt_UnoControlDateFieldModel_idl__
+
+#include <com/sun/star/util/Date.idl>
+#include <com/sun/star/awt/FontDescriptor.idl>
+#include <com/sun/star/awt/UnoControlModel.idl>
+
+#include <com/sun/star/util/Color.idl>
+
+#include <com/sun/star/style/VerticalAlignment.idl>
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the standard model of a UnoControlDateField.
+ */
+published service UnoControlDateFieldModel
+{
+ service com::sun::star::awt::UnoControlModel;
+
+
+ /** specifies the background color(RGB) of the control.
+ */
+ [property] com::sun::star::util::Color BackgroundColor;
+
+
+ /** specifies the border style of the control.
+
+ <pre>
+ 0: No border
+ 1: 3D border
+ 2: simple border
+ </pre>
+ */
+ [property] short Border;
+
+
+ /** specifies the color of the border, if present
+
+ <p>Not every border style (see #Border) may support coloring.
+ For instance, usually a border with 3D effect will ignore the BorderColor setting.</p>
+
+ @since OOo 2.0
+ */
+ [optional, property] long BorderColor;
+
+
+ /** specifies the date displayed in the control.
+ */
+ [property] ::com::sun::star::util::Date Date;
+
+
+ /** specifies the format of the displayed date.
+
+ <pre>
+ 0: system short
+ 1: system short YY
+ 2: system short YYYY
+ 3: system long
+ 4: short DDMMYY
+ 5: short MMDDYY
+ 6: short YYMMDD
+ 7: short DDMMYYYY
+ 8: short MMDDYYYY
+ 9: short YYYYMMDD
+ 10: short YYMMDD DIN5008
+ 11: short YYYYMMDD DIN5008
+ </pre>
+ */
+ [property] short DateFormat;
+
+
+ /** specifies the maximum date that can be entered.
+ */
+ [property] ::com::sun::star::util::Date DateMax;
+
+
+ /** specifies the minimum date that can be entered.
+ */
+ [property] ::com::sun::star::util::Date DateMin;
+
+
+ /** specifies, if the date century is displayed.
+ */
+ [property] boolean DateShowCentury;
+
+
+ /** specifies, if the control has a dropdown button.
+ */
+ [property] boolean Dropdown;
+
+
+ /** determines whether the control is enabled or disabled.
+ */
+ [property] boolean Enabled;
+
+
+ /** specifies the font attributes of the text in the control.
+ */
+ [property] com::sun::star::awt::FontDescriptor FontDescriptor;
+
+
+ /** specifies the com::sun::star::text::FontEmphasis
+ value of the text in the control.
+ */
+ [property] short FontEmphasisMark;
+
+
+ /** specifies the com::sun::star::text::FontRelief
+ value of the text in the control.
+ */
+ [property] short FontRelief;
+
+
+ /** specifies the help text of the control.
+ */
+ [property] string HelpText;
+
+
+ /** specifies the help URL of the control.
+ */
+ [property] string HelpURL;
+
+
+ /** specifies whether the selection in the control should be hidden when
+ the control is not active (focused).
+
+ @since OOo 2.0
+ */
+ [optional, property] boolean HideInactiveSelection;
+
+
+ /** specifies that the control will be printed with the document.
+ */
+ [property] boolean Printable;
+
+
+ /** specifies that the content of the control cannot be modified by the user.
+ */
+ [property] boolean ReadOnly;
+
+
+ /** specifies whether the mouse should show repeating behavior, i.e.
+ repeatedly trigger an action when keeping pressed.
+
+ @since OOo 2.0
+ */
+ [optional, property] boolean Repeat;
+
+
+ /** specifies the mouse repeat delay, in milliseconds.
+
+ <p>When the user presses a mouse in a control area where this triggers
+ an action (such as spinning the value), then usual control implementations
+ allow to repeatedly trigger this action, without the need to release the
+ mouse button and to press it again. The delay between two such triggers
+ is specified with this property.</p>
+
+ @since OOo 2.0
+ */
+ [optional, property] long RepeatDelay;
+
+
+ /** specifies that the control has a spin button.
+ */
+ [property] boolean Spin;
+
+
+ /** specifies that the date is checked during the user input.
+ */
+ [property] boolean StrictFormat;
+
+
+ /** specifies that the control can be reached with the TAB key.
+ */
+ [property] boolean Tabstop;
+
+
+ /** specifies the text displayed in the control.
+
+ @since OOo 2.0
+ */
+ [optional, property] string Text;
+
+
+ /** specifies the text color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextColor;
+
+
+ /** specifies the text line color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextLineColor;
+
+ /** denotes the writing mode used in the control, as specified in the
+ com::sun::star::text::WritingMode2 constants group.
+
+ <p>Only com::sun::star::text::WritingMode2::LR_TB and
+ com::sun::star::text::WritingMode2::RL_TB are supported at the moment.</p>
+
+ @since OOo 3.1
+ */
+ [optional, property] short WritingMode;
+
+ /** defines how the mouse wheel can be used to scroll through the control's content.
+
+ <p>Usually, the mouse wheel spins the numeric value displayed in the control. Using this property,
+ and one of the MouseWheelBehavior constants, you can control under which circumstances
+ this is possible.</p>
+ */
+ [optional, property] short MouseWheelBehavior;
+
+
+ /** specifies the vertical alignment of the text in the control.
+
+ @since OOo 3.3
+ */
+ [optional, property] com::sun::star::style::VerticalAlignment VerticalAlign;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlDialog.idl b/offapi/com/sun/star/awt/UnoControlDialog.idl
new file mode 100644
index 000000000..67e0b79b8
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlDialog.idl
@@ -0,0 +1,36 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlDialog_idl__
+#define __com_sun_star_awt_UnoControlDialog_idl__
+
+#include <com/sun/star/awt/XUnoControlDialog.idl>
+
+module com { module sun { module star { module awt {
+
+
+/** specifies a dialog control.
+ */
+published service UnoControlDialog : XUnoControlDialog;
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlDialogElement.idl b/offapi/com/sun/star/awt/UnoControlDialogElement.idl
new file mode 100644
index 000000000..ea84602f0
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlDialogElement.idl
@@ -0,0 +1,79 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlDialogElement_idl__
+#define __com_sun_star_awt_UnoControlDialogElement_idl__
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a set of properties to describe the model of an
+ UnoControl which is embedded in a
+ UnoControlDialogModel.
+ */
+published service UnoControlDialogElement
+{
+
+ /** specifies the height of the control.
+ */
+ [property] long Height;
+
+
+ /** specifies the name of the control.
+ */
+ [property] string Name;
+
+
+ /** specifies the horizontal position of the control.
+ */
+ [property] string PositionX;
+
+
+ /** specifies the vertical position of the control.
+ */
+ [property] string PositionY;
+
+
+ /** specifies the step of the control.
+ */
+ [property] long Step;
+
+
+ /** specifies the tabindex of the control.
+ */
+ [property] short TabIndex;
+
+
+ /** specifies the tag of the control.
+ */
+ [property] string Tag;
+
+
+ /** specifies the width of the control.
+ */
+ [property] long Width;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlDialogModel.idl b/offapi/com/sun/star/awt/UnoControlDialogModel.idl
new file mode 100644
index 000000000..428ef7352
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlDialogModel.idl
@@ -0,0 +1,185 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlDialogModel_idl__
+#define __com_sun_star_awt_UnoControlDialogModel_idl__
+
+#include <com/sun/star/awt/FontDescriptor.idl>
+#include <com/sun/star/awt/UnoControlModel.idl>
+#include <com/sun/star/container/XContainer.idl>
+#include <com/sun/star/container/XNameContainer.idl>
+
+#include <com/sun/star/lang/XMultiServiceFactory.idl>
+#include <com/sun/star/util/Color.idl>
+#include <com/sun/star/graphic/XGraphic.idl>
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the standard model of a UnoControlDialog.
+ */
+published service UnoControlDialogModel
+{
+ service com::sun::star::awt::UnoControlModel;
+
+ /** allows to create control models, which support the
+ UnoControlDialogElement service and can be inserted into
+ this container.
+ */
+ interface com::sun::star::lang::XMultiServiceFactory;
+
+ interface com::sun::star::container::XContainer;
+
+ interface com::sun::star::container::XNameContainer;
+
+
+ /** specifies the background color (RGB) of the dialog.
+ */
+ [property] com::sun::star::util::Color BackgroundColor;
+
+
+ /** specifies if the dialog is closeable.
+ */
+ [property] boolean Closeable;
+
+
+ /** determines whether a dialog is enabled or disabled.
+ */
+ [property] boolean Enabled;
+
+
+ /** specifies the font attributes of the text in the caption bar of the dialog.
+ */
+ [property] com::sun::star::awt::FontDescriptor FontDescriptor;
+
+
+ /** specifies the com::sun::star::text::FontEmphasis
+ value of the text in the caption bar of the dialog.
+ */
+ [property] short FontEmphasisMark;
+
+
+ /** specifies the com::sun::star::text::FontRelief
+ value of the text in the caption bar of the dialog.
+ */
+ [property] short FontRelief;
+
+
+ /** specifies the help text of the dialog.
+ */
+ [property] string HelpText;
+
+
+ /** specifies the help URL of the dialog.
+ */
+ [property] string HelpURL;
+
+
+ /** specifies if the dialog is moveable.
+ */
+ [property] boolean Moveable;
+
+
+ /** specifies if the dialog is sizeable.
+ */
+ [property] boolean Sizeable;
+
+
+ /** specifies the text color (RGB) of the dialog.
+ */
+ [property] com::sun::star::util::Color TextColor;
+
+
+ /** specifies the text line color (RGB) of the dialog.
+ */
+ [property] com::sun::star::util::Color TextLineColor;
+
+
+ /** specifies the text that is displayed in the caption bar of the dialog.
+ */
+ [property] string Title;
+
+
+ /** If set to true the dialog will have the desktop as parent.
+
+ @since OOo 2.3
+ */
+ [optional, property] boolean DesktopAsParent;
+
+ /** specifies a URL that references a graphic that should be used as a
+ background image.
+ @see Graphic
+
+ @since OOo 2.4
+ */
+ [optional, property] string ImageURL;
+
+ /** specifies a graphic to be displayed as a background image
+
+ <p>If this property is present, it interacts with the #ImageURL in the
+ following way:
+ <ul><li>If #ImageURL is set, #Graphic will be reset
+ to an object as loaded from the given image URL, or `NULL` if #ImageURL
+ does not point to a valid image file.</li>
+ <li>If #Graphic is set, #ImageURL will be reset
+ to an empty string.</li>
+ </ul></p>
+
+ @since OOo 2.4
+ */
+ [optional, property, transient] com::sun::star::graphic::XGraphic Graphic;
+
+ /** specifies that a horizontal scrollbar should be added to the dialog
+ @since LibreOffice 4.0
+ */
+ [optional, property] boolean HScroll;
+
+ /** specifies that a vertical scrollbar should be added to the dialog
+ @since LibreOffice 4.0
+ */
+ [optional, property] boolean VScroll;
+
+ /** specifies the horizontal position of the scrolled dialog content
+ @since LibreOffice 4.0
+ */
+ [optional, property] long ScrollLeft;
+
+ /** specifies the vertical position of the scrolled dialog content
+ @since LibreOffice 4.0
+ */
+ [optional, property] long ScrollTop;
+
+ /** specifies the total width of the scrollable dialog content
+ @since LibreOffice 4.0
+ */
+ [optional, property] long ScrollWidth;
+
+ /** specifies the total height of the scrollable dialog content
+ @since LibreOffice 4.0
+ */
+ [optional, property] long ScrollHeight;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlDialogModelProvider.idl b/offapi/com/sun/star/awt/UnoControlDialogModelProvider.idl
new file mode 100644
index 000000000..94abbaa32
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlDialogModelProvider.idl
@@ -0,0 +1,46 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlDialogModelProvider_idl__
+#define __com_sun_star_awt_UnoControlDialogModelProvider_idl__
+
+#include <com/sun/star/container/XNameContainer.idl>
+#include <com/sun/star/beans/XPropertySet.idl>
+#include <com/sun/star/lang/IllegalArgumentException.idl>
+
+
+module com { module sun { module star { module awt {
+
+
+/** specifies a service to load a dialog model and allows to access the control models inside
+
+ @since OOo 3.3
+ */
+service UnoControlDialogModelProvider : com::sun::star::container::XNameContainer
+{
+ /** Creates a new dialog model
+ */
+ create([in] string URL)raises ( com::sun::star::lang::IllegalArgumentException );
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlEdit.idl b/offapi/com/sun/star/awt/UnoControlEdit.idl
new file mode 100644
index 000000000..0b35afb5e
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlEdit.idl
@@ -0,0 +1,53 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlEdit_idl__
+#define __com_sun_star_awt_UnoControlEdit_idl__
+
+#include <com/sun/star/awt/UnoControl.idl>
+
+#include <com/sun/star/awt/XTextComponent.idl>
+#include <com/sun/star/awt/XLayoutConstrains.idl>
+
+#include <com/sun/star/awt/XTextLayoutConstrains.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies an edit control.
+ */
+published service UnoControlEdit
+{
+ service com::sun::star::awt::UnoControl;
+
+ interface com::sun::star::awt::XTextComponent;
+
+ interface com::sun::star::awt::XLayoutConstrains;
+
+ interface com::sun::star::awt::XTextLayoutConstrains;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlEditModel.idl b/offapi/com/sun/star/awt/UnoControlEditModel.idl
new file mode 100644
index 000000000..2d173e599
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlEditModel.idl
@@ -0,0 +1,245 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlEditModel_idl__
+#define __com_sun_star_awt_UnoControlEditModel_idl__
+
+#include <com/sun/star/awt/FontDescriptor.idl>
+#include <com/sun/star/awt/UnoControlModel.idl>
+
+#include <com/sun/star/util/Color.idl>
+
+#include <com/sun/star/style/VerticalAlignment.idl>
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the standard model of a UnoControlEdit.
+ */
+published service UnoControlEditModel
+{
+ service com::sun::star::awt::UnoControlModel;
+
+
+ /** specifies the horizontal alignment of the text in the control.
+
+ <pre>
+ 0: left
+ 1: center
+ 2: right
+ </pre>
+ */
+ [property] short Align;
+
+
+ /** If set to true an horizontal scrollbar will be added automatically
+ when needed.
+
+ @since OOo 2.3
+ */
+ [optional, property] boolean AutoHScroll;
+
+
+ /** If set to true a vertical scrollbar will be added automatically
+ when needed.
+
+ @since OOo 2.3
+ */
+ [optional, property] boolean AutoVScroll;
+
+
+ /** specifies the background color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color BackgroundColor;
+
+
+ /** specifies the border style of the control.
+
+ <pre>
+ 0: No border
+ 1: 3D border
+ 2: simple border
+ </pre>
+ */
+ [property] short Border;
+
+
+ /** specifies the color of the border, if present
+
+ <p>Not every border style (see #Border) may support coloring.
+ For instance, usually a border with 3D effect will ignore the BorderColor setting.</p>
+
+ @since OOo 2.0
+ */
+ [optional, property] long BorderColor;
+
+
+ /** specifies the echo character for a password edit field.
+ */
+ [optional, property] short EchoChar;
+
+
+ /** determines whether the control is enabled or disabled.
+ */
+ [property] boolean Enabled;
+
+
+ /** specifies the font attributes of the text in the control.
+ */
+ [property] com::sun::star::awt::FontDescriptor FontDescriptor;
+
+
+ /** specifies the com::sun::star::text::FontEmphasis
+ value of the text in the control.
+ */
+ [property] short FontEmphasisMark;
+
+
+ /** specifies the com::sun::star::text::FontRelief
+ value of the text in the control.
+ */
+ [property] short FontRelief;
+
+
+ /** specifies if hard line breaks will be returned in the
+ XTextComponent::getText() method.
+ */
+ [property] boolean HardLineBreaks;
+
+
+ /** specifies the help text of the control.
+ */
+ [property] string HelpText;
+
+
+ /** specifies the help URL of the control.
+ */
+ [property] string HelpURL;
+
+
+ /** specifies whether the selection in the control should be hidden when
+ the control is not active (focused).
+
+ @since OOo 2.0
+ */
+ [optional, property] boolean HideInactiveSelection;
+
+
+ /** specifies if the content of the control can be scrolled in
+ the horizontal direction.
+ */
+ [property] boolean HScroll;
+
+
+ /** specifies which line end type should be used for multi line text
+
+ <p>Controls working with this model care for this setting when the user enters
+ text. Every line break entered into the control will be treated according to this
+ setting, so that the #Text property always contains only
+ line ends in the format specified.</p>
+
+ <p>Possible values are all constants from the LineEndFormat group.</p>
+
+ <p>Note that this setting is usually not relevant when you set new text via the API.
+ No matter which line end format is used in this new text then, usual control implementations
+ should recognize all line end formats and display them properly.</p>
+
+ @since OOo 2.0
+ */
+ [optional, property] short LineEndFormat;
+
+
+ /** specifies the maximum character count.
+
+ <p>There's no limitation, if set to 0.</p>
+ */
+ [property] short MaxTextLen;
+
+
+ /** specifies that the control may have more than one line.
+ */
+ [property] boolean MultiLine;
+
+
+ /** specifies whether the control paints it background or not.
+
+ @since OOo 2.3
+ */
+ [optional, property] boolean PaintTransparent;
+
+
+ /** specifies that the control will be printed with the document.
+ */
+ [property] boolean Printable;
+
+
+ /** specifies that the content of the control cannot be modified by the user.
+ */
+ [property] boolean ReadOnly;
+
+
+ /** specifies that the control can be reached with the TAB key.
+ */
+ [property] boolean Tabstop;
+
+
+ /** specifies the text displayed in the control.
+ */
+ [property] string Text;
+
+
+ /** specifies the text color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextColor;
+
+
+ /** specifies the text line color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextLineColor;
+
+
+ /** specifies if the content of the control can be scrolled in
+ the vertical direction.
+ */
+ [property] boolean VScroll;
+
+ /** denotes the writing mode used in the control, as specified in the
+ com::sun::star::text::WritingMode2 constants group.
+
+ <p>Only com::sun::star::text::WritingMode2::LR_TB and
+ com::sun::star::text::WritingMode2::RL_TB are supported at the moment.</p>
+
+ @since OOo 3.1
+ */
+ [optional, property] short WritingMode;
+
+
+ /** specifies the vertical alignment of the text in the control.
+
+ @since OOo 3.3
+ */
+ [optional, property] com::sun::star::style::VerticalAlignment VerticalAlign;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlFileControl.idl b/offapi/com/sun/star/awt/UnoControlFileControl.idl
new file mode 100644
index 000000000..20af4b387
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlFileControl.idl
@@ -0,0 +1,45 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlFileControl_idl__
+#define __com_sun_star_awt_UnoControlFileControl_idl__
+
+#include <com/sun/star/awt/UnoControlEdit.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a file control.
+
+ <p>A file control extends the UnoControlEdit with a file
+ dialog.</p>
+ */
+published service UnoControlFileControl
+{
+ service com::sun::star::awt::UnoControlEdit;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlFileControlModel.idl b/offapi/com/sun/star/awt/UnoControlFileControlModel.idl
new file mode 100644
index 000000000..f8c053abb
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlFileControlModel.idl
@@ -0,0 +1,150 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlFileControlModel_idl__
+#define __com_sun_star_awt_UnoControlFileControlModel_idl__
+
+#include <com/sun/star/awt/FontDescriptor.idl>
+#include <com/sun/star/awt/UnoControlModel.idl>
+
+#include <com/sun/star/util/Color.idl>
+
+#include <com/sun/star/style/VerticalAlignment.idl>
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the standard model of a UnoControlFileControl.
+ */
+published service UnoControlFileControlModel
+{
+ service com::sun::star::awt::UnoControlModel;
+
+
+ /** specifies the background color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color BackgroundColor;
+
+
+ /** specifies the border style of the control.
+
+ <pre>
+ 0: No border
+ 1: 3D border
+ 2: simple border
+ </pre>
+ */
+ [property] short Border;
+
+
+ /** specifies the color of the border, if present
+
+ <p>Not every border style (see #Border) may support coloring.
+ For instance, usually a border with 3D effect will ignore the BorderColor setting.</p>
+
+ @since OOo 2.0
+ */
+ [optional, property] long BorderColor;
+
+
+ /** determines whether a control is enabled or disabled.
+ */
+ [property] boolean Enabled;
+
+
+ /** specifies the font attributes of the text in the control.
+ */
+ [property] com::sun::star::awt::FontDescriptor FontDescriptor;
+
+
+ /** specifies the com::sun::star::text::FontEmphasis
+ value of the text in the control.
+ */
+ [property] short FontEmphasisMark;
+
+
+ /** specifies the com::sun::star::text::FontRelief
+ value of the text in the control.
+ */
+ [property] short FontRelief;
+
+
+ /** specifies the help text of the control.
+ */
+ [property] string HelpText;
+
+
+ /** specifies the help URL of the control.
+ */
+ [property] string HelpURL;
+
+
+ /** specifies whether the selection in the control should be hidden when
+ the control is not active (focused).
+
+ @since OOo 2.0
+ */
+ [optional, property] boolean HideInactiveSelection;
+
+
+ /** specifies that the control will be printed with the document.
+ */
+ [property] boolean Printable;
+
+
+ /** specifies that the content of the control cannot be modified by the user.
+
+ @since OOo 1.1.2
+ */
+ [optional, property] boolean ReadOnly;
+
+
+ /** specifies that the control can be reached with the TAB key.
+ */
+ [property] boolean Tabstop;
+
+
+ /** specifies the text displayed in the control.
+ */
+ [property] string Text;
+
+
+ /** specifies the text color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextColor;
+
+
+ /** specifies the text line color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextLineColor;
+
+
+ /** specifies the vertical alignment of the text in the control.
+
+ @since OOo 3.3
+ */
+ [optional, property] com::sun::star::style::VerticalAlignment VerticalAlign;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlFixedHyperlink.idl b/offapi/com/sun/star/awt/UnoControlFixedHyperlink.idl
new file mode 100644
index 000000000..9f076f2b9
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlFixedHyperlink.idl
@@ -0,0 +1,47 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlFixedHyperlink_idl__
+#define __com_sun_star_awt_UnoControlFixedHyperlink_idl__
+
+#include <com/sun/star/awt/UnoControl.idl>
+#include <com/sun/star/awt/XFixedHyperlink.idl>
+#include <com/sun/star/awt/XLayoutConstrains.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a control for displaying fixed hyperlink.
+ */
+service UnoControlFixedHyperlink
+{
+ service com::sun::star::awt::UnoControl;
+
+ interface com::sun::star::awt::XFixedHyperlink;
+
+ interface com::sun::star::awt::XLayoutConstrains;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlFixedHyperlinkModel.idl b/offapi/com/sun/star/awt/UnoControlFixedHyperlinkModel.idl
new file mode 100644
index 000000000..fb4ff2762
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlFixedHyperlinkModel.idl
@@ -0,0 +1,150 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlFixedHyperlinkModel_idl__
+#define __com_sun_star_awt_UnoControlFixedHyperlinkModel_idl__
+
+#include <com/sun/star/awt/FontDescriptor.idl>
+#include <com/sun/star/awt/UnoControlModel.idl>
+#include <com/sun/star/style/VerticalAlignment.idl>
+#include <com/sun/star/util/Color.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the standard model of a UnoControlFixedHyperlink.
+ */
+service UnoControlFixedHyperlinkModel
+{
+ service com::sun::star::awt::UnoControlModel;
+
+
+ /** specifies the horizontal alignment of the text in the control.
+
+ <pre>
+ 0: left
+ 1: center
+ 2: right
+ </pre>
+ */
+ [property] short Align;
+
+
+ /** specifies the background color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color BackgroundColor;
+
+
+ /** specifies the border style of the control.
+
+ <pre>
+ 0: No border
+ 1: 3D border
+ 2: simple border
+ </pre>
+ */
+ [property] short Border;
+
+
+ /** specifies the color of the border, if present
+
+ <p>Not every border style (see #Border) may support coloring.
+ For instance, usually a border with 3D effect will ignore the BorderColor setting.</p>
+
+ @since OOo 2.0
+ */
+ [optional, property] long BorderColor;
+
+
+ /** determines whether the control is enabled or disabled.
+ */
+ [property] boolean Enabled;
+
+
+ /** specifies the font attributes of the text in the control.
+ */
+ [property] com::sun::star::awt::FontDescriptor FontDescriptor;
+
+
+ /** specifies the com::sun::star::text::FontEmphasis
+ value of the text in the control.
+ */
+ [property] short FontEmphasisMark;
+
+
+ /** specifies the com::sun::star::text::FontRelief
+ value of the text in the control.
+ */
+ [property] short FontRelief;
+
+
+ /** specifies the help text of the control.
+ */
+ [property] string HelpText;
+
+
+ /** specifies the help URL of the control.
+ */
+ [property] string HelpURL;
+
+
+ /** specifies the label of the control.
+ */
+ [property] string Label;
+
+
+ /** specifies that the text may be displayed on more than one line.
+ */
+ [property] boolean MultiLine;
+
+
+ /** specifies that the control will be printed with the document.
+ */
+ [property] boolean Printable;
+
+
+ /** specifies the text color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextColor;
+
+
+ /** specifies the text line color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextLineColor;
+
+
+ /** specifies the URL.
+ */
+ [property] string URL;
+
+
+ /** specifies the vertical alignment of the text in the control.
+
+ @since OOo 2.0
+ */
+ [optional, property] com::sun::star::style::VerticalAlignment VerticalAlign;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlFixedLine.idl b/offapi/com/sun/star/awt/UnoControlFixedLine.idl
new file mode 100644
index 000000000..3c8885c5c
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlFixedLine.idl
@@ -0,0 +1,43 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlFixedLine_idl__
+#define __com_sun_star_awt_UnoControlFixedLine_idl__
+
+#include <com/sun/star/awt/UnoControl.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a fixed line control.
+ */
+published service UnoControlFixedLine
+{
+ service com::sun::star::awt::UnoControl;
+
+};
+
+
+}; }; }; };
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlFixedLineModel.idl b/offapi/com/sun/star/awt/UnoControlFixedLineModel.idl
new file mode 100644
index 000000000..3514b3050
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlFixedLineModel.idl
@@ -0,0 +1,106 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlFixedLineModel_idl__
+#define __com_sun_star_awt_UnoControlFixedLineModel_idl__
+
+#include <com/sun/star/awt/FontDescriptor.idl>
+#include <com/sun/star/awt/UnoControlModel.idl>
+#include <com/sun/star/util/Color.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the standard model of a UnoControlFixedLine.
+ */
+published service UnoControlFixedLineModel
+{
+ service com::sun::star::awt::UnoControlModel;
+
+
+ /** determines whether the control is enabled or disabled.
+ */
+ [property] boolean Enabled;
+
+
+ /** specifies the font attributes of the text in the control.
+ */
+ [property] com::sun::star::awt::FontDescriptor FontDescriptor;
+
+
+ /** specifies the com::sun::star::text::FontEmphasis
+ value of the text in the control.
+ */
+ [property] short FontEmphasisMark;
+
+
+ /** specifies the com::sun::star::text::FontRelief
+ value of the text in the control.
+ */
+ [property] short FontRelief;
+
+
+ /** specifies the help text of the control.
+ */
+ [property] string HelpText;
+
+
+ /** specifies the help URL of the control.
+ */
+ [property] string HelpURL;
+
+
+ /** specifies the label of the control.
+ */
+ [property] string Label;
+
+
+ /** specifies the orientation of the control.
+
+ <pre>
+ 0: horizontal
+ 1: vertical
+ </pre>
+ */
+ [property] long Orientation;
+
+
+ /** specifies that the control will be printed with the document.
+ */
+ [property] boolean Printable;
+
+
+ /** specifies the text color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextColor;
+
+
+ /** specifies the text line color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextLineColor;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlFixedText.idl b/offapi/com/sun/star/awt/UnoControlFixedText.idl
new file mode 100644
index 000000000..732e2cd8e
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlFixedText.idl
@@ -0,0 +1,50 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlFixedText_idl__
+#define __com_sun_star_awt_UnoControlFixedText_idl__
+
+#include <com/sun/star/awt/UnoControl.idl>
+
+#include <com/sun/star/awt/XFixedText.idl>
+
+#include <com/sun/star/awt/XLayoutConstrains.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a control for displaying fixed text.
+ */
+published service UnoControlFixedText
+{
+ service com::sun::star::awt::UnoControl;
+
+ interface com::sun::star::awt::XFixedText;
+
+ interface com::sun::star::awt::XLayoutConstrains;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlFixedTextModel.idl b/offapi/com/sun/star/awt/UnoControlFixedTextModel.idl
new file mode 100644
index 000000000..75bff7aec
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlFixedTextModel.idl
@@ -0,0 +1,153 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlFixedTextModel_idl__
+#define __com_sun_star_awt_UnoControlFixedTextModel_idl__
+
+#include <com/sun/star/awt/FontDescriptor.idl>
+#include <com/sun/star/awt/UnoControlModel.idl>
+#include <com/sun/star/style/VerticalAlignment.idl>
+#include <com/sun/star/util/Color.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the standard model of a UnoControlFixedText.
+ */
+published service UnoControlFixedTextModel
+{
+ service com::sun::star::awt::UnoControlModel;
+
+
+ /** specifies the horizontal alignment of the text in the control.
+
+ <pre>
+ 0: left
+ 1: center
+ 2: right
+ </pre>
+ */
+ [property] short Align;
+
+
+ /** specifies the background color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color BackgroundColor;
+
+
+ /** specifies the border style of the control.
+
+ <pre>
+ 0: No border
+ 1: 3D border
+ 2: simple border
+ </pre>
+ */
+ [property] short Border;
+
+
+ /** specifies the color of the border, if present
+
+ <p>Not every border style (see #Border) may support coloring.
+ For instance, usually a border with 3D effect will ignore the BorderColor setting.</p>
+
+ @since OOo 2.0
+ */
+ [optional, property] long BorderColor;
+
+
+ /** determines whether the control is enabled or disabled.
+ */
+ [property] boolean Enabled;
+
+
+ /** specifies the font attributes of the text in the control.
+ */
+ [property] com::sun::star::awt::FontDescriptor FontDescriptor;
+
+
+ /** specifies the com::sun::star::text::FontEmphasis
+ value of the text in the control.
+ */
+ [property] short FontEmphasisMark;
+
+
+ /** specifies the com::sun::star::text::FontRelief
+ value of the text in the control.
+ */
+ [property] short FontRelief;
+
+
+ /** specifies the help text of the control.
+ */
+ [property] string HelpText;
+
+
+ /** specifies the help URL of the control.
+ */
+ [property] string HelpURL;
+
+
+ /** specifies the label of the control.
+ */
+ [property] string Label;
+
+
+ /** specifies that the text may be displayed on more than one line.
+ */
+ [property] boolean MultiLine;
+
+
+ /** specifies that the control will be printed with the document.
+ */
+ [property] boolean Printable;
+
+
+ /** specifies the text color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextColor;
+
+
+ /** specifies the text line color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextLineColor;
+
+
+ /** specifies the vertical alignment of the text in the control.
+
+ @since OOo 2.0
+ */
+ [optional, property] com::sun::star::style::VerticalAlignment VerticalAlign;
+
+ //-------------------------------------------------------------------------
+
+ /** suppresses automatic accelerator assignment on this control.
+
+ @since OOo 2.4
+ */
+ [optional, property] boolean NoLabel;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlFormattedField.idl b/offapi/com/sun/star/awt/UnoControlFormattedField.idl
new file mode 100644
index 000000000..619b0701a
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlFormattedField.idl
@@ -0,0 +1,50 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlFormattedField_idl__
+#define __com_sun_star_awt_UnoControlFormattedField_idl__
+
+#include <com/sun/star/awt/UnoControlEdit.idl>
+#include <com/sun/star/awt/XSpinField.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a formatted field control.
+ */
+published service UnoControlFormattedField
+{
+ service com::sun::star::awt::UnoControlEdit;
+
+ /** gives access to the value of a spin field and makes it possible to
+ register for spin events.
+
+ @since OOo 1.1.2
+ */
+ [optional] interface com::sun::star::awt::XSpinField;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlFormattedFieldModel.idl b/offapi/com/sun/star/awt/UnoControlFormattedFieldModel.idl
new file mode 100644
index 000000000..25b75dd1d
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlFormattedFieldModel.idl
@@ -0,0 +1,271 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlFormattedFieldModel_idl__
+#define __com_sun_star_awt_UnoControlFormattedFieldModel_idl__
+
+#include <com/sun/star/awt/FontDescriptor.idl>
+#include <com/sun/star/awt/UnoControlModel.idl>
+#include <com/sun/star/util/Color.idl>
+#include <com/sun/star/util/XNumberFormatsSupplier.idl>
+#include <com/sun/star/style/VerticalAlignment.idl>
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the standard model of a UnoControlFormattedField .
+ */
+published service UnoControlFormattedFieldModel
+{
+ service com::sun::star::awt::UnoControlModel;
+
+
+ /** specifies the horizontal alignment of the text in the control.
+
+ <pre>
+ 0: left
+ 1: center
+ 2: right
+ </pre>
+ */
+ [property] short Align;
+
+
+ /** specifies the background color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color BackgroundColor;
+
+
+ /** specifies the border style of the control.
+
+ <pre>
+ 0: No border
+ 1: 3D border
+ 2: simple border
+ </pre>
+ */
+ [property] short Border;
+
+
+ /** specifies the color of the border, if present
+
+ <p>Not every border style (see #Border) may support coloring.
+ For instance, usually a border with 3D effect will ignore the BorderColor setting.</p>
+
+ @since OOo 2.0
+ */
+ [optional, property] long BorderColor;
+
+
+ /** specifies the default value of the formatted field.
+
+ <p>This may be a numeric value (double) or a string, depending on
+ the formatting of the field.</p>
+ */
+ [property] any EffectiveDefault;
+
+
+ /** specifies the maximum value that can be entered.
+
+ <p>This property is ignored if the format of the field is no numeric
+ format.</p>
+ */
+ [property] double EffectiveMax;
+
+
+ /** specifies the minimum value that can be entered.
+
+ <p>This property is ignored if the format of the field is no numeric
+ format.</p>
+ */
+ [property] double EffectiveMin;
+
+
+ /** specifies the current value of the formatted field.
+
+ <p>This may be a numeric value (double) or a string, depending on
+ the formatting of the field.</p>
+ */
+ [property] double EffectiveValue;
+
+
+ /** determines whether the control is enabled or disabled.
+ */
+ [property] boolean Enabled;
+
+
+ /** specifies the font attributes of the text in the control.
+ */
+ [property] com::sun::star::awt::FontDescriptor FontDescriptor;
+
+
+ /** specifies the com::sun::star::text::FontEmphasis
+ value of the text in the control.
+ */
+ [property] short FontEmphasisMark;
+
+
+ /** specifies the com::sun::star::text::FontRelief
+ value of the text in the control.
+ */
+ [property] short FontRelief;
+
+
+ /** specifies the format to be used when formatting the field input
+ and output.
+
+ <p>This value is meaningful relative to the FormatsSupplier property
+ only.</p>
+ */
+ [property] long FormatKey;
+
+
+ /** supplies the formats the field should work with.
+ */
+ [property] com::sun::star::util::XNumberFormatsSupplier FormatsSupplier;
+
+
+ /** specifies the help text of the control.
+ */
+ [property] string HelpText;
+
+
+ /** specifies the help URL of the control.
+ */
+ [property] string HelpURL;
+
+
+
+ /** specifies whether the selection in the control should be hidden when
+ the control is not active (focused).
+
+ @since OOo 2.0
+ */
+ [optional, property] boolean HideInactiveSelection;
+
+
+ /** specifies the maximum character count.
+
+ <p>There's no limitation, if set to 0.</p>
+ */
+ [property] short MaxTextLen;
+
+
+ /** specifies that the control will be printed with the document.
+ */
+ [property] boolean Printable;
+
+
+ /** specifies that the content of the control cannot be modified by the
+ user.
+ */
+ [property] boolean ReadOnly;
+
+
+ /** specifies whether the mouse should show repeating behavior, i.e.
+ repeatedly trigger an action when keeping pressed.
+
+ @since OOo 2.0
+ */
+ [optional, property] boolean Repeat;
+
+
+ /** specifies the mouse repeat delay, in milliseconds.
+
+ <p>When the user presses a mouse in a control area where this triggers
+ an action (such as spinning the value), then usual control implementations
+ allow to repeatedly trigger this action, without the need to release the
+ mouse button and to press it again. The delay between two such triggers
+ is specified with this property.</p>
+
+ @since OOo 2.0
+ */
+ [optional, property] long RepeatDelay;
+
+
+ /** specifies that the control has a spin button.
+ */
+ [property] boolean Spin;
+
+
+ /** specifies that the text is checked during the user input.
+
+ <p>This property is optional - not every component implementing this
+ service is required to provide it, as real-time input checking on a
+ formatted field may be pretty expensive.</p>
+ */
+ [optional, property] boolean StrictFormat;
+
+
+ /** specifies that the control can be reached with the TAB key.
+ */
+ [property] boolean Tabstop;
+
+
+ /** specifies the text displayed in the control.
+ */
+ [property] string Text;
+
+
+ /** specifies the text color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextColor;
+
+
+ /** specifies the text line color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextLineColor;
+
+
+ /** specifies that the text is treated as a number.
+ */
+ [property] boolean TreatAsNumber;
+
+ /** denotes the writing mode used in the control, as specified in the
+ com::sun::star::text::WritingMode2 constants group.
+
+ <p>Only com::sun::star::text::WritingMode2::LR_TB and
+ com::sun::star::text::WritingMode2::RL_TB are supported at the moment.</p>
+
+ @since OOo 3.1
+ */
+ [optional, property] short WritingMode;
+
+ /** defines how the mouse wheel can be used to scroll through the control's content.
+
+ <p>Usually, the mouse wheel spins the numeric value displayed in the control. Using this property,
+ and one of the MouseWheelBehavior constants, you can control under which circumstances
+ this is possible.</p>
+ */
+ [optional, property] short MouseWheelBehavior;
+
+
+ /** specifies the vertical alignment of the text in the control.
+
+ @since OOo 3.3
+ */
+ [optional, property] com::sun::star::style::VerticalAlignment VerticalAlign;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlGroupBox.idl b/offapi/com/sun/star/awt/UnoControlGroupBox.idl
new file mode 100644
index 000000000..10a7c0de9
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlGroupBox.idl
@@ -0,0 +1,42 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlGroupBox_idl__
+#define __com_sun_star_awt_UnoControlGroupBox_idl__
+
+#include <com/sun/star/awt/UnoControl.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a group box control.
+ */
+published service UnoControlGroupBox
+{
+ service com::sun::star::awt::UnoControl;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlGroupBoxModel.idl b/offapi/com/sun/star/awt/UnoControlGroupBoxModel.idl
new file mode 100644
index 000000000..414680c39
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlGroupBoxModel.idl
@@ -0,0 +1,106 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlGroupBoxModel_idl__
+#define __com_sun_star_awt_UnoControlGroupBoxModel_idl__
+
+#include <com/sun/star/awt/FontDescriptor.idl>
+#include <com/sun/star/awt/UnoControlModel.idl>
+
+#include <com/sun/star/util/Color.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the standard model of a UnoControlGroupBox.
+ */
+published service UnoControlGroupBoxModel
+{
+ service com::sun::star::awt::UnoControlModel;
+
+
+ /** determines whether the control is enabled or disabled.
+ */
+ [property] boolean Enabled;
+
+
+ /** specifies the font attributes of the text in the control.
+ */
+ [property] com::sun::star::awt::FontDescriptor FontDescriptor;
+
+
+ /** specifies the com::sun::star::text::FontEmphasis
+ value of the text in the control.
+ */
+ [property] short FontEmphasisMark;
+
+
+ /** specifies the com::sun::star::text::FontRelief
+ value of the text in the control.
+ */
+ [property] short FontRelief;
+
+
+ /** specifies the help text of the control.
+ */
+ [property] string HelpText;
+
+
+ /** specifies the help URL of the control.
+ */
+ [property] string HelpURL;
+
+
+ /** specifies the label of the control.
+ */
+ [property] string Label;
+
+
+ /** specifies that the control will be printed with the document.
+ */
+ [property] boolean Printable;
+
+
+ /** specifies the text color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextColor;
+
+
+ /** specifies the text line color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextLineColor;
+
+ /** denotes the writing mode used in the control, as specified in the
+ com::sun::star::text::WritingMode2 constants group.
+
+ <p>Only com::sun::star::text::WritingMode2::LR_TB and
+ com::sun::star::text::WritingMode2::RL_TB are supported at the moment.</p>
+
+ @since OOo 3.1
+ */
+ [optional, property] short WritingMode;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlImageControl.idl b/offapi/com/sun/star/awt/UnoControlImageControl.idl
new file mode 100644
index 000000000..ff53a5ea6
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlImageControl.idl
@@ -0,0 +1,45 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlImageControl_idl__
+#define __com_sun_star_awt_UnoControlImageControl_idl__
+
+#include <com/sun/star/awt/UnoControl.idl>
+#include <com/sun/star/awt/XLayoutConstrains.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a control for displaying an image.
+ */
+published service UnoControlImageControl
+{
+ service com::sun::star::awt::UnoControl;
+
+ interface com::sun::star::awt::XLayoutConstrains;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlImageControlModel.idl b/offapi/com/sun/star/awt/UnoControlImageControlModel.idl
new file mode 100644
index 000000000..310039d1a
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlImageControlModel.idl
@@ -0,0 +1,135 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlImageControlModel_idl__
+#define __com_sun_star_awt_UnoControlImageControlModel_idl__
+
+#include <com/sun/star/awt/UnoControlModel.idl>
+#include <com/sun/star/util/Color.idl>
+#include <com/sun/star/graphic/XGraphic.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the standard model of a UnoControlImageControl.
+ */
+published service UnoControlImageControlModel
+{
+ service com::sun::star::awt::UnoControlModel;
+
+
+ /** specifies the background color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color BackgroundColor;
+
+
+ /** specifies the border style of the control.
+
+ <pre>
+ 0: No border
+ 1: 3D border
+ 2: simple border
+ </pre>
+ */
+ [property] short Border;
+
+
+ /** specifies the color of the border, if present
+
+ <p>Not every border style (see #Border) may support coloring.
+ For instance, usually a border with 3D effect will ignore the BorderColor setting.</p>
+
+ @since OOo 2.0
+ */
+ [optional, property] long BorderColor;
+
+
+ /** determines whether the control is enabled or disabled.
+ */
+ [property] boolean Enabled;
+
+
+ /** specifies the help text of the control.
+ */
+ [property] string HelpText;
+
+
+ /** specifies the help URL of the control.
+ */
+ [property] string HelpURL;
+
+
+ /** specifies a URL to an image to use for the control.
+ @see Graphic
+ */
+ [property] string ImageURL;
+
+
+ /** specifies a graphic to be displayed on the control
+
+ <p>If this property is present, it interacts with the #ImageURL in the
+ following way:
+ <ul><li>If #ImageURL is set, #Graphic will be reset
+ to an object as loaded from the given image URL, or `NULL` if #ImageURL
+ does not point to a valid image file.</li>
+ <li>If #Graphic is set, #ImageURL will be reset
+ to an empty string.</li>
+ </ul></p>
+
+ @since OOo 2.1
+ */
+ [optional, property, transient] com::sun::star::graphic::XGraphic Graphic;
+
+
+ /** specifies that the control will be printed with the document.
+ */
+ [property] boolean Printable;
+
+
+ /** specifies if the image is automatically scaled to the size of the
+ control.
+ */
+ [property] boolean ScaleImage;
+
+ /** defines how to scale the image
+
+ <p>If this property is present, it supersedes the #ScaleImage property.</p>
+
+ <p>The value of this property is one of the ImageScaleMode constants.</p>
+
+ @since OOo 3.1
+ */
+ [property, optional] short ScaleMode;
+
+
+ /** specifies that the control can be reached with the TAB key.
+
+ @since OOo 1.1.2
+ */
+ [optional, property] boolean Tabstop;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlListBox.idl b/offapi/com/sun/star/awt/UnoControlListBox.idl
new file mode 100644
index 000000000..37327b47e
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlListBox.idl
@@ -0,0 +1,56 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlListBox_idl__
+#define __com_sun_star_awt_UnoControlListBox_idl__
+
+#include <com/sun/star/awt/UnoControl.idl>
+
+#include <com/sun/star/awt/XListBox.idl>
+#include <com/sun/star/awt/XLayoutConstrains.idl>
+
+#include <com/sun/star/awt/XTextLayoutConstrains.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a list box control.
+
+ <p>A list box displays a list of strings and allows a selection within
+ these.</p>
+ */
+published service UnoControlListBox
+{
+ service com::sun::star::awt::UnoControl;
+
+ interface com::sun::star::awt::XListBox;
+
+ interface com::sun::star::awt::XLayoutConstrains;
+
+ interface com::sun::star::awt::XTextLayoutConstrains;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlListBoxModel.idl b/offapi/com/sun/star/awt/UnoControlListBoxModel.idl
new file mode 100644
index 000000000..e74202e82
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlListBoxModel.idl
@@ -0,0 +1,206 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlListBoxModel_idl__
+#define __com_sun_star_awt_UnoControlListBoxModel_idl__
+
+#include <com/sun/star/awt/FontDescriptor.idl>
+#include <com/sun/star/awt/UnoControlModel.idl>
+#include <com/sun/star/util/Color.idl>
+#include <com/sun/star/awt/XItemList.idl>
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the standard model of a UnoControlListBox.
+ */
+published service UnoControlListBoxModel
+{
+ service com::sun::star::awt::UnoControlModel;
+
+
+ /** specifies the horizontal alignment of the text in the control.
+
+ <pre>
+ 0: left
+ 1: center
+ 2: right
+ </pre>
+ */
+ [optional, property] short Align;
+
+
+ /** specifies the background color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color BackgroundColor;
+
+
+ /** specifies the border style of the control.
+
+ <pre>
+ 0: No border
+ 1: 3D border
+ 2: simple border
+ </pre>
+ */
+ [property] short Border;
+
+
+ /** specifies the color of the border, if present
+
+ <p>Not every border style (see #Border) may support coloring.
+ For instance, usually a border with 3D effect will ignore the BorderColor setting.</p>
+
+ @since OOo 2.0
+ */
+ [optional, property] long BorderColor;
+
+
+ /** specifies if the control has a drop down button.
+ */
+ [property] boolean Dropdown;
+
+
+ /** determines whether the control is enabled or disabled.
+ */
+ [property] boolean Enabled;
+
+
+ /** specifies the font attributes of the text in the control.
+ */
+ [property] com::sun::star::awt::FontDescriptor FontDescriptor;
+
+
+ /** specifies the com::sun::star::text::FontEmphasis
+ value of the text in the control.
+ */
+ [property] short FontEmphasisMark;
+
+
+ /** specifies the com::sun::star::text::FontRelief
+ value of the text in the control.
+ */
+ [property] short FontRelief;
+
+
+ /** specifies the help text of the control.
+ */
+ [property] string HelpText;
+
+
+ /** specifies the help URL of the control.
+ */
+ [property] string HelpURL;
+
+
+ /** specifies the maximum line count displayed in the drop down box.
+ */
+ [property] short LineCount;
+
+
+ /** specifies if more than one entry can be selected.
+ */
+ [property] boolean MultiSelection;
+
+
+ /** specifies that the control will be printed with the document.
+ */
+ [property] boolean Printable;
+
+
+ /** specifies that the content of the control cannot be modified by the user.
+ */
+ [property] boolean ReadOnly;
+
+
+ /** specifies the sequence of selected items, identified by the position.
+ */
+ [property] sequence<short> SelectedItems;
+
+
+ /** specifies the list of items.
+ */
+ [property] sequence<string> StringItemList;
+
+
+ /** specifies that the control can be reached with the TAB key.
+ */
+ [property] boolean Tabstop;
+
+
+ /** specifies the text color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextColor;
+
+
+ /** specifies the text line color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextLineColor;
+
+ /** denotes the writing mode used in the control, as specified in the
+ com::sun::star::text::WritingMode2 constants group.
+
+ <p>Only com::sun::star::text::WritingMode2::LR_TB and
+ com::sun::star::text::WritingMode2::RL_TB are supported at the moment.</p>
+
+ @since OOo 3.1
+ */
+ [optional, property] short WritingMode;
+
+ /** defines how the mouse wheel can be used to scroll through the control's content.
+
+ <p>Usually, the mouse wheel scroll through the control's entry list. Using this property,
+ and one of the MouseWheelBehavior constants, you can control under which circumstances
+ this is possible.</p>
+ */
+ [optional, property] short MouseWheelBehavior;
+
+ /** allows manipulating the list of items in the list box more fine-grained than the
+ #StringItemList property.
+
+ @since OOo 3.3
+ */
+ [optional] interface XItemList;
+
+ /** specifies where an item separator - a horizontal line - is drawn.
+
+ <p>If this is not `NULL`, then a horizontal line will be drawn between the item at the given position,
+ and the following item.</p>
+
+ @since OOo 3.3
+ */
+ [optional, property, maybevoid] short ItemSeparatorPos;
+
+ /** specifies the list of raw typed (not stringized) items.
+
+ <p>This list corresponds with the StringItemList and if given
+ has to be of the same length, the elements' positions matching
+ those of their string representation in StringItemList.</p>
+
+ @since LibreOffice 5.4
+ */
+ [optional, property] sequence<any> TypedItemList;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlModel.idl b/offapi/com/sun/star/awt/UnoControlModel.idl
new file mode 100644
index 000000000..2e5d830f3
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlModel.idl
@@ -0,0 +1,80 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlModel_idl__
+#define __com_sun_star_awt_UnoControlModel_idl__
+
+#include <com/sun/star/awt/UnoControlDialogElement.idl>
+#include <com/sun/star/awt/XControlModel.idl>
+
+#include <com/sun/star/lang/XComponent.idl>
+
+#include <com/sun/star/beans/XPropertySet.idl>
+
+#include <com/sun/star/beans/XMultiPropertySet.idl>
+
+#include <com/sun/star/io/XPersistObject.idl>
+
+#include <com/sun/star/util/XCloneable.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the standard model of a UnoControl
+ in the <em>Smalltalk model view controller design</em>.
+
+ <p>The interfaces com::sun::star::beans::XPropertySet
+ and com::sun::star::beans::XMultiPropertySet need
+ access to the model data from the embedding environment. The control
+ and the model can specify additional interfaces to exchange data or
+ export more functionality from the model.</p>
+ */
+published service UnoControlModel
+{
+ /** This service is present when the control model is embedded in an
+ UnoControlDialogModel.
+ */
+ [optional] service com::sun::star::awt::UnoControlDialogElement;
+
+ interface com::sun::star::awt::XControlModel;
+
+ interface com::sun::star::lang::XComponent;
+
+ interface com::sun::star::beans::XPropertySet;
+
+ interface com::sun::star::beans::XMultiPropertySet;
+
+ interface com::sun::star::io::XPersistObject;
+
+ interface com::sun::star::util::XCloneable;
+
+
+ /** specifies the service name of the default control for this model.
+ */
+ [property] string DefaultControl;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlNumericField.idl b/offapi/com/sun/star/awt/UnoControlNumericField.idl
new file mode 100644
index 000000000..004e9883c
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlNumericField.idl
@@ -0,0 +1,56 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlNumericField_idl__
+#define __com_sun_star_awt_UnoControlNumericField_idl__
+
+#include <com/sun/star/awt/UnoControlEdit.idl>
+#include <com/sun/star/awt/XSpinField.idl>
+#include <com/sun/star/awt/XNumericField.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a numeric field control.
+
+ <p>A numeric field makes it possible to enter, display and edit
+ formatted numeric values.</p>
+ */
+published service UnoControlNumericField
+{
+ service com::sun::star::awt::UnoControlEdit;
+
+ /** gives access to the value of a spin field and makes it possible to
+ register for spin events.
+
+ @since OOo 1.1.2
+ */
+ [optional] interface com::sun::star::awt::XSpinField;
+
+ interface com::sun::star::awt::XNumericField;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlNumericFieldModel.idl b/offapi/com/sun/star/awt/UnoControlNumericFieldModel.idl
new file mode 100644
index 000000000..61c5bc61f
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlNumericFieldModel.idl
@@ -0,0 +1,223 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlNumericFieldModel_idl__
+#define __com_sun_star_awt_UnoControlNumericFieldModel_idl__
+
+#include <com/sun/star/awt/FontDescriptor.idl>
+#include <com/sun/star/awt/UnoControlModel.idl>
+
+#include <com/sun/star/util/Color.idl>
+
+#include <com/sun/star/style/VerticalAlignment.idl>
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the standard model of a UnoControlNumericField.
+ */
+published service UnoControlNumericFieldModel
+{
+ service com::sun::star::awt::UnoControlModel;
+
+
+ /** specifies the background color(RGB) of the control.
+ */
+ [property] com::sun::star::util::Color BackgroundColor;
+
+
+ /** specifies the border style of the control.
+
+ <pre>
+ 0: No border
+ 1: 3D border
+ 2: simple border
+ </pre>
+ */
+ [property] short Border;
+
+
+ /** specifies the color of the border, if present
+
+ <p>Not every border style (see #Border) may support coloring.
+ For instance, usually a border with 3D effect will ignore the BorderColor setting.</p>
+
+ @since OOo 2.0
+ */
+ [optional, property] long BorderColor;
+
+
+ /** specifies the decimal accuracy.
+ */
+ [property] short DecimalAccuracy;
+
+
+ /** determines whether the control is enabled or disabled.
+ */
+ [property] boolean Enabled;
+
+
+ /** specifies the font attributes of the text in the control.
+ */
+ [property] com::sun::star::awt::FontDescriptor FontDescriptor;
+
+
+ /** specifies the com::sun::star::text::FontEmphasis
+ value of the text in the control.
+ */
+ [property] short FontEmphasisMark;
+
+
+ /** specifies the com::sun::star::text::FontRelief
+ value of the text in the control.
+ */
+ [property] short FontRelief;
+
+
+ /** specifies the help text of the control.
+ */
+ [property] string HelpText;
+
+
+ /** specifies the help URL of the control.
+ */
+ [property] string HelpURL;
+
+
+ /** specifies whether the selection in the control should be hidden when
+ the control is not active (focused).
+
+ @since OOo 2.0
+ */
+ [optional, property] boolean HideInactiveSelection;
+
+
+ /** specifies that the control will be printed with the document.
+ */
+ [property] boolean Printable;
+
+
+ /** specifies that the content of the control cannot be modified by the
+ user.
+ */
+ [property] boolean ReadOnly;
+
+
+ /** specifies whether the mouse should show repeating behavior, i.e.
+ repeatedly trigger an action when keeping pressed.
+
+ @since OOo 2.0
+ */
+ [optional, property] boolean Repeat;
+
+
+ /** specifies the mouse repeat delay, in milliseconds.
+
+ <p>When the user presses a mouse in a control area where this triggers
+ an action (such as spinning the value), then usual control implementations
+ allow to repeatedly trigger this action, without the need to release the
+ mouse button and to press it again. The delay between two such triggers
+ is specified with this property.</p>
+
+ @since OOo 2.0
+ */
+ [optional, property] long RepeatDelay;
+
+
+ /** specifies whether the thousands separator is to be displayed.
+ */
+ [property] boolean ShowThousandsSeparator;
+
+
+ /** specifies that the control has a spin button.
+ */
+ [property] boolean Spin;
+
+
+ /** specifies that the value is checked during the user input.
+ */
+ [property] boolean StrictFormat;
+
+
+ /** specifies that the control can be reached with the TAB key.
+ */
+ [property] boolean Tabstop;
+
+
+ /** specifies the text color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextColor;
+
+
+ /** specifies the text line color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextLineColor;
+
+
+ /** specifies the value displayed in the control.
+ */
+ [property] double Value;
+
+
+ /** specifies the maximum value that can be entered.
+ */
+ [property] double ValueMax;
+
+
+ /** specifies the minimum value that can be entered.
+ */
+ [property] double ValueMin;
+
+
+ /** specifies the value step when using the spin button.
+ */
+ [property] double ValueStep;
+
+ /** denotes the writing mode used in the control, as specified in the
+ com::sun::star::text::WritingMode2 constants group.
+
+ <p>Only com::sun::star::text::WritingMode2::LR_TB and
+ com::sun::star::text::WritingMode2::RL_TB are supported at the moment.</p>
+
+ @since OOo 3.1
+ */
+ [optional, property] short WritingMode;
+
+ /** defines how the mouse wheel can be used to scroll through the control's content.
+
+ <p>Usually, the mouse wheel spins the numeric value displayed in the control. Using this property,
+ and one of the MouseWheelBehavior constants, you can control under which circumstances
+ this is possible.</p>
+ */
+ [optional, property] short MouseWheelBehavior;
+
+
+ /** specifies the vertical alignment of the text in the control.
+
+ @since OOo 3.3
+ */
+ [optional, property] com::sun::star::style::VerticalAlignment VerticalAlign;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlPatternField.idl b/offapi/com/sun/star/awt/UnoControlPatternField.idl
new file mode 100644
index 000000000..4254eda79
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlPatternField.idl
@@ -0,0 +1,56 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlPatternField_idl__
+#define __com_sun_star_awt_UnoControlPatternField_idl__
+
+#include <com/sun/star/awt/UnoControlEdit.idl>
+#include <com/sun/star/awt/XSpinField.idl>
+#include <com/sun/star/awt/XPatternField.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a pattern field control.
+
+ <p>A pattern field makes it possible to enter, display and edit text
+ which conforms to a specified pattern.</p>
+ */
+published service UnoControlPatternField
+{
+ service com::sun::star::awt::UnoControlEdit;
+
+ /** gives access to the value of a spin field and makes it possible to
+ register for spin events.
+
+ @since OOo 1.1.2
+ */
+ [optional] interface com::sun::star::awt::XSpinField;
+
+ interface com::sun::star::awt::XPatternField;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlPatternFieldModel.idl b/offapi/com/sun/star/awt/UnoControlPatternFieldModel.idl
new file mode 100644
index 000000000..4c0d6069c
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlPatternFieldModel.idl
@@ -0,0 +1,187 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlPatternFieldModel_idl__
+#define __com_sun_star_awt_UnoControlPatternFieldModel_idl__
+
+#include <com/sun/star/awt/FontDescriptor.idl>
+#include <com/sun/star/awt/UnoControlModel.idl>
+
+#include <com/sun/star/util/Color.idl>
+
+#include <com/sun/star/style/VerticalAlignment.idl>
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the standard model of a UnoControlPatternField.
+ */
+published service UnoControlPatternFieldModel
+{
+ service com::sun::star::awt::UnoControlModel;
+
+
+ /** specifies the background color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color BackgroundColor;
+
+
+ /** specifies the border style of the control.
+
+ <pre>
+ 0: No border
+ 1: 3D border
+ 2: simple border
+ </pre>
+ */
+ [property] short Border;
+
+
+ /** specifies the color of the border, if present
+
+ <p>Not every border style (see #Border) may support coloring.
+ For instance, usually a border with 3D effect will ignore the BorderColor setting.</p>
+
+ @since OOo 2.0
+ */
+ [optional, property] long BorderColor;
+
+
+ /** specifies the edit mask.
+ */
+ [property] string EditMask;
+
+
+ /** determines whether the control is enabled or disabled.
+ */
+ [property] boolean Enabled;
+
+
+ /** specifies the font attributes of the text in the control.
+ */
+ [property] com::sun::star::awt::FontDescriptor FontDescriptor;
+
+
+ /** specifies the com::sun::star::text::FontEmphasis
+ value of the text in the control.
+ */
+ [property] short FontEmphasisMark;
+
+
+ /** specifies the com::sun::star::text::FontRelief
+ value of the text in the control.
+ */
+ [property] short FontRelief;
+
+
+ /** specifies the help text of the control.
+ */
+ [property] string HelpText;
+
+
+ /** specifies the help URL of the control.
+ */
+ [property] string HelpURL;
+
+
+ /** specifies whether the selection in the control should be hidden when
+ the control is not active (focused).
+
+ @since OOo 2.0
+ */
+ [optional, property] boolean HideInactiveSelection;
+
+
+ /** specifies the literal mask.
+ */
+ [property] string LiteralMask;
+
+
+ /** specifies the maximum character count.
+ */
+ [property] short MaxTextLen;
+
+
+ /** specifies that the control will be printed with the document.
+ */
+ [property] boolean Printable;
+
+
+ /** specifies that the content of the control cannot be modified by the
+ user.
+ */
+ [property] boolean ReadOnly;
+
+
+ /** specifies that the text is checked during the user input.
+ */
+ [property] boolean StrictFormat;
+
+
+ /** specifies that the control can be reached with the TAB key.
+ */
+ [property] boolean Tabstop;
+
+
+ /** specifies the text displayed in the control.
+ */
+ [property] string Text;
+
+
+ /** specifies the text color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextColor;
+
+
+ /** specifies the text line color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextLineColor;
+
+ /** denotes the writing mode used in the control, as specified in the
+ com::sun::star::text::WritingMode2 constants group.
+
+ <p>Only com::sun::star::text::WritingMode2::LR_TB and
+ com::sun::star::text::WritingMode2::RL_TB are supported at the moment.</p>
+
+ @since OOo 3.1
+ */
+ [optional, property] short WritingMode;
+
+ /** defines how the mouse wheel can be used to scroll through the control's content.
+
+ <p>Usually, the mouse wheel spins the numeric value displayed in the control. Using this property,
+ and one of the MouseWheelBehavior constants, you can control under which circumstances
+ this is possible.</p>
+ */
+ [optional, property] short MouseWheelBehavior;
+
+
+ /** specifies the vertical alignment of the text in the control.
+
+ @since OOo 3.3
+ */
+ [optional, property] com::sun::star::style::VerticalAlignment VerticalAlign;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlProgressBar.idl b/offapi/com/sun/star/awt/UnoControlProgressBar.idl
new file mode 100644
index 000000000..87e906396
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlProgressBar.idl
@@ -0,0 +1,47 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlProgressBar_idl__
+#define __com_sun_star_awt_UnoControlProgressBar_idl__
+
+#include <com/sun/star/awt/UnoControl.idl>
+
+#include <com/sun/star/awt/XProgressBar.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a progress bar control.
+ */
+published service UnoControlProgressBar
+{
+ service com::sun::star::awt::UnoControl;
+
+ interface com::sun::star::awt::XProgressBar;
+
+};
+
+
+}; }; }; };
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlProgressBarModel.idl b/offapi/com/sun/star/awt/UnoControlProgressBarModel.idl
new file mode 100644
index 000000000..fec3c58f8
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlProgressBarModel.idl
@@ -0,0 +1,110 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlProgressBarModel_idl__
+#define __com_sun_star_awt_UnoControlProgressBarModel_idl__
+
+#include <com/sun/star/awt/UnoControlModel.idl>
+
+#include <com/sun/star/util/Color.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the standard model of a UnoControlProgressBar.
+ */
+published service UnoControlProgressBarModel
+{
+ service com::sun::star::awt::UnoControlModel;
+
+
+ /** specifies the background color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color BackgroundColor;
+
+
+ /** specifies the border style of the control.
+
+ <pre>
+ 0: No border
+ 1: 3D border
+ 2: simple border
+ </pre>
+ */
+ [property] short Border;
+
+
+ /** specifies the color of the border, if present
+
+ <p>Not every border style (see #Border) may support coloring.
+ For instance, usually a border with 3D effect will ignore the BorderColor setting.</p>
+
+ @since OOo 2.0
+ */
+ [optional, property] long BorderColor;
+
+
+ /** determines whether the control is enabled or disabled.
+ */
+ [property] boolean Enabled;
+
+
+ /** specifies the fill color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color FillColor;
+
+
+ /** specifies the help text of the control.
+ */
+ [property] string HelpText;
+
+
+ /** specifies the help URL of the control.
+ */
+ [property] string HelpURL;
+
+
+ /** specifies that the control will be printed with the document.
+ */
+ [property] boolean Printable;
+
+
+ /** specifies the progress value of the control.
+ */
+ [property] long ProgressValue;
+
+
+ /** specifies the maximum progress value of the control.
+ */
+ [property] long ProgressValueMax;
+
+
+ /** specifies the minimum progress value of the control.
+ */
+ [property] long ProgressValueMin;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlRadioButton.idl b/offapi/com/sun/star/awt/UnoControlRadioButton.idl
new file mode 100644
index 000000000..c14f40c3b
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlRadioButton.idl
@@ -0,0 +1,49 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlRadioButton_idl__
+#define __com_sun_star_awt_UnoControlRadioButton_idl__
+
+#include <com/sun/star/awt/UnoControl.idl>
+
+#include <com/sun/star/awt/XRadioButton.idl>
+#include <com/sun/star/awt/XLayoutConstrains.idl>
+
+
+
+module com { module sun { module star { module awt {
+
+
+/** specifies a radio button control.
+ */
+published service UnoControlRadioButton
+{
+ service com::sun::star::awt::UnoControl;
+
+ interface com::sun::star::awt::XRadioButton;
+
+ interface com::sun::star::awt::XLayoutConstrains;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlRadioButtonModel.idl b/offapi/com/sun/star/awt/UnoControlRadioButtonModel.idl
new file mode 100644
index 000000000..dd5db1927
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlRadioButtonModel.idl
@@ -0,0 +1,195 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlRadioButtonModel_idl__
+#define __com_sun_star_awt_UnoControlRadioButtonModel_idl__
+
+#include <com/sun/star/awt/FontDescriptor.idl>
+#include <com/sun/star/awt/UnoControlModel.idl>
+#include <com/sun/star/style/VerticalAlignment.idl>
+#include <com/sun/star/util/Color.idl>
+#include <com/sun/star/graphic/XGraphic.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the standard model of a UnoControlRadioButton.
+ */
+published service UnoControlRadioButtonModel
+{
+ service com::sun::star::awt::UnoControlModel;
+
+
+ /** specifies the horizontal alignment of the text in the control.
+
+ <pre>
+ 0: left
+ 1: center
+ 2: right
+ </pre>
+
+ @since OOo 2.0
+ */
+ [optional, property] short Align;
+
+
+ /** specifies the background color (RGB) of the control.
+ */
+ [optional, property] long BackgroundColor;
+
+
+ /** determines whether the control is enabled or disabled.
+ */
+ [property] boolean Enabled;
+
+
+ /** specifies the font attributes of the text in the control.
+ */
+ [property] com::sun::star::awt::FontDescriptor FontDescriptor;
+
+
+ /** specifies the com::sun::star::text::FontEmphasis
+ value of the text in the control.
+ */
+ [property] short FontEmphasisMark;
+
+
+ /** specifies the com::sun::star::text::FontRelief
+ value of the text in the control.
+ */
+ [property] short FontRelief;
+
+
+ /** specifies the help text of the control.
+ */
+ [property] string HelpText;
+
+
+ /** specifies the help URL of the control.
+ */
+ [property] string HelpURL;
+
+
+ /** specifies the position of the image, if any, relative to the text, if any
+
+ <p>Valid values of this property are specified with ImagePosition.</p>
+ */
+ [optional, property] short ImagePosition;
+
+
+ /** specifies a URL to an image to display besides the label of the control
+ @see Graphic
+ */
+ [optional, property] string ImageURL;
+
+
+ /** specifies a graphic to be displayed besides the label of the control
+
+ <p>If this property is present, it interacts with the #ImageURL in the
+ following way:
+ <ul><li>If #ImageURL is set, #Graphic will be reset
+ to an object as loaded from the given image URL, or `NULL` if #ImageURL
+ does not point to a valid image file.</li>
+ <li>If #Graphic is set, #ImageURL will be reset
+ to an empty string.</li>
+ </ul></p>
+
+ @since OOo 2.1
+ */
+ [optional, property, transient] com::sun::star::graphic::XGraphic Graphic;
+
+
+ /** specifies the label of the control.
+ */
+ [property] string Label;
+
+
+ /** specifies that the text may be displayed on more than one line.
+
+ @since OOo 2.0
+ */
+ [optional, property] boolean MultiLine;
+
+
+ /** specifies that the control will be printed with the document.
+ */
+ [property] boolean Printable;
+
+
+ /** specifies the state of the control.
+
+ <pre>
+ 0: not checked
+ 1: checked
+ </pre>
+ */
+ [property] short State;
+
+
+ /** specifies that the control can be reached with the TAB key.
+ */
+ [property] boolean Tabstop;
+
+
+ /** specifies the text color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextColor;
+
+
+ /** specifies the text line color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextLineColor;
+
+
+ /** specifies the vertical alignment of the text in the control.
+
+ @since OOo 2.0
+ */
+ [optional, property] com::sun::star::style::VerticalAlignment VerticalAlign;
+
+
+ /** specifies a visual effect to apply to the radio button control.
+
+ <p>Possible values for this property are VisualEffect::FLAT and
+ VisualEffect::LOOK3D.</p>
+
+ @see com::sun::star::awt::VisualEffect
+
+ @since OOo 2.0
+ */
+ [optional, property] short VisualEffect;
+
+ /** denotes the writing mode used in the control, as specified in the
+ com::sun::star::text::WritingMode2 constants group.
+
+ <p>Only com::sun::star::text::WritingMode2::LR_TB and
+ com::sun::star::text::WritingMode2::RL_TB are supported at the moment.</p>
+
+ @since OOo 3.1
+ */
+ [optional, property] short WritingMode;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlRoadmap.idl b/offapi/com/sun/star/awt/UnoControlRoadmap.idl
new file mode 100644
index 000000000..26813bc1d
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlRoadmap.idl
@@ -0,0 +1,68 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlRoadmap_idl__
+#define __com_sun_star_awt_UnoControlRoadmap_idl__
+
+#include <com/sun/star/awt/UnoControl.idl>
+#include <com/sun/star/awt/XItemEventBroadcaster.idl>
+#include <com/sun/star/beans/XPropertyChangeListener.idl>
+
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a Roadmap control. The model of the Roadmap control must be a
+ UnoControlRoadmapModel
+
+ <p>The model properties are implemented in the control as follows:
+ <ul><li>CurrentItem: The RGB code of the background color is RGB(194, 211, 238)</li>
+ <li>ImageURL: The image referenced by the URL is placed in the lower right corner
+ of the control.</li>
+ <li>Graphic: The graphic is placed in the lower right corner of the control.</li>
+ <li>Complete: When set to `FALSE` a non interactive RoadmapItem is appended
+ after the last roadmap item, labeled with three dots, indicating incompleteness.</li>
+ <li>Interactive: When activating a RoadmapItem (see RoadmapItem) the
+ information about which Item has been selected is passed over when an itemlistener
+ has been registered at the control.</li>
+ </ul></p>
+*/
+service UnoControlRoadmap
+{
+ service com::sun::star::awt::UnoControl;
+
+ /** This interface allows to add an Itemlistener to the roadmap.
+ If the property "Interactive" at the com::sun::star::awt::UnoControlRoadmapModel
+ is set to "true" the listener is triggered each time the user selects a RoadmapItem
+ by Mouse click or pressing space bar at the currently focused RoadmapItem.
+ The property ItemID of the com::sun::star::awt::ItemEvent:: is assigned
+ the value of the property "ID" of the activated RoadmapItem.
+ */
+ interface com::sun::star::awt::XItemEventBroadcaster;
+
+
+};
+
+}; }; }; };
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlRoadmapModel.idl b/offapi/com/sun/star/awt/UnoControlRoadmapModel.idl
new file mode 100644
index 000000000..cf2d13c4a
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlRoadmapModel.idl
@@ -0,0 +1,141 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlRoadmapModel_idl__
+#define __com_sun_star_awt_UnoControlRoadmapModel_idl__
+
+
+#include <com/sun/star/awt/UnoControlModel.idl>
+#include <com/sun/star/container/XIndexContainer.idl>
+#include <com/sun/star/beans/XPropertyChangeListener.idl>
+#include <com/sun/star/graphic/XGraphic.idl>
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the standard model of a UnoControlContainer.
+ */
+service UnoControlRoadmapModel
+{
+ service com::sun::star::awt::UnoControlModel;
+
+ /** The control serves as an indexed container typically for RoadmapItems
+ as specified in com::sun::star::awt:RoadmapItem. The RoadmapItems are
+ held in a sequence.
+ When inserting such items their ID is set equal to the Index of their
+ insertion by default.
+ After removing items the CurrentItem property is - when beyond the upper sequence
+ boundaries - set equal to last index of the RoadmapItem Array.
+ */
+ interface com::sun::star::container::XIndexContainer;
+
+
+
+ /** specifies the background color (RGB) of the control.
+ The Default value is white
+ */
+ [property] long BackgroundColor;
+
+
+ /** determines whether the control is interactive or not.
+
+ <p>A roadmap control which is interactive allows selecting its items out-of-order,
+ by simply clicking them.</p>
+ */
+ [property] boolean Interactive;
+
+
+ /** determines whether the control container is complete or not. If it is
+ false than a non - interactive RoadmapItem is appended
+ */
+ [property] boolean Complete;
+
+
+
+ /** specifies a URL to an image to use for the control.
+ The image is placed in the lower right corner of the control
+ @see Graphic
+ */
+ [property] string ImageURL;
+
+
+ /** specifies a graphic to be displayed on the control
+
+ <p>If this property is present, it interacts with the #ImageURL in the
+ following way:
+ <ul><li>If #ImageURL is set, #Graphic will be reset
+ to an object as loaded from the given image URL, or `NULL` if #ImageURL
+ does not point to a valid image file.</li>
+ <li>If #Graphic is set, #ImageURL will be reset
+ to an empty string.</li>
+ </ul></p>
+
+ @since OOo 2.1
+ */
+ [optional, property, transient] com::sun::star::graphic::XGraphic Graphic;
+
+
+ /** specifies the border style of the control.
+
+ <pre>
+ 0: No border
+ 1: 3D border
+ 2: simple border
+ </pre>
+ */
+ [property] short Border;
+
+
+ /** specifies whether the control will be printed with the document.
+ */
+ [property] boolean Printable;
+
+
+ /** specifies the text displayed in the control.
+ */
+ [property] string Text;
+
+
+ /** refers to the ID of the currently selected item. Initially this property is set to "-1"
+ which is equal to "undefined"
+ If the Roadmap Item that the CurrentItemID refers to is removed the property
+ "CurrentItemID" is set to -1
+ */
+ [property] short CurrentItemID;
+
+
+
+ /** specifies the help text of the control.
+ */
+ [property] string HelpText;
+
+
+
+ /** specifies the help URL of the control.
+ */
+ [property] string HelpURL;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlScrollBar.idl b/offapi/com/sun/star/awt/UnoControlScrollBar.idl
new file mode 100644
index 000000000..2ea1f2acf
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlScrollBar.idl
@@ -0,0 +1,46 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlScrollBar_idl__
+#define __com_sun_star_awt_UnoControlScrollBar_idl__
+
+#include <com/sun/star/awt/UnoControl.idl>
+#include <com/sun/star/awt/XScrollBar.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a scroll bar control.
+ */
+published service UnoControlScrollBar
+{
+ service com::sun::star::awt::UnoControl;
+
+ interface com::sun::star::awt::XScrollBar;
+
+};
+
+
+}; }; }; };
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlScrollBarModel.idl b/offapi/com/sun/star/awt/UnoControlScrollBarModel.idl
new file mode 100644
index 000000000..662bf368c
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlScrollBarModel.idl
@@ -0,0 +1,169 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlScrollBarModel_idl__
+#define __com_sun_star_awt_UnoControlScrollBarModel_idl__
+
+#include <com/sun/star/awt/UnoControlModel.idl>
+#include <com/sun/star/util/Color.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the standard model of a UnoControlScrollBar.
+ */
+published service UnoControlScrollBarModel
+{
+ service com::sun::star::awt::UnoControlModel;
+
+
+ /** specifies the RGB color to be used for the control.
+
+ @since OOo 2.0
+ */
+ [optional, property] com::sun::star::util::Color BackgroundColor;
+
+
+ /** specifies the increment for a block move.
+ */
+ [property] long BlockIncrement;
+
+
+ /** specifies the border style of the control.
+
+ <pre>
+ 0: No border
+ 1: 3D border
+ 2: simple border
+ </pre>
+ */
+ [property] short Border;
+
+
+ /** specifies the color of the border, if present
+
+ <p>Not every border style (see #Border) may support coloring.
+ For instance, usually a border with 3D effect will ignore the BorderColor setting.</p>
+
+ @since OOo 2.0
+ */
+ [optional, property] long BorderColor;
+
+
+ /** determines whether the control is enabled or disabled.
+ */
+ [property] boolean Enabled;
+
+
+ /** specifies the help text of the control.
+ */
+ [property] string HelpText;
+
+
+ /** specifies the help URL of the control.
+ */
+ [property] string HelpURL;
+
+
+ /** specifies the increment for a single line move.
+ */
+ [property] long LineIncrement;
+
+
+ /** specifies the scrolling behavior of the control.
+
+ <p>`TRUE` means, that when the user moves the slider in the scroll bar,
+ the content of the window is updated immediately.
+ `FALSE` means, that the window is only updated after the user has
+ released the mouse button.</p>
+
+ @since OOo 2.0
+ */
+ [optional, property] boolean LiveScroll;
+
+
+ /** specifies the ScrollBarOrientation of the control.
+ */
+ [property] long Orientation;
+
+
+ /** specifies that the control will be printed with the document.
+ */
+ [property] boolean Printable;
+
+
+ /** specifies the mouse repeat delay, in milliseconds.
+
+ <p>When the user presses a mouse in a control area where this triggers
+ an action (such as scrolling the scrollbar), then usual control implementations
+ allow to repeatedly trigger this action, without the need to release the
+ mouse button and to press it again. The delay between two such triggers
+ is specified with this property.</p>
+
+ @since OOo 2.0
+ */
+ [optional, property] long RepeatDelay;
+
+
+ /** specifies the scroll value of the control.
+ */
+ [property] long ScrollValue;
+
+
+ /** specifies the minimum scroll value of the control.
+
+ <p>If this optional property is not present, clients of the component should assume
+ a minimal scroll value of 0.</p>
+ */
+ [optional, property] long ScrollValueMin;
+
+
+ /** specifies the maximum scroll value of the control.
+ */
+ [property] long ScrollValueMax;
+
+
+ /** specifies the RGB color to be used when painting symbols which are
+ part of the control's appearance, such as the arrow buttons.
+
+ @since OOo 2.0
+ */
+ [optional, property] com::sun::star::util::Color SymbolColor;
+
+
+ /** specifies that the control can be reached with the TAB key.
+
+ @since OOo 2.0
+ */
+ [optional, property] boolean Tabstop;
+
+
+ /** specifies the visible size of the scroll bar.
+ */
+ [property] long VisibleSize;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlSpinButton.idl b/offapi/com/sun/star/awt/UnoControlSpinButton.idl
new file mode 100644
index 000000000..034943eb1
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlSpinButton.idl
@@ -0,0 +1,49 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlSpinButton_idl__
+#define __com_sun_star_awt_UnoControlSpinButton_idl__
+
+#include <com/sun/star/awt/UnoControl.idl>
+#include <com/sun/star/awt/XSpinValue.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a spin button control.
+
+ <p>The model of a UnoControlSpinButton control must support
+ the UnoControlSpinButtonModel service.
+ */
+service UnoControlSpinButton
+{
+ service com::sun::star::awt::UnoControl;
+
+ interface com::sun::star::awt::XSpinValue;
+
+};
+
+
+}; }; }; };
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlSpinButtonModel.idl b/offapi/com/sun/star/awt/UnoControlSpinButtonModel.idl
new file mode 100644
index 000000000..2a1d6e9be
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlSpinButtonModel.idl
@@ -0,0 +1,154 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlSpinButtonModel_idl__
+#define __com_sun_star_awt_UnoControlSpinButtonModel_idl__
+
+#include <com/sun/star/awt/UnoControlModel.idl>
+#include <com/sun/star/util/Color.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the standard model of a UnoControlSpinButton.
+
+ <p>A spin button is a control which has a numeric value associated with it,
+ and allows to change this value using two spin buttons.</p>
+
+ <p>A spin button is similar to a scroll bar, but it usually has no
+ (own) visual representation of the associated value, but is used to propagate
+ its value to other controls.</p>
+
+ @see UnoControlScrollBarModel
+ */
+service UnoControlSpinButtonModel
+{
+ service com::sun::star::awt::UnoControlModel;
+
+
+ /** specifies the border style of the control.
+
+ <pre>
+ 0: No border
+ 1: 3D border
+ 2: simple border
+ </pre>
+ */
+ [property] short Border;
+
+
+ /** specifies the color of the border, if present
+
+ <p>Not every border style (see #Border) may support coloring.
+ For instance, usually a border with 3D effect will ignore the BorderColor setting.</p>
+
+ @since OOo 2.0
+ */
+ [optional, property] long BorderColor;
+
+
+ /** determines whether the control is enabled or disabled.
+ */
+ [property] boolean Enabled;
+
+
+ /** specifies the help text of the control.
+ */
+ [property] string HelpText;
+
+
+ /** specifies the help URL of the control.
+ */
+ [property] string HelpURL;
+
+
+ /** specifies the increment by which the value is changed when using operating
+ the spin button.
+ */
+ [property] long SpinIncrement;
+
+
+ /** specifies the ScrollBarOrientation of the control.
+ */
+ [property] long Orientation;
+
+
+ /** specifies whether the control will be printed with the document.
+ */
+ [property] boolean Printable;
+
+
+ /** specifies the current value of the control.
+ */
+ [property] long SpinValue;
+
+
+ /** specifies the minimum value of the control.
+ */
+ [property] long SpinValueMin;
+
+
+ /** specifies the maximum value of the control.
+ */
+ [property] long SpinValueMax;
+
+
+ /** specifies the RGB color to be used for the control
+ */
+ [property] com::sun::star::util::Color BackgroundColor;
+
+
+ /** specifies the RGB color to be used when painting symbols which are
+ part of the control's appearance, such as the arrow buttons.
+ */
+ [property] com::sun::star::util::Color SymbolColor;
+
+
+ /** specifies whether the mouse should show repeating behavior, i.e.
+ repeatedly trigger an action when keeping pressed.
+ */
+ [property] boolean Repeat;
+
+
+ /** specifies the mouse repeat delay, in milliseconds.
+
+ <p>When the user presses a mouse in a control area where this triggers
+ an action (such as spinning the value), then usual control implementations
+ allow to repeatedly trigger this action, without the need to release the
+ mouse button and to press it again. The delay between two such triggers
+ is specified with this property.</p>
+ */
+ [property] long RepeatDelay;
+
+ /** defines how the mouse wheel can be used to scroll through the control's content.
+
+ <p>Usually, the mouse wheel spins the numeric value displayed in the control. Using this property,
+ and one of the MouseWheelBehavior constants, you can control under which circumstances
+ this is possible.</p>
+ */
+ [optional, property] short MouseWheelBehavior;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlTimeField.idl b/offapi/com/sun/star/awt/UnoControlTimeField.idl
new file mode 100644
index 000000000..1c37e99a6
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlTimeField.idl
@@ -0,0 +1,56 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlTimeField_idl__
+#define __com_sun_star_awt_UnoControlTimeField_idl__
+
+#include <com/sun/star/awt/UnoControlEdit.idl>
+#include <com/sun/star/awt/XSpinField.idl>
+#include <com/sun/star/awt/XTimeField.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a time field control.
+
+ <p>A time field makes it possible to enter, display, and edit time
+ values.</p>
+ */
+published service UnoControlTimeField
+{
+ service com::sun::star::awt::UnoControlEdit;
+
+ /** gives access to the value of a spin field and makes it possible to
+ register for spin events.
+
+ @since OOo 1.1.2
+ */
+ [optional] interface com::sun::star::awt::XSpinField;
+
+ interface com::sun::star::awt::XTimeField;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/UnoControlTimeFieldModel.idl b/offapi/com/sun/star/awt/UnoControlTimeFieldModel.idl
new file mode 100644
index 000000000..7801cd973
--- /dev/null
+++ b/offapi/com/sun/star/awt/UnoControlTimeFieldModel.idl
@@ -0,0 +1,229 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_UnoControlTimeFieldModel_idl__
+#define __com_sun_star_awt_UnoControlTimeFieldModel_idl__
+
+#include <com/sun/star/util/Time.idl>
+#include <com/sun/star/awt/FontDescriptor.idl>
+#include <com/sun/star/awt/UnoControlModel.idl>
+
+#include <com/sun/star/util/Color.idl>
+
+#include <com/sun/star/style/VerticalAlignment.idl>
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the standard model of a UnoControlTimeField.
+ */
+published service UnoControlTimeFieldModel
+{
+ service com::sun::star::awt::UnoControlModel;
+
+
+ /** specifies the background color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color BackgroundColor;
+
+
+ /** specifies the border style of the control.
+
+ <pre>
+ 0: No border
+ 1: 3D border
+ 2: simple border
+ </pre>
+ */
+ [property] short Border;
+
+
+ /** specifies the color of the border, if present
+
+ <p>Not every border style (see #Border) may support coloring.
+ For instance, usually a border with 3D effect will ignore the BorderColor setting.</p>
+
+ @since OOo 2.0
+ */
+ [optional, property] long BorderColor;
+
+
+ /** determines whether the control is enabled or disabled.
+ */
+ [property] boolean Enabled;
+
+
+ /** specifies the font attributes of the text in the control.
+ */
+ [property] com::sun::star::awt::FontDescriptor FontDescriptor;
+
+
+ /** specifies the com::sun::star::text::FontEmphasis
+ value of the text in the control.
+ */
+ [property] short FontEmphasisMark;
+
+
+ /** specifies the com::sun::star::text::FontRelief
+ value of the text in the control.
+ */
+ [property] short FontRelief;
+
+
+ /** specifies the help text of the control.
+ */
+ [property] string HelpText;
+
+
+ /** specifies the help URL of the control.
+ */
+ [property] string HelpURL;
+
+
+ /** specifies whether the selection in the control should be hidden when
+ the control is not active (focused).
+
+ @since OOo 2.0
+ */
+ [optional, property] boolean HideInactiveSelection;
+
+
+ /** specifies that the control will be printed with the document.
+ */
+ [property] boolean Printable;
+
+
+ /** specifies that the content of the control cannot be modified by the user.
+ */
+ [property] boolean ReadOnly;
+
+
+ /** specifies whether the mouse should show repeating behavior, i.e.
+ repeatedly trigger an action when keeping pressed.
+
+ @since OOo 2.0
+ */
+ [optional, property] boolean Repeat;
+
+
+ /** specifies the mouse repeat delay, in milliseconds.
+
+ <p>When the user presses a mouse in a control area where this triggers
+ an action (such as spinning the value), then usual control implementations
+ allow to repeatedly trigger this action, without the need to release the
+ mouse button and to press it again. The delay between two such triggers
+ is specified with this property.</p>
+
+ @since OOo 2.0
+ */
+ [optional, property] long RepeatDelay;
+
+
+ /** specifies that the control has a spin button.
+ */
+ [property] boolean Spin;
+
+
+ /** specifies that the date is checked during the user input.
+ */
+ [property] boolean StrictFormat;
+
+
+ /** specifies that the control can be reached with the TAB key.
+ */
+ [property] boolean Tabstop;
+
+
+ /** specifies the text displayed in the control.
+
+ @since OOo 2.0
+ */
+ [optional, property] string Text;
+
+
+ /** specifies the text color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextColor;
+
+
+ /** specifies the text line color (RGB) of the control.
+ */
+ [property] com::sun::star::util::Color TextLineColor;
+
+
+ /** specifies the time displayed in the control.
+ */
+ [property] com::sun::star::util::Time Time;
+
+
+ /** specifies the format of the displayed time.
+
+ <pre>
+ 0: 24h short
+ 1: 24h long
+ 2: 12h short
+ 3: 12h long
+ 4: Duration short
+ 5: Duration long
+ </pre>
+ */
+ [property] short TimeFormat;
+
+
+ /** specifies the maximum time that can be entered.
+ */
+ [property] com::sun::star::util::Time TimeMax;
+
+
+ /** specifies the minimum time that can be entered.
+ */
+ [property] com::sun::star::util::Time TimeMin;
+
+ /** denotes the writing mode used in the control, as specified in the
+ com::sun::star::text::WritingMode2 constants group.
+
+ <p>Only com::sun::star::text::WritingMode2::LR_TB and
+ com::sun::star::text::WritingMode2::RL_TB are supported at the moment.</p>
+
+ @since OOo 3.1
+ */
+ [optional, property] short WritingMode;
+
+ /** defines how the mouse wheel can be used to scroll through the control's content.
+
+ <p>Usually, the mouse wheel spins the numeric value displayed in the control. Using this property,
+ and one of the MouseWheelBehavior constants, you can control under which circumstances
+ this is possible.</p>
+ */
+ [optional, property] short MouseWheelBehavior;
+
+
+ /** specifies the vertical alignment of the text in the control.
+
+ @since OOo 3.3
+ */
+ [optional, property] com::sun::star::style::VerticalAlignment VerticalAlign;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/VclContainerEvent.idl b/offapi/com/sun/star/awt/VclContainerEvent.idl
new file mode 100644
index 000000000..10e6e4c3d
--- /dev/null
+++ b/offapi/com/sun/star/awt/VclContainerEvent.idl
@@ -0,0 +1,52 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_VclContainerEvent_idl__
+#define __com_sun_star_awt_VclContainerEvent_idl__
+
+#include <com/sun/star/lang/EventObject.idl>
+
+#include <com/sun/star/uno/XInterface.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a container event.
+
+ <p>These events are provided <strong>only</strong> for notification
+ purposes.</p>
+
+ @see XVclContainerListener
+ */
+published struct VclContainerEvent: com::sun::star::lang::EventObject
+{
+
+ /** returns the child component that was added or removed.
+ */
+ com::sun::star::uno::XInterface Child;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/VclWindowPeerAttribute.idl b/offapi/com/sun/star/awt/VclWindowPeerAttribute.idl
new file mode 100644
index 000000000..350c4b904
--- /dev/null
+++ b/offapi/com/sun/star/awt/VclWindowPeerAttribute.idl
@@ -0,0 +1,121 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_VclWindowPeerAttribute_idl__
+#define __com_sun_star_awt_VclWindowPeerAttribute_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies attributes for the VCL window implementation.
+
+ <p><b>IMPORTANT:</b> These constants have to be disjunct with
+ constants in WindowAttribute.</p>
+
+ @deprecated
+ */
+published constants VclWindowPeerAttribute
+{
+
+ const long HSCROLL = 256;
+
+
+ const long VSCROLL = 512;
+
+
+ const long LEFT = 1024;
+
+
+ const long CENTER = 2048;
+
+
+ const long RIGHT = 4096;
+
+
+ const long SPIN = 8192;
+
+
+ const long SORT = 16384;
+
+
+ const long DROPDOWN = 32768;
+
+
+ const long DEFBUTTON = 65536;
+
+
+ const long READONLY = 262144;
+
+
+ const long CLIPCHILDREN = 524288;
+
+
+ const long NOBORDER = 1048576;
+
+
+ const long GROUP = 2097152;
+
+
+ const long OK = 4194304;
+
+
+ const long OK_CANCEL = 8388608;
+
+
+ const long YES_NO = 16777216;
+
+
+ const long YES_NO_CANCEL = 33554432;
+
+
+ const long RETRY_CANCEL = 67108864;
+
+
+ const long DEF_OK = 134217728;
+
+
+ const long DEF_CANCEL = 268435456;
+
+
+ const long DEF_RETRY = 536870912;
+
+
+ const long DEF_YES = 1073741824;
+
+
+ const long DEF_NO = -2147483648;
+
+
+ const long NOLABEL = 536870912; //added for issue79712
+
+
+ const long AUTOHSCROLL = 1073741824;
+
+
+ const long AUTOVSCROLL = -2147483648;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/VisualEffect.idl b/offapi/com/sun/star/awt/VisualEffect.idl
new file mode 100644
index 000000000..cc1b4fdbb
--- /dev/null
+++ b/offapi/com/sun/star/awt/VisualEffect.idl
@@ -0,0 +1,51 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_VisualEffect_idl__
+#define __com_sun_star_awt_VisualEffect_idl__
+
+
+module com { module sun { module star { module awt {
+
+
+/** These values are used to specify the visual effect of controls
+
+ <p>The list may grow in future versions.</p>
+*/
+constants VisualEffect
+{
+ /** specifies that no visual effect is to be applied
+ */
+ const short NONE = 0;
+
+ /** specifies a 3D-like look
+ */
+ const short LOOK3D = 1;
+
+ /** specifies a "flat" look
+ */
+ const short FLAT = 2;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/WindowAttribute.idl b/offapi/com/sun/star/awt/WindowAttribute.idl
new file mode 100644
index 000000000..922d53593
--- /dev/null
+++ b/offapi/com/sun/star/awt/WindowAttribute.idl
@@ -0,0 +1,116 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_WindowAttribute_idl__
+#define __com_sun_star_awt_WindowAttribute_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** These values are used to specify the decorations of a window.
+
+ <p><b>IMPORTANT:</b> These constants have to be disjunct with
+ constants in VclWindowPeerAttribute.</p>
+ */
+published constants WindowAttribute
+{
+
+ /** specifies that the window is initially visible.
+ */
+ const long SHOW = 1;
+
+
+ /** specifies that the window fills the complete desktop area.
+
+ <p>This applies only to top windows.</p>
+ */
+ const long FULLSIZE = 2;
+
+
+ /** specifies that the window is optimum size.
+
+ <p>This applies only to top windows.</p>
+ */
+ const long OPTIMUMSIZE = 4;
+
+
+ /** specifies that the window is minimum size.
+
+ <p>This applies only to top windows.</p>
+ */
+ const long MINSIZE = 8;
+
+
+ /** specifies that the window has visible borders.
+
+ <p>This applies only to top windows.</p>
+ */
+ const long BORDER = 16;
+
+
+ /** specifies that the size of the window can be changed by the user.
+
+ <p>This applies only to top windows.</p>
+ */
+ const long SIZEABLE = 32;
+
+
+ /** specifies that the window can be moved by the user.
+
+ <p>This applies only to top windows.</p>
+ */
+ const long MOVEABLE = 64;
+
+
+ /** specifies that the window can be closed by the user.
+
+ <p>This applies only to top windows.</p>
+ */
+ const long CLOSEABLE = 128;
+
+
+ /** specifies that the window should support the
+ com::sun::star::awt::XSystemDependentWindowPeer
+ interface.
+
+ <p>This flag may be ignored, but in this case no system-dependent
+ extension works.</p>
+
+ @see XSystemDependentWindowPeer
+ @see com::sun::star::lang::SystemDependent
+
+ @deprecated
+ conflicts with VclWindowPeerAttribute::HSCROLL
+ */
+ const long SYSTEMDEPENDENT = 256;
+
+
+ /** specifies that the window should have no decoration.
+ */
+ const long NODECORATION = 512;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/WindowClass.idl b/offapi/com/sun/star/awt/WindowClass.idl
new file mode 100644
index 000000000..6709a9b2f
--- /dev/null
+++ b/offapi/com/sun/star/awt/WindowClass.idl
@@ -0,0 +1,59 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_WindowClass_idl__
+#define __com_sun_star_awt_WindowClass_idl__
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the class of a window.
+ */
+published enum WindowClass
+{
+
+ /** specifies a top level window on the desktop. It is also a container.
+ */
+ TOP,
+
+
+ /** is a modal top level window on the desktop. It is also a container.
+ */
+ MODALTOP,
+
+
+ /** is a container that may contain other components.
+ It is not a top window.
+ */
+ CONTAINER,
+
+
+ /** is the simplest window. It can be a container.
+ */
+ SIMPLE
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/WindowDescriptor.idl b/offapi/com/sun/star/awt/WindowDescriptor.idl
new file mode 100644
index 000000000..7cd5dee8f
--- /dev/null
+++ b/offapi/com/sun/star/awt/WindowDescriptor.idl
@@ -0,0 +1,156 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_WindowDescriptor_idl__
+#define __com_sun_star_awt_WindowDescriptor_idl__
+
+#include <com/sun/star/awt/WindowClass.idl>
+
+#include <com/sun/star/awt/XWindowPeer.idl>
+
+#include <com/sun/star/awt/Rectangle.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** describes a window.
+ */
+published struct WindowDescriptor
+{
+
+ /** specifies the type of window.
+ */
+ com::sun::star::awt::WindowClass Type;
+
+
+ /** specifies the name of the component service.
+
+ <p>A zero length name means that the VCL creates a blank top,
+ a container, or a simple window.
+ The following service names are defined:<br/>
+ <ul>
+ <li>buttondialog</li>
+ <li>cancelbutton</li>
+ <li>checkbox</li>
+ <li>combobox</li>
+ <li>control</li>
+ <li>currencybox</li>
+ <li>currencyfield</li>
+ <li>datebox</li>
+ <li>datefield</li>
+ <li>dialog</li>
+ <li>dockingarea</li>
+ <li>dockingwindow</li>
+ <li>edit</li>
+ <li>errorbox</li>
+ <li>fixedbitmap</li>
+ <li>fixedimage</li>
+ <li>fixedline</li>
+ <li>fixedtext</li>
+ <li>floatingwindow</li>
+ <li>framewindow</li>
+ <li>groupbox</li>
+ <li>helpbutton</li>
+ <li>imagebutton</li>
+ <li>imageradiobutton</li>
+ <li>infobox</li>
+ <li>listbox</li>
+ <li>longcurrencybox</li>
+ <li>longcurrencyfield</li>
+ <li>menubutton</li>
+ <li>messbox</li>
+ <li>metricbox</li>
+ <li>metricfield</li>
+ <li>modaldialog</li>
+ <li>modelessdialog</li>
+ <li>morebutton</li>
+ <li>multilistbox</li>
+ <li>numericbox</li>
+ <li>numericfield</li>
+ <li>okbutton</li>
+ <li>patternbox</li>
+ <li>patternfield</li>
+ <li>pushbutton</li>
+ <li>querybox</li>
+ <li>radiobutton</li>
+ <li>scrollbar</li>
+ <li>scrollbarbox</li>
+ <li>spinbutton</li>
+ <li>spinfield</li>
+ <li>splitter</li>
+ <li>splitwindow</li>
+ <li>statusbar</li>
+ <li>systemchildwindow</li>
+ <li>tabcontrol</li>
+ <li>tabdialog</li>
+ <li>tabpage</li>
+ <li>timebox</li>
+ <li>timefield</li>
+ <li>toolbox</li>
+ <li>tristatebox</li>
+ <li>warningbox</li>
+ <li>window</li>
+ <li>workwindow</li>
+ </ul>
+ </p>
+ */
+ string WindowServiceName;
+
+
+ /** specifies the parent of the component.
+
+ <p>If <code>Parent == 0 && ParentIndex == -1</code>,
+ then the window is on the desktop.</p>
+ */
+ com::sun::star::awt::XWindowPeer Parent;
+
+
+ /** specifies the index of the parent window, if available.
+
+ <p>If <code>Parent == 0</code> and this struct is a member of an array,
+ then this is the offset from the beginning of the array to the parent.
+ A value of -1 means desktop.</p>
+ */
+ short ParentIndex;
+
+
+ /** specifies the position and size of the window.
+
+ <p>This member is ignored if the window attribute is
+ com::sun::star::awt::WindowAttribute::FULLSIZE.</p>
+ */
+ com::sun::star::awt::Rectangle Bounds;
+
+
+ /** specifies the window attributes.
+
+ <p>Use one value out of the constant group
+ com::sun::star::awt::WindowAttribute.</p>
+ */
+ long WindowAttributes;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/WindowEvent.idl b/offapi/com/sun/star/awt/WindowEvent.idl
new file mode 100644
index 000000000..1293acb16
--- /dev/null
+++ b/offapi/com/sun/star/awt/WindowEvent.idl
@@ -0,0 +1,92 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_WindowEvent_idl__
+#define __com_sun_star_awt_WindowEvent_idl__
+
+#include <com/sun/star/lang/EventObject.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a window event.
+ */
+published struct WindowEvent: com::sun::star::lang::EventObject
+{
+
+ /** specifies the outer x position of the window.
+ */
+ long X;
+
+
+ /** specifies the outer y position of the window.
+ */
+ long Y;
+
+
+ /** specifies the outer (total) width of the window.
+ */
+ long Width;
+
+
+ /** specifies the outer (total) height of the window.
+ */
+ long Height;
+
+
+ /** specifies the inset from the left.
+
+ <p>The inset is the distance between the outer and the inner window,
+ that means the left inset is the width of the left border.</p>
+ */
+ long LeftInset;
+
+
+ /** specifies the inset from the top.
+
+ <p>The inset is the distance between the outer and the inner window,
+ that means the top inset is the height of the top border.</p>
+ */
+ long TopInset;
+
+
+ /** specifies the inset from the right.
+
+ <p>The inset is the distance between the outer and the inner window,
+ that means the right inset is the width of the right border.</p>
+ */
+ long RightInset;
+
+
+ /** specifies the inset from the bottom.
+
+ <p>The inset is the distance between the outer and the inner window,
+ that means the bottom inset is the height of the bottom border.</p>
+ */
+ long BottomInset;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XActionListener.idl b/offapi/com/sun/star/awt/XActionListener.idl
new file mode 100644
index 000000000..bf42392fb
--- /dev/null
+++ b/offapi/com/sun/star/awt/XActionListener.idl
@@ -0,0 +1,47 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XActionListener_idl__
+#define __com_sun_star_awt_XActionListener_idl__
+
+#include <com/sun/star/lang/XEventListener.idl>
+
+#include <com/sun/star/awt/ActionEvent.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** makes it possible to receive action events.
+ */
+published interface XActionListener: com::sun::star::lang::XEventListener
+{
+
+ /** is invoked when an action is performed.
+ */
+ void actionPerformed( [in] com::sun::star::awt::ActionEvent rEvent );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XActivateListener.idl b/offapi/com/sun/star/awt/XActivateListener.idl
new file mode 100644
index 000000000..30e33412c
--- /dev/null
+++ b/offapi/com/sun/star/awt/XActivateListener.idl
@@ -0,0 +1,63 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XActivateListener_idl__
+#define __com_sun_star_awt_XActivateListener_idl__
+
+#include <com/sun/star/lang/XEventListener.idl>
+
+#include <com/sun/star/lang/EventObject.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** makes it possible to receive activate events.
+
+ @see XFocusListener
+ @see XTopWindowListener
+ */
+published interface XActivateListener: com::sun::star::lang::XEventListener
+{
+
+ /** is invoked when a window is activated.
+
+ <p>A window is activated if a child or itself got the focus.</p>
+
+ @see XFocusListener::focusGained
+ */
+ void windowActivated( [in] com::sun::star::lang::EventObject e );
+
+
+ /** is invoked when a window is deactivated.
+
+ <p>A window is deactivated if a child or itself lost the focus.</p>
+
+ @see XFocusListener::focusLost
+ */
+ void windowDeactivated( [in] com::sun::star::lang::EventObject e );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XAdjustmentListener.idl b/offapi/com/sun/star/awt/XAdjustmentListener.idl
new file mode 100644
index 000000000..f91736fb5
--- /dev/null
+++ b/offapi/com/sun/star/awt/XAdjustmentListener.idl
@@ -0,0 +1,47 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XAdjustmentListener_idl__
+#define __com_sun_star_awt_XAdjustmentListener_idl__
+
+#include <com/sun/star/lang/XEventListener.idl>
+
+#include <com/sun/star/awt/AdjustmentEvent.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** makes it possible to receive adjustment events.
+ */
+published interface XAdjustmentListener: com::sun::star::lang::XEventListener
+{
+
+ /** is invoked when the adjustment has changed.
+ */
+ void adjustmentValueChanged( [in] com::sun::star::awt::AdjustmentEvent rEvent );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XAnimatedImages.idl b/offapi/com/sun/star/awt/XAnimatedImages.idl
new file mode 100644
index 000000000..722a00126
--- /dev/null
+++ b/offapi/com/sun/star/awt/XAnimatedImages.idl
@@ -0,0 +1,167 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_XAnimatedImages_idl__
+#define __com_sun_star_awt_XAnimatedImages_idl__
+
+#include <com/sun/star/container/XContainerListener.idl>
+#include <com/sun/star/lang/IndexOutOfBoundsException.idl>
+#include <com/sun/star/container/XContainer.idl>
+#include <com/sun/star/lang/IllegalArgumentException.idl>
+
+
+module com { module sun { module star { module awt {
+
+
+/** allows administrating a set of images, to be displayed as animated seres.
+
+ <p>Components implementing this interface maintain a variable number of image sets. Components displaying
+ those images will choose the best-fitting image set depending on the available space, and possibly other
+ restrictions.</p>
+
+ @since OOo 3.4
+ */
+interface XAnimatedImages
+{
+ /** specifies the time in milliseconds between two animation steps.
+
+ <p>This is the minimum time, the actual value might be longer due to
+ system load. The default value will be 100 ms.</p>
+ */
+ [attribute] long StepTime;
+
+ /** specifies whether the animation should start over with the first image of the image series when the last image
+ has been played.
+
+ <p>The default value for this attribute is `TRUE`.</p>
+ */
+ [attribute] boolean AutoRepeat;
+
+ /** controls the way the images are scaled up or down, when the available space is larger or smaller
+ than what is needed for them.
+
+ <p>Allowed values are those from the ImageScaleMode constants group.</p>
+ */
+ [attribute] short ScaleMode
+ {
+ set raises (::com::sun::star::lang::IllegalArgumentException);
+ };
+
+ /** returns the number of images sets maintained by the component.
+ */
+ long
+ getImageSetCount();
+
+ /** returns the URLs of the image set with the given index
+
+ @param iIndex
+ the index of the set those image URLs are to be retrieved. Must be greater than or equal to <code>0</code>,
+ and smaller than the value returned by getImageSetCount().
+
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if the <code>iIndex</code> is not a valid index.
+ */
+ sequence< string >
+ getImageSet
+ (
+ [in] long iIndex
+ )
+ raises
+ (
+ ::com::sun::star::lang::IndexOutOfBoundsException
+ );
+
+ /** sets the URLs of the image set with the given index
+
+ @param iIndex
+ the index at which a new image set should be inserted. Must be greater than or equal to <code>0</code>,
+ and smaller than or equal to the value returned by getImageSetCount().
+ @param iImageURLs
+ the URLs for the images for the given set. Will be resolved using a com::sun::star::graphic::GraphicProvider.
+
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if the <code>iIndex</code> is not a valid index.
+ */
+ void
+ insertImageSet
+ (
+ [in] long iIndex,
+ [in] sequence< string > iImageURLs
+ )
+ raises
+ (
+ ::com::sun::star::lang::IndexOutOfBoundsException
+ );
+
+ /** replaces the image set given by index with a new one
+
+ @param iIndex
+ the index of the set those image URLs are to be replaced. Must be greater than or equal to <code>0</code>,
+ and smaller than the value returned by getImageSetCount().
+
+ @param iImageURLs
+ the URLs for the images for the given set. Will be resolved using a com::sun::star::graphic::GraphicProvider.
+
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if the <code>iIndex</code> is not a valid index.
+ */
+ void
+ replaceImageSet
+ (
+ [in] long iIndex,
+ [in] sequence< string > iImageURLs
+ )
+ raises
+ (
+ ::com::sun::star::lang::IndexOutOfBoundsException
+ );
+
+
+ /** removes the image set with the given index
+
+ @param iIndex
+ the index of the set to remove. Must be greater than or equal to <code>0</code>,
+ and smaller than the value returned by getImageSetCount().
+
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if the <code>iIndex</code> is not a valid index.
+ */
+ void
+ removeImageSet
+ (
+ [in] long iIndex
+ )
+ raises
+ (
+ ::com::sun::star::lang::IndexOutOfBoundsException
+ );
+
+
+ /** allows other components to observer the insertion, removal, and replacement of image sets
+ */
+ interface ::com::sun::star::container::XContainer;
+};
+
+
+}; }; }; };
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XAnimation.idl b/offapi/com/sun/star/awt/XAnimation.idl
new file mode 100644
index 000000000..cd3bc76a4
--- /dev/null
+++ b/offapi/com/sun/star/awt/XAnimation.idl
@@ -0,0 +1,54 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_XAnimation_idl__
+#define __com_sun_star_awt_XAnimation_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+
+module com { module sun { module star { module awt {
+
+
+/** allows controlling an animation.
+
+ @since OOo 3.4
+ */
+interface XAnimation
+{
+ /** starts the animation
+ */
+ void startAnimation();
+
+ /** stops the animation
+ */
+ void stopAnimation();
+
+ /** determines whether the animation is currently running
+ */
+ boolean isAnimationRunning();
+};
+
+
+}; }; }; };
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XBitmap.idl b/offapi/com/sun/star/awt/XBitmap.idl
new file mode 100644
index 000000000..92d0da4c5
--- /dev/null
+++ b/offapi/com/sun/star/awt/XBitmap.idl
@@ -0,0 +1,57 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XBitmap_idl__
+#define __com_sun_star_awt_XBitmap_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+#include <com/sun/star/awt/Size.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** provides a bitmap in the Microsoft DIB format.
+ */
+published interface XBitmap: com::sun::star::uno::XInterface
+{
+
+ /** returns the size of the bitmap in pixel.
+ */
+ com::sun::star::awt::Size getSize();
+
+
+ /** returns the device independent bitmap.
+ */
+ sequence<byte> getDIB();
+
+
+ /** returns the transparency mask of the device independent bitmap.
+ */
+ sequence<byte> getMaskDIB();
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XButton.idl b/offapi/com/sun/star/awt/XButton.idl
new file mode 100644
index 000000000..3840d4076
--- /dev/null
+++ b/offapi/com/sun/star/awt/XButton.idl
@@ -0,0 +1,65 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XButton_idl__
+#define __com_sun_star_awt_XButton_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+#include <com/sun/star/awt/XActionListener.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** makes it possible to set the label of a button and to register for action events.
+ */
+published interface XButton: com::sun::star::uno::XInterface
+{
+
+ /** registers an event handler for button action events.
+ */
+ void addActionListener( [in] com::sun::star::awt::XActionListener l );
+
+
+ /** unregisters an event handler for button action events.
+ */
+ void removeActionListener( [in] com::sun::star::awt::XActionListener l );
+
+
+ /** sets the label of the button.
+ */
+ void setLabel( [in] string Label );
+
+
+ /** sets a command string for pushing the button.
+
+ @param Command
+ value can be used to detect which button is pressed.
+ */
+ void setActionCommand( [in] string Command );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XCallback.idl b/offapi/com/sun/star/awt/XCallback.idl
new file mode 100644
index 000000000..4432f3e64
--- /dev/null
+++ b/offapi/com/sun/star/awt/XCallback.idl
@@ -0,0 +1,48 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_XCallback_idl__
+#define __com_sun_star_awt_XCallback_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+
+module com { module sun { module star { module awt {
+
+
+/** specifies an interface which can be used to call back
+ an implementation
+ */
+interface XCallback
+{
+
+ /** notifies the callback implementation
+
+ @param aData
+ private data which was provided when the callback was requested.
+ */
+ void notify( [in] any aData );
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XCheckBox.idl b/offapi/com/sun/star/awt/XCheckBox.idl
new file mode 100644
index 000000000..bac7f31a9
--- /dev/null
+++ b/offapi/com/sun/star/awt/XCheckBox.idl
@@ -0,0 +1,77 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XCheckBox_idl__
+#define __com_sun_star_awt_XCheckBox_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+#include <com/sun/star/awt/XItemListener.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** gives access to the state of a check box and makes it possible
+ to register for events.
+ */
+published interface XCheckBox: com::sun::star::uno::XInterface
+{
+
+ /** registers a listener for item events.
+ */
+ void addItemListener( [in] com::sun::star::awt::XItemListener l );
+
+
+ /** unregisters a listener for item events.
+ */
+ void removeItemListener( [in] com::sun::star::awt::XItemListener l );
+
+
+ /** returns the state of the check box.
+
+ @see com::sun::star::awt::UnoControlCheckBoxModel::State
+ */
+ short getState();
+
+
+ /** sets the state of the check box.
+
+ @see com::sun::star::awt::UnoControlCheckBoxModel::State
+ */
+ void setState( [in] short n );
+
+
+ /** sets the label of the check box.
+ */
+ void setLabel( [in] string Label );
+
+
+ /** enables or disables the tri state mode.
+ */
+ void enableTriState( [in] boolean b );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XComboBox.idl b/offapi/com/sun/star/awt/XComboBox.idl
new file mode 100644
index 000000000..67b69e1c1
--- /dev/null
+++ b/offapi/com/sun/star/awt/XComboBox.idl
@@ -0,0 +1,105 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XComboBox_idl__
+#define __com_sun_star_awt_XComboBox_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+#include <com/sun/star/awt/XItemListener.idl>
+
+#include <com/sun/star/awt/XActionListener.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** gives access to the items of a combo box and makes it possible to
+ register item and action event listeners.
+ */
+published interface XComboBox: com::sun::star::uno::XInterface
+{
+
+ /** registers a listener for item events.
+ */
+ void addItemListener( [in] com::sun::star::awt::XItemListener l );
+
+
+ /** unregisters a listener for item events.
+ */
+ void removeItemListener( [in] com::sun::star::awt::XItemListener l );
+
+
+ /** registers a listener for action events.
+ */
+ void addActionListener( [in] com::sun::star::awt::XActionListener l );
+
+
+ /** unregisters a listener for action events.
+ */
+ void removeActionListener( [in] com::sun::star::awt::XActionListener l );
+
+
+ /** adds an item at the specified position.
+ */
+ void addItem( [in] string aItem, [in] short nPos );
+
+
+ /** adds multiple items at the specified position.
+ */
+ void addItems( [in] sequence<string> aItems, [in] short nPos );
+
+
+ /** removes a number of items at the specified position.
+ */
+ void removeItems( [in] short nPos, [in] short nCount );
+
+
+ /** returns the number of items in the combo box.
+ */
+ short getItemCount();
+
+
+ /** returns the item at the specified position.
+ */
+ string getItem( [in] short nPos );
+
+
+ /** returns all items of the combo box.
+ */
+ sequence<string> getItems();
+
+
+ /** returns the number of visible lines in the drop down mode.
+ */
+ short getDropDownLineCount();
+
+
+ /** sets the number of visible lines for drop down mode.
+ */
+ void setDropDownLineCount( [in] short nLines );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XContainerWindowEventHandler.idl b/offapi/com/sun/star/awt/XContainerWindowEventHandler.idl
new file mode 100644
index 000000000..96d268f3d
--- /dev/null
+++ b/offapi/com/sun/star/awt/XContainerWindowEventHandler.idl
@@ -0,0 +1,91 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_XContainerWindowEventHandler_idl__
+#define __com_sun_star_awt_XContainerWindowEventHandler_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+#include <com/sun/star/awt/XWindow.idl>
+#include <com/sun/star/lang/WrappedTargetException.idl>
+
+
+
+module com { module sun { module star { module awt {
+
+
+/** Handles events fired by windows represented by a
+ com::sun::star::awt::XWindow interface.
+ */
+interface XContainerWindowEventHandler : ::com::sun::star::uno::XInterface {
+
+
+ /** Handles an event generated by a window.
+
+ The implementation must be aware that the EventObject argument contains types
+ which it is not prepared to handle. Similarly this applies for the MethodName
+ argument. In this case the method should simply return false.
+
+ @param xWindow
+ the window instance that generated the event. If used in the scope of
+ com::sun::star::awt::XContainerWindowProvider this
+ is the same window instance that was returned by the createContainerWindow
+ method when passing the XContainerWindowEventHandler instance receiving the
+ event as handler parameter.
+
+ @param EventObject
+ an object describing the event which occurred in the window or anything else that
+ provides additional information for the event.
+ If the event was caused by the window or any of the controls which it contains
+ then the any should contain an object derived from
+ com::sun::star::lang::EventObject. Typically this would be one
+ of the several com::sun::star::awt::*Event types.
+
+ @param MethodName
+ the name of the function which is to be called.
+
+ @returns
+ true if the event was handled, otherwise false.
+
+ @throws com::sun::star::lang::WrappedTargetException
+ if the implementation of the method, which is determined by the argument MethodName,
+ throws an exception. This exception is then wrapped into a
+ com::sun::star::lang::WrappedTargetException.
+
+ */
+ boolean callHandlerMethod(
+ [in] com::sun::star::awt::XWindow xWindow,
+ [in] any EventObject,
+ [in] string MethodName)
+ raises(com::sun::star::lang::WrappedTargetException);
+
+
+ /** returns a sequence of supported method names
+
+ @returns
+ all method names that will be accepted in calls to callHandlerMethod.
+ */
+ sequence<string> getSupportedMethodNames();
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XContainerWindowProvider.idl b/offapi/com/sun/star/awt/XContainerWindowProvider.idl
new file mode 100644
index 000000000..454b575e8
--- /dev/null
+++ b/offapi/com/sun/star/awt/XContainerWindowProvider.idl
@@ -0,0 +1,115 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_XContainerWindowProvider_idl__
+#define __com_sun_star_awt_XContainerWindowProvider_idl__
+
+#include <com/sun/star/awt/XWindow.idl>
+#include <com/sun/star/awt/XWindowPeer.idl>
+#include <com/sun/star/lang/IllegalArgumentException.idl>
+
+
+module com { module sun { module star { module awt {
+
+
+/** provides container windows implementing the
+ com::sun::star::awt::XWindow interface.
+ */
+interface XContainerWindowProvider : ::com::sun::star::uno::XInterface {
+
+
+ /** creates a window for the given URL
+
+ @param URL
+ is the URL.
+
+ @param WindowType
+ Type of Window to be created,
+ for future use, not supported yet
+
+ @param xParent
+ a valid XWindowPeer reference which is used as a parent.
+ This parameter must not be null.
+
+ @param xHandler
+ is the interface that will be called to handle the Events that
+ are generated by the window (and all controls placed on it) and
+ bound to the handler using a vnd.sun.star.UNO URL specifying a
+ handler method to be called. Usually this will be done directly
+ by the user.
+
+ xHandler can handle events in two different ways:
+
+ 1. By supporting the com::sun::star::awt::XContainerWindowEventHandler
+ interface. This is a generic interface to accept event notifications.
+
+ 2. By providing interfaces that directly implement the handler
+ methods to be called. The XContainerWindowProvider implementation then
+ will try to access these events using the
+ com::sun::star::beans::IntrospectionIntrospection
+ service. To make this possible the handler implementation also has to
+ support com::sun::star::lang::XTypeProvider.
+
+ If XContainerWindowEventHandler is supported XContainerWindowEventHandler.callHandlerMethod()
+ is always called first to handle the event. Only if the event cannot be
+ handled by XContainerWindowEventHandler (callHandlerMethod() then has to return
+ false) or if XContainerWindowEventHandler is not supported at all the Introspection
+ based access will be used.
+
+ The Introspection based access tries to call a method named according to the
+ HandlerMethodName specified by a
+ <code>vnd.sun.star.UNO:<i>HandlerMethodName</i></code> URL.
+ First a method
+
+ void HandlerMethodName( [in] com::sun::star::awt::XWindow xWindow, [in] any aEvent )
+
+ will be searched. The signature is similar to XContainerWindowEventHandler.
+ callHandlerMethod except for MethodName itself that isn't needed
+ here. For more information about these parameters, see
+ com::sun::star::awt::XContainerWindowEventHandler.
+
+ If this method is found, it will be called, otherwise a method
+
+ void HandlerMethodName( void )
+
+ will be searched and called.
+
+ @returns
+ a window implementing the com::sun::star::awt::XWindow interface.
+
+ @throws com::sun::star::lang::IllegalArgumentException
+ if no window for the given URL is found or if the URL is invalid
+ or xParent is null.
+
+ @see com::sun::star::awt::XContainerWindowEventHandler
+
+ */
+ com::sun::star::awt::XWindow createContainerWindow
+ ( [in] string URL, [in] string WindowType,
+ [in] com::sun::star::awt::XWindowPeer xParent,
+ [in] com::sun::star::uno::XInterface xHandler )
+ raises ( com::sun::star::lang::IllegalArgumentException );
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XControl.idl b/offapi/com/sun/star/awt/XControl.idl
new file mode 100644
index 000000000..cc00f48e9
--- /dev/null
+++ b/offapi/com/sun/star/awt/XControl.idl
@@ -0,0 +1,115 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XControl_idl__
+#define __com_sun_star_awt_XControl_idl__
+
+#include <com/sun/star/lang/XComponent.idl>
+
+#include <com/sun/star/uno/XInterface.idl>
+
+#include <com/sun/star/awt/XToolkit.idl>
+
+#include <com/sun/star/awt/XWindowPeer.idl>
+
+#include <com/sun/star/awt/XControlModel.idl>
+
+#include <com/sun/star/awt/XView.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** identifies a control.
+
+ <p>Implementations of this interface are abstract windows.
+ The main reason to instantiate this implementation is to show the window
+ on the screen. Before the window appears on the screen, the
+ XControl::createPeer() method must be called.</p>
+
+ <p>If the implementation of the control does not distinguish
+ between model, view and controller, it must allow to set
+ a new XGraphics in the view, so that the control can be printed.</p>
+ */
+published interface XControl: com::sun::star::lang::XComponent
+{
+
+ /** sets the context of the control.
+ */
+ void setContext( [in] com::sun::star::uno::XInterface Context );
+
+
+ /** gets the context of the control.
+ */
+ com::sun::star::uno::XInterface getContext();
+
+
+ /** creates a "child" window on the screen.
+
+ <p>If the parent is NULL, then the desktop window of the toolkit
+ is the parent.</p>
+ */
+ void createPeer( [in] com::sun::star::awt::XToolkit Toolkit,
+ [in] com::sun::star::awt::XWindowPeer Parent );
+
+
+ /** returns the peer which was previously created or set.
+ */
+ com::sun::star::awt::XWindowPeer getPeer();
+
+
+ /** sets a model for the control.
+ */
+ boolean setModel( [in] com::sun::star::awt::XControlModel Model );
+
+
+ /** returns the model for this control.
+ */
+ com::sun::star::awt::XControlModel getModel();
+
+
+ /** returns the view of this control.
+ */
+ com::sun::star::awt::XView getView();
+
+
+ /** sets the design mode for use in a design editor.
+
+ <p>Normally the control will be painted directly without a peer.</p>
+ */
+ void setDesignMode( [in] boolean bOn );
+
+
+ /** returns `TRUE` if the control is in design mode, `FALSE` otherwise.
+ */
+ boolean isDesignMode();
+
+
+ /** returns `TRUE` if the control is transparent, `FALSE` otherwise.
+ */
+ boolean isTransparent();
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XControlContainer.idl b/offapi/com/sun/star/awt/XControlContainer.idl
new file mode 100644
index 000000000..8c31ce879
--- /dev/null
+++ b/offapi/com/sun/star/awt/XControlContainer.idl
@@ -0,0 +1,69 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XControlContainer_idl__
+#define __com_sun_star_awt_XControlContainer_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+#include <com/sun/star/awt/XControl.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** Provides access to the controls within an
+ UnoControlContainer.
+ */
+published interface XControlContainer: com::sun::star::uno::XInterface
+{
+
+ /** sets the status text in the status bar of the container.
+ */
+ void setStatusText( [in] string StatusText );
+
+
+ /** returns all controls.
+ */
+ sequence<com::sun::star::awt::XControl> getControls();
+
+
+ /** returns the control with the specified name.
+ */
+ com::sun::star::awt::XControl getControl( [in] string aName );
+
+
+ /** adds the given control with the specified name to the container.
+ */
+ void addControl( [in] string Name,
+ [in] com::sun::star::awt::XControl Control );
+
+
+ /** removes the given control from the container.
+ */
+ void removeControl( [in] com::sun::star::awt::XControl Control );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XControlModel.idl b/offapi/com/sun/star/awt/XControlModel.idl
new file mode 100644
index 000000000..b2ef34908
--- /dev/null
+++ b/offapi/com/sun/star/awt/XControlModel.idl
@@ -0,0 +1,40 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XControlModel_idl__
+#define __com_sun_star_awt_XControlModel_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** identifies a control model.
+ */
+published interface XControlModel: com::sun::star::uno::XInterface
+{
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XCurrencyField.idl b/offapi/com/sun/star/awt/XCurrencyField.idl
new file mode 100644
index 000000000..88cf88068
--- /dev/null
+++ b/offapi/com/sun/star/awt/XCurrencyField.idl
@@ -0,0 +1,122 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XCurrencyField_idl__
+#define __com_sun_star_awt_XCurrencyField_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** gives access to the value and formatting of a currency field.
+ */
+published interface XCurrencyField: com::sun::star::uno::XInterface
+{
+
+ /** sets the value which is displayed in the currency field.
+ */
+ void setValue( [in] double Value );
+
+
+ /** returns the value which is currently displayed in the currency field.
+ */
+ double getValue();
+
+
+ /** sets the minimum value that can be entered by the user.
+ */
+ void setMin( [in] double Value );
+
+
+ /** returns the currently set minimum value that can be entered by the
+ user.
+ */
+ double getMin();
+
+
+ /** sets the maximum value that can be entered by the user.
+ */
+ void setMax( [in] double Value );
+
+
+ /** returns the currently set maximum value that can be entered by the
+ user.
+ */
+ double getMax();
+
+
+ /** sets the first value to be set on POS1 key.
+ */
+ void setFirst( [in] double Value );
+
+
+ /** returns the currently set first value which is set on POS1 key.
+ */
+ double getFirst();
+
+
+ /** sets the last value to be set on END key.
+ */
+ void setLast( [in] double Value );
+
+
+ /** returns the currently set last value which is set on END key.
+ */
+ double getLast();
+
+
+ /** sets the increment value for the spin button.
+ */
+ void setSpinSize( [in] double Value );
+
+
+ /** returns the currently set increment value for the spin button.
+ */
+ double getSpinSize();
+
+
+ /** sets the number of decimals.
+ */
+ void setDecimalDigits( [in] short nDigits );
+
+
+ /** returns the currently set number of decimals.
+ */
+ short getDecimalDigits();
+
+
+ /** determines if the format is checked during user input.
+ */
+ void setStrictFormat( [in] boolean bStrict );
+
+
+ /** returns whether the format is currently checked during user input.
+ */
+ boolean isStrictFormat();
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XDataTransferProviderAccess.idl b/offapi/com/sun/star/awt/XDataTransferProviderAccess.idl
new file mode 100644
index 000000000..573535597
--- /dev/null
+++ b/offapi/com/sun/star/awt/XDataTransferProviderAccess.idl
@@ -0,0 +1,95 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_XDataTransferProviderAccess_idl__
+#define __com_sun_star_awt_XDataTransferProviderAccess_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+
+module com { module sun { module star { module datatransfer {
+module dnd {
+ published interface XDragGestureRecognizer;
+ published interface XDragSource;
+ published interface XDropTarget;
+};
+module clipboard {
+ published interface XClipboard;
+};
+}; }; }; };
+
+
+module com { module sun { module star { module awt {
+
+ published interface XWindow;
+
+
+/** This interface extends the XToolkit interface with clipboard and
+ drag-and-drop support.
+*/
+published interface XDataTransferProviderAccess: com::sun::star::uno::XInterface
+{
+
+ /** returns the drag gesture recognizer of the specified window.
+
+ @returns the drag gesture recognizer.
+
+ @param window
+ a window created by the same toolkit instance.
+ */
+ com::sun::star::datatransfer::dnd::XDragGestureRecognizer getDragGestureRecognizer( [in] XWindow window );
+
+
+ /** returns the drag source of the specified window.
+
+ @returns the drag source.
+
+ @param window
+ a window created by the same toolkit instance.
+ */
+ com::sun::star::datatransfer::dnd::XDragSource getDragSource( [in] XWindow window );
+
+
+ /** returns the drop target of the specified window.
+
+ @returns the drop target.
+
+ @param window
+ a window created by the same toolkit instance.
+ */
+ com::sun::star::datatransfer::dnd::XDropTarget getDropTarget( [in] XWindow window );
+
+
+ /** returns the specified clipboard.
+
+ @returns the specified clipboard (if available).
+
+ @param clipboardName
+ the name of the clipboard to return.
+ If an empty string is passed in, the default clipboard is returned.
+ */
+ com::sun::star::datatransfer::clipboard::XClipboard getClipboard( [in] string clipboardName );
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XDateField.idl b/offapi/com/sun/star/awt/XDateField.idl
new file mode 100644
index 000000000..72d1c80f9
--- /dev/null
+++ b/offapi/com/sun/star/awt/XDateField.idl
@@ -0,0 +1,123 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XDateField_idl__
+#define __com_sun_star_awt_XDateField_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+#include <com/sun/star/util/Date.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** gives access to the value and settings of a date field.
+ */
+published interface XDateField: com::sun::star::uno::XInterface
+{
+
+ /** sets the date value which is displayed in the date field.
+ */
+ void setDate( [in] ::com::sun::star::util::Date Date );
+
+
+ /** returns the date value which is currently displayed in the date field.
+ */
+ ::com::sun::star::util::Date getDate();
+
+
+ /** sets the minimum date value that can be entered by the user.
+ */
+ void setMin( [in] ::com::sun::star::util::Date Date );
+
+
+ /** returns the currently set minimum date value that can be entered by
+ the user.
+ */
+ ::com::sun::star::util::Date getMin();
+
+
+ /** sets the maximum date value that can be entered by the user.
+ */
+ void setMax( [in] ::com::sun::star::util::Date Date );
+
+
+ /** returns the currently set maximum date value that can be entered by
+ the user.
+ */
+ ::com::sun::star::util::Date getMax();
+
+
+ /** sets the first value to be set on POS1 key.
+ */
+ void setFirst( [in] ::com::sun::star::util::Date Date );
+
+
+ /** returns the currently set first value which is set on POS1 key.
+ */
+ ::com::sun::star::util::Date getFirst();
+
+
+ /** sets the last value to be set on END key.
+ */
+ void setLast( [in] ::com::sun::star::util::Date Date );
+
+
+ /** returns the currently set last value which is set on END key.
+ */
+ ::com::sun::star::util::Date getLast();
+
+
+ /** determines if the long date format is to be used.
+ */
+ void setLongFormat( [in] boolean bLong );
+
+
+ /** determines if the long date format is currently used.
+ */
+ boolean isLongFormat();
+
+
+ /** sets an empty value for the date.
+ */
+ void setEmpty();
+
+
+ /** returns whether currently an empty value is set for the date.
+ */
+ boolean isEmpty();
+
+
+ /** determines if the format is checked during user input.
+ */
+ void setStrictFormat( [in] boolean bStrict );
+
+
+ /** returns whether the format is currently checked during user input.
+ */
+ boolean isStrictFormat();
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XDevice.idl b/offapi/com/sun/star/awt/XDevice.idl
new file mode 100644
index 000000000..b9b43ae76
--- /dev/null
+++ b/offapi/com/sun/star/awt/XDevice.idl
@@ -0,0 +1,105 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XDevice_idl__
+#define __com_sun_star_awt_XDevice_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+#include <com/sun/star/awt/DeviceInfo.idl>
+
+#include <com/sun/star/awt/FontDescriptor.idl>
+
+
+ module com { module sun { module star { module awt {
+
+ published interface XGraphics;
+ published interface XFont;
+ published interface XBitmap;
+ published interface XDisplayBitmap;
+
+
+/** provides information about a graphical output device and
+ offers a factory for the <em>graphics</em> which provides write
+ operations on the device.
+ */
+published interface XDevice: com::sun::star::uno::XInterface
+{
+
+ /** creates a new graphics whose output operation is directed to this
+ device.
+ */
+ XGraphics createGraphics();
+
+
+ /** creates a new device which is compatible with this one.
+
+ <p>If the device does not support the GETBITS device capability,
+ this method returns `NULL`.</p>
+ */
+ XDevice createDevice( [in] long nWidth,
+ [in] long nHeight );
+
+
+ /** returns information about the device.
+ */
+ com::sun::star::awt::DeviceInfo getInfo();
+
+
+ /** returns the list of available font descriptors.
+ */
+ sequence<FontDescriptor> getFontDescriptors();
+
+
+ /** returns information about a font offered by this device.
+
+ @returns the font of this device.
+
+ @param aDescriptor
+ specifies the description of a font.
+ The unit of measure is pixel for this device.
+ */
+ com::sun::star::awt::XFont getFont( [in] FontDescriptor aDescriptor );
+
+
+ /** creates a bitmap with the current device depth.
+
+ <p>If the specified area does not lie entirely in the device, the bits
+ outside are not specified.</p>
+ */
+ XBitmap createBitmap( [in] long nX,
+ [in] long nY,
+ [in] long nWidth,
+ [in] long nHeight );
+
+
+ /** creates a device compatible bitmap.
+
+ <p>The data of the bitmap is in process memory instead of in the device,
+ so that the output operation is fast.</p>
+ */
+ XDisplayBitmap createDisplayBitmap( [in] XBitmap Bitmap );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XDialog.idl b/offapi/com/sun/star/awt/XDialog.idl
new file mode 100644
index 000000000..5a9492472
--- /dev/null
+++ b/offapi/com/sun/star/awt/XDialog.idl
@@ -0,0 +1,63 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XDialog_idl__
+#define __com_sun_star_awt_XDialog_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** makes it possible to show and hide a dialog and gives access to
+ the title of the dialog.
+ */
+published interface XDialog: com::sun::star::uno::XInterface
+{
+
+ /** sets the title of the dialog.
+ */
+ void setTitle( [in] string Title );
+
+
+ /** gets the title of the dialog.
+ */
+ string getTitle();
+
+
+ /** runs the dialog modally: shows it, and waits for the execution to end.
+ Returns an exit code (e.g., indicating the button that was used to end the execution).
+ */
+ short execute();
+
+
+ /** hides the dialog and then causes XDialog::execute()
+ to return.
+ */
+ void endExecute();
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XDialog2.idl b/offapi/com/sun/star/awt/XDialog2.idl
new file mode 100644
index 000000000..b39dfed5f
--- /dev/null
+++ b/offapi/com/sun/star/awt/XDialog2.idl
@@ -0,0 +1,51 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_XDialog2_idl__
+#define __com_sun_star_awt_XDialog2_idl__
+
+#include <com/sun/star/awt/XDialog.idl>
+
+
+
+module com { module sun { module star { module awt {
+
+
+/** Makes it possible to end a dialog and set a help id.
+
+ @since OOo 3.0
+ */
+published interface XDialog2: com::sun::star::awt::XDialog
+{
+ /** hides the dialog and then causes XDialog::execute()
+ to return with the given result value.
+ */
+ void endDialog ( [in] long Result );
+ /** sets the help id so that the standard help button action will
+ show the appropriate help page.
+ */
+ void setHelpId ( [in] string Id );
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XDialogEventHandler.idl b/offapi/com/sun/star/awt/XDialogEventHandler.idl
new file mode 100644
index 000000000..f4a7316ca
--- /dev/null
+++ b/offapi/com/sun/star/awt/XDialogEventHandler.idl
@@ -0,0 +1,90 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_XDialogEventHandler_idl__
+#define __com_sun_star_awt_XDialogEventHandler_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+#include <com/sun/star/awt/XDialog.idl>
+#include <com/sun/star/lang/WrappedTargetException.idl>
+
+
+
+module com { module sun { module star { module awt {
+
+
+/** Handles events fired by dialogs represented by a
+ com::sun::star::awt::XDialog interface.
+ */
+interface XDialogEventHandler : ::com::sun::star::uno::XInterface {
+
+
+ /** Handles an event generated by a dialog.
+
+ The implementation must be aware that the EventObject argument contains types
+ which it is not prepared to handle. Similarly this applies for the MethodName
+ argument. In this case the method should simply return false.
+
+ @param xDialog
+ the dialog instance that generated the event. This is the same dialog instance
+ that was returned by the com::sun::star::awt::XDialogProvider2
+ createDialogWithHandler method when passing the XDialogEventHandler instance
+ receiving the event as handler parameter.
+
+ @param EventObject
+ an object describing the event which occurred in the dialog or anything else that
+ provides additional information for the event.
+ If the event was caused by the dialog or any of the controls which it contains
+ then the any should contain an object derived from
+ com::sun::star::lang::EventObject. Typically this would be one
+ of the several com::sun::star::awt::*Event types.
+
+ @param MethodName
+ the name of the function which is to be called.
+
+ @returns
+ true if the event was handled, otherwise false.
+
+ @throws com::sun::star::lang::WrappedTargetException
+ if the implementation of the method, which is determined by the argument MethodName,
+ throws an exception. This exception is then wrapped into a
+ com::sun::star::lang::WrappedTargetException.
+
+ */
+ boolean callHandlerMethod(
+ [in] com::sun::star::awt::XDialog xDialog,
+ [in] any EventObject,
+ [in] string MethodName)
+ raises(com::sun::star::lang::WrappedTargetException);
+
+
+ /** returns a sequence of supported method names
+
+ @returns
+ all method names that will be accepted in calls to callHandlerMethod.
+ */
+ sequence<string> getSupportedMethodNames();
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XDialogProvider.idl b/offapi/com/sun/star/awt/XDialogProvider.idl
new file mode 100644
index 000000000..018fdf1ba
--- /dev/null
+++ b/offapi/com/sun/star/awt/XDialogProvider.idl
@@ -0,0 +1,59 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_XDialogProvider_idl__
+#define __com_sun_star_awt_XDialogProvider_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+#include <com/sun/star/awt/XDialog.idl>
+#include <com/sun/star/lang/IllegalArgumentException.idl>
+
+
+
+module com { module sun { module star { module awt {
+
+
+/** provides dialogs implementing the
+ com::sun::star::awt::XDialog interface.
+ */
+interface XDialogProvider : ::com::sun::star::uno::XInterface {
+
+
+ /** creates a dialog for the given URL.
+
+ @param URL
+ is the URL.
+
+ @returns
+ a dialog implementing the com::sun::star::awt::XDialog interface.
+
+ @throws com::sun::star::lang::IllegalArgumentException
+ if no dialog for the given URL is found or if the URL is invalid.
+ */
+ com::sun::star::awt::XDialog createDialog( [in] string URL )
+ raises ( com::sun::star::lang::IllegalArgumentException );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XDialogProvider2.idl b/offapi/com/sun/star/awt/XDialogProvider2.idl
new file mode 100644
index 000000000..7365e1196
--- /dev/null
+++ b/offapi/com/sun/star/awt/XDialogProvider2.idl
@@ -0,0 +1,123 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_XDialogProvider2_idl__
+#define __com_sun_star_awt_XDialogProvider2_idl__
+
+#include <com/sun/star/awt/XDialogProvider.idl>
+#include <com/sun/star/beans/NamedValue.idl>
+
+
+
+module com { module sun { module star { module awt {
+
+
+/** provides dialogs implementing the
+ com::sun::star::awt::XDialog interface.
+ */
+interface XDialogProvider2 : ::com::sun::star::awt::XDialogProvider {
+
+
+ /** creates a dialog for the given URL accepting an Interface used
+ to handle dialog events.
+
+ @param URL
+ is the URL.
+
+ @param xHandler
+ is the interface that will be called to handle the Events that
+ are generated by the dialog (and all controls placed on it) and
+ bound to the handler using a vnd.sun.star.UNO URL specifying a
+ handler method to be called. Usually this will be done directly
+ by the user.
+
+ xHandler can handle events in two different ways:
+
+ 1. By supporting the com::sun::star::awt::XDialogEventHandler interface.
+ This is a generic interface to accept event notifications.
+
+ 2. By providing interfaces that directly implement the handler
+ methods to be called. The XDialogProvider2 implementation then
+ will try to access these events using the
+ com::sun::star::beans::IntrospectionIntrospection
+ service. To make this possible the handler implementation also has to
+ support com::sun::star::lang::XTypeProvider.
+
+ If XDialogEventHandler is supported XDialogEventHandler.callHandlerMethod()
+ is always called first to handle the event. Only if the event cannot be
+ handled by XDialogEventHandler (callHandlerMethod() then has to return
+ false) or if XDialogEventHandler is not supported at all the Introspection
+ based access will be used.
+
+ The Introspection based access tries to call a method named according to the
+ HandlerMethodName specified by a
+ <code>vnd.sun.star.UNO:<i>HandlerMethodName</i></code> URL.
+ First a method
+
+ void HandlerMethodName( [in] com::sun::star::awt::XDialog xDialog, [in] any aEvent )
+
+ will be searched. The signature is similar to XDialogEventHandler.
+ callHandlerMethod except for MethodName itself that isn't needed
+ here. For more information about these parameters, see
+ com::sun::star::awt::XDialogEventHandler.
+
+ If this method is found, it will be called, otherwise a method
+
+ void HandlerMethodName( void )
+
+ will be searched and called.
+
+ @returns
+ a dialog implementing the com::sun::star::awt::XDialog interface.
+
+ @throws com::sun::star::lang::IllegalArgumentException
+ if no dialog for the given URL is found or if the URL is invalid
+ or xHandler is null.
+
+ @see com::sun::star::awt::XDialogEventHandler
+
+ */
+ com::sun::star::awt::XDialog createDialogWithHandler
+ ( [in] string URL, [in] com::sun::star::uno::XInterface xHandler )
+ raises ( com::sun::star::lang::IllegalArgumentException );
+
+ /** creates a dialog for the given URL, accepting additional creation parameters
+
+ <p>The arguments accepted so far are
+ <ul><li><em>ParentWindow</em> - must be a component supporting the XWindowPeer interface,
+ or a component supporting the XControl interface, so an <code>XWindowPeer</code> can be
+ obtained from it. The given window will be used as parent window for the to-be-created dialog.</li>
+ <li><em>EventHandler</em> - specifies a component handling events in the dialog. See
+ createDialogWithHandler() for a detailed specification of dialog event handling.</li>
+ </ul>
+ </p>
+ */
+
+ XDialog createDialogWithArguments
+ ( [in] string URL,
+ [in] sequence< ::com::sun::star::beans::NamedValue > Arguments )
+ raises ( com::sun::star::lang::IllegalArgumentException );
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XDisplayBitmap.idl b/offapi/com/sun/star/awt/XDisplayBitmap.idl
new file mode 100644
index 000000000..7ce17dd6e
--- /dev/null
+++ b/offapi/com/sun/star/awt/XDisplayBitmap.idl
@@ -0,0 +1,43 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XDisplayBitmap_idl__
+#define __com_sun_star_awt_XDisplayBitmap_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies an object as a bitmap for which data is formatted for
+ a specific output device.
+
+ <p>Drawing of this bitmap is only valid on a compatible device.</p>
+ */
+published interface XDisplayBitmap: com::sun::star::uno::XInterface
+{
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XDisplayConnection.idl b/offapi/com/sun/star/awt/XDisplayConnection.idl
new file mode 100644
index 000000000..f9960f629
--- /dev/null
+++ b/offapi/com/sun/star/awt/XDisplayConnection.idl
@@ -0,0 +1,93 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_XDisplayConnection_idl__
+#define __com_sun_star_awt_XDisplayConnection_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+
+module com { module sun { module star { module awt {
+
+ published interface XEventHandler;
+
+
+/** This interface should be implemented by toolkits that want to give access
+ to their internal message handling loop.
+*/
+published interface XDisplayConnection: com::sun::star::uno::XInterface
+{
+
+ /** registers an event handler.
+
+ @param window
+ the platform specific window id. If empty, the handler should be
+ registered for all windows.
+
+ @param eventHandler
+ the handler to register.
+
+ @param eventMask
+ the event mask specifies the events the handler is interested in.
+ */
+ void addEventHandler( [in] any window, [in] XEventHandler eventHandler, [in] long eventMask );
+
+
+ /** removes an eventHandler from the handler list.
+
+ @param window
+ the platform specific window id the handler should be unregistered for.
+ If empty, the handler should be unregistered completely.
+
+ @param eventHandler
+ the handler to remove.
+ */
+ void removeEventHandler( [in] any window, [in] XEventHandler eventHandler );
+
+
+ /** register an error handler for toolkit specific errors.
+
+ @param errorHandler
+ the handler to register.
+ */
+ void addErrorHandler( [in] XEventHandler errorHandler );
+
+
+ /** remover an error handler from the handler list.
+
+ @param errorHandler
+ the handler to remove.
+ */
+ void removeErrorHandler( [in] XEventHandler errorHandler );
+
+
+ /** returns an identifier.
+
+ @returns a unique platform dependent identifier for a display connection.
+ */
+ any getIdentifier();
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XDockableWindow.idl b/offapi/com/sun/star/awt/XDockableWindow.idl
new file mode 100644
index 000000000..d34289a5b
--- /dev/null
+++ b/offapi/com/sun/star/awt/XDockableWindow.idl
@@ -0,0 +1,124 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XDockableWindow_idl__
+#define __com_sun_star_awt_XDockableWindow_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+#include <com/sun/star/awt/XDockableWindowListener.idl>
+#include <com/sun/star/awt/Rectangle.idl>
+
+
+module com { module sun { module star { module awt {
+
+
+/** specifies the docking interface for a window component.
+
+ <p>A window can either be docked where it resides as a child window in
+ an application frame window or it can be floating where it will
+ reside in its own decorated top level window.
+ </p>
+ */
+interface XDockableWindow : com::sun::star::uno::XInterface
+{
+
+ /** adds a docking listener to the object.
+ only a single listener may be registered at any time.
+ */
+ void addDockableWindowListener( [in] com::sun::star::awt::XDockableWindowListener xListener );
+
+
+ /** removes the specified docking listener from the object.
+ */
+ void removeDockableWindowListener( [in] com::sun::star::awt::XDockableWindowListener xListener );
+
+
+ /** enable or disable docking, docking is disabled by default
+
+ @param bEnable
+ `TRUE` specifies that docking is enabled
+ `FALSE` specifies that docking is disabled and no
+ com::sun::star::awt::XDockableWindowListener will be called
+ */
+ void enableDocking( [in] boolean bEnable );
+
+
+ /** queries the current window state
+ @returns
+ `TRUE` if the window is floating
+ `FALSE` if the window is docked
+ */
+ boolean isFloating();
+
+
+ /** toggle between floating and docked state
+ @param bFloating
+ specifies the new floating mode:
+ `TRUE` means floating, `FALSE` means docked
+ */
+ void setFloatingMode( [in] boolean bFloating );
+
+
+ /** prevents the window from being undocked
+ this has no effect if the window is floating
+ */
+ void lock();
+
+
+ /** enables undocking
+ this has no effect if the window is floating
+ */
+ void unlock();
+
+
+ /** queries the current locking state
+ @returns
+ `TRUE` if the window is locked
+ `FALSE` if the window is not locked
+ */
+ boolean isLocked();
+
+
+ /** shows the window in a menu like style, i.e. without decoration
+ a special indicator will allow for tearing off the window
+ see com::sun::star::awt::XDockableWindowListener for
+ the corresponding events
+ @param WindowRect
+ specifies the position and size of the pop-up window in frame coordinates
+
+ @deprecated - doesn't do anything
+ */
+ void startPopupMode( [in] com::sun::star::awt::Rectangle WindowRect );
+
+
+ /** queries the current pop-up mode
+ @returns
+ `TRUE` if the window is in pop-up mode
+ `FALSE` if the window is not in pop-up mode
+
+ @deprecated - always returns `FALSE`
+ */
+ boolean isInPopupMode();
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XDockableWindowListener.idl b/offapi/com/sun/star/awt/XDockableWindowListener.idl
new file mode 100644
index 000000000..f901bd36b
--- /dev/null
+++ b/offapi/com/sun/star/awt/XDockableWindowListener.idl
@@ -0,0 +1,93 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XDockableWindowListener_idl__
+#define __com_sun_star_awt_XDockableWindowListener_idl__
+
+#include <com/sun/star/lang/XEventListener.idl>
+#include <com/sun/star/awt/DockingData.idl>
+#include <com/sun/star/awt/EndDockingEvent.idl>
+#include <com/sun/star/awt/DockingEvent.idl>
+#include <com/sun/star/awt/EndPopupModeEvent.idl>
+#include <com/sun/star/lang/EventObject.idl>
+
+
+module com { module sun { module star { module awt {
+
+
+/** makes it possible to receive docking events.
+ */
+interface XDockableWindowListener: com::sun::star::lang::XEventListener
+{
+
+ /** is invoked when the docking procedure starts.
+ */
+ void startDocking( [in] com::sun::star::awt::DockingEvent e );
+
+
+ /** is invoked during the docking procedure when the window has been moved.
+
+ on return the DockingData must contain either the old tracking rectangle
+ or a changed rectangle if required, additionally it must indicate if
+ the window should be docked or floating
+
+ Note: the tracking rectangle indicates to the user where the window would
+ be placed if he releases the mouse.
+
+ */
+ DockingData docking( [in] com::sun::star::awt::DockingEvent e );
+
+
+ /** is invoked when the docking procedure ends.
+ aWindowRect contains the new position and size of the window
+ */
+ void endDocking( [in] com::sun::star::awt::EndDockingEvent e );
+
+
+ /** is invoked when the floating mode is about to be changed between
+ floating and docked or vice versa
+
+ if returned FALSE the floating mode will not be changed
+ */
+ boolean prepareToggleFloatingMode( [in] com::sun::star::lang::EventObject e );
+
+
+ /** is invoked when the floating mode is changed between
+ floating and docked or vice versa
+ */
+ void toggleFloatingMode( [in] com::sun::star::lang::EventObject e );
+
+
+ /** is invoked when the window was actively closed
+ */
+ void closed( [in] com::sun::star::lang::EventObject e );
+
+
+ /** is invoked when the window currently is in pop-up mode and wants to be undocked
+ or closed
+ */
+ void endPopupMode( [in] com::sun::star::awt::EndPopupModeEvent e );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XEnhancedMouseClickHandler.idl b/offapi/com/sun/star/awt/XEnhancedMouseClickHandler.idl
new file mode 100644
index 000000000..daba7a928
--- /dev/null
+++ b/offapi/com/sun/star/awt/XEnhancedMouseClickHandler.idl
@@ -0,0 +1,54 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XEnhancedMouseClickHandler_idl__
+#define __com_sun_star_awt_XEnhancedMouseClickHandler_idl__
+
+#include <com/sun/star/lang/XEventListener.idl>
+#include <com/sun/star/awt/EnhancedMouseEvent.idl>
+
+
+
+module com { module sun { module star { module awt {
+
+
+/** makes it possible to receive enhanced events from the mouse.
+
+ @since OOo 2.0
+
+ */
+published interface XEnhancedMouseClickHandler: ::com::sun::star::lang::XEventListener
+{
+
+ /** is invoked when a mouse button has been pressed on a window.
+ */
+ boolean mousePressed( [in] com::sun::star::awt::EnhancedMouseEvent e );
+
+
+ /** is invoked when a mouse button has been released on a window.
+ */
+ boolean mouseReleased( [in] com::sun::star::awt::EnhancedMouseEvent e );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XEventHandler.idl b/offapi/com/sun/star/awt/XEventHandler.idl
new file mode 100644
index 000000000..6efacb4b4
--- /dev/null
+++ b/offapi/com/sun/star/awt/XEventHandler.idl
@@ -0,0 +1,54 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_XEventHandler_idl__
+#define __com_sun_star_awt_XEventHandler_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+
+module com { module sun { module star { module awt {
+
+
+/** This interface can be implemented by clients that need access to the
+ toolkits window message loop.
+*/
+published interface XEventHandler: com::sun::star::uno::XInterface
+{
+
+
+ /** requests the implementor of this interface to handle a platform
+ dependent event.
+
+ @returns `TRUE` if the event was handled properly and no further
+ handling should take place, `FALSE` otherwise.
+
+ @param event
+ the platform dependent event.
+ */
+ boolean handleEvent( [in] any event );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XExtendedToolkit.idl b/offapi/com/sun/star/awt/XExtendedToolkit.idl
new file mode 100644
index 000000000..56662975a
--- /dev/null
+++ b/offapi/com/sun/star/awt/XExtendedToolkit.idl
@@ -0,0 +1,195 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_XExtendedToolkit_idl__
+#define __com_sun_star_awt_XExtendedToolkit_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+#include <com/sun/star/awt/XTopWindow.idl>
+#include <com/sun/star/lang/IndexOutOfBoundsException.idl>
+#include <com/sun/star/awt/XTopWindowListener.idl>
+#include <com/sun/star/awt/XKeyHandler.idl>
+#include <com/sun/star/awt/XFocusListener.idl>
+
+
+
+module com { module sun { module star { module awt {
+
+
+/** The XExtendedToolkit is an extension of the
+ ::com::sun::star::awt::XToolkit interface. It basically
+ provides access to three event broadcasters which are used for instance
+ in the context of accessibility. It is, however, not restricted to
+ accessibility.
+
+ <p>The first event broadcaster lets you keep track of the open top-level
+ windows (frames). To get the set of currently open top-level window use
+ the XExtendedToolkit::getTopWindowCount() and
+ XExtendedToolkit::getTopWindow() methods.</p>
+
+ <p>The second event broadcaster informs its listeners of key events.
+ Its listeners can, unlike with most other broadcasters/listeners,
+ consume events, so that other listeners will not be called for consumed
+ events.</p>
+
+ <p>The last event broadcaster sends events on focus changes of all
+ elements that can have the input focus.</p>
+
+ @deprecated
+ This interface was only implemented in an intermediate developer
+ release anyway.
+
+ @since OOo 1.1.2
+*/
+published interface XExtendedToolkit : ::com::sun::star::uno::XInterface
+{
+
+ /** This function returns the number of currently existing top-level
+ windows.
+ @return
+ Returns the number of top-level windows. This includes all
+ top-level windows, regardless of whether they are iconized,
+ visible, or active.
+ */
+ long getTopWindowCount ();
+
+
+ /** Return a reference to the specified top-level window. Note that the
+ number of top-level windows may change between a call to
+ getTopWindowCount() and successive calls to this
+ function.
+ @param nIndex
+ The index should be in the interval from 0 up to but not
+ including the number of top-level windows as returned by
+ getTopWindowCount().
+ @return
+ The returned value is a valid reference to a top-level window.
+ @throws IndexOutOfBoundsException
+ when the specified index is outside the valid range.
+ */
+ ::com::sun::star::awt::XTopWindow getTopWindow ([in] long nIndex)
+ raises (::com::sun::star::lang::IndexOutOfBoundsException);
+
+
+ /** Return the currently active top-level window, i.e. which has
+ currently the input focus.
+ @return
+ The returned reference may be empty when no top-level window is
+ active.
+ */
+ ::com::sun::star::awt::XTopWindow getActiveTopWindow ();
+
+ /** Add a new listener that is called for events that involve
+ ::com::sun::star::awt::XTopWindow. After having
+ obtained the current list of existing top-level windows you can
+ keep this list up-to-date by listening to opened or closed top-level
+ windows. Wait for activations or deactivations of top-level windows
+ to keep track of the currently active frame.
+ @param xListener
+ If this is a valid reference it is inserted into the list of
+ listeners. It is the task of the caller to not register the
+ same listener twice (otherwise that listener will be called
+ twice.)
+ */
+ void addTopWindowListener (
+ [in] ::com::sun::star::awt::XTopWindowListener xListener);
+
+
+ /** Remove the specified listener from the list of listeners.
+ @param xListener
+ If the reference is empty then nothing will be changed. If the
+ listener has been registered twice (or more) then all references
+ will be removed.
+ */
+ void removeTopWindowListener (
+ [in] ::com::sun::star::awt::XTopWindowListener xListener);
+
+
+ /** Add a new listener that is called on
+ ::com::sun::star::awt::KeyEvent. Every listener is
+ given the opportunity to consume the event, i.e. prevent the not yet
+ called listeners from being called.
+ @param xHandler
+ If this is a valid reference it is inserted into the list of
+ handlers. It is the task of the caller to not register the
+ same handler twice (otherwise that listener will be called
+ twice.)
+ */
+ void addKeyHandler (
+ [in] ::com::sun::star::awt::XKeyHandler xHandler);
+
+
+ /** Remove the specified listener from the list of listeners.
+ @param xHandler
+ If the reference is empty then nothing will be changed. If the
+ handler has been registered twice (or more) then all references
+ will be removed.
+ */
+ void removeKeyHandler (
+ [in] ::com::sun::star::awt::XKeyHandler xHandler);
+
+
+ /** Add a new listener that is called on
+ ::com::sun::star::awt::FocusEvent. Use this focus
+ broadcaster to keep track of the object that currently has the input
+ focus.
+ @param xListener
+ If this is a valid reference it is inserted into the list of
+ listeners. It is the task of the caller to not register the
+ same listener twice (otherwise that listener will be called
+ twice.)
+ */
+ void addFocusListener (
+ [in] ::com::sun::star::awt::XFocusListener xListener);
+
+
+ /** Remove the specified listener from the list of listeners.
+ @param xListener
+ If the reference is empty then nothing will be changed. If the
+ listener has been registered twice (or more) then all references
+ will be removed.
+ */
+ void removeFocusListener (
+ [in] ::com::sun::star::awt::XFocusListener xListener);
+
+
+ /** Broadcasts the a focusGained on all registered focus listeners
+ @param source
+ The object that has gained the input focus. It should implement
+ com::sun::star::accessibility::XAccessible.
+ */
+ void fireFocusGained (
+ [in] ::com::sun::star::uno::XInterface source);
+
+
+ /** Broadcasts the a focusGained on all registered focus listeners
+ @param source
+ The object that has lost the input focus. It should implement
+ com::sun::star::accessibility::XAccessible.
+ */
+ void fireFocusLost (
+ [in] ::com::sun::star::uno::XInterface source);
+
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XFileDialog.idl b/offapi/com/sun/star/awt/XFileDialog.idl
new file mode 100644
index 000000000..acf5f7a3f
--- /dev/null
+++ b/offapi/com/sun/star/awt/XFileDialog.idl
@@ -0,0 +1,68 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XFileDialog_idl__
+#define __com_sun_star_awt_XFileDialog_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** gives access to a file dialog.
+
+ @deprecated
+ */
+published interface XFileDialog: com::sun::star::uno::XInterface
+{
+
+ /** sets the path.
+ */
+ void setPath( [in] string Path );
+
+
+ /** returns the path.
+ */
+ string getPath();
+
+
+ /** sets the filters.
+ */
+ void setFilters( [in] sequence<string> rFilterNames,
+ [in] sequence<string> rMasks );
+
+
+ /** sets the current filter.
+ */
+ void setCurrentFilter( [in] string Filter );
+
+
+ /** returns the currently selected filter.
+ */
+ string getCurrentFilter();
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XFixedHyperlink.idl b/offapi/com/sun/star/awt/XFixedHyperlink.idl
new file mode 100644
index 000000000..280b846bf
--- /dev/null
+++ b/offapi/com/sun/star/awt/XFixedHyperlink.idl
@@ -0,0 +1,86 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XFixedHyperlink_idl__
+#define __com_sun_star_awt_XFixedHyperlink_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+#include <com/sun/star/awt/XActionListener.idl>
+
+
+ module com { module sun { module star { module awt {
+
+
+/** gives access to the text and formatting of a fixed hyperlink field.
+ */
+interface XFixedHyperlink: com::sun::star::uno::XInterface
+{
+
+ /** sets the text of the control.
+ */
+ void setText( [in] string Text );
+
+
+ /** returns the text of the control.
+ */
+ string getText();
+
+
+ /** sets the url of the control.
+ */
+ void setURL( [in] string URL );
+
+
+ /** returns the url of the control.
+ */
+ string getURL();
+
+
+ /** sets the alignment of the text in the control.
+
+ <pre>
+ 0: left
+ 1: center
+ 2: right
+ </pre>
+ */
+ void setAlignment( [in] short nAlign );
+
+
+ /** returns the alignment of the text in the control.
+ */
+ short getAlignment();
+
+
+ /** registers an event handler for click action event.
+ */
+ void addActionListener( [in] com::sun::star::awt::XActionListener l );
+
+
+ /** unregisters an event handler for click action event.
+ */
+ void removeActionListener( [in] com::sun::star::awt::XActionListener l );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XFixedText.idl b/offapi/com/sun/star/awt/XFixedText.idl
new file mode 100644
index 000000000..3ad14b2de
--- /dev/null
+++ b/offapi/com/sun/star/awt/XFixedText.idl
@@ -0,0 +1,66 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XFixedText_idl__
+#define __com_sun_star_awt_XFixedText_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** gives access to the text and formatting of a fixed text field.
+ */
+published interface XFixedText: com::sun::star::uno::XInterface
+{
+
+ /** sets the text of the control.
+ */
+ void setText( [in] string Text );
+
+
+ /** returns the text of the control.
+ */
+ string getText();
+
+
+ /** sets the alignment of the text in the control.
+
+ <pre>
+ 0: left
+ 1: center
+ 2: right
+ </pre>
+ */
+ void setAlignment( [in] short nAlign );
+
+
+ /** returns the alignment of the text in the control.
+ */
+ short getAlignment();
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XFocusListener.idl b/offapi/com/sun/star/awt/XFocusListener.idl
new file mode 100644
index 000000000..1b80fd3c8
--- /dev/null
+++ b/offapi/com/sun/star/awt/XFocusListener.idl
@@ -0,0 +1,59 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XFocusListener_idl__
+#define __com_sun_star_awt_XFocusListener_idl__
+
+#include <com/sun/star/lang/XEventListener.idl>
+
+#include <com/sun/star/awt/FocusEvent.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** makes it possible to receive keyboard focus events.
+
+ <p>The window which has the keyboard focus is the window which gets
+ the keyboard events.</p>
+ */
+published interface XFocusListener: com::sun::star::lang::XEventListener
+{
+
+ /** is invoked when a window gains the keyboard focus.
+
+ @see XActivateListener::windowActivated
+ */
+ void focusGained( [in] com::sun::star::awt::FocusEvent e );
+
+
+ /** is invoked when a window loses the keyboard focus.
+
+ @see XActivateListener::windowDeactivated
+ */
+ void focusLost( [in] com::sun::star::awt::FocusEvent e );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XFont.idl b/offapi/com/sun/star/awt/XFont.idl
new file mode 100644
index 000000000..2045ea74b
--- /dev/null
+++ b/offapi/com/sun/star/awt/XFont.idl
@@ -0,0 +1,107 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XFont_idl__
+#define __com_sun_star_awt_XFont_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+#include <com/sun/star/awt/FontDescriptor.idl>
+
+#include <com/sun/star/awt/SimpleFontMetric.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** describes a font on a specific device.
+
+ <p>All values are in pixels within this device.</p>
+ */
+published interface XFont: com::sun::star::uno::XInterface
+{
+
+ /** returns the description of the font.
+
+ <p>The unit of measurement is pixels for the device.
+ */
+ com::sun::star::awt::FontDescriptor getFontDescriptor();
+
+
+ /** returns additional information about the font.
+ */
+ com::sun::star::awt::SimpleFontMetric getFontMetric();
+
+
+ /** returns the width of the specified character.
+
+ @returns
+ the character width measured in pixels for the device.
+ */
+ short getCharWidth( [in] char c );
+
+
+ /** returns the widths of the specified characters.
+
+ @returns
+ a sequence of the widths of subsequent characters for this font.
+ */
+ sequence<short> getCharWidths( [in] char nFirst, [in] char nLast );
+
+
+ /** returns the string width.
+
+ @returns
+ the width of the specified string of characters
+ measured in pixels for the device.
+ */
+ long getStringWidth( [in] string str );
+
+
+ /** returns the string and the character widths.
+
+ @returns
+ the width of the specified string of characters
+ measured in pixels for the device.
+
+ @param str
+ the input string.
+
+ @param aDXArray
+ receives the width of every single character
+ measured in pixels for the device.
+ */
+ long getStringWidthArray( [in] string str,
+ [out] sequence<long> aDXArray );
+
+
+ /** queries the kerning pair table.
+ */
+ void getKernPairs( [out] sequence<char> Chars1,
+ [out] sequence<char> Chars2,
+ [out] sequence<short> Kerns );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XFont2.idl b/offapi/com/sun/star/awt/XFont2.idl
new file mode 100644
index 000000000..c75ff2e60
--- /dev/null
+++ b/offapi/com/sun/star/awt/XFont2.idl
@@ -0,0 +1,56 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_XFont2_idl__
+#define __com_sun_star_awt_XFont2_idl__
+
+#include <com/sun/star/awt/XFont.idl>
+
+
+module com { module sun { module star { module awt {
+
+
+/** extends the XFont interface and provides additional
+ information for a font.
+
+ @since OOo 3.0
+ */
+interface XFont2: com::sun::star::awt::XFont
+{
+
+ /** checks whether or not this font has all the glyphs for the text
+ specified by aText.
+
+ @param aText
+ The specified text for which glyphs are needed.
+
+ @return
+ Returns whether or not this font has all the glyphs for the
+ specified text.
+ */
+ boolean hasGlyphs( [in] string aText );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XFontMappingUse.idl b/offapi/com/sun/star/awt/XFontMappingUse.idl
new file mode 100644
index 000000000..8140d6a78
--- /dev/null
+++ b/offapi/com/sun/star/awt/XFontMappingUse.idl
@@ -0,0 +1,56 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_XFontMappingUse_idl__
+#define __com_sun_star_awt_XFontMappingUse_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+#include <com/sun/star/awt/XFontMappingUseItem.idl>
+
+module com { module sun { module star { module awt {
+
+/**
+ This interface extends the XToolkit interface with support
+ for tracking how requested fonts are mapped to actual fonts
+ when laying out text.
+ @since LibreOffice 7.3
+*/
+published interface XFontMappingUse: com::sun::star::uno::XInterface
+{
+ /**
+ Activate tracking of how requested fonts are mapped to available
+ fonts.
+ */
+ void startTrackingFontMappingUse();
+
+ /**
+ Stop tracking of how requested fonts are mapped to available
+ fonts and return the mappings that took place since the call
+ to startTrackingFontMappingUse().
+ */
+ sequence<XFontMappingUseItem> finishTrackingFontMappingUse();
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XFontMappingUseItem.idl b/offapi/com/sun/star/awt/XFontMappingUseItem.idl
new file mode 100644
index 000000000..2cb5a8936
--- /dev/null
+++ b/offapi/com/sun/star/awt/XFontMappingUseItem.idl
@@ -0,0 +1,55 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_XFontMappingUseItem_idl__
+#define __com_sun_star_awt_XFontMappingUseItem_idl__
+
+module com { module sun { module star { module awt {
+
+/**
+ Information about a font mapping that took place.
+ @since LibreOffice 7.3
+*/
+published struct XFontMappingUseItem
+{
+ /**
+ The family name or 'familyName/styleName' (if style name is not empty)
+ of the requested font.
+ */
+ string originalFont;
+
+ /**
+ A list of fonts that were actually used, in their order. Each font
+ is identified as family name or 'familyName/styleName' (if style
+ name is not empty).
+ */
+ sequence<string> usedFonts;
+
+ /**
+ The number of times this mapping took place.
+ */
+ long count;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XGraphics.idl b/offapi/com/sun/star/awt/XGraphics.idl
new file mode 100644
index 000000000..c3311737c
--- /dev/null
+++ b/offapi/com/sun/star/awt/XGraphics.idl
@@ -0,0 +1,236 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XGraphics_idl__
+#define __com_sun_star_awt_XGraphics_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+#include <com/sun/star/util/Color.idl>
+#include <com/sun/star/awt/SimpleFontMetric.idl>
+#include <com/sun/star/awt/FontDescriptor.idl>
+#include <com/sun/star/awt/RasterOperation.idl>
+#include <com/sun/star/awt/Gradient.idl>
+
+
+module com { module sun { module star { module awt {
+
+published interface XRegion;
+published interface XDisplayBitmap;
+published interface XFont;
+published interface XDevice;
+
+
+/** provides the basic output operation of a device.
+ */
+published interface XGraphics: com::sun::star::uno::XInterface
+{
+ /** returns the device of this graphics.
+ */
+ XDevice getDevice();
+
+ /** returns the font metric of the current font.
+ */
+ SimpleFontMetric getFontMetric();
+
+ /** sets the font used by text operations.
+ */
+ void setFont( [in] XFont xNewFont );
+
+ /** creates a new font and sets the font.
+ */
+ void selectFont( [in] FontDescriptor aDescription );
+
+ /** sets the text color used by text operations.
+ */
+ void setTextColor( [in] com::sun::star::util::Color nColor );
+
+ /** sets the fill color used by text operations.
+ */
+ void setTextFillColor( [in] com::sun::star::util::Color nColor );
+
+ /** sets the line color.
+ */
+ void setLineColor( [in] com::sun::star::util::Color nColor );
+
+ /** sets the fill color.
+ */
+ void setFillColor( [in] com::sun::star::util::Color nColor );
+
+ /** sets the raster operation.
+
+ <p>If the device does not support raster operations
+ then this call is ignored.</p>
+ */
+ void setRasterOp( [in] RasterOperation ROP );
+
+ /** sets the clip region to specified clipping.
+ */
+ void setClipRegion( [in] XRegion Clipping );
+
+ /** builds the intersection with the current region.
+ */
+ void intersectClipRegion( [in] XRegion xClipping );
+
+ /** saves all current settings (Font, TextColor, TextFillColor,
+ LineColor, FillColor, RasterOp, ClipRegion).
+ */
+ void push();
+
+ /** restores all previous saved settings.
+ */
+ void pop();
+
+ /** copies a rectangle of pixels from another device into this one.
+ */
+ void copy( [in] XDevice xSource,
+ [in] long nSourceX,
+ [in] long nSourceY,
+ [in] long nSourceWidth,
+ [in] long nSourceHeight,
+ [in] long nDestX,
+ [in] long nDestY,
+ [in] long nDestWidth,
+ [in] long nDestHeight );
+
+ /** draws a part of the specified bitmap to the output device.
+ */
+ void draw( [in] XDisplayBitmap xBitmapHandle,
+ [in] long SourceX,
+ [in] long SourceY,
+ [in] long SourceWidth,
+ [in] long SourceHeight,
+ [in] long DestX,
+ [in] long DestY,
+ [in] long DestWidth,
+ [in] long DestHeight );
+
+ /** sets a single pixel in the output device.
+ */
+ void drawPixel( [in] long X,
+ [in] long Y );
+
+ /** draws a line in the output device.
+ */
+ void drawLine( [in] long X1,
+ [in] long Y1,
+ [in] long X2,
+ [in] long Y2 );
+
+ /** draws a rectangle in the output device.
+ */
+ void drawRect( [in] long X,
+ [in] long Y,
+ [in] long Width,
+ [in] long Height );
+
+ /** draws a rectangle with rounded corners in the output device.
+ */
+ void drawRoundedRect( [in] long X,
+ [in] long Y,
+ [in] long Width,
+ [in] long Height,
+ [in] long nHorzRound,
+ [in] long nVertRound );
+
+ /** draws multiple lines in the output device at once.
+ */
+ void drawPolyLine( [in] sequence<long> DataX,
+ [in] sequence<long> DataY );
+
+ /** draws a polygon line in the output device.
+ */
+ void drawPolygon( [in] sequence<long> DataX,
+ [in] sequence<long> DataY );
+
+ /** draws multiple polygons in the output device at once.
+ */
+ void drawPolyPolygon( [in] sequence< sequence<long> > DataX,
+ [in] sequence< sequence<long> > DataY );
+
+ /** draws an ellipse in the output device.
+ */
+ void drawEllipse( [in] long X,
+ [in] long Y,
+ [in] long Width,
+ [in] long Height );
+
+ /** draws an arc (part of a circle) in the output device.
+ */
+ void drawArc( [in] long X,
+ [in] long Y,
+ [in] long Width,
+ [in] long Height,
+ [in] long X1,
+ [in] long Y1,
+ [in] long X2,
+ [in] long Y2 );
+
+ /** draws a circular area in the output device.
+ */
+ void drawPie( [in] long X,
+ [in] long Y,
+ [in] long Width,
+ [in] long Height,
+ [in] long X1,
+ [in] long Y1,
+ [in] long X2,
+ [in] long Y2 );
+
+ /** draws a chord of a circular area in the output device.
+
+ <p>A chord is a segment of a circle. You get two chords from a
+ circle if you intersect the circle with a straight line
+ joining two points on the circle.</p>
+ */
+ void drawChord( [in] long nX,
+ [in] long nY,
+ [in] long nWidth,
+ [in] long nHeight,
+ [in] long nX1,
+ [in] long nY1,
+ [in] long nX2,
+ [in] long nY2 );
+
+ /** draws a color dispersion in the output device.
+ */
+ void drawGradient( [in] long nX,
+ [in] long nY,
+ [in] long nWidth,
+ [in] long Height,
+ [in] Gradient aGradient );
+
+ /** draws text in the output device.
+ */
+ void drawText( [in] long X,
+ [in] long Y,
+ [in] string Text );
+
+ /** draws texts in the output device using an explicit kerning table.
+ */
+ void drawTextArray( [in] long X,
+ [in] long Y,
+ [in] string Text,
+ [in] sequence<long> Longs );
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XGraphics2.idl b/offapi/com/sun/star/awt/XGraphics2.idl
new file mode 100644
index 000000000..7460bf29b
--- /dev/null
+++ b/offapi/com/sun/star/awt/XGraphics2.idl
@@ -0,0 +1,79 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XGraphics2_idl__
+#define __com_sun_star_awt_XGraphics2_idl__
+
+#include <com/sun/star/awt/XGraphics.idl>
+#include <com/sun/star/awt/Rectangle.idl>
+#include <com/sun/star/graphic/XGraphic.idl>
+
+module com { module sun { module star { module awt {
+
+/** provides the basic output operation of a device.
+ */
+published interface XGraphics2: com::sun::star::awt::XGraphics
+{
+ /** clears the given rectangle on the device
+
+ @since LibreOffice 4.1
+ */
+ void clear( [in] Rectangle aRect );
+
+
+ /** draws a com::sun::star::graphic::XGraphic
+ in the output device.
+
+ <p>Note that some devices may not support this operation.</p>
+
+ @since LibreOffice 4.1
+
+ @param nX
+ the X coordinate on the device where the graphic will be drawn
+
+ @param nY
+ the Y coordinate on the device where the graphic will be drawn
+
+ @param nWidth
+ the width of the region on the device
+
+ @param nHeight
+ the height of the region on the device
+
+ @param nStyle
+ the style used to draw the image.
+ See com::sun::star::awt::ImageDrawMode.
+
+ @param aGraphic
+ the com::sun::star::graphic::XGraphic
+ to be drawn onto the device
+ */
+ void drawImage( [in] long nX,
+ [in] long nY,
+ [in] long nWidth,
+ [in] long nHeight,
+ [in] short nStyle,
+ [in] ::com::sun::star::graphic::XGraphic aGraphic );
+
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XImageButton.idl b/offapi/com/sun/star/awt/XImageButton.idl
new file mode 100644
index 000000000..9e78f6fbf
--- /dev/null
+++ b/offapi/com/sun/star/awt/XImageButton.idl
@@ -0,0 +1,58 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XImageButton_idl__
+#define __com_sun_star_awt_XImageButton_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+#include <com/sun/star/awt/XActionListener.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** makes it possible to register for action events of an image button
+ and sets the action command.
+ */
+published interface XImageButton: com::sun::star::uno::XInterface
+{
+
+ /** registers a listener for action events.
+ */
+ void addActionListener( [in] com::sun::star::awt::XActionListener l );
+
+
+ /** unregisters a listener for action events.
+ */
+ void removeActionListener( [in] com::sun::star::awt::XActionListener l );
+
+
+ /** sets the action command string.
+ */
+ void setActionCommand( [in] string Command );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XImageConsumer.idl b/offapi/com/sun/star/awt/XImageConsumer.idl
new file mode 100644
index 000000000..54b3a08d3
--- /dev/null
+++ b/offapi/com/sun/star/awt/XImageConsumer.idl
@@ -0,0 +1,116 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XImageConsumer_idl__
+#define __com_sun_star_awt_XImageConsumer_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+
+ module com { module sun { module star { module awt {
+
+ published interface XImageProducer;
+
+
+/** specifies a data sink for an image.
+
+ <p>An image consumer is a component which wants to display or just
+ receive an image from an image producer.</p>
+
+ @see XImageProducer
+ */
+published interface XImageConsumer: com::sun::star::uno::XInterface
+{
+
+ /** initializes the consumer with image dimensions.
+ */
+ void init( [in] long Width,
+ [in] long Height );
+
+
+ /** changes color model for next pixels
+ typically called once after initialization.
+ */
+ void setColorModel( [in] short BitCount,
+ [in] sequence<long> RGBAPal,
+ [in] long RedMask,
+ [in] long GreenMask,
+ [in] long BlueMask,
+ [in] long AlphaMask );
+
+
+ /** delivers a chunk of pixels as `long` values.
+
+ <p>The pixels of the image are delivered using one or more calls
+ to this method. Each call specifies the location and size of the
+ rectangle of source pixels that are contained in the array of pixels.
+ The specified color model object should be used to convert
+ the pixels into their corresponding color and alpha components. Pixel
+ (m,n) is stored in the pixels array at index (n * <var>nScanSize</var>
+ + m + nOffset).</p>
+ */
+ void setPixelsByBytes( [in] long nX,
+ [in] long nY,
+ [in] long nWidth,
+ [in] long nHeight,
+ [in] sequence<byte> aProducerData,
+ [in] long nOffset,
+ [in] long nScanSize );
+
+
+ /** delivers a chunk of pixels as `byte` values.
+
+ <p>The pixels of the image are delivered using one or more calls
+ to this method. Each call specifies the location and size of the
+ rectangle of source pixels that are contained in the array of pixels.
+ The specified color model object should be used to convert
+ the pixels into their corresponding color and alpha components. Pixel
+ (m,n) is stored in the pixels array at index (n * <var>nScanSize</var>
+ + m + nOffset).</p>
+ */
+ void setPixelsByLongs( [in] long nX,
+ [in] long nY,
+ [in] long nWidth,
+ [in] long nHeight,
+ [in] sequence<long> aProducerData,
+ [in] long nOffset,
+ [in] long nScanSize );
+
+
+ /** is called for the notification of the degree to which the
+ image is delivered.
+
+ <p>The complete method is called when the image producer
+ has finished delivering all of the pixels that the source image
+ contains, or when a single frame of a multi-frame animation has
+ been completed, or when an error in loading or producing the
+ image has occurred. The image consumer should remove itself from the
+ list of consumers registered with the image producer
+ at this time, unless it is interested in successive frames.</p>
+ */
+ void complete( [in] long Status,
+ [in] XImageProducer xProducer );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XImageProducer.idl b/offapi/com/sun/star/awt/XImageProducer.idl
new file mode 100644
index 000000000..d81a90013
--- /dev/null
+++ b/offapi/com/sun/star/awt/XImageProducer.idl
@@ -0,0 +1,75 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XImageProducer_idl__
+#define __com_sun_star_awt_XImageProducer_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+#include <com/sun/star/awt/XImageConsumer.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a source for an image.
+ */
+published interface XImageProducer: com::sun::star::uno::XInterface
+{
+
+ /** registers an image consumer with the image producer for accessing
+ the image data during a later reconstruction of the image.
+
+ <p>The image producer may, at its discretion, start delivering the
+ image data to the consumer using the XImageConsumer
+ interface immediately, or when the next available image reconstruction
+ is triggered by a call to the startProduction method.</p>
+ */
+ void addConsumer( [in] com::sun::star::awt::XImageConsumer xConsumer );
+
+
+ /** removes the given com::sun::star::awt::XImageConsumer
+ callback from the list of consumers currently registered to receive
+ image data.
+
+ <p>It is not considered an error to remove a consumer that is not
+ currently registered. The image producer should stop sending data
+ to this consumer as soon as it is feasible.</p>
+ */
+ void removeConsumer( [in] com::sun::star::awt::XImageConsumer xConsumer );
+
+
+ /** registers the given image consumer as a consumer
+ and starts an immediate reconstruction of the image data.
+
+ <p>The image data will then be delivered to this consumer and any other
+ consumer which may have already been registered with the producer.
+ This method differs from the addConsumer method in that a reproduction of
+ the image data should be triggered as soon as possible.</p>
+ */
+ void startProduction();
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XInfoPrinter.idl b/offapi/com/sun/star/awt/XInfoPrinter.idl
new file mode 100644
index 000000000..577d88268
--- /dev/null
+++ b/offapi/com/sun/star/awt/XInfoPrinter.idl
@@ -0,0 +1,49 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XInfoPrinter_idl__
+#define __com_sun_star_awt_XInfoPrinter_idl__
+
+#include <com/sun/star/awt/XPrinterPropertySet.idl>
+
+#include <com/sun/star/awt/XDevice.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** represents an information printer.
+ */
+published interface XInfoPrinter: com::sun::star::awt::XPrinterPropertySet
+{
+
+ /** creates a new object which implements an XDevice.
+
+ <p>The current settings are used as a template.</p>
+ */
+ com::sun::star::awt::XDevice createDevice();
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XItemEventBroadcaster.idl b/offapi/com/sun/star/awt/XItemEventBroadcaster.idl
new file mode 100644
index 000000000..c1588c0a3
--- /dev/null
+++ b/offapi/com/sun/star/awt/XItemEventBroadcaster.idl
@@ -0,0 +1,53 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XItemEventBroadcaster_idl__
+#define __com_sun_star_awt_XItemEventBroadcaster_idl__
+
+#include <com/sun/star/awt/XItemListener.idl>
+#include <com/sun/star/uno/XInterface.idl>
+
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** registers item listeners at controls like the com::sun::star::awt::Roadmap
+ */
+
+interface XItemEventBroadcaster: com::sun::star::uno::XInterface
+{
+
+ /** registers a listener for item events.
+ */
+ void addItemListener( [in] com::sun::star::awt::XItemListener l );
+
+
+ /** unregisters a listener for item events.
+ */
+ void removeItemListener( [in] com::sun::star::awt::XItemListener l );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XItemList.idl b/offapi/com/sun/star/awt/XItemList.idl
new file mode 100644
index 000000000..7f4cf3831
--- /dev/null
+++ b/offapi/com/sun/star/awt/XItemList.idl
@@ -0,0 +1,275 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_XItemList_idl__
+#define __com_sun_star_awt_XItemList_idl__
+
+#include <com/sun/star/lang/IndexOutOfBoundsException.idl>
+#include <com/sun/star/beans/Pair.idl>
+
+
+module com { module sun { module star { module awt {
+
+interface XItemListListener;
+
+
+/** provides convenient access to the list of items in a list box
+ */
+interface XItemList
+{
+ /** is the number of items in the list
+ */
+ [attribute, readonly] long ItemCount;
+
+ /** inserts a new item into the list
+
+ @param Position
+ the position at which the item should be inserted. Must be greater or equal to 0, and
+ lesser than or equal to #ItemCount.
+
+ @param ItemText
+ the text of the item to be inserted.
+
+ @param ItemImageURL
+ the URL of the image to display for the item
+
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if <code>Position</code> is invalid.
+ */
+ void insertItem(
+ [in] long Position,
+ [in] string ItemText,
+ [in] string ItemImageURL
+ )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** inserts an item which has only a text, but no image
+
+ @param Position
+ the position at which the item should be inserted. Must be greater or equal to 0, and
+ lesser than or equal to #ItemCount.
+
+ @param ItemText
+ the text of the item to be inserted.
+
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if <code>Position</code> is invalid.
+ */
+ void insertItemText(
+ [in] long Position,
+ [in] string ItemText
+ )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** inserts an item which has only an image, but no text
+
+ @param Position
+ the position at which the item should be inserted. Must be greater or equal to 0, and
+ lesser than or equal to #ItemCount.
+
+ @param ItemImageURL
+ the URL of the image to display for the item
+
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if <code>Position</code> is invalid.
+ */
+ void insertItemImage(
+ [in] long Position,
+ [in] string ItemImageURL
+ )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** removes an item from the list
+
+ @param Position
+ the position of the item which should be removed. Must be greater or equal to 0, and
+ lesser than #ItemCount.
+
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if <code>Position</code> is invalid.
+ */
+ void removeItem(
+ [in] long Position
+ )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** removes all items from the list
+ */
+ void removeAllItems();
+
+ /** sets a new text for an existing item
+
+ @param Position
+ the position of the item whose text is to be changed. Must be greater or equal to 0, and
+ lesser than #ItemCount.
+
+ @param ItemText
+ the new text of the item
+
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if <code>Position</code> is invalid.
+ */
+ void setItemText(
+ [in] long Position,
+ [in] string ItemText
+ )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** sets a new image for an existing item
+
+ @param Position
+ the position of the item whose image is to be changed. Must be greater or equal to 0, and
+ lesser than #ItemCount.
+
+ @param ItemImageURL
+ the new URL of the image to display for the item
+
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if <code>Position</code> is invalid.
+ */
+ void setItemImage(
+ [in] long Position,
+ [in] string ItemImageURL
+ )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** sets both a new position and text for an existing item
+
+ @param Position
+ the position of the item whose text and image is to be changed. Must be greater or equal to 0, and
+ lesser than #ItemCount.
+
+ @param ItemText
+ the new text of the item
+
+ @param ItemImageURL
+ the new URL of the image to display for the item
+
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if <code>Position</code> is invalid.
+ */
+ void setItemTextAndImage(
+ [in] long Position,
+ [in] string ItemText,
+ [in] string ItemImageURL
+ )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** associates an implementation dependent value with the given list item.
+
+ <p>You can use this to store data for an item which does not interfere with the displayed
+ text and image, but can be used by the client of the list box for an arbitrary purpose.</p>
+
+ @param Position
+ the position of the item whose data value should be set. Must be greater or equal to 0, and
+ lesser than #ItemCount.
+
+ @param ItemData
+ the data to associate with the list item
+
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if <code>Position</code> is invalid.
+
+ @see getItemData
+ */
+ void setItemData(
+ [in] long Position,
+ [in] any ItemData
+ )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** retrieves the text of an existing item
+
+ @param Position
+ the position of the item whose text should be retrieved. Must be greater or equal to 0, and
+ lesser than #ItemCount.
+
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if <code>Position</code> is invalid.
+ */
+ string getItemText(
+ [in] long Position
+ )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** retrieves the URL of the image of an existing item
+
+ @param Position
+ the position of the item whose image should be retrieved. Must be greater or equal to 0, and
+ lesser than #ItemCount.
+
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if <code>Position</code> is invalid.
+ */
+ string getItemImage(
+ [in] long Position
+ )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** retrieves both the text and the image URL of an existing item
+
+ @param Position
+ the position of the item whose text and image should be retrieved. Must be greater or equal to 0, and
+ lesser than #ItemCount.
+
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if <code>Position</code> is invalid.
+ */
+ ::com::sun::star::beans::Pair< string, string >
+ getItemTextAndImage(
+ [in] long Position
+ )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** retrieves the implementation dependent value associated with the given list item.
+ @param Position
+ the position of the item whose data value should be retrieved. Must be greater or equal to 0, and
+ lesser than #ItemCount.
+
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if <code>Position</code> is invalid.
+
+ @see setItemData
+ */
+ any getItemData(
+ [in] long Position
+ )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** retrieves the texts and images of all items in the list
+ */
+ sequence< ::com::sun::star::beans::Pair< string, string > >
+ getAllItems();
+
+ /** registers a listener which is notified about changes in the item list.
+ */
+ void addItemListListener( [in] XItemListListener Listener );
+
+ /** revokes a listener which is notified about changes in the item list.
+ */
+ void removeItemListListener( [in] XItemListListener Listener );
+};
+
+
+}; }; }; };
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XItemListListener.idl b/offapi/com/sun/star/awt/XItemListListener.idl
new file mode 100644
index 000000000..d8761517d
--- /dev/null
+++ b/offapi/com/sun/star/awt/XItemListListener.idl
@@ -0,0 +1,76 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_XItemListListener_idl__
+#define __com_sun_star_awt_XItemListListener_idl__
+
+#include <com/sun/star/lang/XEventListener.idl>
+#include <com/sun/star/awt/ItemListEvent.idl>
+
+
+module com { module sun { module star { module awt {
+
+
+/** describes a listener for changes in an item list
+ @see XListItems
+ */
+interface XItemListListener : ::com::sun::star::lang::XEventListener
+{
+ /** is called when an item is inserted into the list
+ */
+ void listItemInserted(
+ [in] ItemListEvent Event
+ );
+
+ /** is called when an item is removed from the list
+ */
+ void listItemRemoved(
+ [in] ItemListEvent Event
+ );
+
+ /** is called when an item in the list is modified, i.e. its text or image changed
+ */
+ void listItemModified(
+ [in] ItemListEvent Event
+ );
+ /** is called when the list has been completely cleared, i.e. after an invocation of
+ XItemList::removeAllItems()
+ */
+ void allItemsRemoved(
+ [in] ::com::sun::star::lang::EventObject Event
+ );
+
+ /** is called when the changes to the item list which occurred are too complex to be notified
+ in single events.
+
+ <p>Consumers of this event should discard their cached information about the current item list,
+ and completely refresh it from the XItemList's current state.</p>
+ */
+ void itemListChanged(
+ [in] ::com::sun::star::lang::EventObject Event
+ );
+};
+
+
+}; }; }; };
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XItemListener.idl b/offapi/com/sun/star/awt/XItemListener.idl
new file mode 100644
index 000000000..f34cd4c7e
--- /dev/null
+++ b/offapi/com/sun/star/awt/XItemListener.idl
@@ -0,0 +1,48 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XItemListener_idl__
+#define __com_sun_star_awt_XItemListener_idl__
+
+#include <com/sun/star/lang/XEventListener.idl>
+
+#include <com/sun/star/awt/ItemEvent.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** makes it possible to receive events from a component
+ when the state of an item changes.
+ */
+published interface XItemListener: com::sun::star::lang::XEventListener
+{
+
+ /** is invoked when an item changes its state.
+ */
+ void itemStateChanged( [in] com::sun::star::awt::ItemEvent rEvent );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XKeyHandler.idl b/offapi/com/sun/star/awt/XKeyHandler.idl
new file mode 100644
index 000000000..a913694c3
--- /dev/null
+++ b/offapi/com/sun/star/awt/XKeyHandler.idl
@@ -0,0 +1,91 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_XKeyHandler_idl__
+#define __com_sun_star_awt_XKeyHandler_idl__
+
+#include <com/sun/star/lang/XEventListener.idl>
+
+#include <com/sun/star/awt/KeyEvent.idl>
+
+
+module com { module sun { module star { module awt {
+
+/** This key handler is similar to
+ ::com::sun::star::awt::XKeyListener but allows the
+ consumption of key events. If a key event is consumed by one
+ handler both the following handlers, with respect to the list of key
+ handlers of the broadcaster, and a following handling by the
+ broadcaster will not take place.
+
+ @since OOo 1.1.2
+*/
+published interface XKeyHandler : ::com::sun::star::lang::XEventListener
+{
+ /** This function is called by the broadcaster, an
+ ::com::sun::star::awt::XExtendedToolkit for
+ instance, after a key has been pressed but before it is released.
+ The return value decides about whether other handlers will be
+ called and a handling by the broadcaster will take place.
+
+ <p>Consume the event if the action performed by the implementation
+ is mutually exclusive with the default action of the broadcaster or,
+ when known, with that of other handlers.</p>
+
+ <p>Consuming this event does not prevent the pending key-release
+ event from being broadcasted.</p>
+
+ @param aEvent
+ The key event informs about the pressed key.
+ @return
+ When `FALSE` is returned the other handlers are called and a
+ following handling of the event by the broadcaster takes place.
+ Otherwise, when `TRUE` is returned, no other handler will be
+ called and the broadcaster will take no further actions
+ regarding the event.
+ */
+ boolean keyPressed ([in] com::sun::star::awt::KeyEvent aEvent);
+
+ /** This function is called by the broadcaster, an
+ ::com::sun::star::awt::XExtendedToolkit for
+ instance, after a key has been pressed and released. The return
+ value decides about whether other handlers will be called and a
+ handling by the broadcaster will take place.
+
+ <p>Consume the event if the action performed by the implementation
+ is mutually exclusive with the default action of the broadcaster or,
+ when known, with that of other handlers.</p>
+
+ @param aEvent
+ The key event informs about the pressed key.
+ @return
+ When `FALSE` is returned the other handlers are called and a
+ following handling of the event by the broadcaster takes place.
+ Otherwise, when `TRUE` is returned, no other handler will be
+ called and the broadcaster will take no further actions
+ regarding the event.
+ */
+ boolean keyReleased ([in] com::sun::star::awt::KeyEvent aEvent);
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XKeyListener.idl b/offapi/com/sun/star/awt/XKeyListener.idl
new file mode 100644
index 000000000..323d5c536
--- /dev/null
+++ b/offapi/com/sun/star/awt/XKeyListener.idl
@@ -0,0 +1,55 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XKeyListener_idl__
+#define __com_sun_star_awt_XKeyListener_idl__
+
+#include <com/sun/star/lang/XEventListener.idl>
+
+#include <com/sun/star/awt/KeyEvent.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** makes it possible to receive keyboard events.
+ *
+ * @see com::sun::star::awt::XKeyHandler This interface allows you receive (and consume) key events,
+ * even on windows which are not at the top.
+ */
+published interface XKeyListener: com::sun::star::lang::XEventListener
+{
+
+ /** is invoked when a key has been pressed.
+ */
+ void keyPressed( [in] com::sun::star::awt::KeyEvent e );
+
+
+ /** is invoked when a key has been released.
+ */
+ void keyReleased( [in] com::sun::star::awt::KeyEvent e );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XLayoutConstrains.idl b/offapi/com/sun/star/awt/XLayoutConstrains.idl
new file mode 100644
index 000000000..80af33445
--- /dev/null
+++ b/offapi/com/sun/star/awt/XLayoutConstrains.idl
@@ -0,0 +1,57 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XLayoutConstrains_idl__
+#define __com_sun_star_awt_XLayoutConstrains_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+#include <com/sun/star/awt/Size.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the layout constraints for a surrounding container.
+ */
+published interface XLayoutConstrains: com::sun::star::uno::XInterface
+{
+
+ /** returns the minimum size for this component.
+ */
+ com::sun::star::awt::Size getMinimumSize();
+
+
+ /** returns the preferred size for this component.
+ */
+ com::sun::star::awt::Size getPreferredSize();
+
+
+ /** calculates the adjusted size for a given maximum size.
+ */
+ com::sun::star::awt::Size calcAdjustedSize( [in] com::sun::star::awt::Size aNewSize );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XListBox.idl b/offapi/com/sun/star/awt/XListBox.idl
new file mode 100644
index 000000000..d11d8a08e
--- /dev/null
+++ b/offapi/com/sun/star/awt/XListBox.idl
@@ -0,0 +1,166 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XListBox_idl__
+#define __com_sun_star_awt_XListBox_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+#include <com/sun/star/awt/XItemListener.idl>
+
+#include <com/sun/star/awt/XActionListener.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** gives access to the items of a list box and makes it possible to
+ register item and action event listeners.
+ */
+published interface XListBox: com::sun::star::uno::XInterface
+{
+
+ /** registers a listener for item events.
+ */
+ void addItemListener( [in] com::sun::star::awt::XItemListener l );
+
+
+ /** unregisters a listener for item events.
+ */
+ void removeItemListener( [in] com::sun::star::awt::XItemListener l );
+
+
+ /** registers a listener for action events.
+ */
+ void addActionListener( [in] com::sun::star::awt::XActionListener l );
+
+
+ /** unregisters a listener for action events.
+ */
+ void removeActionListener( [in] com::sun::star::awt::XActionListener l );
+
+
+ /** adds an item at the specified position.
+ */
+ void addItem( [in] string aItem,
+ [in] short nPos );
+
+
+ /** adds multiple items at the specified position.
+ */
+ void addItems( [in] sequence<string> aItems,
+ [in] short nPos );
+
+
+ /** removes a number of items at the specified position.
+ */
+ void removeItems( [in] short nPos,
+ [in] short nCount );
+
+
+ /** returns the number of items in the listbox.
+ */
+ short getItemCount();
+
+
+ /** returns the item at the specified position.
+ */
+ string getItem( [in] short nPos );
+
+
+ /** returns all items of the list box.
+ */
+ sequence<string> getItems();
+
+
+ /** returns the position of the currently selected item.
+ When multiple items are selected, the position of the first one is returned.
+ When nothing is selected, -1 is returned.
+ */
+ short getSelectedItemPos();
+
+
+ /** returns the positions of all currently selected items.
+ */
+ sequence<short> getSelectedItemsPos();
+
+
+ /** returns the currently selected item.
+ When multiple items are selected, the first one is returned.
+ When nothing is selected, an empty string is returned.
+ */
+ string getSelectedItem();
+
+
+ /** returns all currently selected items.
+ */
+ sequence<string> getSelectedItems();
+
+
+ /** selects/deselects the item at the specified position.
+ */
+ void selectItemPos( [in] short nPos,
+ [in] boolean bSelect );
+
+
+ /** selects/deselects multiple items at the specified positions.
+ */
+ void selectItemsPos( [in] sequence<short> aPositions,
+ [in] boolean bSelect );
+
+
+ /** selects/deselects the specified item.
+ */
+ void selectItem( [in] string aItem,
+ [in] boolean bSelect );
+
+
+ /** returns `TRUE` if multiple items can be selected,
+ `FALSE` if only one item can be selected.
+ */
+ boolean isMutipleMode();
+
+
+ /** determines if only a single item or multiple items can be selected.
+ */
+ void setMultipleMode( [in] boolean bMulti );
+
+
+ /** returns the number of visible lines in drop down mode.
+ */
+ short getDropDownLineCount();
+
+
+ /** sets the number of visible lines for drop down mode.
+ */
+ void setDropDownLineCount( [in] short nLines );
+
+
+ /** makes the item at the specified position visible by scrolling.
+ */
+ void makeVisible( [in] short nEntry );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XMenu.idl b/offapi/com/sun/star/awt/XMenu.idl
new file mode 100644
index 000000000..08967962e
--- /dev/null
+++ b/offapi/com/sun/star/awt/XMenu.idl
@@ -0,0 +1,299 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XMenu_idl__
+#define __com_sun_star_awt_XMenu_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+#include <com/sun/star/awt/MenuItemType.idl>
+
+module com { module sun { module star { module awt {
+
+published interface XPopupMenu;
+published interface XMenuListener;
+
+/** specifies a simple menu.
+ */
+published interface XMenu: com::sun::star::uno::XInterface
+{
+ /** adds the specified menu listener to receive events from this menu.
+
+ @param xListener
+ the XMenuListener to be added.
+ */
+ void addMenuListener( [in] XMenuListener xListener );
+
+ /** removes the specified menu listener so that it no longer
+ receives events from this menu.
+
+ @param xListener
+ the XMenuListener to be removed.
+ */
+ void removeMenuListener( [in] XMenuListener xListener );
+
+ /** inserts an item into the menu.
+ <p>The item is appended if the position is greater than or equal to
+ getItemCount() or if it is negative.</p>
+
+ @param nItemId
+ specifies the ID of the menu item to be inserted.
+
+ @param aText
+ specifies the label of the menu item.
+
+ @param nItemStyle
+ specifies the style of the menu item, as defined in
+ MenuItemStyle.
+
+ @param nItemPos
+ specifies the position where the menu item will be inserted.
+ */
+ void insertItem( [in] short nItemId,
+ [in] string aText,
+ [in] short nItemStyle,
+ [in] short nItemPos );
+
+ /** removes one or more items from the menu.
+
+ @param nItemPos
+ specifies the position of the (first) menu item to be removed.
+
+ @param nCount
+ specifies the number of menu items to remove.
+ */
+ void removeItem( [in] short nItemPos,
+ [in] short nCount );
+
+ /** removes all items from the menu.
+ */
+ void clear();
+
+ /** returns the number of items in the menu.
+
+ @return
+ the number of items in this XMenu.
+ */
+ short getItemCount();
+
+ /** returns the ID of the item at the specified position.
+
+ @param nItemPos
+ specifies the position of the menu item for which the item ID is queried.
+
+ @return
+ the ID of the menu item at the given position.
+ */
+ short getItemId( [in] short nItemPos );
+
+ /** returns the position of the item with the specified ID.
+
+ @param nItemId
+ specifies the ID of the menu item for which the item position is queried.
+
+ @return
+ the position of the menu item with the specified ID.
+ */
+ short getItemPos( [in] short nItemId );
+
+ /** retrieves the type of the menu item.
+
+ @param nItemPos
+ specifies the position of the menu item for which the item type is queried.
+
+ @return
+ a MenuItemType indicating the item type.
+ */
+ ::com::sun::star::awt::MenuItemType getItemType( [in] short nItemPos );
+
+ /** enables or disables the menu item.
+
+ @param nItemId
+ specifies the menu item ID.
+
+ @param bEnable
+ specifies whether the menu item should be enabled (`TRUE`) or
+ disabled (`FALSE`).
+ */
+ void enableItem( [in] short nItemId,
+ [in] boolean bEnable );
+
+ /** returns the state of the menu item.
+
+ @param nItemId
+ specifies the menu item ID.
+
+ @return
+ `TRUE` if the item is enabled, `FALSE` otherwise.
+ */
+ boolean isItemEnabled( [in] short nItemId );
+
+ /** specifies whether disabled menu entries should be hidden, or not.
+
+ @param bHide
+ if `TRUE`, disabled menu entries are hidden.
+ */
+ void hideDisabledEntries( [in] boolean bHide );
+
+ /** specifies whether mnemonics are automatically assigned to menu items, or not.
+
+ @param bEnable
+ if `TRUE`, mnemonics are automatically assigned to menu items.
+ */
+ void enableAutoMnemonics( [in] boolean bEnable );
+
+ /** sets the text for the menu item.
+
+ @param nItemId
+ specifies the ID of the menu item.
+
+ @param aText
+ specifies the label of the menu item.
+ */
+ void setItemText( [in] short nItemId,
+ [in] string aText );
+
+ /** returns the string for the given item id.
+
+ @param nItemId
+ specifies the ID of the menu item.
+
+ @return
+ the label of the menu item.
+ */
+ string getItemText( [in] short nItemId );
+
+ /** sets the command string for the menu item.
+
+ @param nItemId
+ specifies the menu item ID for which the command should be set.
+
+ @param aCommand
+ specifies the command for the menu item.
+ */
+ void setCommand( [in] short nItemId,
+ [in] string aCommand );
+
+ /** retrieves the command string for the menu item.
+
+ @param nItemId
+ specifies the menu item ID for which the command URL should be set.
+
+ @return
+ the command of the menu item.
+ */
+ string getCommand( [in] short nItemId );
+
+ /** sets the help command string for the menu item.
+
+ @param nItemId
+ specifies the menu item ID for which the help command URL be set.
+
+ @param aCommand
+ specifies the help command for the menu item.
+ */
+ void setHelpCommand( [in] short nItemId,
+ [in] string aCommand );
+
+ /** retrieves the help command string for the menu item.
+
+ @param nItemId
+ specifies the menu item ID for which the help command should be set.
+
+ @return
+ the help command of the menu item.
+ */
+ string getHelpCommand( [in] short nItemId );
+
+ /** sets the help text for the menu item.
+
+ @param nItemId
+ specifies the menu item identifier for which the help text should be set.
+
+ @param sHelpText
+ specifies the help text for the menu item.
+ */
+ void setHelpText( [in] short nItemId,
+ [in] string sHelpText );
+
+ /** retrieves the help text for the menu item.
+
+ @param nItemId
+ specifies the menu item identifier for which the help text should be retrieved.
+
+ @return
+ a string with the help text.
+ */
+ string getHelpText( [in] short nItemId );
+
+ /** sets the tip help text for the menu item.
+
+ @param nItemId
+ specifies the menu item identifier for which the tip help text should be set.
+
+ @param sTipHelpText
+ specifies the tip help text for the menu item.
+ */
+ void setTipHelpText( [in] short nItemId,
+ [in] string sTipHelpText );
+
+ /** retrieves the tip help text for the menu item.
+
+ @param nItemId
+ specifies the menu item identifier for which the tip help text should be retrieved.
+
+ @return
+ a string with the tip help text.
+ */
+ string getTipHelpText( [in] short nItemId );
+
+ /** checks whether an XMenu is an XPopupMenu.
+
+ @return
+ `TRUE` if the menu is a PopupMenu,
+ `FALSE` if it is a MenuBar.
+ */
+ boolean isPopupMenu();
+
+ /** sets the popup menu for a specified menu item.
+
+ @param nItemId
+ specifies the menu item ID for which the XPopupMenu should be set.
+
+ @param aPopupMenu
+ specifies a XPopupMenu.
+ */
+ void setPopupMenu( [in] short nItemId,
+ [in] XPopupMenu aPopupMenu );
+
+ /** returns the popup menu from the menu item.
+
+ @param nItemId
+ specifies the menu item ID for which the XPopupMenu should be retrieved.
+
+ @return
+ a XPopupMenu.
+ */
+ XPopupMenu getPopupMenu( [in] short nItemId );
+
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XMenuBar.idl b/offapi/com/sun/star/awt/XMenuBar.idl
new file mode 100644
index 000000000..0bd07d942
--- /dev/null
+++ b/offapi/com/sun/star/awt/XMenuBar.idl
@@ -0,0 +1,36 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XMenuBar_idl__
+#define __com_sun_star_awt_XMenuBar_idl__
+
+#include <com/sun/star/awt/XMenu.idl>
+
+module com { module sun { module star { module awt {
+
+/** identifies a menu bar.
+ */
+published interface XMenuBar: XMenu
+{
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XMenuListener.idl b/offapi/com/sun/star/awt/XMenuListener.idl
new file mode 100644
index 000000000..ea9fc8b56
--- /dev/null
+++ b/offapi/com/sun/star/awt/XMenuListener.idl
@@ -0,0 +1,53 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XMenuListener_idl__
+#define __com_sun_star_awt_XMenuListener_idl__
+
+#include <com/sun/star/lang/XEventListener.idl>
+#include <com/sun/star/awt/MenuEvent.idl>
+
+module com { module sun { module star { module awt {
+
+/** makes it possible to receive menu events on a window.
+ */
+published interface XMenuListener: com::sun::star::lang::XEventListener
+{
+ /** is invoked when a menu item is highlighted.
+ */
+ void itemHighlighted( [in] MenuEvent aEvent );
+
+ /** is invoked when a menu item is selected.
+ */
+ void itemSelected( [in] MenuEvent aEvent );
+
+ /** is invoked when a menu is activated.
+ */
+ void itemActivated( [in] MenuEvent aEvent );
+
+ /** is invoked when a menu is deactivated.
+ */
+ void itemDeactivated( [in] MenuEvent aEvent );
+
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XMessageBox.idl b/offapi/com/sun/star/awt/XMessageBox.idl
new file mode 100644
index 000000000..39b77a205
--- /dev/null
+++ b/offapi/com/sun/star/awt/XMessageBox.idl
@@ -0,0 +1,50 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XMessageBox_idl__
+#define __com_sun_star_awt_XMessageBox_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+module com { module sun { module star { module awt {
+
+/** gives access to a message box.
+ */
+published interface XMessageBox
+{
+ /** the caption text.
+ */
+ [attribute] string CaptionText;
+
+ /** the message text.
+ */
+ [attribute] string MessageText;
+
+ /** shows the message box.
+
+ @return
+ one of MessageBoxResults.
+ */
+ short execute();
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XMessageBoxFactory.idl b/offapi/com/sun/star/awt/XMessageBoxFactory.idl
new file mode 100644
index 000000000..510e51ebe
--- /dev/null
+++ b/offapi/com/sun/star/awt/XMessageBoxFactory.idl
@@ -0,0 +1,74 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_XMessageBoxFactory_idl__
+#define __com_sun_star_awt_XMessageBoxFactory_idl__
+
+#include <com/sun/star/awt/XWindowPeer.idl>
+#include <com/sun/star/awt/XMessageBox.idl>
+#include <com/sun/star/awt/MessageBoxButtons.idl>
+#include <com/sun/star/awt/MessageBoxType.idl>
+
+module com { module sun { module star { module awt {
+
+/** specifies a factory interface for creating message boxes.
+ */
+published interface XMessageBoxFactory : com::sun::star::uno::XInterface
+{
+ /** creates a message box.
+
+ @returns
+ the created message box or a null reference if it cannot be
+ created.
+
+ @param aParent
+ a valid XWindowPeer reference which is used as a parent.
+
+ <p>This parameter must not be null.</p>
+
+ @param eType
+ the message box type.
+
+ @param nButtons
+ specifies which buttons should be available on the message box.
+
+ <p>A combination of com::sun::star::awt::MessageBoxButtons</p>
+ <p>A com::sun::star::awt::MessageBoxType::INFOBOX
+ ignores this parameter, instead it uses a
+ com::sun::star::awt::MessageBoxButtons::BUTTONS_OK.</p>
+
+ @param sTitle
+ specifies the title of the message box.
+
+ @param sMessage
+ specifies text which will be shown by the message box.
+ Line-breaks must be added using 'CR' or 'CR+LF'.
+ */
+ XMessageBox createMessageBox( [in] com::sun::star::awt::XWindowPeer aParent,
+ [in] MessageBoxType eType,
+ [in] long nButtons,
+ [in] string sTitle,
+ [in] string sMessage );
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XMetricField.idl b/offapi/com/sun/star/awt/XMetricField.idl
new file mode 100644
index 000000000..d91a37da3
--- /dev/null
+++ b/offapi/com/sun/star/awt/XMetricField.idl
@@ -0,0 +1,132 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XMetricField_idl__
+#define __com_sun_star_awt_XMetricField_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+#include <com/sun/star/util/MeasureUnit.idl>
+
+
+ module com { module sun { module star { module awt {
+
+
+/** gives access to the value and formatting of a metric field.
+ */
+interface XMetricField: com::sun::star::uno::XInterface
+{
+
+ /** sets the value which is displayed in the metric field.
+ */
+ void setValue( [in] hyper Value, [in] short FieldUnit );
+
+
+ /** sets the user value which is displayed in the metric field.
+ */
+ void setUserValue( [in] hyper Value, [in] short FieldUnit );
+
+
+ /** returns the value which is currently displayed in the metric field.
+ */
+ hyper getValue( [in] short FieldUnit );
+
+
+ /** returns the corrected value which is displayed in the metric field.
+ */
+ hyper getCorrectedValue( [in] short FieldUnit );
+
+
+ /** sets the minimum value that can be entered by the user.
+ */
+ void setMin( [in] hyper Value, [in] short FieldUnit );
+
+
+ /** returns the currently set minimum value that can be entered by the
+ user.
+ */
+ hyper getMin( [in] short FieldUnit );
+
+
+ /** sets the maximum value that can be entered by the user.
+ */
+ void setMax( [in] hyper Value, [in] short FieldUnit );
+
+
+ /** returns the currently set maximum value that can be entered by the
+ user.
+ */
+ hyper getMax( [in] short FieldUnit );
+
+
+ /** sets the first value to be set on POS1 key.
+ */
+ void setFirst( [in] hyper Value, [in] short FieldUnit );
+
+
+ /** returns the currently set first value which is set on POS1 key.
+ */
+ hyper getFirst( [in] short FieldUnit );
+
+
+ /** sets the last value to be set on END key.
+ */
+ void setLast( [in] hyper Value, [in] short FieldUnit );
+
+
+ /** returns the currently set last value which is set on END key.
+ */
+ hyper getLast( [in] short FieldUnit );
+
+
+ /** sets the increment value for the spin button.
+ */
+ void setSpinSize( [in] hyper Value );
+
+
+ /** returns the currently set increment value for the spin button.
+ */
+ hyper getSpinSize();
+
+
+ /** sets the number of decimals.
+ */
+ void setDecimalDigits( [in] short nDigits );
+
+
+ /** returns the currently set number of decimals.
+ */
+ short getDecimalDigits();
+
+
+ /** determines if the format is checked during user input.
+ */
+ void setStrictFormat( [in] boolean bStrict );
+
+
+ /** returns whether the format is currently checked during user input.
+ */
+ boolean isStrictFormat();
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XMouseClickHandler.idl b/offapi/com/sun/star/awt/XMouseClickHandler.idl
new file mode 100644
index 000000000..2db74a876
--- /dev/null
+++ b/offapi/com/sun/star/awt/XMouseClickHandler.idl
@@ -0,0 +1,67 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XMouseClickHandler_idl__
+#define __com_sun_star_awt_XMouseClickHandler_idl__
+
+#include <com/sun/star/lang/XEventListener.idl>
+#include <com/sun/star/awt/MouseEvent.idl>
+
+
+
+module com { module sun { module star { module awt {
+
+
+/** makes it possible to receive events from the mouse in a certain window.
+
+ @since OOo 1.1.2
+ */
+published interface XMouseClickHandler: ::com::sun::star::lang::XEventListener
+{
+
+ /** is invoked when a mouse button has been pressed on a window.
+
+ @return
+ When `FALSE` is returned the other handlers are called and a
+ following handling of the event by the broadcaster takes place.
+ Otherwise, when `TRUE` is returned, no other handler will be
+ called and the broadcaster will take no further actions
+ regarding the event.
+ */
+ boolean mousePressed( [in] com::sun::star::awt::MouseEvent e );
+
+
+ /** is invoked when a mouse button has been released on a window.
+
+ @return
+ When `FALSE` is returned the other handlers are called and a
+ following handling of the event by the broadcaster takes place.
+ Otherwise, when `TRUE` is returned, no other handler will be
+ called and the broadcaster will take no further actions
+ regarding the event.
+ */
+ boolean mouseReleased( [in] com::sun::star::awt::MouseEvent e );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XMouseListener.idl b/offapi/com/sun/star/awt/XMouseListener.idl
new file mode 100644
index 000000000..7da839fae
--- /dev/null
+++ b/offapi/com/sun/star/awt/XMouseListener.idl
@@ -0,0 +1,78 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XMouseListener_idl__
+#define __com_sun_star_awt_XMouseListener_idl__
+
+#include <com/sun/star/lang/XEventListener.idl>
+
+#include <com/sun/star/awt/MouseEvent.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** makes it possible to receive events from the mouse in a certain window.
+ *
+ * Use the following interfaces which allow to receive (and consume) mouse events
+ * even on windows which are not at the top:
+ * <ul>
+ * <li>com::sun::star::awt::XMouseClickHandler</li>
+ * <li>com::sun::star::awt::XMouseMotionHandler</li>
+ * </ul>
+ */
+published interface XMouseListener: com::sun::star::lang::XEventListener
+{
+
+ /** is invoked when a mouse button has been pressed on a window.
+
+ <p>Since mouse presses are usually also used to indicate requests for pop-up menus
+ (also known as context menus) on objects, you might receive two events
+ for a single mouse press: For example, if, on your operating system,
+ pressing the right mouse button indicates the request for a context menu,
+ then you will receive one call to mousePressed() indicating
+ the mouse click, and another one indicating the context menu request. For
+ the latter, the MouseEvent::PopupTrigger member of the
+ event will be set to `TRUE`.</p>
+ */
+ void mousePressed( [in] com::sun::star::awt::MouseEvent e );
+
+
+ /** is invoked when a mouse button has been released on a window.
+ */
+ void mouseReleased( [in] com::sun::star::awt::MouseEvent e );
+
+
+ /** is invoked when the mouse enters a window.
+ */
+ void mouseEntered( [in] com::sun::star::awt::MouseEvent e );
+
+
+ /** is invoked when the mouse exits a window.
+ */
+ void mouseExited( [in] com::sun::star::awt::MouseEvent e );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XMouseMotionHandler.idl b/offapi/com/sun/star/awt/XMouseMotionHandler.idl
new file mode 100644
index 000000000..cb68e8458
--- /dev/null
+++ b/offapi/com/sun/star/awt/XMouseMotionHandler.idl
@@ -0,0 +1,75 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XMouseMotionHandler_idl__
+#define __com_sun_star_awt_XMouseMotionHandler_idl__
+
+#include <com/sun/star/lang/XEventListener.idl>
+
+#include <com/sun/star/awt/MouseEvent.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** makes it possible to receive mouse motion events on a window.
+ */
+published interface XMouseMotionHandler: com::sun::star::lang::XEventListener
+{
+
+ /** is invoked when a mouse button is pressed on a window and then
+ dragged.
+
+ <p>Mouse drag events will continue to be delivered to
+ the window where the first event originated until the mouse button is
+ released (regardless of whether the mouse position is within the
+ bounds of the window).</p>
+
+ @return
+ When `FALSE` is returned the other handlers are called and a
+ following handling of the event by the broadcaster takes place.
+ Otherwise, when `TRUE` is returned, no other handler will be
+ called and the broadcaster will take no further actions
+ regarding the event.
+
+ */
+ boolean mouseDragged( [in] com::sun::star::awt::MouseEvent e );
+
+
+ /** is invoked when the mouse button has been moved on a window
+ (with no buttons down).
+
+ @return
+ When `FALSE` is returned the other handlers are called and a
+ following handling of the event by the broadcaster takes place.
+ Otherwise, when `TRUE` is returned, no other handler will be
+ called and the broadcaster will take no further actions
+ regarding the event.
+
+ */
+ boolean mouseMoved( [in] com::sun::star::awt::MouseEvent e );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XMouseMotionListener.idl b/offapi/com/sun/star/awt/XMouseMotionListener.idl
new file mode 100644
index 000000000..d866aef31
--- /dev/null
+++ b/offapi/com/sun/star/awt/XMouseMotionListener.idl
@@ -0,0 +1,59 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XMouseMotionListener_idl__
+#define __com_sun_star_awt_XMouseMotionListener_idl__
+
+#include <com/sun/star/lang/XEventListener.idl>
+
+#include <com/sun/star/awt/MouseEvent.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** makes it possible to receive mouse motion events on a window.
+ */
+published interface XMouseMotionListener: com::sun::star::lang::XEventListener
+{
+
+ /** is invoked when a mouse button is pressed on a window and then
+ dragged.
+
+ <p>Mouse drag events will continue to be delivered to
+ the window where the first event originated until the mouse button is
+ released (regardless of whether the mouse position is within the
+ bounds of the window).</p>
+ */
+ void mouseDragged( [in] com::sun::star::awt::MouseEvent e );
+
+
+ /** is invoked when the mouse pointer has been moved on a window
+ (with no buttons down).
+ */
+ void mouseMoved( [in] com::sun::star::awt::MouseEvent e );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XNumericField.idl b/offapi/com/sun/star/awt/XNumericField.idl
new file mode 100644
index 000000000..24e5afc66
--- /dev/null
+++ b/offapi/com/sun/star/awt/XNumericField.idl
@@ -0,0 +1,122 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XNumericField_idl__
+#define __com_sun_star_awt_XNumericField_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** gives access to the value and formatting of a numeric field.
+ */
+published interface XNumericField: com::sun::star::uno::XInterface
+{
+
+ /** sets the value which is displayed in the numeric field.
+ */
+ void setValue( [in] double Value );
+
+
+ /** returns the value which is currently displayed in the numeric field.
+ */
+ double getValue();
+
+
+ /** sets the minimum value that can be entered by the user.
+ */
+ void setMin( [in] double Value );
+
+
+ /** returns the currently set minimum value that can be entered by the
+ user.
+ */
+ double getMin();
+
+
+ /** sets the maximum value that can be entered by the user.
+ */
+ void setMax( [in] double Value );
+
+
+ /** returns the currently set maximum value that can be entered by the
+ user.
+ */
+ double getMax();
+
+
+ /** sets the first value to be set on POS1 key.
+ */
+ void setFirst( [in] double Value );
+
+
+ /** returns the currently set first value which is set on POS1 key.
+ */
+ double getFirst();
+
+
+ /** sets the last value to be set on END key.
+ */
+ void setLast( [in] double Value );
+
+
+ /** returns the currently set last value which is set on END key.
+ */
+ double getLast();
+
+
+ /** sets the increment value for the spin button.
+ */
+ void setSpinSize( [in] double Value );
+
+
+ /** returns the currently set increment value for the spin button.
+ */
+ double getSpinSize();
+
+
+ /** sets the number of decimals.
+ */
+ void setDecimalDigits( [in] short nDigits );
+
+
+ /** returns the currently set number of decimals.
+ */
+ short getDecimalDigits();
+
+
+ /** determines if the format is checked during user input.
+ */
+ void setStrictFormat( [in] boolean bStrict );
+
+
+ /** returns whether the format is currently checked during user input.
+ */
+ boolean isStrictFormat();
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XPaintListener.idl b/offapi/com/sun/star/awt/XPaintListener.idl
new file mode 100644
index 000000000..56a1c6df4
--- /dev/null
+++ b/offapi/com/sun/star/awt/XPaintListener.idl
@@ -0,0 +1,48 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XPaintListener_idl__
+#define __com_sun_star_awt_XPaintListener_idl__
+
+#include <com/sun/star/lang/XEventListener.idl>
+
+#include <com/sun/star/awt/PaintEvent.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** makes it possible to receive paint events.
+ */
+published interface XPaintListener: com::sun::star::lang::XEventListener
+{
+
+ /** is invoked when a region of the window became invalid, e.g. when
+ another window has been moved away.
+ */
+ void windowPaint( [in] com::sun::star::awt::PaintEvent e );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XPatternField.idl b/offapi/com/sun/star/awt/XPatternField.idl
new file mode 100644
index 000000000..d1914aa09
--- /dev/null
+++ b/offapi/com/sun/star/awt/XPatternField.idl
@@ -0,0 +1,72 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XPatternField_idl__
+#define __com_sun_star_awt_XPatternField_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** gives access to the value and formatting of a pattern field.
+ */
+published interface XPatternField: com::sun::star::uno::XInterface
+{
+
+ /** sets the pattern mask.
+ */
+ void setMasks( [in] string EditMask,
+ [in] string LiteralMask );
+
+
+ /** returns the currently set pattern mask.
+ */
+ void getMasks( [out] string EditMask,
+ [out] string LiteralMask );
+
+
+ /** sets the string value of the pattern field.
+ */
+ void setString( [in] string Str );
+
+
+ /** returns the currently set string value of the pattern field.
+ */
+ string getString();
+
+
+ /** determines if the format is checked during user input.
+ */
+ void setStrictFormat( [in] boolean bStrict );
+
+
+ /** returns whether the format is currently checked during user input.
+ */
+ boolean isStrictFormat();
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XPointer.idl b/offapi/com/sun/star/awt/XPointer.idl
new file mode 100644
index 000000000..3cc8cdd2c
--- /dev/null
+++ b/offapi/com/sun/star/awt/XPointer.idl
@@ -0,0 +1,51 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XPointer_idl__
+#define __com_sun_star_awt_XPointer_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** gives access to the type of mouse pointer.
+ */
+published interface XPointer: com::sun::star::uno::XInterface
+{
+
+ /** selects a SystemPointer for this mouse pointer.
+ */
+ void setType( [in] long nType );
+
+
+ /** returns the currently set SystemPointer of this mouse
+ pointer.
+ */
+ long getType();
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XPopupMenu.idl b/offapi/com/sun/star/awt/XPopupMenu.idl
new file mode 100644
index 000000000..3a2018ddb
--- /dev/null
+++ b/offapi/com/sun/star/awt/XPopupMenu.idl
@@ -0,0 +1,184 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XPopupMenu_idl__
+#define __com_sun_star_awt_XPopupMenu_idl__
+
+#include <com/sun/star/awt/KeyEvent.idl>
+#include <com/sun/star/awt/Rectangle.idl>
+#include <com/sun/star/awt/XMenu.idl>
+#include <com/sun/star/graphic/XGraphic.idl>
+
+module com { module sun { module star { module awt {
+
+published interface XWindowPeer;
+
+/** controls a pop-up menu.
+ */
+published interface XPopupMenu: XMenu
+{
+ /** inserts a separator at the specified position.
+
+ @param nItemPos
+ specifies the position where the menu separator will be inserted.
+ */
+ void insertSeparator( [in] short nItemPos );
+
+ /** sets the menu default item.
+
+ @param nItemId
+ specifies the menu item identifier.
+ */
+ void setDefaultItem( [in] short nItemId );
+
+ /** returns the menu default item.
+
+ @return
+ the ID of the default item.
+ */
+ short getDefaultItem();
+
+ /** sets the state of the item to be checked or unchecked.
+
+ @param nItemId
+ specifies the menu item identifier.
+
+ @param bCheck
+ specifies if the item is checked (`TRUE`) or unchecked (`FALSE`).
+ */
+ void checkItem( [in] short nItemId,
+ [in] boolean bCheck );
+
+ /** returns whether the item is checked or unchecked.
+
+ @param nItemId
+ specifies the menu item identifier.
+
+ @return
+ `TRUE` if the item is checked, `FALSE` otherwise.
+ */
+ boolean isItemChecked( [in] short nItemId );
+
+ /** executes the popup menu and returns the selected item
+ or <code>0</code>, if cancelled.
+
+ @param Parent
+ the parent window.
+
+ @param Position
+ a Rectangle representing the coordinates system
+ where the popup menu should be executed.
+
+ @param Direction
+ the direction in which a popup menu will grow, as specified
+ by one of the PopupMenuDirection constants.
+
+ @return
+ returns the selected item or <code>0</code>, if cancelled.
+ */
+ short execute( [in] XWindowPeer Parent,
+ [in] Rectangle Position,
+ [in] short Direction );
+
+ /** queries if the PopupMenu is being.
+
+ <p>Returns `TRUE` only if the PopupMenu is being executed
+ as a result of invoking XPopupMenu::execute(); that is,
+ for a PopupMenu activated by a MenuBar item,
+ this methods returns `FALSE`.</p>
+
+ @return
+ `TRUE` if the PopupMenu is being executed,
+ `FALSE` otherwise.
+
+ @see XPopupMenu::execute()
+ */
+ boolean isInExecute();
+
+ /** ends the execution of the PopupMenu.
+ <p>com::sun::star::awt::XPopupMenu::execute()
+ will then return 0.</p>
+
+ @see com::sun::star::awt::XPopupMenu::execute()
+ */
+ void endExecute();
+
+ /** sets the KeyEvent for the menu item.
+
+ <p>The KeyEvent is <b>only</b> used as a container to transport
+ the shortcut information, this methods only draws the text corresponding to
+ this keyboard shortcut. The client code is responsible for listening to
+ keyboard events (typically done via XUserInputInterception),
+ and dispatch the respective command.</p>
+
+ @param nItemId
+ specifies the menu item identifier for which the KeyEvent should be set.
+
+ @param aKeyEvent
+ specifies the KeyEvent for the menu item.
+ */
+ void setAcceleratorKeyEvent( [in] short nItemId,
+ [in] KeyEvent aKeyEvent );
+
+ /** retrieves the KeyEvent for the menu item.
+
+ <p>The KeyEvent is <b>only</b> used as a container to transport
+ the shortcut information, so that in this case
+ ::com::sun::star::lang::EventObject::Source is NULL.</p>
+
+ @param nItemId
+ specifies the menu item identifier for which the KeyEvent should be retrieved.
+
+ @return
+ the KeyEvent struct assigned to the requested menu item.
+ */
+ KeyEvent getAcceleratorKeyEvent( [in] short nItemId );
+
+ /** sets the image for the menu item.
+
+ @param nItemId
+ specifies the menu item identifier for which the image should be set.
+
+ @param xGraphic
+ specifies the image for the menu item.
+
+ @param bScale
+ if `TRUE`, the image will be scaled to the standard size used internally by
+ the implementation.
+ */
+ void setItemImage( [in] short nItemId,
+ [in] ::com::sun::star::graphic::XGraphic xGraphic,
+ [in] boolean bScale );
+
+ /** retrieves the image for the menu item.
+
+ @param nItemId
+ specifies the menu item identifier for which the image should be retrieved.
+
+ @return
+ a XGraphic reference to the current image for the requested menu item.
+ */
+ ::com::sun::star::graphic::XGraphic getItemImage( [in] short nItemId );
+
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XPrinter.idl b/offapi/com/sun/star/awt/XPrinter.idl
new file mode 100644
index 000000000..5ad5a0b2f
--- /dev/null
+++ b/offapi/com/sun/star/awt/XPrinter.idl
@@ -0,0 +1,102 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XPrinter_idl__
+#define __com_sun_star_awt_XPrinter_idl__
+
+#include <com/sun/star/awt/XPrinterPropertySet.idl>
+
+#include <com/sun/star/awt/PrinterException.idl>
+
+#include <com/sun/star/lang/IllegalArgumentException.idl>
+
+#include <com/sun/star/awt/XDevice.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** represents a virtual printer.
+
+ <p>All properties are vetoable properties.
+ If you change the properties between a call to
+ com::sun::star::awt::XPrinter::startPage() and a call
+ to com::sun::star::awt::XPrinter::endPage(),
+ a com::sun::star::beans::PropertyVetoException is
+ thrown.</p>
+ */
+published interface XPrinter: com::sun::star::awt::XPrinterPropertySet
+{
+
+ /** puts the job into the printer spooler.
+
+ <p>This call may block the thread. So release all resources
+ (mutex, semaphore, etc.) before this call.</p>
+ */
+ boolean start( [in] string nJobName,
+ [in] short nCopies,
+ [in] boolean nCollate )
+ raises( com::sun::star::awt::PrinterException,
+ com::sun::star::lang::IllegalArgumentException );
+
+
+ /** notifies the printer spooler that the job is done and printing
+ starts.
+
+ @see terminate
+ */
+ void end()
+ raises( com::sun::star::awt::PrinterException );
+
+
+ /** stops the current print job.
+
+ <p>If the method
+ com::sun::star::awt::XPrinter::end()
+ is called beforehand, then this call does nothing. If you call
+ com::sun::star::awt::XPrinter::terminate()
+ in or before the call to
+ com::sun::star::awt::XPrinter::start(),
+ com::sun::star::awt::XPrinter::terminate()
+ returns `FALSE`. This call must not block the thread.</p>
+
+ @see end
+ */
+ void terminate();
+
+
+ /** begins with a new page.
+ */
+ com::sun::star::awt::XDevice startPage()
+ raises( com::sun::star::awt::PrinterException );
+
+
+ /** ends the current page.
+ */
+ void endPage()
+ raises( com::sun::star::awt::PrinterException );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XPrinterPropertySet.idl b/offapi/com/sun/star/awt/XPrinterPropertySet.idl
new file mode 100644
index 000000000..9d5c4fd6f
--- /dev/null
+++ b/offapi/com/sun/star/awt/XPrinterPropertySet.idl
@@ -0,0 +1,89 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XPrinterPropertySet_idl__
+#define __com_sun_star_awt_XPrinterPropertySet_idl__
+
+#include <com/sun/star/beans/XPropertySet.idl>
+
+#include <com/sun/star/beans/PropertyVetoException.idl>
+
+#include <com/sun/star/lang/IllegalArgumentException.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** represents an extended property set for printer properties.
+
+ <p>All properties are vetoable properties. If you change the properties
+ between com::sun::star::awt::XPrinter::startPage()
+ and com::sun::star::awt::XPrinter::endPage(), a
+ com::sun::star::beans::PropertyVetoException
+ is thrown.</p>
+
+ @see XPrinter
+ @see XInfoPrinter
+ */
+published interface XPrinterPropertySet: com::sun::star::beans::XPropertySet
+{
+
+ /** sets the orientation.
+ */
+ void setHorizontal( [in] boolean bHorizontal )
+ raises( com::sun::star::beans::PropertyVetoException,
+ com::sun::star::lang::IllegalArgumentException );
+
+
+ /** returns descriptions of all available printer forms.
+ */
+ sequence<string> getFormDescriptions();
+
+
+ /** sets the form that should be used.
+
+ <p>Indirectly a printer is selected.</p>
+ */
+ void selectForm( [in] string aFormDescription )
+ raises( com::sun::star::beans::PropertyVetoException,
+ com::sun::star::lang::IllegalArgumentException );
+
+
+ /** returns a binary encoded version of the printer setup.
+ */
+ sequence<byte> getBinarySetup();
+
+
+ /** sets the data specific to the printer driver.
+
+ <p>Get this data from the info printer and set the data to the
+ printer.</p>
+ */
+ void setBinarySetup( [in] sequence<byte> data )
+ raises( com::sun::star::beans::PropertyVetoException,
+ com::sun::star::lang::IllegalArgumentException );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XPrinterServer.idl b/offapi/com/sun/star/awt/XPrinterServer.idl
new file mode 100644
index 000000000..f72470b8c
--- /dev/null
+++ b/offapi/com/sun/star/awt/XPrinterServer.idl
@@ -0,0 +1,66 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XPrinterServer_idl__
+#define __com_sun_star_awt_XPrinterServer_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+#include <com/sun/star/awt/XPrinter.idl>
+
+#include <com/sun/star/awt/XInfoPrinter.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** manages several printers on one machine.
+ */
+published interface XPrinterServer: com::sun::star::uno::XInterface
+{
+
+ /** returns a list of all available printer names.
+ */
+ sequence<string> getPrinterNames();
+
+
+ /** creates a new virtual printer.
+
+ <p>You must call
+ com::sun::star::awt::XPrinter::start()
+ to put the job into the printer spooler.</p>
+ */
+ com::sun::star::awt::XPrinter createPrinter( [in] string printerName );
+
+
+ /** creates a new information printer.
+
+ <p>You can get all information from this printer,
+ but the printer cannot really print.</p>
+ */
+ com::sun::star::awt::XInfoPrinter createInfoPrinter( [in] string printerName );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XPrinterServer2.idl b/offapi/com/sun/star/awt/XPrinterServer2.idl
new file mode 100644
index 000000000..8ceb54fcf
--- /dev/null
+++ b/offapi/com/sun/star/awt/XPrinterServer2.idl
@@ -0,0 +1,49 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XPrinterServer2_idl__
+#define __com_sun_star_awt_XPrinterServer2_idl__
+
+#include <com/sun/star/awt/XPrinterServer.idl>
+
+ module com { module sun { module star { module awt {
+
+/**
+ extends printer server interface
+
+ @since LibreOffice 6.3
+*/
+
+interface XPrinterServer2: ::com::sun::star::awt::XPrinterServer
+{
+
+ /** returns the current default printer name
+
+ @returns
+ current default printer name
+ */
+ string getDefaultPrinterName();
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XProgressBar.idl b/offapi/com/sun/star/awt/XProgressBar.idl
new file mode 100644
index 000000000..f6c4a3dee
--- /dev/null
+++ b/offapi/com/sun/star/awt/XProgressBar.idl
@@ -0,0 +1,71 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XProgressBar_idl__
+#define __com_sun_star_awt_XProgressBar_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+#include <com/sun/star/util/Color.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** gives access to the value and settings of a progress bar.
+ */
+published interface XProgressBar: com::sun::star::uno::XInterface
+{
+
+ /** sets the foreground color (RGB) of the control.
+ */
+ void setForegroundColor( [in] com::sun::star::util::Color Color );
+
+
+ /** sets the background color (RGB) of the control.
+ */
+ void setBackgroundColor( [in] com::sun::star::util::Color Color );
+
+
+ /** sets the minimum and the maximum progress value of the progress bar.
+
+ <p>If the minimum value is greater than the maximum value, the method
+ exchanges the values automatically.</p>
+ */
+ void setRange( [in] long Min,
+ [in] long Max );
+
+
+ /** sets the progress value of the progress bar.
+ */
+ void setValue( [in] long Value );
+
+
+ /** returns the current progress value of the progress bar.
+ */
+ long getValue();
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XProgressMonitor.idl b/offapi/com/sun/star/awt/XProgressMonitor.idl
new file mode 100644
index 000000000..3d08cb914
--- /dev/null
+++ b/offapi/com/sun/star/awt/XProgressMonitor.idl
@@ -0,0 +1,57 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XProgressMonitor_idl__
+#define __com_sun_star_awt_XProgressMonitor_idl__
+
+#include <com/sun/star/awt/XProgressBar.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** gives access to the text of a progress monitor.
+
+ @deprecated
+ */
+published interface XProgressMonitor: com::sun::star::awt::XProgressBar
+{
+
+ /** adds a new text line to the control.
+ */
+ void addText ( [in] string Topic, [in] string Text, [in] boolean beforeProgress ) ;
+
+
+ /** removes a text line from the control.
+ */
+ void removeText ( [in] string Topic, [in] boolean beforeProgress ) ;
+
+
+ /** updates an existing text line at the control.
+ */
+ void updateText ( [in] string Topic, [in] string Text, [in] boolean beforeProgress ) ;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XRadioButton.idl b/offapi/com/sun/star/awt/XRadioButton.idl
new file mode 100644
index 000000000..de3e33efa
--- /dev/null
+++ b/offapi/com/sun/star/awt/XRadioButton.idl
@@ -0,0 +1,68 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XRadioButton_idl__
+#define __com_sun_star_awt_XRadioButton_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+#include <com/sun/star/awt/XItemListener.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** gives access to the state of a radio button and makes it possible
+ to register item event listeners.
+ */
+published interface XRadioButton: com::sun::star::uno::XInterface
+{
+
+ /** registers a listener for item events.
+ */
+ void addItemListener( [in] com::sun::star::awt::XItemListener l );
+
+
+ /** unregisters a listener for item events.
+ */
+ void removeItemListener( [in] com::sun::star::awt::XItemListener l );
+
+
+ /** returns `TRUE` if the button is checked, `FALSE` otherwise.
+ */
+ boolean getState();
+
+
+ /** sets the state of the radio button.
+ */
+ void setState( [in] boolean b );
+
+
+ /** sets the label of the radio button.
+ */
+ void setLabel( [in] string Label );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XRegion.idl b/offapi/com/sun/star/awt/XRegion.idl
new file mode 100644
index 000000000..49a327fac
--- /dev/null
+++ b/offapi/com/sun/star/awt/XRegion.idl
@@ -0,0 +1,105 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XRegion_idl__
+#define __com_sun_star_awt_XRegion_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+#include <com/sun/star/awt/Rectangle.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** manages multiple rectangles which make up a region.
+ */
+published interface XRegion: com::sun::star::uno::XInterface
+{
+
+ /** returns the bounding box of the shape.
+ */
+ Rectangle getBounds();
+
+
+ /** makes this region an empty region.
+ */
+ void clear();
+
+
+ /** moves this region by the specified horizontal and vertical delta.
+ */
+ void move( [in] long nHorzMove,
+ [in] long nVertMove );
+
+
+ /** adds the specified rectangle to this region.
+ */
+ void unionRectangle( [in] Rectangle Rect );
+
+
+ /** intersects the specified rectangle with the current region.
+ */
+ void intersectRectangle( [in] Rectangle Region );
+
+
+ /** removes the area of the specified rectangle from this region.
+ */
+ void excludeRectangle( [in] Rectangle Rect );
+
+
+ /** applies an exclusive-or operation with the specified rectangle
+ to this region.
+ */
+ void xOrRectangle( [in] Rectangle Rect );
+
+
+ /** adds the specified region to this region.
+ */
+ void unionRegion( [in] XRegion Region );
+
+
+ /** intersects the specified region with the current region.
+ */
+ void intersectRegion( [in] XRegion Region );
+
+
+ /** removes the area of the specified region from this region.
+ */
+ void excludeRegion( [in] XRegion Region );
+
+
+ /** applies an exclusive-or operation with the specified region
+ to this region.
+ */
+ void xOrRegion( [in] XRegion Region );
+
+
+ /** returns all rectangles which are making up this region.
+ */
+ sequence<Rectangle> getRectangles();
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XRequestCallback.idl b/offapi/com/sun/star/awt/XRequestCallback.idl
new file mode 100644
index 000000000..7e8ce9e39
--- /dev/null
+++ b/offapi/com/sun/star/awt/XRequestCallback.idl
@@ -0,0 +1,52 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_XRequestCallback_idl__
+#define __com_sun_star_awt_XRequestCallback_idl__
+
+#include <com/sun/star/awt/XCallback.idl>
+
+
+module com { module sun { module star { module awt {
+
+
+/** specifies an interface which can be used to call back
+ an implementation
+ */
+interface XRequestCallback
+{
+
+ /** adds a callback request to the implementation
+
+ @param aData
+ any private data which will be provided to the callback implementation.
+
+ @param xCallback
+ a reference to the callback which should be called by the implementation
+ of this interface.
+ */
+ void addCallback( [in] XCallback xCallback, [in] any aData );
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XReschedule.idl b/offapi/com/sun/star/awt/XReschedule.idl
new file mode 100644
index 000000000..f9f5fe22d
--- /dev/null
+++ b/offapi/com/sun/star/awt/XReschedule.idl
@@ -0,0 +1,50 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_XReschedule_idl__
+#define __com_sun_star_awt_XReschedule_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+
+
+module com { module sun { module star { module awt {
+
+
+/** The XReschedule interface can be used to give control to the main
+ thread to allow events processing.
+
+ @deprecated
+ This interface was only implemented in an intermediate developer
+ release anyway.
+
+ @since OOo 2.0
+*/
+published interface XReschedule : ::com::sun::star::uno::XInterface
+{
+ /** Allow the main thread to process some events.
+ */
+ void reschedule();
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XScrollBar.idl b/offapi/com/sun/star/awt/XScrollBar.idl
new file mode 100644
index 000000000..6682c5cf8
--- /dev/null
+++ b/offapi/com/sun/star/awt/XScrollBar.idl
@@ -0,0 +1,122 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XScrollBar_idl__
+#define __com_sun_star_awt_XScrollBar_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+#include <com/sun/star/awt/XAdjustmentListener.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** gives access to the value and settings of a scroll bar and makes it possible
+ to register adjustment event listeners.
+ */
+published interface XScrollBar: com::sun::star::uno::XInterface
+{
+
+ /** registers an adjustment event listener.
+ */
+ void addAdjustmentListener( [in] com::sun::star::awt::XAdjustmentListener l );
+
+
+ /** unregisters an adjustment event listener.
+ */
+ void removeAdjustmentListener( [in] com::sun::star::awt::XAdjustmentListener l );
+
+
+ /** sets the scroll value of the scroll bar.
+ */
+ void setValue( [in] long n );
+
+
+ /** sets the scroll value, visible area and maximum scroll value
+ of the scroll bar.
+ */
+ void setValues( [in] long nValue,
+ [in] long nVisible,
+ [in] long nMax );
+
+
+ /** returns the current scroll value of the scroll bar.
+ */
+ long getValue();
+
+
+ /** sets the maximum scroll value of the scroll bar.
+ */
+ void setMaximum( [in] long n );
+
+
+ /** returns the currently set maximum scroll value of the scroll bar.
+ */
+ long getMaximum();
+
+
+ /** sets the increment for a single line move.
+ */
+ void setLineIncrement( [in] long n );
+
+
+ /** returns the currently set increment for a single line move.
+ */
+ long getLineIncrement();
+
+
+ /** sets the increment for a block move.
+ */
+ void setBlockIncrement( [in] long n );
+
+
+ /** returns the currently set increment for a block move.
+ */
+ long getBlockIncrement();
+
+
+ /** sets the visible size of the scroll bar.
+ */
+ void setVisibleSize( [in] long n );
+
+
+ /** returns the currently visible size of the scroll bar.
+ */
+ long getVisibleSize();
+
+
+ /** sets the ScrollBarOrientation of the scroll bar.
+ */
+ void setOrientation( [in] long n );
+
+
+ /** returns the currently set ScrollBarOrientation of the
+ scroll bar.
+ */
+ long getOrientation();
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XSimpleTabController.idl b/offapi/com/sun/star/awt/XSimpleTabController.idl
new file mode 100644
index 000000000..189e35829
--- /dev/null
+++ b/offapi/com/sun/star/awt/XSimpleTabController.idl
@@ -0,0 +1,145 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XSimpleTabController_idl__
+#define __com_sun_star_awt_XSimpleTabController_idl__
+
+#include <com/sun/star/awt/XTabListener.idl>
+#include <com/sun/star/uno/XInterface.idl>
+#include <com/sun/star/lang/IndexOutOfBoundsException.idl>
+#include <com/sun/star/beans/NamedValue.idl>
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the basic operations for a tab controller,
+ but does not require XControl as type of tabs.
+ */
+interface XSimpleTabController : com::sun::star::uno::XInterface
+{
+ /** create a new tab and return a unique ID,
+ which can be used further to address this tab by using other methods
+ of this interface.
+
+ @return [long
+ a unique ID for this new tab.
+ */
+ long insertTab();
+
+ /** remove a tab with the given ID.
+
+ @param ID
+ the ID of the tab, which should be removed.
+
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if the specified ID isn't used inside this tab controller.
+ */
+ void removeTab( [in] long ID )
+ raises( com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** change some properties of the specified tab.
+
+ @param Properties
+ Such properties can be:
+ <table>
+ <tr>
+ <td><b>Property</b></td>
+ <td><b>Type</b></td>
+ <td><b>Description</b></td>
+ </tr>
+ <tr>
+ <td>Title</td>
+ <td>string</td>
+ <td>the title of the tab, which is shown at the UI.</td>
+ </tr>
+ <tr>
+ <td>Position</td>
+ <td>int</td>
+ <td>describe the order of this tab in relation to all other tabs inside this control.</td>
+ </tr>
+ </table>
+
+ @attention Not all properties must be supported by all implementations of this interface.
+ Of course some important ones should be handled by every implementation ...
+ as e.g. "Title".
+
+ @param ID
+ the ID of the tab, which should be changed.
+
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if the specified ID isn't used inside this tab controller.
+ */
+ void setTabProps( [in] long ID ,
+ [in] sequence< com::sun::star::beans::NamedValue > Properties )
+ raises( com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** retrieve the set of properties for the specified tab.
+
+ @param ID
+ the ID of the tab.
+
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if the specified ID isn't used inside this tab controller.
+ */
+ sequence< com::sun::star::beans::NamedValue > getTabProps( [in] long ID )
+ raises( com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** activate the specified tab.
+
+ The new tab will be activated and all listener will get an event describing this.
+ Of course there will be an event too, which notifies listener about the deactivation
+ of the last active tab.
+
+ @param ID
+ the ID of the new active tab.
+
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if the specified ID isn't used inside this tab controller.
+ */
+ void activateTab( [in] long ID )
+ raises( com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** return the unique ID of the current active tab.
+
+ @return [long]
+ the ID of the active tab.
+ */
+ long getActiveTabID();
+
+ /** register listener for inserting/removing tabs and changing their properties.
+
+ @param Listener
+ the listener to register.
+ */
+ void addTabListener( [in] XTabListener Listener );
+
+ /** unregister listener for inserting/removing tabs and changing their properties.
+
+ @param Listener
+ the listener to unregister.
+ */
+ void removeTabListener( [in] XTabListener Listener );
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XSpinField.idl b/offapi/com/sun/star/awt/XSpinField.idl
new file mode 100644
index 000000000..8108bb4c6
--- /dev/null
+++ b/offapi/com/sun/star/awt/XSpinField.idl
@@ -0,0 +1,78 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XSpinField_idl__
+#define __com_sun_star_awt_XSpinField_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+#include <com/sun/star/awt/XSpinListener.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** gives access to the value of a spin field and makes it possible to
+ register for spin events.
+ */
+published interface XSpinField: com::sun::star::uno::XInterface
+{
+
+ /** registers a listener for spin events.
+ */
+ void addSpinListener( [in] com::sun::star::awt::XSpinListener l );
+
+
+ /** unregisters a listener for spin events.
+ */
+ void removeSpinListener( [in] com::sun::star::awt::XSpinListener l );
+
+
+ /** increases the value by one step.
+ */
+ void up();
+
+
+ /** decreases the value by one step.
+ */
+ void down();
+
+
+ /** sets the value to the previously set lower value.
+ */
+ void first();
+
+
+ /** sets the value to the previously set upper value.
+ */
+ void last();
+
+
+ /** enables/disables automatic repeat mode.
+ */
+ void enableRepeat( [in] boolean bRepeat );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XSpinListener.idl b/offapi/com/sun/star/awt/XSpinListener.idl
new file mode 100644
index 000000000..0e5295d3e
--- /dev/null
+++ b/offapi/com/sun/star/awt/XSpinListener.idl
@@ -0,0 +1,62 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XSpinListener_idl__
+#define __com_sun_star_awt_XSpinListener_idl__
+
+#include <com/sun/star/lang/XEventListener.idl>
+
+#include <com/sun/star/awt/SpinEvent.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** makes it possible to receive spin events.
+ */
+published interface XSpinListener: com::sun::star::lang::XEventListener
+{
+
+ /** is invoked when the spin field is spun up.
+ */
+ void up( [in] com::sun::star::awt::SpinEvent rEvent );
+
+
+ /** is invoked when the spin field is spun down.
+ */
+ void down( [in] com::sun::star::awt::SpinEvent rEvent );
+
+
+ /** is invoked when the spin field is set to the lower value.
+ */
+ void first( [in] com::sun::star::awt::SpinEvent rEvent );
+
+
+ /** is invoked when the spin field is set to the upper value.
+ */
+ void last( [in] com::sun::star::awt::SpinEvent rEvent );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XSpinValue.idl b/offapi/com/sun/star/awt/XSpinValue.idl
new file mode 100644
index 000000000..1001ce0d8
--- /dev/null
+++ b/offapi/com/sun/star/awt/XSpinValue.idl
@@ -0,0 +1,118 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XSpinValue_idl__
+#define __com_sun_star_awt_XSpinValue_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+#include <com/sun/star/awt/XAdjustmentListener.idl>
+#include <com/sun/star/lang/NoSupportException.idl>
+
+
+ module com { module sun { module star { module awt {
+
+
+/** gives access to the value and settings of a control which is associated with
+ a spinnable value.
+ */
+interface XSpinValue : com::sun::star::uno::XInterface
+{
+
+ /** registers an adjustment event listener.
+ */
+ void addAdjustmentListener( [in] com::sun::star::awt::XAdjustmentListener listener );
+
+
+ /** unregisters an adjustment event listener.
+ */
+ void removeAdjustmentListener( [in] com::sun::star::awt::XAdjustmentListener listener );
+
+
+ /** sets the current value of the control
+ */
+ void setValue( [in] long value );
+
+
+ /** sets the value and value range of the control
+
+ @see setValue
+ @see setMinimum
+ @see setMaximum
+ */
+ void setValues( [in] long minValue, [in] long maxValue, [in] long currentValue );
+
+
+ /** returns the current value of the control.
+ */
+ long getValue();
+
+
+ /** sets the minimum value which can be set on the control
+ */
+ void setMinimum( [in] long minValue );
+
+
+ /** sets the maximum value which can be set on the control
+ */
+ void setMaximum( [in] long maxValue );
+
+
+ /** returns the currently set minimum value of the control
+ */
+ long getMinimum();
+
+
+ /** returns the currently set maximum value of the control
+ */
+ long getMaximum();
+
+
+ /** sets the value by which the current value of the control
+ should be incremented or decremented upon spinning.
+ */
+ void setSpinIncrement( [in] long spinIncrement );
+
+
+ /** returns the value by which the current value of the control
+ should be incremented or decremented upon spinning.
+ */
+ long getSpinIncrement();
+
+
+ /** controls the orientation of the control
+ @param orientation
+ one of the ScrollBarOrientation values specifying the orientation
+ @throws com::sun::star::lang::NoSupportException
+ in case the given orientation is not supported
+ */
+ void setOrientation( [in] long orientation )
+ raises( com::sun::star::lang::NoSupportException );
+
+
+ /** returns the current orientation of the control
+ */
+ long getOrientation();
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XStyleChangeListener.idl b/offapi/com/sun/star/awt/XStyleChangeListener.idl
new file mode 100644
index 000000000..a415a9a56
--- /dev/null
+++ b/offapi/com/sun/star/awt/XStyleChangeListener.idl
@@ -0,0 +1,45 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_XStyleChangeListener_idl__
+#define __com_sun_star_awt_XStyleChangeListener_idl__
+
+#include <com/sun/star/lang/XEventListener.idl>
+
+
+module com { module sun { module star { module awt {
+
+
+/** to be implemented by components which wish to be notified about changes in the style of a component
+
+ @see XStyleSettings
+ */
+interface XStyleChangeListener : ::com::sun::star::lang::XEventListener
+{
+ /// called when the style settings of the observed component changed
+ void styleSettingsChanged( [in] com::sun::star::lang::EventObject Event );
+};
+
+
+}; }; }; };
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XStyleSettings.idl b/offapi/com/sun/star/awt/XStyleSettings.idl
new file mode 100644
index 000000000..47a55d6e4
--- /dev/null
+++ b/offapi/com/sun/star/awt/XStyleSettings.idl
@@ -0,0 +1,224 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_XStyleSettings_idl__
+#define __com_sun_star_awt_XStyleSettings_idl__
+
+#include <com/sun/star/util/Color.idl>
+#include <com/sun/star/awt/FontDescriptor.idl>
+#include <com/sun/star/uno/XInterface.idl>
+
+
+module com { module sun { module star { module awt {
+
+interface XStyleChangeListener;
+
+
+/** provides access to certain style settings within an OpenOffice.org component, such as a window, or
+ within OpenOffice.org as a whole.
+
+ <p>Note that there are constraints for those settings. For instance, if controls are drawn with the
+ native widget framework, i.e. in the desktop theme's look, then they won't necessarily respect all
+ their style settings, because those have a lesser priority than the native look.</p>
+
+ <p>On the other hand, some settings are respected only when rendering the controls in the native
+ desktop/theme look. For instance, without native theming, buttons do not support a "roll over" mode,
+ i.e., they're painted the same way, no matter if they mouse hovers over them or not. But with native
+ theming, this changes, as here the general button look is drawn by the system's theming engine,
+ while the text is drawn by OpenOffice.org. In this case, the button respects the
+ <code>ButtonRolloverTextColor</code> when painting its text.</p>
+ */
+interface XStyleSettings
+{
+ /// specifies the color of the border of active windows
+ [attribute] ::com::sun::star::util::Color ActiveBorderColor;
+
+
+ [attribute] ::com::sun::star::util::Color ActiveColor;
+
+ /// specifies the color of the active tab of a tab control
+ [attribute] ::com::sun::star::util::Color ActiveTabColor;
+
+ /// specifies the text color for active UI components
+ [attribute] ::com::sun::star::util::Color ActiveTextColor;
+
+ /// specifies the color to use for text on buttons which are hovered with the mouse
+ [attribute] ::com::sun::star::util::Color ButtonRolloverTextColor;
+
+ /// specifies the color to use for text on buttons
+ [attribute] ::com::sun::star::util::Color ButtonTextColor;
+
+
+ [attribute] ::com::sun::star::util::Color CheckedColor;
+
+ /// specifies the dark portion of the shadow to use for UI elements
+ [attribute] ::com::sun::star::util::Color DarkShadowColor;
+
+ /// specifies the color of the border of inactive windows
+ [attribute] ::com::sun::star::util::Color DeactiveBorderColor;
+
+
+ [attribute] ::com::sun::star::util::Color DeactiveColor;
+
+ /// specifies the text color for inactive UI components
+ [attribute] ::com::sun::star::util::Color DeactiveTextColor;
+
+ /// specifies the background color of dialogs
+ [attribute] ::com::sun::star::util::Color DialogColor;
+
+ /// specifies the text color of dialogs
+ [attribute] ::com::sun::star::util::Color DialogTextColor;
+
+ /// specifies the text color for disabled UI elements
+ [attribute] ::com::sun::star::util::Color DisableColor;
+
+
+ [attribute] ::com::sun::star::util::Color FaceColor;
+
+
+ [attribute, readonly] ::com::sun::star::util::Color FaceGradientColor;
+
+ /// specifies the background color for dialog input controls
+ [attribute] ::com::sun::star::util::Color FieldColor;
+
+ /// specifies the text color for dialog input controls which are hovered with the mouse
+ [attribute] ::com::sun::star::util::Color FieldRolloverTextColor;
+
+ /// specifies the text color for dialog input controls
+ [attribute] ::com::sun::star::util::Color FieldTextColor;
+
+ /// specifies the text color for dialog elements used for grouping other elements
+ [attribute] ::com::sun::star::util::Color GroupTextColor;
+
+ /// specifies the background color for dialog elements displaying help content
+ [attribute] ::com::sun::star::util::Color HelpColor;
+
+ /// specifies the text color for dialog elements displaying help content
+ [attribute] ::com::sun::star::util::Color HelpTextColor;
+
+ /// specifies the background color for UI elements which are highlighted
+ [attribute] ::com::sun::star::util::Color HighlightColor;
+
+ /// specifies the text color for UI elements which are highlighted
+ [attribute] ::com::sun::star::util::Color HighlightTextColor;
+
+ /// specifies the color of inactive tabs of a tab control
+ [attribute] ::com::sun::star::util::Color InactiveTabColor;
+
+ /// specifies the text color of label elements in dialogs
+ [attribute] ::com::sun::star::util::Color LabelTextColor;
+
+
+ [attribute] ::com::sun::star::util::Color LightColor;
+
+ /// specifies the background color of menu bars
+ [attribute] ::com::sun::star::util::Color MenuBarColor;
+
+ /// specifies the text color of menu bars
+ [attribute] ::com::sun::star::util::Color MenuBarTextColor;
+
+ /// specifies the border color of menus
+ [attribute] ::com::sun::star::util::Color MenuBorderColor;
+
+ // specifies the background color of menus
+ [attribute] ::com::sun::star::util::Color MenuColor;
+
+ /// specifies the background color of highlighted menu items
+ [attribute] ::com::sun::star::util::Color MenuHighlightColor;
+
+ /// specifies the text color of highlighted menu items
+ [attribute] ::com::sun::star::util::Color MenuHighlightTextColor;
+
+ // specifies the text color of menus
+ [attribute] ::com::sun::star::util::Color MenuTextColor;
+
+ /// specifies the color to use for monochrome control elements such as flat borders of controls
+ [attribute] ::com::sun::star::util::Color MonoColor;
+
+ /// specifies the text color of radio buttons and check boxes
+ [attribute] ::com::sun::star::util::Color RadioCheckTextColor;
+
+ /// specifies the color of separators between UI elements
+ [attribute, readonly] ::com::sun::star::util::Color SeparatorColor;
+
+ /// specifies the color to use for UI elements
+ [attribute] ::com::sun::star::util::Color ShadowColor;
+
+ /// specifies the background color to use for non-dialog windows
+ [attribute] ::com::sun::star::util::Color WindowColor;
+
+ /// specifies the text color to use for non-dialog windows
+ [attribute] ::com::sun::star::util::Color WindowTextColor;
+
+ /// specifies the background color to use for document workspaces
+ [attribute] ::com::sun::star::util::Color WorkspaceColor;
+
+ /** controls whether the an UI component should use a high-contrast mode
+ */
+ [attribute] boolean HighContrastMode;
+
+ /// specifies the application font
+ [attribute] FontDescriptor ApplicationFont;
+
+ /// specifies the help font
+ [attribute] FontDescriptor HelpFont;
+
+ /// specifies the font to use for window titles
+ [attribute] FontDescriptor TitleFont;
+
+ /// specifies the font to use the title of floating windows
+ [attribute] FontDescriptor FloatTitleFont;
+
+ /// specifies the font to use for menus
+ [attribute] FontDescriptor MenuFont;
+
+ /// specifies the font to use for tool elements
+ [attribute] FontDescriptor ToolFont;
+
+ /// specifies the font for dialog elements used for grouping other elements
+ [attribute] FontDescriptor GroupFont;
+
+ /// specifies the font for label controls
+ [attribute] FontDescriptor LabelFont;
+
+ /// specifies the font of radio buttons and check boxes
+ [attribute] FontDescriptor RadioCheckFont;
+
+ /// specifies the font of push buttons
+ [attribute] FontDescriptor PushButtonFont;
+
+ /// specifies the font for dialog input controls
+ [attribute] FontDescriptor FieldFont;
+
+ /// registers a listener to be notified when the style settings change
+ void addStyleChangeListener(
+ [in] XStyleChangeListener Listener );
+
+ /// registers a listener to be notified when the style settings change
+ void removeStyleChangeListener(
+ [in] XStyleChangeListener Listener );
+};
+
+
+}; }; }; };
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XStyleSettingsSupplier.idl b/offapi/com/sun/star/awt/XStyleSettingsSupplier.idl
new file mode 100644
index 000000000..7e5b53401
--- /dev/null
+++ b/offapi/com/sun/star/awt/XStyleSettingsSupplier.idl
@@ -0,0 +1,43 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XStyleSettingsSupplier_idl__
+#define __com_sun_star_awt_XStyleSettingsSupplier_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+
+module com { module sun { module star { module awt {
+
+ interface XStyleSettings;
+
+
+/** provides access to the style settings of a component
+ */
+interface XStyleSettingsSupplier
+{
+ [attribute, readonly] XStyleSettings StyleSettings;
+};
+
+
+}; }; }; };
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XSystemChildFactory.idl b/offapi/com/sun/star/awt/XSystemChildFactory.idl
new file mode 100644
index 000000000..39b22d8be
--- /dev/null
+++ b/offapi/com/sun/star/awt/XSystemChildFactory.idl
@@ -0,0 +1,70 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_XSystemChildFactory_idl__
+#define __com_sun_star_awt_XSystemChildFactory_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+
+
+module com { module sun { module star { module awt {
+
+
+ published interface XWindowPeer;
+
+/** specifies a factory interface for creating system child windows.
+ */
+published interface XSystemChildFactory : com::sun::star::uno::XInterface
+{
+
+ /** creates a system child window.
+
+ @returns
+ the created window.
+
+ @param Parent
+ a system-specific handle to a window.
+
+ <p>You must check the machine ID and the process ID.<BR>
+ WIN32: HWND.<BR>
+ WIN16: HWND.<BR>
+
+ JAVA: global reference to a java.awt.Component
+ object provided from the JNI-API.<BR>
+
+ MAC: (NSView*) pointer.<BR></p>
+
+ @param ProcessId
+ Ignored.
+
+ @param SystemType
+ one constant out of the constant group
+ com::sun::star::lang::SystemDependent.
+ */
+ XWindowPeer createSystemChild( [in] any Parent, [in] sequence< byte > ProcessId, [in] short SystemType );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XSystemDependentMenuPeer.idl b/offapi/com/sun/star/awt/XSystemDependentMenuPeer.idl
new file mode 100644
index 000000000..3966ad9cb
--- /dev/null
+++ b/offapi/com/sun/star/awt/XSystemDependentMenuPeer.idl
@@ -0,0 +1,65 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XSystemDependentMenuPeer_idl__
+#define __com_sun_star_awt_XSystemDependentMenuPeer_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** provides access to the system dependent implementation of the window.
+
+ @see com::sun::star::lang::SystemDependent
+ @see WindowAttribute
+ @see WindowAttribute::SYSTEMDEPENDENT
+ */
+interface XSystemDependentMenuPeer: com::sun::star::uno::XInterface
+{
+
+ /** returns a system-specific window handle.
+
+ @returns
+ a system-specific handle to a menu
+ or 0 if the menu is not in the same process.
+
+ <p>You must check the machine ID and the process ID.<BR>
+ WIN32: Returns an HMENU if possible, otherwise 0.<BR>
+ WIN16: Returns an HMENU if possible, otherwise 0.<BR>
+
+ @param ProcessId
+ the process identifier. Use the sal_getGlobalProcessId
+ function of the RTL library.
+
+ @param SystemType
+ one constant out of the constant group
+ com::sun::star::lang::SystemDependent.
+ */
+ any getMenuHandle( [in] sequence< byte > ProcessId, [in] short SystemType );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XSystemDependentWindowPeer.idl b/offapi/com/sun/star/awt/XSystemDependentWindowPeer.idl
new file mode 100644
index 000000000..cfb48b67e
--- /dev/null
+++ b/offapi/com/sun/star/awt/XSystemDependentWindowPeer.idl
@@ -0,0 +1,73 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XSystemDependentWindowPeer_idl__
+#define __com_sun_star_awt_XSystemDependentWindowPeer_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** provides access to the system dependent implementation of the window.
+
+ @see com::sun::star::lang::SystemDependent
+ @see WindowAttribute
+ @see WindowAttribute::SYSTEMDEPENDENT
+ */
+published interface XSystemDependentWindowPeer: com::sun::star::uno::XInterface
+{
+
+ /** returns a system-specific window handle.
+
+ @returns
+ a system-specific handle to a window
+ or 0 if the window is not in the same process.
+
+ <p>You must check the machine ID and the process ID.<BR>
+ WIN32: Returns an HWND if possible, otherwise 0.<BR>
+ WIN16: Returns an HWND if possible, otherwise 0.<BR>
+
+ JAVA: Returns a global reference to a java.awt.Component
+ object provided from the JNI-API.<BR>
+
+ MAC: Returns a ptr to the NSView implementing the window.<BR>
+
+ XWINDOW: Returns a structure SystemDependentXWindow
+ or void if it is not reachable.<BR></p>
+
+ @param ProcessId
+ the process identifier. Use the sal_getGlobalProcessId
+ function of the RTL library.
+
+ @param SystemType
+ one constant out of the constant group
+ com::sun::star::lang::SystemDependent.
+ */
+ any getWindowHandle( [in] sequence< byte > ProcessId, [in] short SystemType );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XTabController.idl b/offapi/com/sun/star/awt/XTabController.idl
new file mode 100644
index 000000000..59b954099
--- /dev/null
+++ b/offapi/com/sun/star/awt/XTabController.idl
@@ -0,0 +1,93 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XTabController_idl__
+#define __com_sun_star_awt_XTabController_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+#include <com/sun/star/awt/XTabControllerModel.idl>
+
+#include <com/sun/star/awt/XControlContainer.idl>
+
+#include <com/sun/star/awt/XControl.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the basic operations for a tab controller.
+ */
+published interface XTabController: com::sun::star::uno::XInterface
+{
+
+ /** sets the tab controller model.
+ */
+ void setModel( [in] com::sun::star::awt::XTabControllerModel Model );
+
+
+ /** returns the tab controller model.
+ */
+ com::sun::star::awt::XTabControllerModel getModel();
+
+
+ /** set the control container.
+ */
+ void setContainer( [in] com::sun::star::awt::XControlContainer Container );
+
+
+ /** returns the control container.
+ */
+ com::sun::star::awt::XControlContainer getContainer();
+
+
+ /** returns all controls of the control container.
+ */
+ sequence<com::sun::star::awt::XControl> getControls();
+
+
+ /** enables automatic tab order.
+ */
+ void autoTabOrder();
+
+
+ /** activates tab order.
+ */
+ void activateTabOrder();
+
+
+ /** sets the focus to the first control that can be reached with the
+ TAB key.
+ */
+ void activateFirst();
+
+
+ /** sets the focus to the last control that can be reached with the
+ TAB key.
+ */
+ void activateLast();
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XTabControllerModel.idl b/offapi/com/sun/star/awt/XTabControllerModel.idl
new file mode 100644
index 000000000..e8248606a
--- /dev/null
+++ b/offapi/com/sun/star/awt/XTabControllerModel.idl
@@ -0,0 +1,86 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XTabControllerModel_idl__
+#define __com_sun_star_awt_XTabControllerModel_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+#include <com/sun/star/awt/XControlModel.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the basic operations for a tab controller model.
+ */
+published interface XTabControllerModel: com::sun::star::uno::XInterface
+{
+
+ /** returns whether the control models are grouped together.
+ */
+ boolean getGroupControl();
+
+
+ /** determines if the control models are grouped together.
+ */
+ void setGroupControl( [in] boolean GroupControl );
+
+
+ /** sets the control models.
+ */
+ void setControlModels( [in] sequence<com::sun::star::awt::XControlModel> Controls );
+
+
+ /** returns the control models.
+ */
+ sequence<com::sun::star::awt::XControlModel> getControlModels();
+
+
+ /** sets a control model group.
+ */
+ void setGroup( [in] sequence<com::sun::star::awt::XControlModel> Group,
+ [in] string GroupName );
+
+
+ /** returns the number of control model groups.
+ */
+ long getGroupCount();
+
+
+ /** returns a control model group.
+ */
+ void getGroup( [in] long nGroup,
+ [out] sequence<com::sun::star::awt::XControlModel> Group,
+ [out] string Name );
+
+
+ /** returns a control model group by name.
+ */
+ void getGroupByName( [in] string Name,
+ [out] sequence<com::sun::star::awt::XControlModel> Group );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XTabListener.idl b/offapi/com/sun/star/awt/XTabListener.idl
new file mode 100644
index 000000000..142fbb234
--- /dev/null
+++ b/offapi/com/sun/star/awt/XTabListener.idl
@@ -0,0 +1,75 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XTabListener_idl__
+#define __com_sun_star_awt_XTabListener_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+#include <com/sun/star/lang/XEventListener.idl>
+#include <com/sun/star/beans/NamedValue.idl>
+
+
+ module com { module sun { module star { module awt {
+
+
+/** such listener will be informed if tab's was inserted/removed from
+ an XSimpleTabController instance or if the properties of a tab was changed.
+ */
+interface XTabListener : com::sun::star::lang::XEventListener
+{
+ /** a new tab was inserted.
+
+ @param ID
+ this is the unique ID of this new tab.
+ */
+ void inserted( [in] long ID );
+
+ /** a tab was removed.
+
+ @param ID
+ this was the unique ID of this tab.
+ */
+ void removed( [in] long ID );
+
+ /** a tab was changed within its properties.
+
+ @param ID
+ the unique ID of the changed tab.
+
+ @param Properties
+ the current set of properties for this tab.
+ */
+ void changed( [in] long ID ,
+ [in] sequence< com::sun::star::beans::NamedValue > Properties );
+
+ /** a tab was activated (e.g. by using mouse/keyboard or
+ method XSimpleTabController::activateTab()
+ */
+ void activated( [in] long ID );
+
+ /** a tab was deactivated, because another tab became the new active state.
+ */
+ void deactivated( [in] long ID );
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XTextArea.idl b/offapi/com/sun/star/awt/XTextArea.idl
new file mode 100644
index 000000000..ad89303ab
--- /dev/null
+++ b/offapi/com/sun/star/awt/XTextArea.idl
@@ -0,0 +1,45 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XTextArea_idl__
+#define __com_sun_star_awt_XTextArea_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** gives access to the text in a control.
+ */
+published interface XTextArea: com::sun::star::uno::XInterface
+{
+
+ /** returns the text lines as a single string with line separators.
+ */
+ string getTextLines();
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XTextComponent.idl b/offapi/com/sun/star/awt/XTextComponent.idl
new file mode 100644
index 000000000..eba56acb9
--- /dev/null
+++ b/offapi/com/sun/star/awt/XTextComponent.idl
@@ -0,0 +1,106 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XTextComponent_idl__
+#define __com_sun_star_awt_XTextComponent_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+#include <com/sun/star/awt/XTextListener.idl>
+
+#include <com/sun/star/awt/Selection.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** gives access to the text of a component and makes it possible
+ to register event listeners.
+ */
+published interface XTextComponent: com::sun::star::uno::XInterface
+{
+
+ /** registers a text event listener.
+ */
+ void addTextListener( [in] com::sun::star::awt::XTextListener l );
+
+
+ /** unregisters a text event listener.
+ */
+ void removeTextListener( [in] com::sun::star::awt::XTextListener l );
+
+
+ /** sets the text of the component.
+ */
+ void setText( [in] string aText );
+
+
+ /** inserts text at the specified position.
+ */
+ void insertText( [in] com::sun::star::awt::Selection Sel,
+ [in] string Text );
+
+
+ /** returns the text of the component.
+ */
+ string getText();
+
+
+ /** returns the currently selected text.
+ */
+ string getSelectedText();
+
+
+ /** sets the user selection.
+ */
+ void setSelection( [in] com::sun::star::awt::Selection aSelection );
+
+
+ /** returns the current user selection.
+ */
+ com::sun::star::awt::Selection getSelection();
+
+
+ /** returns if the text is editable by the user.
+ */
+ boolean isEditable();
+
+
+ /** makes the text editable for the user or read-only.
+ */
+ void setEditable( [in] boolean bEditable );
+
+
+ /** sets the maximum text length.
+ */
+ void setMaxTextLen( [in] short nLen );
+
+
+ /** returns the currently set maximum text length.
+ */
+ short getMaxTextLen();
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XTextEditField.idl b/offapi/com/sun/star/awt/XTextEditField.idl
new file mode 100644
index 000000000..2b2c907e9
--- /dev/null
+++ b/offapi/com/sun/star/awt/XTextEditField.idl
@@ -0,0 +1,45 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XTextEditField_idl__
+#define __com_sun_star_awt_XTextEditField_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** is used for password fields.
+ */
+published interface XTextEditField: com::sun::star::uno::XInterface
+{
+
+ /** sets the character to display as a substitute on user input.
+ */
+ void setEchoChar( [in] char cEcho );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XTextLayoutConstrains.idl b/offapi/com/sun/star/awt/XTextLayoutConstrains.idl
new file mode 100644
index 000000000..c2c5f2b7b
--- /dev/null
+++ b/offapi/com/sun/star/awt/XTextLayoutConstrains.idl
@@ -0,0 +1,53 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XTextLayoutConstrains_idl__
+#define __com_sun_star_awt_XTextLayoutConstrains_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+#include <com/sun/star/awt/Size.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the layout constraints for a text field.
+ */
+published interface XTextLayoutConstrains: com::sun::star::uno::XInterface
+{
+
+ /** returns the minimum size for a given number of columns and lines.
+ */
+ com::sun::star::awt::Size getMinimumSize( [in] short nCols,
+ [in] short nLines );
+
+
+ /** returns the ideal number of columns and lines for displaying this text.
+ */
+ void getColumnsAndLines( [out] short nCols, [out] short nLines );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XTextListener.idl b/offapi/com/sun/star/awt/XTextListener.idl
new file mode 100644
index 000000000..50bdcca0b
--- /dev/null
+++ b/offapi/com/sun/star/awt/XTextListener.idl
@@ -0,0 +1,47 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XTextListener_idl__
+#define __com_sun_star_awt_XTextListener_idl__
+
+#include <com/sun/star/lang/XEventListener.idl>
+
+#include <com/sun/star/awt/TextEvent.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** makes it possible to receive text change events.
+ */
+published interface XTextListener: com::sun::star::lang::XEventListener
+{
+
+ /** is invoked when the text has changed.
+ */
+ void textChanged( [in] com::sun::star::awt::TextEvent rEvent );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XTimeField.idl b/offapi/com/sun/star/awt/XTimeField.idl
new file mode 100644
index 000000000..b48f3d9f0
--- /dev/null
+++ b/offapi/com/sun/star/awt/XTimeField.idl
@@ -0,0 +1,113 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XTimeField_idl__
+#define __com_sun_star_awt_XTimeField_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+#include <com/sun/star/util/Time.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** gives access to the value and settings of a time field.
+ */
+published interface XTimeField: com::sun::star::uno::XInterface
+{
+
+ /** sets the time value which is displayed in the time field.
+ */
+ void setTime( [in] com::sun::star::util::Time Time );
+
+
+ /** returns the time value which is currently displayed in the time field.
+ */
+ com::sun::star::util::Time getTime();
+
+
+ /** sets the minimum time value that can be entered by the user.
+ */
+ void setMin( [in] com::sun::star::util::Time Time );
+
+
+ /** returns the currently set minimum time value that can be entered by
+ the user.
+ */
+ com::sun::star::util::Time getMin();
+
+
+ /** sets the maximum time value that can be entered by the user.
+ */
+ void setMax( [in] com::sun::star::util::Time Time );
+
+
+ /** returns the currently set maximum time value that can be entered by
+ the user.
+ */
+ com::sun::star::util::Time getMax();
+
+
+ /** sets the first value to be set on POS1 key.
+ */
+ void setFirst( [in] com::sun::star::util::Time Time );
+
+
+ /** returns the currently set first value which is set on POS1 key.
+ */
+ com::sun::star::util::Time getFirst();
+
+
+ /** sets the last value to be set on END key.
+ */
+ void setLast( [in] com::sun::star::util::Time Time );
+
+
+ /** returns the currently set last value which is set on END key.
+ */
+ com::sun::star::util::Time getLast();
+
+
+ /** sets an empty value for the time.
+ */
+ void setEmpty();
+
+
+ /** returns whether currently an empty value is set for the time.
+ */
+ boolean isEmpty();
+
+
+ /** determines if the format is checked during user input.
+ */
+ void setStrictFormat( [in] boolean bStrict );
+
+
+ /** returns whether the format is currently checked during user input.
+ */
+ boolean isStrictFormat();
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XToggleButton.idl b/offapi/com/sun/star/awt/XToggleButton.idl
new file mode 100644
index 000000000..5d71e6062
--- /dev/null
+++ b/offapi/com/sun/star/awt/XToggleButton.idl
@@ -0,0 +1,44 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XToggleButton_idl__
+#define __com_sun_star_awt_XToggleButton_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+#include <com/sun/star/awt/XItemEventBroadcaster.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** is supported by buttons which can be toggled between a "pressed" and an "unpressed" state
+
+ <p>Changes in the toggle state are broadcasted to XItemListener instances.</p>
+ */
+interface XToggleButton: XItemEventBroadcaster
+{
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XToolkit.idl b/offapi/com/sun/star/awt/XToolkit.idl
new file mode 100644
index 000000000..1cff0b181
--- /dev/null
+++ b/offapi/com/sun/star/awt/XToolkit.idl
@@ -0,0 +1,93 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XToolkit_idl__
+#define __com_sun_star_awt_XToolkit_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+#include <com/sun/star/awt/XWindowPeer.idl>
+
+#include <com/sun/star/awt/Rectangle.idl>
+
+#include <com/sun/star/awt/WindowDescriptor.idl>
+
+#include <com/sun/star/lang/IllegalArgumentException.idl>
+
+#include <com/sun/star/awt/XDevice.idl>
+
+#include <com/sun/star/awt/XRegion.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies a factory interface for the window toolkit.
+
+ <p>This is similar to the abstract window toolkit (AWT) in Java.</p>
+ */
+published interface XToolkit: com::sun::star::uno::XInterface
+{
+
+ /** returns the desktop window.
+ */
+ com::sun::star::awt::XWindowPeer getDesktopWindow();
+
+
+ /**
+ * For LibreOffice versions < 4.1, this method just returned an empty rectangle.
+ * After that, it started returning a valid value.
+ *
+ * @returns the size and position of the primary display
+ */
+ com::sun::star::awt::Rectangle getWorkArea();
+
+
+ /** creates a new window using the given descriptor.
+ */
+ com::sun::star::awt::XWindowPeer createWindow( [in] com::sun::star::awt::WindowDescriptor Descriptor )
+ raises( com::sun::star::lang::IllegalArgumentException );
+
+
+ /** returns a sequence of windows which are newly created using the
+ given descriptors.
+ */
+ sequence<com::sun::star::awt::XWindowPeer> createWindows(
+ [in] sequence<com::sun::star::awt::WindowDescriptor> Descriptors )
+ raises( com::sun::star::lang::IllegalArgumentException );
+
+
+ /** creates a virtual device that is compatible with the screen.
+ */
+ com::sun::star::awt::XDevice createScreenCompatibleDevice( [in] long Width,
+ [in] long Height );
+
+
+ /** creates a region.
+ */
+ com::sun::star::awt::XRegion createRegion();
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XToolkit2.idl b/offapi/com/sun/star/awt/XToolkit2.idl
new file mode 100644
index 000000000..3dead5c50
--- /dev/null
+++ b/offapi/com/sun/star/awt/XToolkit2.idl
@@ -0,0 +1,59 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XToolkit2_idl__
+#define __com_sun_star_awt_XToolkit2_idl__
+
+#include <com/sun/star/awt/XToolkit.idl>
+#include <com/sun/star/awt/XDataTransferProviderAccess.idl>
+#include <com/sun/star/awt/XSystemChildFactory.idl>
+#include <com/sun/star/awt/XMessageBoxFactory.idl>
+#include <com/sun/star/awt/XExtendedToolkit.idl>
+#include <com/sun/star/awt/XReschedule.idl>
+
+
+
+module com { module sun { module star { module awt {
+
+
+/**
+ Provides a unified interface for the new-style service Toolkit to implement.
+
+ @since LibreOffice 4.0
+ */
+published interface XToolkit2
+{
+ interface XToolkit;
+
+ interface com::sun::star::awt::XDataTransferProviderAccess;
+
+ interface com::sun::star::awt::XSystemChildFactory;
+
+ interface com::sun::star::awt::XMessageBoxFactory;
+
+ interface com::sun::star::awt::XExtendedToolkit;
+
+ interface com::sun::star::awt::XReschedule;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XToolkit3.idl b/offapi/com/sun/star/awt/XToolkit3.idl
new file mode 100644
index 000000000..36d9800c5
--- /dev/null
+++ b/offapi/com/sun/star/awt/XToolkit3.idl
@@ -0,0 +1,47 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XToolkit3_idl__
+#define __com_sun_star_awt_XToolkit3_idl__
+
+#include <com/sun/star/awt/XToolkit2.idl>
+#include <com/sun/star/awt/XFontMappingUse.idl>
+
+
+
+module com { module sun { module star { module awt {
+
+
+/**
+ Provides a unified interface for the new-style service Toolkit to implement.
+
+ @since LibreOffice 7.3
+ */
+published interface XToolkit3
+{
+ interface XToolkit2;
+
+ interface com::sun::star::awt::XFontMappingUse;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XToolkitExperimental.idl b/offapi/com/sun/star/awt/XToolkitExperimental.idl
new file mode 100644
index 000000000..d47353dc7
--- /dev/null
+++ b/offapi/com/sun/star/awt/XToolkitExperimental.idl
@@ -0,0 +1,65 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef __com_sun_star_awt_XToolkitExperimental_idl__
+#define __com_sun_star_awt_XToolkitExperimental_idl__
+
+#include <com/sun/star/awt/XToolkit3.idl>
+
+module com { module sun { module star { module awt {
+
+/** Work in progress, don't use unless you know what you are doing.
+ */
+
+interface XToolkitExperimental : XToolkit3
+{
+ /** Process all pending idle events
+ */
+ void processEventsToIdle();
+
+ /** Get the number of OpenGL buffer swaps.
+ */
+ hyper getOpenGLBufferSwapCounter();
+
+ /** Turn on or off deterministic scheduling (off is the default).
+ */
+ void setDeterministicScheduling([in] boolean bDeterministicMode);
+
+ /** Pause the main thread of LibreOffice for the requested amount of time.
+ */
+ void pause([in] long nMilliseconds);
+
+ /** Start time logging.
+
+ @since LibreOffice 6.0
+ */
+ void startRecording();
+
+ /** Stop time logging.
+
+ @since LibreOffice 6.0
+ */
+ void stopRecording();
+
+ /** Query time logs and clear recording.
+ First line is the time of the recorded operations in seconds,
+ next ones are the log lines. A log line contains the thread ID,
+ time stamp, profile zone ID and "start" or "stop".
+
+ @since LibreOffice 6.0
+ */
+ sequence<string> getRecordingAndClear();
+
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XToolkitRobot.idl b/offapi/com/sun/star/awt/XToolkitRobot.idl
new file mode 100644
index 000000000..a74521d5e
--- /dev/null
+++ b/offapi/com/sun/star/awt/XToolkitRobot.idl
@@ -0,0 +1,40 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef __com_sun_star_awt_XToolkitRobot_idl__
+#define __com_sun_star_awt_XToolkitRobot_idl__
+
+#include <com/sun/star/awt/KeyEvent.idl>
+#include <com/sun/star/awt/XTopWindow.idl>
+
+module com { module sun { module star { module awt {
+
+/** Allows injection of keyboard and mouse events
+ @since LibreOffice 5.1
+ */
+interface XToolkitRobot
+{
+
+ void keyPress( [in] com::sun::star::awt::KeyEvent aKeyEvent );
+
+ void keyRelease( [in] com::sun::star::awt::KeyEvent aKeyEvent );
+
+ void mousePress( [in] com::sun::star::awt::MouseEvent aMouseEvent );
+
+ void mouseRelease( [in] com::sun::star::awt::MouseEvent aMouseEvent );
+
+ void mouseMove( [in] com::sun::star::awt::MouseEvent aMouseEvent );
+
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XTopWindow.idl b/offapi/com/sun/star/awt/XTopWindow.idl
new file mode 100644
index 000000000..05e3b7a99
--- /dev/null
+++ b/offapi/com/sun/star/awt/XTopWindow.idl
@@ -0,0 +1,73 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XTopWindow_idl__
+#define __com_sun_star_awt_XTopWindow_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+#include <com/sun/star/awt/XTopWindowListener.idl>
+
+#include <com/sun/star/awt/XMenuBar.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** manages the functionality specific for a top window.
+ */
+published interface XTopWindow: com::sun::star::uno::XInterface
+{
+
+ /** adds the specified top window listener to receive window events from
+ this window.
+ */
+ void addTopWindowListener( [in] com::sun::star::awt::XTopWindowListener xListener );
+
+
+ /** removes the specified top window listener so that it no longer
+ receives window events from this window.
+ */
+ void removeTopWindowListener( [in] com::sun::star::awt::XTopWindowListener xListener );
+
+
+ /** places this window at the top of the stacking order and
+ shows it in front of any other windows.
+ */
+ void toFront();
+
+
+ /** places this window at the bottom of the stacking order and
+ makes the corresponding adjustment to other visible windows.
+ */
+ void toBack();
+
+
+ /** sets a menu bar.
+ */
+ void setMenuBar( [in] com::sun::star::awt::XMenuBar xMenu );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XTopWindow2.idl b/offapi/com/sun/star/awt/XTopWindow2.idl
new file mode 100644
index 000000000..531b66e6b
--- /dev/null
+++ b/offapi/com/sun/star/awt/XTopWindow2.idl
@@ -0,0 +1,68 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_XTopWindow2_idl__
+#define __com_sun_star_awt_XTopWindow2_idl__
+
+#include <com/sun/star/awt/XTopWindow.idl>
+#include <com/sun/star/lang/IndexOutOfBoundsException.idl>
+
+
+module com { module sun { module star { module awt {
+
+
+/** extends XTopWindow with additional functionality
+ */
+interface XTopWindow2 : XTopWindow
+{
+ /** controls whether the window is currently maximized
+ */
+ [attribute] boolean IsMaximized;
+
+ /** controls whether the window is currently minimized
+ */
+ [attribute] boolean IsMinimized;
+
+ /** controls on which display the window is shown.
+
+ <p>When retrieving this property, in case the window is positioned on multiple displays,
+ the number returned will be of the display containing the upper left pixel of the frame
+ area (that is of the client area on system decorated windows, or the frame area of
+ undecorated resp. owner decorated windows).</p>
+
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if you attempt to set this property to a value which does not correspond to the number
+ of an existing screen.
+
+ @see com::sun::star::awt::DisplayAccess
+ @see com::sun::star::awt::DisplayInfo
+ */
+ [attribute] long Display
+ {
+ set raises (::com::sun::star::lang::IndexOutOfBoundsException);
+ };
+};
+
+
+}; }; }; };
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XTopWindowListener.idl b/offapi/com/sun/star/awt/XTopWindowListener.idl
new file mode 100644
index 000000000..4794627f3
--- /dev/null
+++ b/offapi/com/sun/star/awt/XTopWindowListener.idl
@@ -0,0 +1,81 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XTopWindowListener_idl__
+#define __com_sun_star_awt_XTopWindowListener_idl__
+
+#include <com/sun/star/lang/XEventListener.idl>
+
+#include <com/sun/star/lang/EventObject.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** makes it possible to receive window events.
+
+ @see XActivateListener
+ */
+published interface XTopWindowListener: com::sun::star::lang::XEventListener
+{
+
+ /** is invoked when a window has been opened.
+ */
+ void windowOpened( [in] com::sun::star::lang::EventObject e );
+
+
+ /** is invoked when a window is in the process of being closed.
+
+ <p>The close operation can be overridden at this point.</p>
+ */
+ void windowClosing( [in] com::sun::star::lang::EventObject e );
+
+
+ /** is invoked when a window has been closed.
+ */
+ void windowClosed( [in] com::sun::star::lang::EventObject e );
+
+
+ /** is invoked when a window is iconified.
+ */
+ void windowMinimized( [in] com::sun::star::lang::EventObject e );
+
+
+ /** is invoked when a window is deiconified.
+ */
+ void windowNormalized( [in] com::sun::star::lang::EventObject e );
+
+
+ /** is invoked when a window is activated.
+ */
+ void windowActivated( [in] com::sun::star::lang::EventObject e );
+
+
+ /** is invoked when a window is deactivated.
+ */
+ void windowDeactivated( [in] com::sun::star::lang::EventObject e );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XUnitConversion.idl b/offapi/com/sun/star/awt/XUnitConversion.idl
new file mode 100644
index 000000000..5c834d243
--- /dev/null
+++ b/offapi/com/sun/star/awt/XUnitConversion.idl
@@ -0,0 +1,98 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XUnitConversion_idl__
+#define __com_sun_star_awt_XUnitConversion_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+#include <com/sun/star/awt/Point.idl>
+#include <com/sun/star/awt/Size.idl>
+#include <com/sun/star/lang/IllegalArgumentException.idl>
+
+
+ module com { module sun { module star { module awt {
+
+
+/** allows converting between different measurement units
+
+ @since OOo 3.0
+ */
+interface XUnitConversion: com::sun::star::uno::XInterface
+{
+ /** converts the given Point, which is specified in pixels, into the given logical unit
+
+ @param Point
+ A given Point in a well known type
+ @param TargetUnit
+ A type from com::sun::star::util::MeasureUnit in which the Point will convert to.
+
+ @return
+ Returns a new Point in the TargetUnit type format.
+ */
+ com::sun::star::awt::Point convertPointToLogic( [in] com::sun::star::awt::Point Point, [in] short TargetUnit )
+ raises ( com::sun::star::lang::IllegalArgumentException );
+
+ /** converts the given Point, which is specified in the given logical unit, into pixels
+
+ @param Point
+ A given Point in the SourceUnit type
+ @param SourceUnit
+ The type from com::sun::star::util::MeasureUnit of the Point.
+
+ @return
+ Return a new Point in Pixel type format.
+ */
+ com::sun::star::awt::Point convertPointToPixel( [in] com::sun::star::awt::Point Point, [in] short SourceUnit )
+ raises ( com::sun::star::lang::IllegalArgumentException );
+
+
+ /** converts the given Size, which is specified in pixels, into the given logical unit
+
+ @param Size
+ A given Size in a well known type
+ @param TargetUnit
+ A type from com::sun::star::util::MeasureUnit in which the Size will convert to.
+
+ @return
+ Returns a new Size in the TargetUnit type format.
+ */
+ com::sun::star::awt::Size convertSizeToLogic( [in] com::sun::star::awt::Size Size, [in] short TargetUnit )
+ raises ( com::sun::star::lang::IllegalArgumentException );
+
+ /** converts the given Size, which is specified in the given logical unit, into pixels
+
+ @param Size
+ A given Size in a well known type
+ @param SourceUnit
+ The type from com::sun::star::util::MeasureUnit of the Size.
+
+ @return
+ Returns a new Size in the TargetUnit type format.
+ */
+ com::sun::star::awt::Size convertSizeToPixel( [in] com::sun::star::awt::Size Size, [in] short SourceUnit )
+ raises ( com::sun::star::lang::IllegalArgumentException );
+
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XUnoControlContainer.idl b/offapi/com/sun/star/awt/XUnoControlContainer.idl
new file mode 100644
index 000000000..9c9b38608
--- /dev/null
+++ b/offapi/com/sun/star/awt/XUnoControlContainer.idl
@@ -0,0 +1,62 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XUnoControlContainer_idl__
+#define __com_sun_star_awt_XUnoControlContainer_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+#include <com/sun/star/awt/XTabController.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** gives access to the tab controllers of a UnoControlContainer.
+ */
+published interface XUnoControlContainer: com::sun::star::uno::XInterface
+{
+
+ /** sets a set of tab controllers.
+ */
+ void setTabControllers( [in] sequence<com::sun::star::awt::XTabController> TabControllers );
+
+
+ /** returns all currently specified tab controllers.
+ */
+ sequence<com::sun::star::awt::XTabController> getTabControllers();
+
+
+ /** adds a single tab controller.
+ */
+ void addTabController( [in] com::sun::star::awt::XTabController TabController );
+
+
+ /** removes a single tab controller.
+ */
+ void removeTabController( [in] com::sun::star::awt::XTabController TabController );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XUnoControlDialog.idl b/offapi/com/sun/star/awt/XUnoControlDialog.idl
new file mode 100644
index 000000000..b102e7973
--- /dev/null
+++ b/offapi/com/sun/star/awt/XUnoControlDialog.idl
@@ -0,0 +1,58 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XUnoControlDialog_idl__
+#define __com_sun_star_awt_XUnoControlDialog_idl__
+
+#include <com/sun/star/container/XNameContainer.idl>
+#include <com/sun/star/awt/XControl.idl>
+#include <com/sun/star/awt/XDialog2.idl>
+#include <com/sun/star/awt/XTopWindow.idl>
+#include <com/sun/star/awt/XControlContainer.idl>
+#include <com/sun/star/awt/XWindow.idl>
+
+
+module com { module sun { module star { module awt {
+
+/**
+ The interface for the UnoControlDialog service.
+ This service actually implements a whole whack of interfaces. This is the just
+ the subset that our code needs.
+
+ @since LibreOffice 4.2
+ */
+published interface XUnoControlDialog
+{
+
+ interface com::sun::star::awt::XControlContainer; // -> XInterface
+
+ interface com::sun::star::awt::XControl; // -> XComponent
+
+ interface com::sun::star::awt::XWindow; // -> XComponent
+
+ interface com::sun::star::awt::XTopWindow; // -> XInterface
+
+ interface com::sun::star::awt::XDialog2; // -> XDialog -> XInterface
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XUserInputInterception.idl b/offapi/com/sun/star/awt/XUserInputInterception.idl
new file mode 100644
index 000000000..a5ad73712
--- /dev/null
+++ b/offapi/com/sun/star/awt/XUserInputInterception.idl
@@ -0,0 +1,86 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_XUserInputInterception_idl__
+#define __com_sun_star_awt_XUserInputInterception_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+#include <com/sun/star/awt/XKeyHandler.idl>
+#include <com/sun/star/awt/XMouseClickHandler.idl>
+
+module com { module sun { module star { module awt {
+
+/** Interface to add handlers for key and mouse events. A handler is not a passive
+ listener, it can even consume the event.
+
+ @since OOo 1.1.2
+ */
+published interface XUserInputInterception : ::com::sun::star::uno::XInterface
+{
+ /** Add a new listener that is called on ::com::sun::star::awt::KeyEvent.
+ Every listener is
+ given the opportunity to consume the event, i.e. prevent the not yet
+ called listeners from being called.
+ @param xHandler
+ If this is a valid reference it is inserted into the list of
+ handlers. It is the task of the caller to not register the
+ same handler twice (otherwise that listener will be called
+ twice.)
+ */
+ void addKeyHandler (
+ [in] ::com::sun::star::awt::XKeyHandler xHandler);
+
+
+ /** Remove the specified listener from the list of listeners.
+ @param xHandler
+ If the reference is empty then nothing will be changed. If the
+ handler has been registered twice (or more) then all references
+ will be removed.
+ */
+ void removeKeyHandler (
+ [in] ::com::sun::star::awt::XKeyHandler xHandler);
+
+ /** Add a new listener that is called on ::com::sun::star::awt::MouseEvent.
+ Every listener is
+ given the opportunity to consume the event, i.e. prevent the not yet
+ called listeners from being called.
+ @param xHandler
+ If this is a valid reference it is inserted into the list of
+ handlers. It is the task of the caller to not register the
+ same handler twice (otherwise that listener will be called
+ twice.)
+ */
+ void addMouseClickHandler (
+ [in] ::com::sun::star::awt::XMouseClickHandler xHandler);
+
+ /** Remove the specified listener from the list of listeners.
+ @param xHandler
+ If the reference is empty then nothing will be changed. If the
+ handler has been registered twice (or more) then all references
+ will be removed.
+ */
+ void removeMouseClickHandler (
+ [in] ::com::sun::star::awt::XMouseClickHandler xHandler);
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XVclContainer.idl b/offapi/com/sun/star/awt/XVclContainer.idl
new file mode 100644
index 000000000..62d10494b
--- /dev/null
+++ b/offapi/com/sun/star/awt/XVclContainer.idl
@@ -0,0 +1,63 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XVclContainer_idl__
+#define __com_sun_star_awt_XVclContainer_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+#include <com/sun/star/awt/XVclContainerListener.idl>
+
+#include <com/sun/star/awt/XWindow.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** represents a VCL container window.
+
+ @deprecated
+ */
+published interface XVclContainer: com::sun::star::uno::XInterface
+{
+
+ /** adds the specified container listener to receive
+ container events from this container.
+ */
+ void addVclContainerListener( [in] com::sun::star::awt::XVclContainerListener l );
+
+
+ /** removes the specified container listener so that it
+ no longer receives container events from this container.
+ */
+ void removeVclContainerListener( [in] com::sun::star::awt::XVclContainerListener l );
+
+
+ /** returns all windows.
+ */
+ sequence<com::sun::star::awt::XWindow> getWindows();
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XVclContainerListener.idl b/offapi/com/sun/star/awt/XVclContainerListener.idl
new file mode 100644
index 000000000..090cb66fe
--- /dev/null
+++ b/offapi/com/sun/star/awt/XVclContainerListener.idl
@@ -0,0 +1,59 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XVclContainerListener_idl__
+#define __com_sun_star_awt_XVclContainerListener_idl__
+
+#include <com/sun/star/lang/XEventListener.idl>
+
+#include <com/sun/star/awt/VclContainerEvent.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** makes it possible to receive container events.
+
+ <p>Container events are provided <strong>only</strong> for
+ notification purposes. The VCL will automatically handle
+ add and remove operations internally.</p>
+
+ @deprecated
+ */
+published interface XVclContainerListener: com::sun::star::lang::XEventListener
+{
+
+ /** is invoked when a window has been added to the VCL container window.
+ */
+ void windowAdded( [in] com::sun::star::awt::VclContainerEvent e );
+
+
+ /** is invoked when a window has been removed from the VCL container
+ window.
+ */
+ void windowRemoved( [in] com::sun::star::awt::VclContainerEvent e );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XVclContainerPeer.idl b/offapi/com/sun/star/awt/XVclContainerPeer.idl
new file mode 100644
index 000000000..f4678ce52
--- /dev/null
+++ b/offapi/com/sun/star/awt/XVclContainerPeer.idl
@@ -0,0 +1,61 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XVclContainerPeer_idl__
+#define __com_sun_star_awt_XVclContainerPeer_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+#include <com/sun/star/awt/XWindow.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** gives access to the VCL container window implementation.
+
+ @deprecated
+ */
+published interface XVclContainerPeer: com::sun::star::uno::XInterface
+{
+
+ /** enable as dialog control.
+ */
+ void enableDialogControl( [in] boolean bEnable );
+
+
+ /** sets the tab order.
+ */
+ void setTabOrder( [in] sequence<com::sun::star::awt::XWindow> WindowOrder,
+ [in] sequence<any> Tabs,
+ [in] boolean GroupControl );
+
+
+ /** sets a group.
+ */
+ void setGroup( [in] sequence<com::sun::star::awt::XWindow> Windows );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XVclWindowPeer.idl b/offapi/com/sun/star/awt/XVclWindowPeer.idl
new file mode 100644
index 000000000..8023c112a
--- /dev/null
+++ b/offapi/com/sun/star/awt/XVclWindowPeer.idl
@@ -0,0 +1,96 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XVclWindowPeer_idl__
+#define __com_sun_star_awt_XVclWindowPeer_idl__
+
+#include <com/sun/star/awt/XWindowPeer.idl>
+
+#include <com/sun/star/util/Color.idl>
+#include <com/sun/star/awt/FontDescriptor.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** gives access to the VCL window implementation.
+
+ @deprecated
+ */
+published interface XVclWindowPeer: com::sun::star::awt::XWindowPeer
+{
+
+ /** returns `TRUE` if the window peer is a child, `FALSE` otherwise.
+ */
+ boolean isChild( [in] com::sun::star::awt::XWindowPeer Peer );
+
+
+ /** sets the design mode for use in a design editor.
+ */
+ void setDesignMode( [in] boolean bOn );
+
+
+ /** returns `TRUE` if the window peer is in design mode,
+ `FALSE` otherwise.
+ */
+ boolean isDesignMode();
+
+
+ /** enables clipping of sibling windows.
+ */
+ void enableClipSiblings( [in] boolean bClip );
+
+
+ /** sets the foreground color.
+ */
+ void setForeground( [in] com::sun::star::util::Color Color );
+
+
+ /** sets the control font.
+ */
+ void setControlFont( [in] com::sun::star::awt::FontDescriptor aFont );
+
+
+ /** returns the font, foreground and background color for the specified
+ type.
+ */
+ void getStyles( [in] short nType,
+ [out] com::sun::star::awt::FontDescriptor Font,
+ [out] com::sun::star::util::Color ForegroundColor,
+ [out] com::sun::star::util::Color BackgroundColor );
+
+
+ /** sets the value of the property with the specified name.
+ */
+ void setProperty( [in] string PropertyName,
+ [in] any Value );
+
+
+ /** returns the value of the property with the specified name.
+ */
+ any getProperty( [in] string PropertyName );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XView.idl b/offapi/com/sun/star/awt/XView.idl
new file mode 100644
index 000000000..4a8e3d809
--- /dev/null
+++ b/offapi/com/sun/star/awt/XView.idl
@@ -0,0 +1,81 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XView_idl__
+#define __com_sun_star_awt_XView_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+
+#include <com/sun/star/awt/XGraphics.idl>
+
+#include <com/sun/star/awt/Size.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** makes it possible to attach an output device to the object.
+
+ <p>This kind of object is called view-object.</p>
+ */
+published interface XView: com::sun::star::uno::XInterface
+{
+
+ /** sets the output device.
+ */
+ boolean setGraphics( [in] com::sun::star::awt::XGraphics aDevice );
+
+
+ /** returns the output device which was set using the method
+ XView::setGraphics().
+ */
+ com::sun::star::awt::XGraphics getGraphics();
+
+
+ /** returns the size of the object in device units.
+
+ <p>A device must be set before.</p>
+ */
+ com::sun::star::awt::Size getSize();
+
+
+ /** draws the object at the specified position.
+
+ <p>If the output should be clipped, the caller has to set the
+ clipping region.</p>
+ */
+ void draw( [in] long nX,
+ [in] long nY );
+
+
+ /** sets the zoom factor.
+
+ <p>The zoom factor only affects the content of the view, not the size.</p>
+ */
+ void setZoom( [in] float fZoomX,
+ [in] float fZoomY );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XWindow.idl b/offapi/com/sun/star/awt/XWindow.idl
new file mode 100644
index 000000000..fc9a27ffc
--- /dev/null
+++ b/offapi/com/sun/star/awt/XWindow.idl
@@ -0,0 +1,168 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XWindow_idl__
+#define __com_sun_star_awt_XWindow_idl__
+
+#include <com/sun/star/lang/XComponent.idl>
+
+#include <com/sun/star/awt/Rectangle.idl>
+
+#include <com/sun/star/awt/XWindowListener.idl>
+
+#include <com/sun/star/awt/XFocusListener.idl>
+
+#include <com/sun/star/awt/XKeyListener.idl>
+
+#include <com/sun/star/awt/XMouseListener.idl>
+
+#include <com/sun/star/awt/XMouseMotionListener.idl>
+
+#include <com/sun/star/awt/XPaintListener.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies the basic operations for a window component.
+
+ <p>A window is a rectangular region on an output device with
+ its own position, size, and internal coordinate system.
+ A window is used for displaying data. In addition, the window
+ receives events from the user.</p>
+ */
+published interface XWindow: com::sun::star::lang::XComponent
+{
+
+ /** sets the outer bounds of the window.
+
+ @param X
+ the x-coordinate of the window.
+
+ @param Y
+ the y-coordinate of the window.
+
+ @param Width
+ the width of the window.
+
+ @param Height
+ the height of the window.
+
+ @param Flags
+ Flags are of type PosSize and specify, which parameters
+ are taken into account when setting the outer bounds of the window.
+ */
+ void setPosSize( [in] long X,
+ [in] long Y,
+ [in] long Width,
+ [in] long Height,
+ [in] short Flags );
+
+
+ /** returns the outer bounds of the window.
+ */
+ com::sun::star::awt::Rectangle getPosSize();
+
+
+ /** shows or hides the window depending on the parameter.
+ */
+ void setVisible( [in] boolean Visible );
+
+
+ /** enables or disables the window depending on the parameter.
+ */
+ void setEnable( [in] boolean Enable );
+
+
+ /** sets the focus to the window.
+ */
+ void setFocus();
+
+
+ /** adds a window listener to the object.
+
+ @param xListener
+ the listener to add. If this listener also supports the XWindowListener2 interface,
+ it will receive the additional events declared in XWindowListener2.
+ */
+ void addWindowListener( [in] com::sun::star::awt::XWindowListener xListener );
+
+
+ /** removes the specified window listener from the listener list.
+ */
+ void removeWindowListener( [in] com::sun::star::awt::XWindowListener xListener );
+
+
+ /** adds a focus listener to the object.
+ */
+ void addFocusListener( [in] com::sun::star::awt::XFocusListener xListener );
+
+
+ /** removes the specified focus listener from the listener list.
+ */
+ void removeFocusListener( [in] com::sun::star::awt::XFocusListener xListener );
+
+
+ /** adds a key listener to the object.
+ */
+ void addKeyListener( [in] com::sun::star::awt::XKeyListener xListener );
+
+
+ /** removes the specified key listener from the listener list.
+ */
+ void removeKeyListener( [in] com::sun::star::awt::XKeyListener xListener );
+
+
+ /** adds a mouse listener to the object.
+ */
+ void addMouseListener( [in] com::sun::star::awt::XMouseListener xListener );
+
+
+ /** removes the specified mouse listener from the listener list.
+ */
+ void removeMouseListener( [in] com::sun::star::awt::XMouseListener xListener );
+
+
+ /** adds a mouse motion listener to the object.
+ */
+ void addMouseMotionListener( [in] com::sun::star::awt::XMouseMotionListener xListener );
+
+
+ /** removes the specified mouse motion listener from the listener list.
+ */
+ void removeMouseMotionListener( [in] com::sun::star::awt::XMouseMotionListener xListener );
+
+
+ /** adds a paint listener to the object.
+ */
+ void addPaintListener( [in] com::sun::star::awt::XPaintListener xListener );
+
+
+ /** removes the specified paint listener from the listener list.
+ */
+ void removePaintListener( [in] com::sun::star::awt::XPaintListener xListener );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XWindow2.idl b/offapi/com/sun/star/awt/XWindow2.idl
new file mode 100644
index 000000000..dab677ea0
--- /dev/null
+++ b/offapi/com/sun/star/awt/XWindow2.idl
@@ -0,0 +1,82 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XWindow2_idl__
+#define __com_sun_star_awt_XWindow2_idl__
+
+#include <com/sun/star/awt/XWindow.idl>
+
+#include <com/sun/star/awt/Size.idl>
+
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** specifies some extended operations for a window component.
+
+ <p>A window is a rectangular region on an output device with
+ its own position, size, and internal coordinate system.
+ A window is used for displaying data. In addition, the window
+ receives events from the user.</p>
+ */
+published interface XWindow2: com::sun::star::awt::XWindow
+{
+
+ /** sets the inner bounds of the window, also known as the client size
+
+ @param Size
+ the inner width and height of the window.
+
+ */
+ void setOutputSize( [in] com::sun::star::awt::Size Size );
+
+
+ /** returns the inner bounds of the window, also known as the client size.
+ */
+ com::sun::star::awt::Size getOutputSize();
+
+
+ /** returns the visibility state of the window
+ */
+ boolean isVisible();
+
+
+ /** returns the activation state of the window
+ */
+ boolean isActive();
+
+
+ /** returns the enabled state of the window
+ */
+ boolean isEnabled();
+
+
+ /** returns the focus state of the window
+ */
+ boolean hasFocus();
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XWindowListener.idl b/offapi/com/sun/star/awt/XWindowListener.idl
new file mode 100644
index 000000000..3ce4e69ae
--- /dev/null
+++ b/offapi/com/sun/star/awt/XWindowListener.idl
@@ -0,0 +1,69 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XWindowListener_idl__
+#define __com_sun_star_awt_XWindowListener_idl__
+
+#include <com/sun/star/lang/XEventListener.idl>
+
+#include <com/sun/star/awt/WindowEvent.idl>
+
+#include <com/sun/star/lang/EventObject.idl>
+
+
+
+ module com { module sun { module star { module awt {
+
+
+/** makes it possible to receive window events.
+
+ <p>Component events are provided <strong>only</strong> for
+ notification purposes. Moves and resizes will be handled
+ internally by the window component, so that GUI layout works properly
+ regardless of whether a program registers such a listener or not.</p>
+ */
+published interface XWindowListener: com::sun::star::lang::XEventListener
+{
+
+ /** is invoked when the window has been resized.
+ */
+ void windowResized( [in] com::sun::star::awt::WindowEvent e );
+
+
+ /** is invoked when the window has been moved.
+ */
+ void windowMoved( [in] com::sun::star::awt::WindowEvent e );
+
+
+ /** is invoked when the window has been shown.
+ */
+ void windowShown( [in] com::sun::star::lang::EventObject e );
+
+
+ /** is invoked when the window has been hidden.
+ */
+ void windowHidden( [in] com::sun::star::lang::EventObject e );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XWindowListener2.idl b/offapi/com/sun/star/awt/XWindowListener2.idl
new file mode 100644
index 000000000..79e36a8de
--- /dev/null
+++ b/offapi/com/sun/star/awt/XWindowListener2.idl
@@ -0,0 +1,48 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XWindowListener2_idl__
+#define __com_sun_star_awt_XWindowListener2_idl__
+
+#include <com/sun/star/awt/XWindowListener.idl>
+
+
+module com { module sun { module star { module awt {
+
+
+/** allows receive window-related events, additional to the ones received by an XWindowListener
+ */
+interface XWindowListener2: XWindowListener
+{
+
+ /** is called when the window has been enabled.
+ */
+ void windowEnabled( [in] com::sun::star::lang::EventObject e );
+
+
+ /** is called when the window has been disabled.
+ */
+ void windowDisabled( [in] com::sun::star::lang::EventObject e );
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/XWindowPeer.idl b/offapi/com/sun/star/awt/XWindowPeer.idl
new file mode 100644
index 000000000..d850d9632
--- /dev/null
+++ b/offapi/com/sun/star/awt/XWindowPeer.idl
@@ -0,0 +1,77 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_XWindowPeer_idl__
+#define __com_sun_star_awt_XWindowPeer_idl__
+
+#include <com/sun/star/lang/XComponent.idl>
+
+#include <com/sun/star/util/Color.idl>
+#include <com/sun/star/awt/Rectangle.idl>
+
+
+ module com { module sun { module star { module awt {
+
+ published interface XToolkit;
+ published interface XPointer;
+
+
+/** gives access to the actual window implementation on the device.
+ */
+published interface XWindowPeer: com::sun::star::lang::XComponent
+{
+
+ /** returns the toolkit which created this object.
+ */
+ XToolkit getToolkit();
+
+
+ /** sets the mouse pointer.
+ */
+ void setPointer( [in] XPointer Pointer );
+
+
+ /** sets the background color.
+ */
+ void setBackground( [in] com::sun::star::util::Color Color );
+
+
+ /** invalidates the whole window with the specified
+ InvalidateStyle.
+
+ @param Flags see com.sun.star.awt.InvalidateStyle
+ */
+ void invalidate( [in] short Flags );
+
+
+ /** invalidates a rectangular area of the window with the specified
+ InvalidateStyle.
+
+ @param Rect the area to invalidate.
+ @param Flags see com.sun.star.awt.InvalidateStyle
+ */
+ void invalidateRect( [in] Rectangle Rect, [in] short Flags );
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/grid/DefaultGridColumnModel.idl b/offapi/com/sun/star/awt/grid/DefaultGridColumnModel.idl
new file mode 100644
index 000000000..4f7a9a833
--- /dev/null
+++ b/offapi/com/sun/star/awt/grid/DefaultGridColumnModel.idl
@@ -0,0 +1,38 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_grid_DefaultGridColumnModel_idl__
+#define __com_sun_star_awt_grid_DefaultGridColumnModel_idl__
+
+#include <com/sun/star/awt/grid/XGridColumnModel.idl>
+
+
+ module com { module sun { module star { module awt { module grid {
+
+
+/** If you do not want to implement the XGridColumnModel yourself, use this service.
+ @since OOo 3.3
+ */
+service DefaultGridColumnModel : com::sun::star::awt::grid::XGridColumnModel;
+
+
+}; }; }; };};
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/grid/DefaultGridDataModel.idl b/offapi/com/sun/star/awt/grid/DefaultGridDataModel.idl
new file mode 100644
index 000000000..08c17b3ec
--- /dev/null
+++ b/offapi/com/sun/star/awt/grid/DefaultGridDataModel.idl
@@ -0,0 +1,45 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_grid_DefaultGridDataModel_idl__
+#define __com_sun_star_awt_grid_DefaultGridDataModel_idl__
+
+#include <com/sun/star/awt/grid/XMutableGridDataModel.idl>
+
+
+ module com { module sun { module star { module awt { module grid {
+
+
+/** If you do not want to implement the XGridDataModel yourself, use this service.
+
+ <p>The <code>DefaultGridDataModel</code> implementation is a dumb container of tabular data. You can add
+ and remove rows, modify cell values, and the like.</p>
+
+ <p>The implementation will implicitly increase its column count if you add a row which has more values than
+ the current column count.</p>
+
+ @since OOo 3.3
+ */
+published service DefaultGridDataModel : ::com::sun::star::awt::grid::XMutableGridDataModel;
+
+
+}; }; }; };};
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/grid/GridColumn.idl b/offapi/com/sun/star/awt/grid/GridColumn.idl
new file mode 100644
index 000000000..d34604781
--- /dev/null
+++ b/offapi/com/sun/star/awt/grid/GridColumn.idl
@@ -0,0 +1,42 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_grid_GridColumn_idl__
+#define __com_sun_star_awt_grid_GridColumn_idl__
+
+#include <com/sun/star/awt/grid/XGridColumn.idl>
+
+
+ module com { module sun { module star { module awt { module grid {
+
+
+/** Represents a column as used by the DefaultGridColumnModel
+
+ @since OOo 3.3
+ */
+service GridColumn
+{
+ interface com::sun::star::awt::grid::XGridColumn;
+};
+
+
+}; }; }; };};
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/grid/GridColumnEvent.idl b/offapi/com/sun/star/awt/grid/GridColumnEvent.idl
new file mode 100644
index 000000000..2d8dd74e7
--- /dev/null
+++ b/offapi/com/sun/star/awt/grid/GridColumnEvent.idl
@@ -0,0 +1,51 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_grid_GridColumnEvent_idl__
+#define __com_sun_star_awt_grid_GridColumnEvent_idl__
+
+#include <com/sun/star/lang/EventObject.idl>
+
+
+module com { module sun { module star { module awt { module grid {
+
+/** An event used by a XGridColumn to notify changes in the column.
+
+ @since OOo 3.3
+ */
+published struct GridColumnEvent : ::com::sun::star::lang::EventObject
+{
+ /** Contains the name of the attributes whose value changed. **/
+ string AttributeName;
+
+ /** Contains the old value **/
+ any OldValue;
+
+ /** Contains the new value **/
+ any NewValue;
+
+ /** Contains the index of the changed column**/
+ long ColumnIndex;
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/grid/GridDataEvent.idl b/offapi/com/sun/star/awt/grid/GridDataEvent.idl
new file mode 100644
index 000000000..922dd34fa
--- /dev/null
+++ b/offapi/com/sun/star/awt/grid/GridDataEvent.idl
@@ -0,0 +1,68 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_grid_GridDataEvent_idl__
+#define __com_sun_star_awt_grid_GridDataEvent_idl__
+
+#include <com/sun/star/lang/EventObject.idl>
+
+
+module com { module sun { module star { module awt { module grid {
+
+
+/** used to notify changes in the data represented by an XMutableGridDataModel.
+
+ <p>Effectively, a <code>GridDataEvent</code> denotes a continuous two-dimensional cell range
+ within a grid's data model, which is affected by a certain change.</p>
+
+ @see XMutableGridDataModel
+ @see XGridDataListener
+
+ @since OOo 3.3
+ */
+published struct GridDataEvent: com::sun::star::lang::EventObject
+{
+ /** denotes the first column affected by a change.
+
+ <p>If <code>FirstColumn</code> is -1, the listener should assume that all rows of a grid's data model
+ are affected.</p>
+ */
+ long FirstColumn;
+
+ /** denotes the last column affected by a change
+ */
+ long LastColumn;
+
+ /** denotes the first row affected by a change.
+
+ <p>If <code>FirstRow</code> is -1, the listener should assume that all rows of a grid's data model
+ are affected.</p>
+ */
+ long FirstRow;
+
+ /** denotes the last row affected by a change
+ */
+ long LastRow;
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/grid/GridInvalidDataException.idl b/offapi/com/sun/star/awt/grid/GridInvalidDataException.idl
new file mode 100644
index 000000000..6b12a5d82
--- /dev/null
+++ b/offapi/com/sun/star/awt/grid/GridInvalidDataException.idl
@@ -0,0 +1,44 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_grid_GridInvalidDataException_idl__
+#define __com_sun_star_awt_grid_GridInvalidDataException_idl__
+
+#include <com/sun/star/uno/RuntimeException.idl>
+
+
+
+module com { module sun { module star { module awt { module grid {
+
+
+/** Exception is thrown to indicate that set data is invalid, e.g. type of data is unknown
+ or data count doesn't match with column count.
+
+ @since OOo 3.3
+ */
+exception GridInvalidDataException : com::sun::star::uno::RuntimeException
+{
+
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/grid/GridInvalidModelException.idl b/offapi/com/sun/star/awt/grid/GridInvalidModelException.idl
new file mode 100644
index 000000000..ab5e03dea
--- /dev/null
+++ b/offapi/com/sun/star/awt/grid/GridInvalidModelException.idl
@@ -0,0 +1,43 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_grid_GridInvalidModelException_idl__
+#define __com_sun_star_awt_grid_GridInvalidModelException_idl__
+
+#include <com/sun/star/uno/RuntimeException.idl>
+
+
+
+module com { module sun { module star { module awt { module grid {
+
+
+/** Exception is thrown when data or column model isn't set.
+
+ @since OOo 3.3
+ */
+exception GridInvalidModelException : com::sun::star::uno::RuntimeException
+{
+
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/grid/GridSelectionEvent.idl b/offapi/com/sun/star/awt/grid/GridSelectionEvent.idl
new file mode 100644
index 000000000..dc441d83f
--- /dev/null
+++ b/offapi/com/sun/star/awt/grid/GridSelectionEvent.idl
@@ -0,0 +1,49 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_grid_GridSelectionEvent_idl__
+#define __com_sun_star_awt_grid_GridSelectionEvent_idl__
+
+#include <com/sun/star/lang/EventObject.idl>
+
+
+module com { module sun { module star { module awt { module grid {
+
+
+/** An event used by a XGridControl to notify changes in its row selection.
+
+ @see XGridRowSelection
+ @see XGridSelectionListener
+ */
+published struct GridSelectionEvent: com::sun::star::lang::EventObject
+{
+ /** denotes the indexes of the rows being selected at the time the event was fired.
+ */
+ sequence< long > SelectedRowIndexes;
+
+ /** denotes the indexes of the columns being selected at the time the event was fired.
+ */
+ sequence< long > SelectedColumnIndexes;
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/grid/SortableGridDataModel.idl b/offapi/com/sun/star/awt/grid/SortableGridDataModel.idl
new file mode 100644
index 000000000..ca92c1575
--- /dev/null
+++ b/offapi/com/sun/star/awt/grid/SortableGridDataModel.idl
@@ -0,0 +1,93 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_grid_SortableGridDataModel_idl__
+#define __com_sun_star_awt_grid_SortableGridDataModel_idl__
+
+#include <com/sun/star/i18n/XCollator.idl>
+#include <com/sun/star/lang/IllegalArgumentException.idl>
+
+
+module com { module sun { module star { module awt { module grid {
+
+interface XSortableMutableGridDataModel;
+interface XMutableGridDataModel;
+
+
+/** provides a default implementation of a XSortableGridData.
+
+ <p>This service must be created with a secondary grid data model, which all actual data requests are delegated to.
+ But before providing this data to the service's own clients, it is sorted, according to the sort order defined
+ via the <code>XSortableGridData</code> interface.</p>
+
+ <p>The service implementation is able to compare the default scalar types, plus strings.</p>
+
+ <p>For determining the data type of a column which the data should be sorted by, the first non-`VOID` data encountered
+ in this column is taken into account. Further read requests to this column will assume that all non-`VOID` data is of
+ the same type.</p>
+
+ <p>Consequently, you cannot use this service with data sets containing heterogeneous data in a given column.</p>
+
+ <p>All requests made via the XMutableGridDataModel are delegated to the <code>XMutableGridDataModel</code>
+ instance passed in the service constructor.</p>
+
+ <p>Note that changing the data might result in the sort order being destroyed. If you want to ensure
+ that the data represented by the model is still sorted after your modifications, you should call
+ XSortableGridData::sortByColumn(), again.</p>
+ */
+service SortableGridDataModel : XSortableMutableGridDataModel
+{
+ /** creates a new instance of the <code>SortableGridDataModel</code>
+
+ <p>For string comparison, a default ::com::sun::star::i18n::Collator, based on the system's
+ locale, will be used.</p>
+
+ @param DelegatorModel
+ the data model to which read requests are delegated.
+ @throws ::com::sun::star::lang::IllegalArgumentException
+ if the given <code>DelegatorModel</code> is `NULL`
+ */
+ create(
+ [in] XMutableGridDataModel DelegatorModel
+ )
+ raises ( ::com::sun::star::lang::IllegalArgumentException );
+
+ /** creates a new instance of the ScortableDefaultGridDataModel, passing a collator to be used for string comparison.
+
+ @param DelegatorModel
+ is the data model to which read requests are delegated
+ @param Collator
+ is the collator to be used for string comparison
+ @throws ::com::sun::star::lang::IllegalArgumentException
+ if the given <code>DelegatorModel</code> is `NULL`
+ */
+ createWithCollator(
+ [in] XMutableGridDataModel DelegatorModel,
+ [in] ::com::sun::star::i18n::XCollator Collator
+ )
+ raises ( ::com::sun::star::lang::IllegalArgumentException );
+};
+
+
+}; }; }; }; };
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/grid/UnoControlGrid.idl b/offapi/com/sun/star/awt/grid/UnoControlGrid.idl
new file mode 100644
index 000000000..caa511256
--- /dev/null
+++ b/offapi/com/sun/star/awt/grid/UnoControlGrid.idl
@@ -0,0 +1,70 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_grid_UnoControlGrid_idl__
+#define __com_sun_star_awt_grid_UnoControlGrid_idl__
+
+#include <com/sun/star/awt/UnoControl.idl>
+
+#include <com/sun/star/awt/grid/XGridControl.idl>
+
+#include <com/sun/star/awt/grid/XGridRowSelection.idl>
+
+
+ module com { module sun { module star { module awt { module grid {
+
+
+
+/** A control that displays a set of tabular data.
+
+ <h4>The Column Model</h4>
+
+ <p>The horizontal structure of the grid is defined by the XGridColumnModel implemented in DefaultGridColumnModel
+ The XGridColumn implemented in GridColumn describes the properties and behavior of a single column. Use the XGridColumnModel::addColumn() to add a column to the column model.
+ </p>
+
+ <h4>The Data Model</h4>
+ <p> All row data are stored in the XGridDataModel.
+ Use the DefaultGridDataModel to add XGridDataModel::addRow() or remove XGridDataModel::removeRow() rows.
+ </p>
+
+ <p>The column and data model must be set at the UnoControlGridModel::ColumnModel and UnoControlGridModel::GridDataModel properties.</p>
+
+ <h4>Selection</h4>
+ <p>If you are interested in knowing when the selection changes implement a
+ XGridSelectionListener and add the instance with the method
+ XGridRowSelection::addSelectionListener().
+ You than will be notified for any selection change.</p>
+
+ @since OOo 3.3
+ */
+service UnoControlGrid
+{
+ service com::sun::star::awt::UnoControl;
+
+ interface ::com::sun::star::awt::grid::XGridControl;
+
+ interface ::com::sun::star::awt::grid::XGridRowSelection;
+};
+
+
+}; }; }; };};
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/grid/UnoControlGridModel.idl b/offapi/com/sun/star/awt/grid/UnoControlGridModel.idl
new file mode 100644
index 000000000..687a2bd50
--- /dev/null
+++ b/offapi/com/sun/star/awt/grid/UnoControlGridModel.idl
@@ -0,0 +1,243 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_grid_UnoControlGridModel_idl__
+#define __com_sun_star_awt_grid_UnoControlGridModel_idl__
+
+#include <com/sun/star/awt/grid/XGridColumnModel.idl>
+#include <com/sun/star/awt/grid/XGridDataModel.idl>
+#include <com/sun/star/awt/UnoControlModel.idl>
+#include <com/sun/star/view/SelectionType.idl>
+#include <com/sun/star/awt/FontDescriptor.idl>
+#include <com/sun/star/style/VerticalAlignment.idl>
+#include <com/sun/star/util/Color.idl>
+
+
+module com { module sun { module star { module awt { module grid {
+
+
+/** specifies the standard model of a UnoControlGrid control.
+
+ @since OOo 3.3
+ */
+published service UnoControlGridModel
+{
+ /** specifies the standard model of a com::sun::star::awt::UnoControl. */
+ service com::sun::star::awt::UnoControlModel;
+
+ /** Specifies whether the grid control should display a special header column.
+
+ <p>The default value is `FALSE`</p>
+ */
+ [property] boolean ShowRowHeader;
+
+ /** specifies the width of the row header column, if applicable.
+
+ <p>The width is specified in application font units - see com::sun::star::util::MeasureUnit.</p>
+
+ <p>The value given here is ignored if #ShowRowHeader is `FALSE`.</p>
+ */
+ [property] long RowHeaderWidth;
+
+ /** Specifies whether the grid control should display a title row.
+
+ <p>The default value is `TRUE`</p>
+ */
+ [property] boolean ShowColumnHeader;
+
+ /** specifies the height of the column header row, if applicable.
+
+ <p>The height is specified in application font units - see com::sun::star::util::MeasureUnit.</p>
+
+ <p>The value given here is ignored if #ShowColumnHeader is `FALSE`.</p>
+
+ <p>If the property is `VOID`, the grid control shall automatically determine a height which conveniently allows,
+ according to the used font, to display one line of text.</p>
+ */
+ [property, maybevoid] long ColumnHeaderHeight;
+
+ /** Specifies the height of rows in the grid control.
+
+ <p>The height is specified in application font units - see com::sun::star::util::MeasureUnit.</p>
+ */
+ [property, maybevoid] long RowHeight;
+
+ /** Specifies the XGridColumnModel that is providing the column structure.
+
+ <p>You can implement your own instance of XGridColumnModel or use
+ the DefaultGridColumnModel.
+
+ <p>The column model is in the ownership of the grid model: When you set a new column model, or dispose
+ the grid model, then the (old) column model is disposed, too.</p>
+
+ <p>The default for this property is an empty instance of the DefaultGridColumnModel.</p>
+ */
+ [property] XGridColumnModel ColumnModel;
+
+ /** Specifies the XGridDataModel that is providing the hierarchical data.
+
+ <p>You can implement your own instance of XGridDataModel or use
+ the DefaultGridDataModel.
+
+ <p>The data model is in the ownership of the grid model: When you set a new data model, or dispose
+ the grid model, then the (old) data model is disposed, too.</p>
+
+ <p>The default for this property is an empty instance of the DefaultGridDataModel.</p>
+ */
+ [property] XGridDataModel GridDataModel;
+
+ /** Specifies the vertical scrollbar mode.
+ <p>The default value is `FALSE`</p>
+ */
+ [property] boolean HScroll;
+
+ /** Specifies the horizontal scrollbar mode.
+ <p>The default value is `FALSE`</p>
+ */
+ [property] boolean VScroll;
+
+ /** Specifies that the control can be reached with the TAB key.
+ */
+ [property] boolean Tabstop;
+
+ /** Specifies the selection mode that is enabled for this grid control.
+ <p>The default value is com::sun::star::view::SelectionType::SINGLE</p>
+ */
+ [property] ::com::sun::star::view::SelectionType SelectionModel;
+
+ /** controls whether or not to paint horizontal and vertical lines between the grid cells.
+
+ @see GridLineColor
+ */
+ [property] boolean UseGridLines;
+
+ /** specifies the color to be used when drawing lines between cells
+
+ <p>If this property has a value of `VOID`, the grid control renderer will use some default color,
+ depending on the control's style settings.</p>
+
+ @see UseGridLines
+ */
+ [property, maybevoid] ::com::sun::star::util::Color GridLineColor;
+
+ /** specifies the color to be used when drawing the background of row or column headers
+
+ <p>If this property has a value of `VOID`, the grid control renderer will use some default color,
+ depending on the control's style settings.</p>
+ */
+ [property, maybevoid] ::com::sun::star::util::Color HeaderBackgroundColor;
+
+ /** specifies the color to be used when drawing the text within row or column headers
+
+ <p>If this property has a value of `VOID`, the grid control renderer will use some default color,
+ depending on the control's style settings.</p>
+ */
+ [property, maybevoid] ::com::sun::star::util::Color HeaderTextColor;
+
+ /** specifies the color to be used when drawing the background of selected cells, while the control has the focus.
+
+ <p>If this property has a value of `VOID`, the grid control renderer will use some default color,
+ depending on the control's style settings.</p>
+ */
+ [property, maybevoid] ::com::sun::star::util::Color ActiveSelectionBackgroundColor;
+
+ /** specifies the color to be used when drawing the background of selected cells, while the control does not have
+ the focus.
+
+ <p>If this property has a value of `VOID`, the grid control renderer will use some default color,
+ depending on the control's style settings.</p>
+ */
+ [property, maybevoid] ::com::sun::star::util::Color InactiveSelectionBackgroundColor;
+
+ /** specifies the color to be used when drawing the text of selected cells, while the control has the focus.
+
+ <p>If this property has a value of `VOID`, the grid control renderer will use some default color,
+ depending on the control's style settings.</p>
+ */
+ [property, maybevoid] ::com::sun::star::util::Color ActiveSelectionTextColor;
+
+ /** specifies the color to be used when drawing the text of selected cells, while the control does not have
+ the focus.
+
+ <p>If this property has a value of `VOID`, the grid control renderer will use some default color,
+ depending on the control's style settings.</p>
+ */
+ [property, maybevoid] ::com::sun::star::util::Color InactiveSelectionTextColor;
+
+ /** specifies the colors to be used as background for data rows.
+
+ <p>If this sequence is non-empty, the data rows will be rendered with alternating background colors: Assuming
+ the sequence has <code>n</code> elements, each row will use the background color as specified by its number's
+ remainder modulo <code>n</code>.</p>
+
+ <p>If this sequence is empty, all rows will use the same background color as the control as whole.</p>
+
+ <p>If this property has a value of `VOID`, rows will be painted
+ in alternating background colors, every second row having a background color derived from the control's
+ selection color.</p>
+ */
+ [property, maybevoid] sequence< ::com::sun::star::util::Color > RowBackgroundColors;
+
+ /** specifies the vertical alignment of the content in the control.
+ */
+ [property] com::sun::star::style::VerticalAlignment VerticalAlign;
+
+ /** specifies the font attributes of the text in the control.
+ */
+ [property] com::sun::star::awt::FontDescriptor FontDescriptor;
+
+ /** specifies the color to be used when drawing cell texts
+
+ <p>If this property has a value of `VOID`, the grid control renderer will use some default color,
+ depending on the control's style settings.</p>
+ */
+ [property, maybevoid] ::com::sun::star::util::Color TextColor;
+
+ /** specifies the color to be used when drawing text lines (underlining and strikethrough)
+
+ <p>If this property has a value of `VOID`, the grid control renderer will use some default color,
+ depending on the control's style settings.</p>
+ */
+ [property, maybevoid] com::sun::star::util::Color TextLineColor;
+
+ /** specifies the com::sun::star::text::FontEmphasis
+ value of the text in the control.
+ */
+ [property] short FontEmphasisMark;
+
+ /** specifies the com::sun::star::text::FontRelief
+ value of the text in the control.
+ */
+ [property] short FontRelief;
+
+ /** specifies the help text of the control.
+ */
+ [property] string HelpText;
+
+ /** specifies the help URL of the control.
+ */
+ [property] string HelpURL;
+
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/grid/XGridColumn.idl b/offapi/com/sun/star/awt/grid/XGridColumn.idl
new file mode 100644
index 000000000..74cacb95d
--- /dev/null
+++ b/offapi/com/sun/star/awt/grid/XGridColumn.idl
@@ -0,0 +1,142 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_grid_XGridColumn_idl__
+#define __com_sun_star_awt_grid_XGridColumn_idl__
+
+#include <com/sun/star/lang/XComponent.idl>
+#include <com/sun/star/style/HorizontalAlignment.idl>
+#include <com/sun/star/lang/IllegalArgumentException.idl>
+#include <com/sun/star/awt/grid/XGridColumnListener.idl>
+#include <com/sun/star/util/XCloneable.idl>
+
+
+module com { module sun { module star { module awt { module grid {
+
+
+/** The XGridColumn defines the properties and behavior of a column
+ in a grid control.
+ @since OOo 3.3
+ */
+published interface XGridColumn
+{
+ /** implements life time control for the component
+ */
+ interface ::com::sun::star::lang::XComponent;
+
+ /** allows cloning the complete grid column
+ */
+ interface ::com::sun::star::util::XCloneable;
+
+ /** specifies an identifier of the column
+
+ <p>This identifier will not be evaluated by the grid control, or its model. It is merely for clients
+ to identify particular columns.</p>
+ */
+ [attribute] any Identifier;
+
+ /** specifies the current width of the column.
+ */
+ [attribute] long ColumnWidth;
+
+ /** specifies the minimal width the column can have.
+ */
+ [attribute] long MinWidth;
+
+ /** specifies the maximal width the column can have.
+ */
+ [attribute] long MaxWidth;
+
+ /** controls whether or not the column's width is fixed or not.
+
+ <p>If this is `TRUE`, the user can interactively change the column's width. Also, the column is subject to
+ auto-resizing, if its #Flexibility attribute is greater <code>0</code>.</p>
+ */
+ [attribute] boolean Resizeable;
+
+ /** specifies the flexibility of the column when it is automatically resized due to the grid control as a whole
+ being resized.
+
+ <p>Specify <code>0</code> here if you do not want the column to be resized automatically.</p>
+
+ <p>If a column has a flexibility greater than 0, it is set in relationship to the flexibility of all
+ other such columns, and the respective widths of the columns are changed in the same relationship.</p>
+
+ <p>Note that a column's flexibility is ignored if its #Resizeable attribute is
+ `FALSE`.</p>
+
+ <p>A column's flexibility cannot be negative, attempts to set a negative value will raise an exception.</p>
+ */
+ [attribute] long Flexibility
+ {
+ set raises ( ::com::sun::star::lang::IllegalArgumentException );
+ };
+
+ /** Specifies the horizontal alignment of the content in the control.
+ */
+ [attribute] ::com::sun::star::style::HorizontalAlignment HorizontalAlign;
+
+ /** A title is displayed in the column header row if UnoControlGridModel::ShowColumnHeader() is set to `TRUE`**/
+ [attribute] string Title;
+
+ /** is the help text associated with the column.
+
+ <p>A grid control will usually display a column's help text as tooltip.</p>
+ */
+ [attribute] string HelpText;
+
+ /** denotes the index of the column within the grid column model it belongs to
+
+ <p>If the column is not yet part of a column model, <code>Index</code> is -1.</p>
+ */
+ [attribute, readonly] long Index;
+
+ /** denotes the index of the data column which should be used to fetch this grid column's data
+
+ <p>A grid control has a column model and a data model, both containing a possibly different number of columns.
+ The <code>DataColumnIndex</code> attribute defines the index of the column within the data model, which should
+ be used to retrieve actual data.</p>
+
+ <p>Using this, you can do runtime changes to the column model, i.e. insertion and removal of columns, without
+ necessarily needing to adjust the data model, too.</p>
+
+ <p>If <code>DataColumnIndex</code> is negative, the it will be ignored, then the column's index within its
+ column model, as determined by the #Index attribute, will be used.</p>
+ */
+ [attribute] long DataColumnIndex;
+
+ /** Adds a listener for the GridColumnEvent posted after the grid changes.
+ @param Listener
+ the listener to add.
+ */
+ void addGridColumnListener( [in] XGridColumnListener Listener);
+
+
+ /** Removes a listener previously added with addColumnListener().
+ @param Listener
+ the listener to remove.
+ */
+ void removeGridColumnListener( [in] XGridColumnListener Listener);
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/grid/XGridColumnListener.idl b/offapi/com/sun/star/awt/grid/XGridColumnListener.idl
new file mode 100644
index 000000000..13a38229c
--- /dev/null
+++ b/offapi/com/sun/star/awt/grid/XGridColumnListener.idl
@@ -0,0 +1,45 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_grid_XGridColumnListener_idl__
+#define __com_sun_star_awt_grid_XGridColumnListener_idl__
+
+#include <com/sun/star/awt/grid/GridColumnEvent.idl>
+#include <com/sun/star/lang/XEventListener.idl>
+
+
+module com { module sun { module star { module awt { module grid {
+
+
+/** An instance of this interface is used by the XGridColumnModel to
+ get notifications about column model changes.
+
+ @since OOo 3.3
+ */
+published interface XGridColumnListener : ::com::sun::star::lang::XEventListener
+{
+ /** Invoked after a column was modified.
+ */
+ void columnChanged( [in] GridColumnEvent event );
+};
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/grid/XGridColumnModel.idl b/offapi/com/sun/star/awt/grid/XGridColumnModel.idl
new file mode 100644
index 000000000..3e96e8451
--- /dev/null
+++ b/offapi/com/sun/star/awt/grid/XGridColumnModel.idl
@@ -0,0 +1,135 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_grid_XGridColumnModel_idl__
+#define __com_sun_star_awt_grid_XGridColumnModel_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+#include <com/sun/star/lang/XComponent.idl>
+#include <com/sun/star/util/XCloneable.idl>
+#include <com/sun/star/awt/grid/XGridColumn.idl>
+#include <com/sun/star/container/XContainer.idl>
+#include <com/sun/star/lang/IndexOutOfBoundsException.idl>
+#include <com/sun/star/lang/IllegalArgumentException.idl>
+
+
+module com { module sun { module star { module awt { module grid {
+
+
+/** An instance of this interface is used by the UnoControlGrid to
+ retrieve the column structure that is displayed in the actual control.
+
+ If you do not need your own model implementation, you can also use the DefaultGridColumnModel.
+
+ @since OOo 3.3
+*/
+published interface XGridColumnModel
+{
+ /** implements life time control for the component
+ */
+ interface ::com::sun::star::lang::XComponent;
+
+ /** allows to register listeners to be notified when columns are inserted or removed
+ */
+ interface ::com::sun::star::container::XContainer;
+
+ /** allows cloning the complete column model
+ */
+ interface ::com::sun::star::util::XCloneable;
+
+ /** Returns the number of columns.
+
+ @returns
+ the number of columns.
+ */
+ long getColumnCount();
+
+ /** creates a new column for use with the column model.
+
+ <p>The newly created column is not yet inserted into the column container, you need to call addColumn()
+ after you initialized the column object.</p>
+ */
+ XGridColumn
+ createColumn();
+
+ /** Adds a column to the model.
+
+ <p>You should use the createColumn() member to create a new column. This gives
+ implementations of the <code>XGridColumnModel</code> interface the possibility to provide own column
+ implementations which extend the basic GridColumn type.</p>
+
+ <p>As soon as the column has been inserted into the model, the model takes ownership of it. This means when the
+ column is removed, or when the column model is disposed, the grid column is disposed as well.</p>
+
+ @param column
+ the column to add to the model.
+ @returns
+ the index of new created column.
+
+ @throws ::com::sun::star::lang::IllegalArgumentException
+ if the given column is not a valid element for the column container, or if it is `NULL`.
+ */
+ long addColumn( [in] XGridColumn column )
+ raises ( ::com::sun::star::lang::IllegalArgumentException );
+
+ /** removes a column from the model
+
+ <p>The column object will be disposed upon removal.</p>
+
+ @param ColumnIndex
+ denotes the index of the column to remove
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if <code>ColumnIndex</code> does not denote a valid column index.
+ */
+ void removeColumn( [in] long ColumnIndex )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** Returns all columns of the model.
+ @returns
+ all columns associated with the model in a sequence of XGridColumn.
+ */
+ sequence<XGridColumn> getColumns();
+
+ /** Returns a specific column.
+ @param index
+ the position of the requested column.
+ @returns
+ the requested column.
+ */
+ XGridColumn getColumn( [in] long index)
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** Fills the model with the given number of default columns
+
+ <p>Existing columns will be removed before adding new columns. Listeners at the column model will
+ be notified one com::sun::star::container::XContainerListener::elementRemoved() event
+ for each removed column, and one com::sun::star::container::XContainerListener::elementInserted()
+ event for each insertion.</p>
+
+ @param elements
+ the number of default columns that should be set.
+ */
+ void setDefaultColumns([in] long elements);
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/grid/XGridControl.idl b/offapi/com/sun/star/awt/grid/XGridControl.idl
new file mode 100644
index 000000000..6222216e5
--- /dev/null
+++ b/offapi/com/sun/star/awt/grid/XGridControl.idl
@@ -0,0 +1,98 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_grid_XGridControl_idl__
+#define __com_sun_star_awt_grid_XGridControl_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+#include <com/sun/star/lang/IndexOutOfBoundsException.idl>
+#include <com/sun/star/util/VetoException.idl>
+
+
+module com { module sun { module star { module awt { module grid {
+
+
+/** An interface to a control that displays a tabular data.
+
+ @see UnoControlGrid
+
+ @since OOo 3.3
+ */
+published interface XGridControl
+{
+ /** retrieves the column which a given point belongs to
+
+ @param X
+ the ordinate of the point, in pixel coordinates.
+ @param Y
+ the abscissa of the point, in pixel coordinates.
+ @return
+ the index of the column which the point lies in, or -1 if no column is under the given point.
+ */
+ long getColumnAtPoint( [in] long X, [in] long Y );
+
+ /** retrieves the row which a given point belongs to
+
+ @param X
+ the ordinate of the point, in pixel coordinates.
+ @param Y
+ the abscissa of the point, in pixel coordinates.
+ @return
+ the index of the row which the point lies in, or -1 if no row is under the given point.
+ */
+ long getRowAtPoint( [in] long X, [in] long Y );
+
+ /** returns the column index of the currently active cell
+
+ <p>If the grid control's does not contain any cells (which happens if the grid column model does not contain any
+ columns, or if grid data model does not contain any rows), then <code>-1</code> is returned.</p>
+ */
+ long getCurrentColumn();
+
+ /** returns the row index of the currently active cell
+
+ <p>If the grid control's does not contain any cells (which happens if the grid column model does not contain any
+ columns, or if grid data model does not contain any rows), then <code>-1</code> is returned.</p>
+ */
+ long getCurrentRow();
+
+ /** moves the cursor to the given cell
+ @param ColumnIndex
+ the column index of the cell to activate.
+ @param RowIndex
+ the row index of the cell to activate.
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if either <code>ColumnIndex</code> or <code>RowIndex</code> are out of range.
+ @throws ::com::sun::star::util::VetoException
+ if moving the cursor to another cell is vetoed.
+ */
+ void goToCell(
+ [in] long ColumnIndex,
+ [in] long RowIndex
+ )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException
+ , ::com::sun::star::util::VetoException
+ );
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/grid/XGridDataListener.idl b/offapi/com/sun/star/awt/grid/XGridDataListener.idl
new file mode 100644
index 000000000..0c89a5abf
--- /dev/null
+++ b/offapi/com/sun/star/awt/grid/XGridDataListener.idl
@@ -0,0 +1,62 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_grid_XGridDataListener_idl__
+#define __com_sun_star_awt_grid_XGridDataListener_idl__
+
+#include <com/sun/star/awt/grid/GridDataEvent.idl>
+#include <com/sun/star/lang/XEventListener.idl>
+
+
+module com { module sun { module star { module awt { module grid {
+
+
+/** An instance of this interface is used by the XGridDataModel to
+ get notifications about data model changes.
+
+ <p>Usually you must not implement this interface yourself, but you must notify it correctly if
+ you implement the XGridDataModel yourself</p>.
+
+ @since OOo 3.3
+ */
+published interface XGridDataListener: com::sun::star::lang::XEventListener
+{
+
+ /** is called when one or more rows of data have been inserted into a grid control's data model.
+ */
+ void rowsInserted( [in] GridDataEvent Event );
+
+ /** is called when one or more rows of data have been removed from a grid control's data model.
+ */
+ void rowsRemoved( [in] GridDataEvent Event );
+
+ /** is called when existing data in a grid control's data model has been modified.
+ */
+ void dataChanged( [in] GridDataEvent Event );
+
+ /** is called when the title of one or more rows changed.
+ */
+ void rowHeadingChanged( [in] GridDataEvent Event );
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/grid/XGridDataModel.idl b/offapi/com/sun/star/awt/grid/XGridDataModel.idl
new file mode 100644
index 000000000..d80233174
--- /dev/null
+++ b/offapi/com/sun/star/awt/grid/XGridDataModel.idl
@@ -0,0 +1,110 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_grid_XGridDataModel_idl__
+#define __com_sun_star_awt_grid_XGridDataModel_idl__
+
+
+#include <com/sun/star/lang/XComponent.idl>
+#include <com/sun/star/util/XCloneable.idl>
+#include <com/sun/star/awt/grid/XGridDataListener.idl>
+#include <com/sun/star/lang/IndexOutOfBoundsException.idl>
+
+
+module com { module sun { module star { module awt { module grid {
+
+/** An instance of this interface is used by the UnoControlGrid to
+ retrieve the content data that is displayed in the actual control.
+
+ If you do not need your own model implementation, you can also use the DefaultGridDataModel.
+
+ @since OOo 3.3
+*/
+published interface XGridDataModel
+{
+ /** implements life time control for the component
+ */
+ interface ::com::sun::star::lang::XComponent;
+
+ /** allows cloning the complete data model
+ */
+ interface ::com::sun::star::util::XCloneable;
+
+ /** denotes the number of rows for which the model can provide data
+ */
+ [attribute, readonly] long RowCount;
+
+ /** denotes the number of columns for which the model can provide data
+ */
+ [attribute, readonly] long ColumnCount;
+
+ /** retrieves the data for a given cell
+
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if the column or row index do not denote a valid cell position.
+ */
+ any getCellData( [in] long Column, [in] long RowIndex )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** retrieves the tool tip to be displayed when the mouse hovers over a given cell
+
+ <p>At the moment, only string tool tips are supported.</p>
+
+ <p>If `VOID` is returned here, the cell's content will be displayed as tip, but only if it does
+ not fit into the cell.</p>
+
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if the column or row index do not denote a valid cell position.
+ */
+ any getCellToolTip( [in] long Column, [in] long RowIndex )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** retrieves the heading of a given row
+
+ <p>A grid control will usually paint a row's title in the header column of the respective row.</p>
+
+ <p>At the moment, only strings are supported as row headings.</p>
+
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if the given index does not denote a valid row.
+ */
+ any
+ getRowHeading( [in] long RowIndex )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** retrieves the data for a complete row
+
+ <p>This method is provided for performance and convenience reasons, it delivers the same result
+ as subsequent calls to getCellData() would.</p>
+
+ @param RowIndex
+ the index of the row whose data should is to be retrieved.
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ of the given row index does not denote a valid row.
+ */
+ sequence< any >
+ getRowData( [in] long RowIndex )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
+};
+
+
+}; }; }; };};
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/grid/XGridRowSelection.idl b/offapi/com/sun/star/awt/grid/XGridRowSelection.idl
new file mode 100644
index 000000000..838706d52
--- /dev/null
+++ b/offapi/com/sun/star/awt/grid/XGridRowSelection.idl
@@ -0,0 +1,103 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_grid_XGridRowSelection_idl__
+#define __com_sun_star_awt_grid_XGridRowSelection_idl__
+
+#include <com/sun/star/awt/grid/XGridSelectionListener.idl>
+#include <com/sun/star/lang/IndexOutOfBoundsException.idl>
+
+
+module com { module sun { module star { module awt { module grid {
+
+
+/** This interfaces provides access to the selection of row for UnoControlGrid.
+
+ @since LibreOffice 3.4
+ */
+published interface XGridRowSelection
+{
+ /** Selects all rows.
+ */
+ void selectAllRows();
+
+ /** selects a given row
+
+ @param RowIndex
+ denotes the index of the row to select
+
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if <code>RowIndex</code> does not denote a valid row index
+ */
+ void selectRow( [in] long RowIndex )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** Deselects all selected rows.
+ */
+ void deselectAllRows();
+
+ /** removes the selection for a given row
+
+ @param RowIndex
+ denotes the index of the row to deselect
+ */
+ void deselectRow( [in] long RowIndex )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** Returns the indices of all selected rows.
+ @returns
+ a sequence of indices.
+ */
+ sequence< long > getSelectedRows();
+
+ /** Returns whether rows are selected.
+ @returns
+ `TRUE` if and only if at least one row is selected.
+ */
+ boolean hasSelectedRows();
+
+ /** Returns whether a specific row is selected.
+
+ @param RowIndex
+ the index of a row. If the value does not denote a valid row index, i.e. is smaller than <code>0</code>
+ or greater than the number of rows, this is silently ignored, and `FALSE` is returned.
+
+ @returns
+ `TRUE` if and only if there is a row with the given index, and it is selected currently.
+ */
+ boolean isRowSelected( [in] long RowIndex );
+
+ /** Adds a listener for the GridSelectionEvent posted after the grid changes.
+ @param listener
+ the listener to add.
+ */
+ void addSelectionListener( [in] XGridSelectionListener listener);
+
+ /** Removes a listener previously added with addSelectionListener().
+ @param listener
+ the listener to remove.
+ */
+ void removeSelectionListener( [in] XGridSelectionListener listener);
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/grid/XGridSelectionListener.idl b/offapi/com/sun/star/awt/grid/XGridSelectionListener.idl
new file mode 100644
index 000000000..248da0a6b
--- /dev/null
+++ b/offapi/com/sun/star/awt/grid/XGridSelectionListener.idl
@@ -0,0 +1,46 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_grid_XGridSelectionListener_idl__
+#define __com_sun_star_awt_grid_XGridSelectionListener_idl__
+
+#include <com/sun/star/lang/XEventListener.idl>
+
+#include <com/sun/star/awt/grid/GridSelectionEvent.idl>
+
+
+module com { module sun { module star { module awt { module grid {
+
+
+/** An instance of this interface is used by the XGridRowSelection to
+ get notifications about selection changes.
+ */
+published interface XGridSelectionListener: com::sun::star::lang::XEventListener
+{
+ /** Invoked after a selection was changed.
+ */
+ void selectionChanged( [in] GridSelectionEvent gridSelectionEvent);
+
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/grid/XMutableGridDataModel.idl b/offapi/com/sun/star/awt/grid/XMutableGridDataModel.idl
new file mode 100644
index 000000000..d22321da0
--- /dev/null
+++ b/offapi/com/sun/star/awt/grid/XMutableGridDataModel.idl
@@ -0,0 +1,184 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_grid_XMutableGridDataModel_idl__
+#define __com_sun_star_awt_grid_XMutableGridDataModel_idl__
+
+#include <com/sun/star/awt/grid/XGridDataModel.idl>
+#include <com/sun/star/lang/IllegalArgumentException.idl>
+#include <com/sun/star/lang/IndexOutOfBoundsException.idl>
+
+
+module com { module sun { module star { module awt { module grid {
+
+
+/** allows to modify the data represented by a XGridDataModel
+ */
+published interface XMutableGridDataModel : XGridDataModel
+{
+ /** appends a row to the model.
+
+ @param Heading
+ denotes the heading of the row.
+ @param Data
+ specifies the content of the row.
+ */
+ void addRow( [in] any Heading, [in] sequence< any > Data );
+
+ /** appends multiple rows of data to the model.
+ @param Headings
+ denotes the headings of the to-be-added rows.
+ @param Data
+ specifies the data of the rows to be added.
+ @throws ::com::sun::star::lang::IllegalArgumentException
+ if <code>Titles</code> and <code>Data</code> are of different length.
+ */
+ void addRows( [in] sequence< any > Headings, [in] sequence< sequence< any > > Data )
+ raises ( ::com::sun::star::lang::IllegalArgumentException );
+
+ /** inserts a row into the set of data rows
+
+ @param Index
+ denotes the position at which the row is to be inserted
+ @param Heading
+ denotes the heading of the row.
+ @param Data
+ specifies the content of the row.
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if <code>Index</code> is smaller than <code>0</code> or greater than the number of
+ rows in the model.
+ */
+ void insertRow( [in] long Index, [in] any Heading, [in] sequence< any > Data )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** inserts multiple rows of data into the model.
+ @param Index
+ denotes the position at which the rows are to be inserted
+ @param Headings
+ denotes the headings of the to-be-added rows.
+ @param Data
+ specifies the data of the rows to be added.
+ @throws ::com::sun::star::lang::IllegalArgumentException
+ if <code>Titles</code> and <code>Data</code> are of different length.
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if <code>Index</code> is smaller than <code>0</code> or greater than the number of
+ rows in the model.
+ */
+ void insertRows( [in] long Index, [in] sequence< any > Headings, [in] sequence< sequence< any > > Data )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException
+ , ::com::sun::star::lang::IllegalArgumentException );
+
+ /** removes a row of data from the model
+
+ @param RowIndex
+ the index of the row that should be removed.
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if the given index is invalid
+ */
+ void removeRow( [in] long RowIndex )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** Removes all rows from the model.
+ */
+ void removeAllRows();
+
+ /** updates the content of the given cell
+ @param ColumnIndex
+ the column index of the to-be-updated cell
+ @param RowIndex
+ the row index of the to-be-updated cell
+ @param Value
+ the new value of the cell.
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if the row or column index is invalid
+ */
+ void updateCellData( [in] long ColumnIndex, [in] long RowIndex, [in] any Value )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** updates the content of a given row.
+
+ <p>The change in the data model will be notified to registered listeners via
+ XGridDataListener::dataChanged(). The GridDataEvent::FirstColumn and
+ GridDataEvent::LastColumn will denote the smallest respectively largest column
+ index from ColumnIndexes.</p>
+
+ @param ColumnIndexes
+ contains the column indexes of the cells, which should be updated
+ @param RowIndex
+ contains the index of the row whose data is to be updated
+ @param Values
+ specifies the new values of the cells.
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if one of the row indexes or the column index is invalid
+ @throws ::com::sun::star::lang::IllegalArgumentException
+ if the lengths of the <code>ColumnIndexes</code> and <code>Values</code> sequences are not equal.
+ */
+ void updateRowData( [in] sequence< long > ColumnIndexes, [in] long RowIndex, [in] sequence< any > Values )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException
+ , ::com::sun::star::lang::IllegalArgumentException);
+
+ /** sets a new title for a given row.
+
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if the given index does not denote a valid row.
+ */
+ void
+ updateRowHeading( [in] long RowIndex, [in] any Heading )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** updates the tooltip to be displayed for a given cell
+
+ @see XGridDataModel::getCellToolTip
+ */
+ void updateCellToolTip( [in] long ColumnIndex, [in] long RowIndex, [in] any Value )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** updates the tooltip for all cells of a given row
+
+ <p>Effectively this method is a shortcut for calling updateCellToolTip() multiple
+ times in a row, for all cells of a given row.</p>
+
+ @see XGridDataModel::getCellToolTip
+ @see updateCellToolTip
+ */
+ void updateRowToolTip( [in] long RowIndex, [in] any Value )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
+
+
+ /** registers listener to be notified of data changes in the model
+ @param Listener
+ specifies the listener to register
+ */
+ void addGridDataListener( [in] XGridDataListener Listener );
+
+
+ /** revokes a listener which was previously registered via addGridDataListener()
+ @param Listener
+ specifies the listener to revoke.
+ */
+ void removeGridDataListener( [in] XGridDataListener Listener );
+};
+
+
+}; }; }; }; };
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/grid/XSortableGridData.idl b/offapi/com/sun/star/awt/grid/XSortableGridData.idl
new file mode 100644
index 000000000..7a2e28373
--- /dev/null
+++ b/offapi/com/sun/star/awt/grid/XSortableGridData.idl
@@ -0,0 +1,70 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_grid_XSortableGridData_idl__
+#define __com_sun_star_awt_grid_XSortableGridData_idl__
+
+#include <com/sun/star/lang/IndexOutOfBoundsException.idl>
+#include <com/sun/star/beans/Pair.idl>
+
+
+module com { module sun { module star { module awt { module grid {
+
+
+/** allows to sort the data represented by a XGridDataModel
+ */
+interface XSortableGridData
+{
+ /** sorts the rows represented by the model by a given column's data.
+
+ @param ColumnIndex
+ the index of the column whose data should be used as sort key
+ @param SortAscending
+ is `TRUE` if the data should be sorted ascending, `FALSE` otherwise.
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if <code>ColumnIndex</code> does not denote a valid column.
+ */
+ void sortByColumn( [in] long ColumnIndex, [in] boolean SortAscending )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** removes any possibly present sorting of the grid data
+ */
+ void removeColumnSort();
+
+ /** returns the current sort order.
+
+ @return
+ a structure describing the current sort order.
+ com::sun::star::beans::Pair::First
+ denotes the column by which the data is sorted, or -1 if
+ the data is currently unsorted.
+ com::sun::star::beans::Pair::Second
+ is `TRUE` if the data is sorted ascending, `FALSE` otherwise.
+ */
+ ::com::sun::star::beans::Pair< long, boolean >
+ getCurrentSortOrder();
+};
+
+
+}; }; }; }; };
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/grid/XSortableMutableGridDataModel.idl b/offapi/com/sun/star/awt/grid/XSortableMutableGridDataModel.idl
new file mode 100644
index 000000000..7f5477cf2
--- /dev/null
+++ b/offapi/com/sun/star/awt/grid/XSortableMutableGridDataModel.idl
@@ -0,0 +1,52 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_awt_grid_XSortableMutableGridDataModel_idl__
+#define __com_sun_star_awt_grid_XSortableMutableGridDataModel_idl__
+
+#include <com/sun/star/awt/grid/XMutableGridDataModel.idl>
+#include <com/sun/star/awt/grid/XSortableGridData.idl>
+
+
+module com { module sun { module star { module awt { module grid {
+
+
+/** describes a grid control data model whose data can be modified and sorted.
+ */
+interface XSortableMutableGridDataModel
+{
+ /** provides access to the basic functionality of a grid data model, plus functions to modify it.
+ */
+ interface XMutableGridDataModel;
+
+ /** provides means to sort the data represented by the model.
+
+ <p>If you set a new column sort order, the implementation will notify the registered XGridDataListeners
+ via a call to its XGridDataListener::dataChanged() method.</p>
+ */
+ interface XSortableGridData;
+};
+
+
+}; }; }; }; };
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/tab/TabPageActivatedEvent.idl b/offapi/com/sun/star/awt/tab/TabPageActivatedEvent.idl
new file mode 100644
index 000000000..959b12ddd
--- /dev/null
+++ b/offapi/com/sun/star/awt/tab/TabPageActivatedEvent.idl
@@ -0,0 +1,45 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_tab_TabPageActivatedEvent_idl__
+#define __com_sun_star_awt_tab_TabPageActivatedEvent_idl__
+
+#include <com/sun/star/lang/EventObject.idl>
+
+
+module com { module sun { module star { module awt { module tab {
+
+
+/** An event used by a XTabPageContainer to notify changes in tab page activation.
+
+ @since OOo 3.4
+ */
+published struct TabPageActivatedEvent: com::sun::star::lang::EventObject
+{
+ /** Contains the ID of the tab page
+ */
+ short TabPageID;
+
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/tab/UnoControlTabPage.idl b/offapi/com/sun/star/awt/tab/UnoControlTabPage.idl
new file mode 100644
index 000000000..2e0afdda6
--- /dev/null
+++ b/offapi/com/sun/star/awt/tab/UnoControlTabPage.idl
@@ -0,0 +1,47 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_tab_UnoControlTabPage_idl__
+#define __com_sun_star_awt_tab_UnoControlTabPage_idl__
+
+#include <com/sun/star/awt/UnoControlContainer.idl>
+#include <com/sun/star/awt/tab/XTabPage.idl>
+
+
+module com { module sun { module star { module awt { module tab {
+
+
+/** specifies a TabPage control.
+
+ @since OOo 3.4
+*/
+
+published service UnoControlTabPage
+{
+ service com::sun::star::awt::UnoControlContainer;
+
+ interface XTabPage;
+
+};
+
+
+ }; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/tab/UnoControlTabPageContainer.idl b/offapi/com/sun/star/awt/tab/UnoControlTabPageContainer.idl
new file mode 100644
index 000000000..5585a8664
--- /dev/null
+++ b/offapi/com/sun/star/awt/tab/UnoControlTabPageContainer.idl
@@ -0,0 +1,46 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_tab_UnoControlTabPageContainer_idl__
+#define __com_sun_star_awt_tab_UnoControlTabPageContainer_idl__
+
+#include <com/sun/star/awt/UnoControl.idl>
+#include <com/sun/star/awt/tab/XTabPageContainer.idl>
+
+
+module com { module sun { module star { module awt { module tab {
+
+
+/** specifies a TabPageContainer control.
+
+ @since OOo 3.4
+ */
+published service UnoControlTabPageContainer
+{
+ service com::sun::star::awt::UnoControl;
+
+ interface com::sun::star::awt::tab::XTabPageContainer;
+
+};
+
+
+ }; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/tab/UnoControlTabPageContainerModel.idl b/offapi/com/sun/star/awt/tab/UnoControlTabPageContainerModel.idl
new file mode 100644
index 000000000..0d248a732
--- /dev/null
+++ b/offapi/com/sun/star/awt/tab/UnoControlTabPageContainerModel.idl
@@ -0,0 +1,46 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_tab_UnoControlTabPageContainerModel_idl__
+#define __com_sun_star_awt_tab_UnoControlTabPageContainerModel_idl__
+
+#include <com/sun/star/awt/UnoControlModel.idl>
+#include <com/sun/star/awt/tab/XTabPageContainerModel.idl>
+
+
+module com { module sun { module star { module awt { module tab {
+
+
+/** specifies a model for a UnoControlTabPageContainer control.
+
+ @since OOo 3.4
+ */
+published service UnoControlTabPageContainerModel
+{
+ service com::sun::star::awt::UnoControlModel;
+
+ interface com::sun::star::awt::tab::XTabPageContainerModel;
+
+};
+
+
+ }; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/tab/UnoControlTabPageModel.idl b/offapi/com/sun/star/awt/tab/UnoControlTabPageModel.idl
new file mode 100644
index 000000000..0c32f231f
--- /dev/null
+++ b/offapi/com/sun/star/awt/tab/UnoControlTabPageModel.idl
@@ -0,0 +1,83 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_tab_UnoControlTabPageModel_idl__
+#define __com_sun_star_awt_tab_UnoControlTabPageModel_idl__
+
+#include <com/sun/star/awt/tab/XTabPageModel.idl>
+
+
+module com { module sun { module star { module awt { module tab {
+
+/** specifies the standard model of a XTabPageModel.
+ @since OOo 3.4
+ */
+published service UnoControlTabPageModel
+{
+ interface XTabPageModel;
+
+ /** specifies the text that is displayed in the caption bar of the dialog.
+ */
+ [optional, property] string Title;
+
+ /** specifies the help text of the dialog.
+ */
+ [optional, property] string HelpText;
+
+ /** specifies the help URL of the dialog.
+ */
+ [optional, property] string HelpURL;
+
+ /** specifies that a horizontal scrollbar should be added to the dialog
+ @since LibreOffice 7.1
+ */
+ [optional, property] boolean HScroll;
+
+ /** specifies that a vertical scrollbar should be added to the dialog
+ @since LibreOffice 7.1
+ */
+ [optional, property] boolean VScroll;
+
+ /** specifies the horizontal position of the scrolled dialog content
+ @since LibreOffice 7.1
+ */
+ [optional, property] long ScrollLeft;
+
+ /** specifies the vertical position of the scrolled dialog content
+ @since LibreOffice 7.1
+ */
+ [optional, property] long ScrollTop;
+
+ /** specifies the total width of the scrollable dialog content
+ @since LibreOffice 7.1
+ */
+ [optional, property] long ScrollWidth;
+
+ /** specifies the total height of the scrollable dialog content
+ @since LibreOffice 7.1
+ */
+ [optional, property] long ScrollHeight;
+
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/tab/XTabPage.idl b/offapi/com/sun/star/awt/tab/XTabPage.idl
new file mode 100644
index 000000000..301946a4a
--- /dev/null
+++ b/offapi/com/sun/star/awt/tab/XTabPage.idl
@@ -0,0 +1,43 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_tab_XTabPage_idl__
+#define __com_sun_star_awt_tab_XTabPage_idl__
+
+#include <com/sun/star/awt/tab/XTabPageModel.idl>
+
+module com { module sun { module star { module awt { module tab {
+
+
+/** An interface to a control that displays a tab page.
+
+ @see UnoControlTabPage
+
+ @since OOo 3.4
+ */
+published interface XTabPage
+{
+
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/tab/XTabPageContainer.idl b/offapi/com/sun/star/awt/tab/XTabPageContainer.idl
new file mode 100644
index 000000000..a6e968c4f
--- /dev/null
+++ b/offapi/com/sun/star/awt/tab/XTabPageContainer.idl
@@ -0,0 +1,94 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_tab_XTabPageContainer_idl__
+#define __com_sun_star_awt_tab_XTabPageContainer_idl__
+
+#include <com/sun/star/awt/tab/XTabPageContainerListener.idl>
+#include <com/sun/star/awt/tab/XTabPage.idl>
+
+module com { module sun { module star { module awt { module tab {
+
+
+/** An interface to a control that displays tab pages.
+
+ @see UnoControlTabPageContainer
+
+ @since OOo 3.4
+ */
+published interface XTabPageContainer
+{
+ /** Returns the number of tab pages.
+ @returns
+ the number of tab pages.
+ */
+ short getTabPageCount();
+
+
+ /** Checks whether a tab page is activated.
+ @param tabPageIndex
+ the tab page to be checked.
+ @returns
+ `TRUE` if tab page is activated, else `FALSE`.
+ */
+ boolean isTabPageActive([in] short tabPageIndex);
+
+
+ /** Returns tab page for the given index.
+ @param
+ tabPageIndex - index of the tab page in the IndexContainer.
+ @returns
+ tab page which has tabPageIndex.
+ */
+ XTabPage getTabPage([in] short tabPageIndex);
+
+
+ /** Returns tab page for the given ID.
+ @param
+ tabPageID - ID of the tab page.
+ @returns
+ tab page which has tabPageID.
+ */
+ XTabPage getTabPageByID([in] short tabPageID);
+
+
+ /** Adds a listener for the TabPageActivedEvent posted after
+ the tab page was activated.
+ @param listener
+ the listener to add.
+ */
+ void addTabPageContainerListener( [in] XTabPageContainerListener listener);
+
+
+ /** Removes a listener previously added with addTabPageListener().
+ @param listener
+ the listener to remove.
+ */
+ void removeTabPageContainerListener( [in] XTabPageContainerListener listener);
+
+ /** Specifies the ID of the current active tab page.
+ */
+ [attribute] short ActiveTabPageID;
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/tab/XTabPageContainerListener.idl b/offapi/com/sun/star/awt/tab/XTabPageContainerListener.idl
new file mode 100644
index 000000000..7b1396e98
--- /dev/null
+++ b/offapi/com/sun/star/awt/tab/XTabPageContainerListener.idl
@@ -0,0 +1,47 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_tab_XTabPageContainerListener_idl__
+#define __com_sun_star_awt_tab_XTabPageContainerListener_idl__
+
+#include <com/sun/star/lang/XEventListener.idl>
+#include <com/sun/star/awt/tab/TabPageActivatedEvent.idl>
+
+
+module com { module sun { module star { module awt { module tab {
+
+
+/** An instance of this interface is used by the XTabPageContainer to
+ get notifications about changes in activation of tab pages.
+
+ @since OOo 3.4
+ */
+published interface XTabPageContainerListener: com::sun::star::lang::XEventListener
+{
+ /** Invoked after a tab page was activated.
+ */
+ void tabPageActivated( [in] TabPageActivatedEvent tabPageActivatedEvent);
+
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/tab/XTabPageContainerModel.idl b/offapi/com/sun/star/awt/tab/XTabPageContainerModel.idl
new file mode 100644
index 000000000..f01dd6730
--- /dev/null
+++ b/offapi/com/sun/star/awt/tab/XTabPageContainerModel.idl
@@ -0,0 +1,61 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_tab_XTabPageContainerModel_idl__
+#define __com_sun_star_awt_tab_XTabPageContainerModel_idl__
+
+#include <com/sun/star/container/XIndexContainer.idl>
+#include <com/sun/star/container/XContainer.idl>
+
+
+module com { module sun { module star { module awt { module tab {
+
+published interface XTabPageModel;
+
+
+/** specifies an interface for a UnoControlTabPageContainerModel.
+
+ @since OOo 3.4
+ */
+published interface XTabPageContainerModel
+{
+ interface com::sun::star::container::XIndexContainer;
+ interface com::sun::star::container::XContainer;
+
+ /** creates a TabPageModel which can be inserted into the container.
+ @param TabPageID
+ the id of the tab page
+ */
+ XTabPageModel createTabPage( [in] short TabPageID );
+
+ /** creates a TabPageModel which can be inserted into the container, by loading it from a user interface
+ resource file.
+ @param TabPageID
+ the id of the tab page
+ @param ResourceURL
+ the URL of the user interface resource to load
+ */
+ XTabPageModel loadTabPage( [in] short TabPageID, [in] string ResourceURL );
+};
+
+
+ }; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/tab/XTabPageModel.idl b/offapi/com/sun/star/awt/tab/XTabPageModel.idl
new file mode 100644
index 000000000..ca61046b8
--- /dev/null
+++ b/offapi/com/sun/star/awt/tab/XTabPageModel.idl
@@ -0,0 +1,74 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_tab_XTabPageModel_idl__
+#define __com_sun_star_awt_tab_XTabPageModel_idl__
+
+#include <com/sun/star/uno/XInterface.idl>
+#include <com/sun/star/lang/XMultiServiceFactory.idl>
+#include <com/sun/star/container/XContainer.idl>
+#include <com/sun/star/container/XNameContainer.idl>
+
+
+module com { module sun { module star { module awt { module tab {
+
+
+/** specifies an XTabPageModel interface.
+
+ @since OOo 3.4
+*/
+
+published interface XTabPageModel
+{
+ //interface com::sun::star::lang::XMultiServiceFactory;
+
+ //interface com::sun::star::container::XNameContainer;
+
+ //interface com::sun::star::container::XContainer;
+
+ /**ID for tab page.
+ */
+ [attribute, readonly] short TabPageID;
+
+ /** determines whether a tab page is enabled or disabled.
+ */
+ [attribute] boolean Enabled;
+
+
+ /** specifies the text that is displayed in the tab bar of the tab page.
+ */
+ [attribute] string Title;
+
+
+ /** specifies a URL that references a graphic that should be displayed in the tab bar.
+ */
+ [attribute] string ImageURL;
+
+
+ /** specifies a tooltip text that should be displayed in the tab bar.
+ */
+ [attribute] string ToolTip;
+};
+
+
+
+ }; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/tree/ExpandVetoException.idl b/offapi/com/sun/star/awt/tree/ExpandVetoException.idl
new file mode 100644
index 000000000..cf792059e
--- /dev/null
+++ b/offapi/com/sun/star/awt/tree/ExpandVetoException.idl
@@ -0,0 +1,44 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_tree_ExpandVetoException_idl__
+#define __com_sun_star_awt_tree_ExpandVetoException_idl__
+
+#include <com/sun/star/util/VetoException.idl>
+#include <com/sun/star/awt/tree/TreeExpansionEvent.idl>
+
+
+module com { module sun { module star { module awt { module tree {
+
+
+/** Exception used to stop an expand/collapse from happening.
+ @see XTreeExpansionListener
+ @see XTreeControl
+ */
+exception ExpandVetoException : com::sun::star::util::VetoException
+{
+ /** The event that the exception was created for. */
+ TreeExpansionEvent Event;
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/tree/MutableTreeDataModel.idl b/offapi/com/sun/star/awt/tree/MutableTreeDataModel.idl
new file mode 100644
index 000000000..5901dd8e9
--- /dev/null
+++ b/offapi/com/sun/star/awt/tree/MutableTreeDataModel.idl
@@ -0,0 +1,41 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_tree_MutableTreeDataModel_idl__
+#define __com_sun_star_awt_tree_MutableTreeDataModel_idl__
+
+#include <com/sun/star/awt/tree/XMutableTreeDataModel.idl>
+#include <com/sun/star/awt/tree/XMutableTreeNode.idl>
+
+
+module com { module sun { module star { module awt { module tree {
+
+
+/** If you do not want to implement the XTreeDataModel yourself, use this service.
+ This implementation uses MutableTreeNode for its nodes.
+ */
+service MutableTreeDataModel : XMutableTreeDataModel
+{
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/tree/MutableTreeNode.idl b/offapi/com/sun/star/awt/tree/MutableTreeNode.idl
new file mode 100644
index 000000000..646f4de25
--- /dev/null
+++ b/offapi/com/sun/star/awt/tree/MutableTreeNode.idl
@@ -0,0 +1,39 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_tree_MutableTreeNode_idl__
+#define __com_sun_star_awt_tree_MutableTreeNode_idl__
+
+#include <com/sun/star/awt/tree/XMutableTreeNode.idl>
+
+
+module com { module sun { module star { module awt { module tree {
+
+
+/** Represents an editable tree node as used by the MutableTreeDataModel
+ */
+service MutableTreeNode : XMutableTreeNode
+{
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/tree/TreeControl.idl b/offapi/com/sun/star/awt/tree/TreeControl.idl
new file mode 100644
index 000000000..084474977
--- /dev/null
+++ b/offapi/com/sun/star/awt/tree/TreeControl.idl
@@ -0,0 +1,86 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_tree_TreeControl_idl__
+#define __com_sun_star_awt_tree_TreeControl_idl__
+
+#include <com/sun/star/awt/tree/XTreeControl.idl>
+
+
+module com { module sun { module star { module awt { module tree {
+
+
+/** A control that displays a set of hierarchical data as an outline.
+
+ <p>
+ <h4>The Data Model</h4>
+ <p>A specific node in a tree is identified by a XTreeNode.
+ A leaf node is a node without any children and that returns `FALSE` when calling XTreeNode::hasChildrenOnDemand().
+ An expanded node is a non-leaf node that will displays its children when all its ancestors are expanded.
+ A collapsed node is one which hides them.
+ A node is visible when all parent nodes are expanded and the node itself is in the display area.
+ </p>
+
+ <p>The nodes are retrieved from a XTreeDataModel.
+ You can implement it yourself or use the MutableTreeDataModel
+ which uses XMutableTreeNode and XMutableTreeDataModel
+ for a simple and mutable data model.
+
+ <p>The data model must be set at the TreeControlModel::TreeDataModel property.</p>
+
+ <h4>Selection</h4>
+ <p>If you are interested in knowing when the selection changes implement a
+ com::sun::star::view::XSelectionChangeListener and add the instance with the method
+ ::com::sun::star::view::XSelectionSupplier::addSelectionChangeListener().
+ You than will be notified for any selection change.
+ </p>
+
+ <p>
+ If you are interested in detecting either double-click events or when a user clicks on a node,
+ regardless of whether or not it was selected, you can get the com::sun::star::awt::XWindow
+ and add yourself as a com::sun::star::awt::XMouseClickHandler. You can use the
+ method XTreeControl::getNodeForLocation() to retrieve the node that was under the
+ mouse at the time the event was fired.
+ </p>
+
+ <h4>Adding child nodes on demand</h4>
+ <p>If you want to add child nodes to your tree on demand you can do the following.
+ <ul>
+ <li>Make sure the parent node returns `TRUE` for XTreeNode::hasChildrenOnDemand() either
+ by implementing XTreeNode yourself or if you use the MutableTreeDataModel,
+ use XMutableTreeNode::setHasChildrenOnDemand().</li>
+ <li>Implement a XTreeExpansionListener and add the instance with the method
+ XTreeControl::addTreeExpansionListener().</li>
+ </ul>
+ Now you get called when the node will become expanded or collapsed.
+ So on XTreeExpansionListener::treeExpanding() you can
+ check the TreeExpansionEvent if the parent node with children on demand is going to
+ be expanded and in that case add the missing child nodes. You can also veto the expansion or
+ collapsing of a parent node by using the ExpandVetoException.
+ </p>
+ */
+service TreeControl: XTreeControl
+{
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/tree/TreeControlModel.idl b/offapi/com/sun/star/awt/tree/TreeControlModel.idl
new file mode 100644
index 000000000..018df931f
--- /dev/null
+++ b/offapi/com/sun/star/awt/tree/TreeControlModel.idl
@@ -0,0 +1,97 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_tree_TreeControlModel_idl__
+#define __com_sun_star_awt_tree_TreeControlModel_idl__
+
+#include <com/sun/star/awt/tree/XTreeDataModel.idl>
+#include <com/sun/star/awt/UnoControlModel.idl>
+#include <com/sun/star/view/SelectionType.idl>
+
+
+module com { module sun { module star { module awt { module tree {
+
+
+/** specifies the standard model of a TreeControl.
+ */
+service TreeControlModel
+{
+ /** specifies the standard model of a com::sun::star::awt::UnoControl. */
+ service ::com::sun::star::awt::UnoControlModel;
+
+ /** Specifies the selection mode that is enabled for this tree.
+ <p>The default value is com::sun::star::view::SelectionType::NONE</p>
+ */
+ [property] ::com::sun::star::view::SelectionType SelectionType;
+
+ /** Specifies the XTreeDataModel that is providing the hierarchical data.
+
+ <p>You can implement your own instance of XTreeDataModel or use
+ the MutableTreeDataModel.
+ */
+ [property] XTreeDataModel DataModel;
+
+ /** Specifies if the root node of the tree is displayed.
+ <p>If <var>RootDisplayed</var> is set to `FALSE`, the root node of a model is no longer
+ a valid node for the XTreeControl and can't be used with any method of
+ XTreeControl.
+ <p>The default value is `TRUE`</p>
+ */
+ [property] boolean RootDisplayed;
+
+ /** Specifies whether the node handles should be displayed.
+ <p>The handles are doted lines that visualize the tree like hierarchy<p>
+ <p>The default value is `TRUE`</p>
+ */
+ [property] boolean ShowsHandles;
+
+ /** Specifies whether the node handles should also be displayed at root level.
+ <p>The default value is `TRUE`</p>
+ */
+ [property] boolean ShowsRootHandles;
+
+ /** Specifies the height of each row, in pixels.
+ <p>If the specified value is less than or equal to zero, the row height is the maximum height
+ of all rows.</p>
+ <p>The default value is 0</p>
+ */
+ [property] long RowHeight;
+
+ /** Specifies whether the nodes of the tree are editable.
+ <p>The default value is `FALSE`</p>
+
+ @see XTreeControl::startEditingAtNode()
+ @see XTreeEditListener
+ */
+ [property] boolean Editable;
+
+ /** Specifies what happens when editing is interrupted by selecting another node in the tree,
+ a change in the tree's data, or by some other means.
+ <p>Setting this property to `TRUE` causes the changes to be automatically saved when editing
+ is interrupted. `FALSE` means that editing is canceled and changes are lost
+ <p>The default value is `FALSE`</p>
+ */
+ [property] boolean InvokesStopNodeEditing;
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/tree/TreeDataModelEvent.idl b/offapi/com/sun/star/awt/tree/TreeDataModelEvent.idl
new file mode 100644
index 000000000..c84f3ebee
--- /dev/null
+++ b/offapi/com/sun/star/awt/tree/TreeDataModelEvent.idl
@@ -0,0 +1,54 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_tree_TreeDataModelEvent_idl__
+#define __com_sun_star_awt_tree_TreeDataModelEvent_idl__
+
+#include <com/sun/star/lang/EventObject.idl>
+#include <com/sun/star/awt/tree/XTreeNode.idl>
+
+
+module com { module sun { module star { module awt { module tree {
+
+
+/** An event used by a XTreeDataModel to notify changes in the data
+ model to the XTreeControl.
+ You usually need to fill this event only if you implement the XTreeDataModel
+ yourself.
+
+ @see XTreeDataModel
+ @see XTreeControl
+ @see XTreeDataModelListener
+ */
+struct TreeDataModelEvent : ::com::sun::star::lang::EventObject
+{
+ /** contains the changed, added or removed nodes.
+ <p> All nodes must have #ParentNode as parent. */
+ sequence< XTreeNode > Nodes;
+
+ /** holds the parent node for changed, added or removed nodes.
+ <p> If this is null, #Nodes must contain only the root node */
+ XTreeNode ParentNode;
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/tree/TreeExpansionEvent.idl b/offapi/com/sun/star/awt/tree/TreeExpansionEvent.idl
new file mode 100644
index 000000000..61238eda9
--- /dev/null
+++ b/offapi/com/sun/star/awt/tree/TreeExpansionEvent.idl
@@ -0,0 +1,45 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_tree_TreeExpansionEvent_idl__
+#define __com_sun_star_awt_tree_TreeExpansionEvent_idl__
+
+#include <com/sun/star/lang/EventObject.idl>
+#include <com/sun/star/awt/tree/XTreeNode.idl>
+
+
+module com { module sun { module star { module awt { module tree {
+
+
+/** This event tells you what node is currently expanding or collapsing.
+
+ @see XTreeExpansionListener
+ @see XTreeControl
+ */
+struct TreeExpansionEvent : ::com::sun::star::lang::EventObject
+{
+ /* The node that has been expanded/collapsed.*/
+ com::sun::star::awt::tree::XTreeNode Node;
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/tree/XMutableTreeDataModel.idl b/offapi/com/sun/star/awt/tree/XMutableTreeDataModel.idl
new file mode 100644
index 000000000..1bdf94273
--- /dev/null
+++ b/offapi/com/sun/star/awt/tree/XMutableTreeDataModel.idl
@@ -0,0 +1,71 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_tree_XMutableTreeDataModel_idl__
+#define __com_sun_star_awt_tree_XMutableTreeDataModel_idl__
+
+#include <com/sun/star/awt/tree/XTreeDataModel.idl>
+#include <com/sun/star/awt/tree/XMutableTreeNode.idl>
+
+
+module com { module sun { module star { module awt { module tree {
+
+
+/** This is the editable version of the XTreeDataModel.
+
+ <p>Note that only XTreeNode created from the same instance with createNode()
+ are valid nodes for this instance.</p>
+ */
+interface XMutableTreeDataModel : XTreeDataModel
+{
+ /** creates a new tree node with the given value and given settings.
+
+ @param DisplayValue
+ should be convertible to a string and is used by the XTreeControl
+ as a textual representation of the created node.
+
+ @param ChildrenOnDemand
+ if `TRUE` is used as a parameter, the created node will be treated as a non-leaf
+ node by the XTreeControl, even when it has no child nodes.
+
+ @returns
+ a new XMutableTreeNode that can be used for this model.
+
+ @see XTreeNode::getDisplayValue()
+ @see XTreeNode::hasChildrenOnDemand()
+ */
+ XMutableTreeNode createNode( [in] any DisplayValue, [in] boolean ChildrenOnDemand );
+
+ /** changes the root node of this model to <var>RootNode</var>.
+
+ @param RootNode
+ the XMutableTreeNode that becomes the new root node of this model.
+
+ @throws ::com::sun::star::lang::IllegalArgumentException
+ if <var>RootNode</var> is not a valid node of this XTreeDataModel.
+ */
+ void setRoot( [in] XMutableTreeNode RootNode )
+ raises( ::com::sun::star::lang::IllegalArgumentException );
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/tree/XMutableTreeNode.idl b/offapi/com/sun/star/awt/tree/XMutableTreeNode.idl
new file mode 100644
index 000000000..72529350a
--- /dev/null
+++ b/offapi/com/sun/star/awt/tree/XMutableTreeNode.idl
@@ -0,0 +1,109 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_tree_XMutableTreeNode_idl__
+#define __com_sun_star_awt_tree_XMutableTreeNode_idl__
+
+#include <com/sun/star/awt/tree/XTreeNode.idl>
+#include <com/sun/star/lang/IllegalArgumentException.idl>
+
+#include <com/sun/star/lang/IndexOutOfBoundsException.idl>
+
+
+module com { module sun { module star { module awt { module tree {
+
+
+/** Represents a mutable tree node as used by the MutableTreeDataModel
+ */
+interface XMutableTreeNode : XTreeNode
+{
+ /** appends <var>ChildNode</var> to this instance.
+
+ @throws ::com::sun::star::lang::IllegalArgumentException
+ if <var>ChildNode</var> is not a valid node of the corresponding XTreeDataModel.
+ */
+ void appendChild( [in] XMutableTreeNode ChildNode )
+ raises( com::sun::star::lang::IllegalArgumentException );
+
+ /** inserts <var>ChildNode</var> to this instance at the given index.
+
+ @param Index
+ the index where the node will be inserted to this instance.
+
+ @param ChildNode
+ the node to insert.
+
+ @throws ::com::sun::star::lang::IllegalArgumentException
+ if <var>ChildNode</var> is not a valid node of the corresponding XTreeDataModel.
+
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if <var>Index</var> is less than 0 or greater than XTreeNode::getChildCount().
+ */
+ void insertChildByIndex( [in] long Index, [in] XMutableTreeNode ChildNode )
+ raises( com::sun::star::lang::IllegalArgumentException,
+ com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** removes the node from this instance at the specified index.
+
+ @param Index
+ the index of the node to be removed from this instance.
+
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if <var>Index</var> is less than 0 or greater than XTreeNode::getChildCount().
+ */
+ void removeChildByIndex( [in] long Index )
+ raises( com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** Changes if the children of this node are created on demand.
+
+ @see XTreeNode::hasChildrenOnDemand()
+ */
+ void setHasChildrenOnDemand( [in] boolean ChildrenOnDemand );
+
+ /** sets the display value of this node */
+ void setDisplayValue( [in] any Value );
+
+ /** Stores an implementation dependent value.
+
+ <p>You can use this attribute to store data for this node that
+ is independent of the display value</p>
+ */
+ [attribute] any DataValue;
+
+ /** The URL for a graphic that is rendered before the text part of this node.
+ <p>If this URL is empty, no graphic is rendered.
+ */
+ void setNodeGraphicURL( [in] string URL );
+
+ /** The URL for a graphic that is rendered to visualize expanded non leaf nodes.
+ <p>If <var>URL</var> is empty, XTreeControl::DefaultExpandedGraphicURL is used.
+ */
+ void setExpandedGraphicURL( [in] string URL );
+
+ /** The URL for a graphic that is rendered to visualize collapsed non leaf nodes.
+ <p>If <var>URL</var> is empty, XTreeControl::DefaultCollapsedGraphicURL is used.
+ */
+ void setCollapsedGraphicURL( [in] string URL );
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/tree/XTreeControl.idl b/offapi/com/sun/star/awt/tree/XTreeControl.idl
new file mode 100644
index 000000000..657f27677
--- /dev/null
+++ b/offapi/com/sun/star/awt/tree/XTreeControl.idl
@@ -0,0 +1,269 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_tree_XTreeControl_idl__
+#define __com_sun_star_awt_tree_XTreeControl_idl__
+
+#include <com/sun/star/awt/XControl.idl>
+#include <com/sun/star/awt/tree/XTreeExpansionListener.idl>
+#include <com/sun/star/view/XMultiSelectionSupplier.idl>
+#include <com/sun/star/awt/tree/XTreeEditListener.idl>
+
+
+module com { module sun { module star { module awt { module tree {
+
+
+/** An interface to a control that displays a set of hierarchical data as an outline.
+
+ @see TreeControl
+ */
+interface XTreeControl
+{
+ /** This interfaces provides access to the selection of tree nodes for this control.
+
+ <p>valid selection values for this interface are
+ XTreeNode or sequence&lt;XTreeNode&gt;.</p>
+
+ ::com::sun::star::view::XSelectionSupplier::getSelection()
+ returns an empty any for no selection, an any with XTreeNode for
+ a single selection and a sequence&lt;XTreeNode&gt; for a multiselection.
+ */
+ interface ::com::sun::star::view::XMultiSelectionSupplier;
+
+ // expanding/collapsing/visible
+
+ /** Returns `TRUE` if <var>Node</var> is currently expanded.
+
+ @param Node
+ the XTreeNode specifying the node to check.
+
+ @returns
+ `FALSE` if <var>Node</var> or at least one of its parent nodes are collapsed,
+ `TRUE` if <var>Node</var> and all of its parent nodes are expanded.
+
+ @throws ::com::sun::star::lang::IllegalArgumentException
+ if <var>Node</var> is not a valid node of the corresponding XTreeDataModel.
+ */
+ boolean isNodeExpanded( [in] XTreeNode Node )
+ raises( ::com::sun::star::lang::IllegalArgumentException );
+
+ /** Returns `TRUE` if <var>Node</var> is currently collapsed.
+
+ @param Node
+ the XTreeNode specifying the node to check
+
+ @returns
+ `TRUE` if <var>Node</var> or at least one of its parent nodes are collapsed,
+ `FALSE` if <var>Node</var> and all of its parent nodes are expanded
+
+ @throws ::com::sun::star::lang::IllegalArgumentException
+ if <var>Node</var> is not a valid node of the corresponding XTreeDataModel.
+ */
+ boolean isNodeCollapsed( [in] XTreeNode Node )
+ raises( ::com::sun::star::lang::IllegalArgumentException );
+
+ /** Ensures that <var>Node</var> is currently visible.
+ <p>This includes expanding all parent nodes and scroll the control so this
+ node is visible in the controls display area.</p>
+
+ @param Node
+ the XTreeNode specifying the node to make visible.
+
+ @throws ::com::sun::star::lang::IllegalArgumentException
+ if <var>Node</var> is not a valid node of the corresponding XTreeDataModel.
+
+ @throws ExpandVetoException
+ if <var>Node</var>can't be made visible since at least one of the parent nodes are
+ collapsed and expanding failed because at least one of the registered
+ XTreeExpansionListener raised an ExpandVetoException.
+ */
+ void makeNodeVisible( [in] XTreeNode Node )
+ raises( com::sun::star::lang::IllegalArgumentException, ExpandVetoException );
+
+ /** Returns `TRUE` if <var>Node</var> is currently visible.
+ <p>Visible means it is either the root or all of its parents are expanded.</p>
+
+ @returns
+ `TRUE` if <var>Node</var> is visible, otherwise `FALSE`
+
+ @throws ::com::sun::star::lang::IllegalArgumentException
+ if <var>Node</var> is not a valid node of the corresponding XTreeDataModel.
+ */
+ boolean isNodeVisible( [in] XTreeNode Node )
+ raises( com::sun::star::lang::IllegalArgumentException );
+
+ /** Ensures that <var>Node</var> is expanded and visible.
+ <p>If <var>Node</var> is a leaf node, this will have no effect.</p>
+
+ @param Node
+ the XTreeNode identifying a node.
+
+ @throws ::com::sun::star::lang::IllegalArgumentException
+ if <var>Node</var> is not a valid node of the corresponding XTreeDataModel.
+
+ @throws ExpandVetoException
+ if expanding <var>Node</var> failed because at least one of the registered
+ XTreeExpansionListener raised an ExpandVetoException.
+ */
+ void expandNode( [in] XTreeNode Node )
+ raises( com::sun::star::lang::IllegalArgumentException, ExpandVetoException );
+
+ /** Ensures that <var>Node</var> is collapsed.
+
+ @param Node
+ the XTreeNode identifying a node
+
+ @throws ::com::sun::star::lang::IllegalArgumentException
+ if <var>Node</var> is not a valid node of the corresponding XTreeDataModel.
+
+ @throws ExpandVetoException
+ if collapsing <var>Node</var> failed because at least one of the registered
+ XTreeExpansionListener raised an ExpandVetoException.
+ */
+ void collapseNode( [in] XTreeNode Node )
+ raises( com::sun::star::lang::IllegalArgumentException, ExpandVetoException );
+
+ /** Adds a listener for TreeExpansion events.
+
+ @param Listener
+ a XTreeExpansionListener that will be notified when a tree
+ node is expanded or collapsed.
+ */
+ void addTreeExpansionListener( [in] XTreeExpansionListener Listener );
+
+ /** Removes a listener for TreeExpansion events.
+
+ @param Listener
+ the XTreeExpansionListener to remove.
+ */
+ void removeTreeExpansionListener( [in] XTreeExpansionListener Listener );
+
+ /** If the given URL points to a loadable graphic, the graphic is rendered
+ before expanded non leaf nodes.
+
+ <p>This can be overridden for individual nodes by XTreeNode::getExpandedGraphicURL()</p>
+ */
+ [attribute] string DefaultExpandedGraphicURL;
+
+ /** If the given URL points to a loadable graphic, the graphic is rendered
+ before collapsed non leaf nodes.
+
+ <p>This can be overridden for individual nodes by XTreeNode::getCollapsedGraphicURL()</p>
+ */
+ [attribute] string DefaultCollapsedGraphicURL;
+
+ // tree geometry
+
+ /** Returns the node at the specified location.
+
+ @param x
+ an integer giving the number of pixels horizontally from the left edge of the controls display area
+ @param y
+ an integer giving the number of pixels vertically from the top edge of the controls display area
+ @returns
+ the XTreeNode for the node at that location, or 0 if there is no node at the given position
+ */
+ XTreeNode getNodeForLocation( [in] long x, [in] long y );
+
+ /** Returns the node that is closest to x,y.
+ <p>If no nodes are currently viewable, or there is no model, returns null,
+ otherwise it always returns a valid node. To test if the node is exactly
+ at x, y, use getNodeForLocation().
+
+ @param x
+ an integer giving the number of pixels horizontally from the left edge of the controls display area
+ @param y
+ an integer giving the number of pixels vertically from the top edge of the controls display area
+ @returns
+ the XTreeNode for the node closest to that location, null if nothing is viewable or there is no model
+ */
+ XTreeNode getClosestNodeForLocation( [in] long x, [in] long y );
+
+ /** returns the rectangle occupied by the visual representation of the given node
+
+ @param Node
+ the node whose geometry should be obtained
+ @throws ::com::sun::star::lang::IllegalArgumentException
+ if the given node is `NULL`, or does not belong to the tree's data model
+ */
+ ::com::sun::star::awt::Rectangle
+ getNodeRect( [in] XTreeNode Node )
+ raises( ::com::sun::star::lang::IllegalArgumentException );
+
+ // tree editing
+
+ /** Returns `TRUE` if one of tree's nodes is being currently edited.
+ <p>The node that is being edited can be obtained using com::sun::star::view::XSelectionSupplier::getSelection().
+
+ @returns
+ `TRUE` if the user is currently editing a node
+ */
+ boolean isEditing();
+
+ /** Ends the current editing session.
+ <p>All registered XTreeEditListener are notified if an editing session was in progress</p>
+ <p>Has no effect if the tree isn't being edited.</p>
+
+ @returns
+ `TRUE` if editing was in progress and is now stopped, `FALSE` if editing was not in progress
+ */
+ boolean stopEditing();
+
+ /** Cancels the current editing session.
+ <p>Has no effect if the tree isn't being edited.</p>
+ */
+ void cancelEditing();
+
+ /** Selects <var>Node</var> and initiates editing.
+
+ <p>If TreeControlModel::Editable is `FALSE` or if there are no
+ registered XTreeEditListener, this call has no effect.</p>
+
+ <p>Calling this method also ensures that <var>Node</var> will become visible.</p>
+
+ @param Node
+ the XTreeNode identifying a node.
+
+ @throws ::com::sun::star::lang::IllegalArgumentException
+ if <var>Node</var> is not a valid node of the corresponding XTreeDataModel.
+ */
+ void startEditingAtNode( [in] XTreeNode Node )
+ raises( ::com::sun::star::lang::IllegalArgumentException );
+
+ /** Adds a XTreeEditListener.
+
+ @param Listener
+ a XTreeEditListener that will be notified
+ before and after a tree node is edited.
+ */
+ void addTreeEditListener( [in] XTreeEditListener Listener );
+
+ /** Removes a XTreeEditListener.
+
+ @param Listener
+ the XTreeEditListener to remove
+ */
+ void removeTreeEditListener( [in] XTreeEditListener Listener );
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/tree/XTreeDataModel.idl b/offapi/com/sun/star/awt/tree/XTreeDataModel.idl
new file mode 100644
index 000000000..0f2b8816b
--- /dev/null
+++ b/offapi/com/sun/star/awt/tree/XTreeDataModel.idl
@@ -0,0 +1,72 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_tree_XTreeDataModel_idl__
+#define __com_sun_star_awt_tree_XTreeDataModel_idl__
+
+#include <com/sun/star/awt/tree/XTreeDataModelListener.idl>
+#include <com/sun/star/lang/IllegalArgumentException.idl>
+#include <com/sun/star/lang/XComponent.idl>
+#include <com/sun/star/awt/tree/XTreeNode.idl>
+
+
+module com { module sun { module star { module awt { module tree {
+
+
+/** An instance of this interface is used by the TreeControl to
+ retrieve the hierarchical outline data that is displayed in the actual control.
+
+ <p>If you implement your own XTreeDataModel you need to notify registered
+ XTreeDataModelListener if your model changes after the control is created.
+ If this is not done correctly the TreeControl will not update the data properly.</p>
+
+ If you do not need your own model implementation, you can also use the MutableTreeDataModel.
+*/
+interface XTreeDataModel : ::com::sun::star::lang::XComponent
+{
+ /** Returns the root of the tree.
+ <p>Returns null only if the tree has no nodes.
+
+ @returns
+ the root of the tree
+ */
+ XTreeNode getRoot();
+
+ /** Adds a listener for the TreeDataModelEvent posted after the tree changes.
+
+ @param Listener
+ the listener to add.
+ */
+ void addTreeDataModelListener( [in] XTreeDataModelListener Listener );
+
+
+ /** Removes a listener previously added with addTreeDataModelListener().
+
+ @param Listener
+ the listener to remove.
+ */
+ void removeTreeDataModelListener( [in] XTreeDataModelListener Listener );
+
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/tree/XTreeDataModelListener.idl b/offapi/com/sun/star/awt/tree/XTreeDataModelListener.idl
new file mode 100644
index 000000000..85a9cb395
--- /dev/null
+++ b/offapi/com/sun/star/awt/tree/XTreeDataModelListener.idl
@@ -0,0 +1,82 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_tree_XTreeDataModelListener_idl__
+#define __com_sun_star_awt_tree_XTreeDataModelListener_idl__
+
+#include <com/sun/star/lang/XEventListener.idl>
+
+#include <com/sun/star/awt/tree/TreeDataModelEvent.idl>
+
+
+
+module com { module sun { module star { module awt { module tree {
+
+
+/** An instance of this interface is used by the TreeControl to
+ get notifications about data model changes.
+
+ <p>Usually you must not implement this interface yourself as it is already handled
+ by the TreeControl, but you must notify it correctly if
+ you implement the XTreeDataModel yourself</p>.
+ */
+interface XTreeDataModelListener: com::sun::star::lang::XEventListener
+{
+ /** Invoked after a node (or a set of siblings) has changed in some way.
+ The node(s) have not changed locations in the tree or altered their
+ children arrays, but other attributes have changed and may affect
+ presentation.
+
+ Example: the name of a file has changed, but it is in the same location in the file system.
+
+ To indicate the root has changed, TreeDataModelEvent::Nodes will contain
+ the root node and TreeDataModelEvent::ParentNode will be empty.
+ */
+ void treeNodesChanged( [in] TreeDataModelEvent Event );
+
+ /** Invoked after nodes have been inserted into the tree.
+
+ Use TreeDataModelEvent::ParentNode to get the parent of the new node(s).
+ TreeDataModelEvent::Nodes contains the new node(s).
+ */
+ void treeNodesInserted( [in] TreeDataModelEvent Event );
+
+ /** Invoked after nodes have been removed from the tree.
+ <p>Note that if a subtree is removed from the tree,
+ this method may only be invoked once for the root of the removed subtree,
+ not once for each individual set of siblings removed.
+
+ Use TreeDataModelEvent::ParentNode to get the former parent of the deleted node(s).
+ TreeDataModelEvent::Nodes contains the removed node(s).
+ */
+ void treeNodesRemoved( [in] TreeDataModelEvent Event );
+
+ /** Invoked after the tree has drastically changed structure from a given node down.
+
+ Use TreeDataModelEvent::ParentNode to get the node which
+ structure has changed. TreeDataModelEvent::Nodes is empty.
+ */
+ void treeStructureChanged( [in] TreeDataModelEvent Event );
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/tree/XTreeEditListener.idl b/offapi/com/sun/star/awt/tree/XTreeEditListener.idl
new file mode 100644
index 000000000..6fc0c4f65
--- /dev/null
+++ b/offapi/com/sun/star/awt/tree/XTreeEditListener.idl
@@ -0,0 +1,72 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_tree_XTreeEditListener_idl__
+#define __com_sun_star_awt_tree_XTreeEditListener_idl__
+
+#include <com/sun/star/awt/tree/XTreeNode.idl>
+#include <com/sun/star/lang/XEventListener.idl>
+#include <com/sun/star/util/VetoException.idl>
+
+
+module com { module sun { module star { module awt { module tree {
+
+
+/** You can implement this interface and register with XTreeControl::addTreeEditListener()
+ to get notifications when editing of a node starts and ends.
+
+ <p>You have to set the TreeControlModel::Editable property to
+ `TRUE` before a tree supports editing.</p>
+ */
+interface XTreeEditListener : ::com::sun::star::lang::XEventListener
+{
+ /** This method is called from the TreeControl implementation when editing of
+ <var>Node</var> is requested by calling XTreeControl::startEditingAtNode().
+
+ @param Node
+ the XTreeNode for that an edit request was fired by calling
+ XTreeControl::startEditingAtNode()
+
+ @throws VetoException
+ if thrown the editing will not start.
+ */
+ void nodeEditing( [in] XTreeNode Node )
+ raises ( ::com::sun::star::util::VetoException );
+
+ /** This method is called from the TreeControl implementation when editing
+ of <var>Node</var> is finished and was not canceled.
+
+ <p>Implementations that register a XTreeEditListener must update the
+ display value at the Node.</p>
+
+ @param Node
+ the XTreeNode for that an edit request was fired by calling
+ XTreeControl::startEditingAtNode()
+
+ @param NewText
+ the text that was entered by the user.
+ */
+ void nodeEdited( [in] XTreeNode Node, [in] string NewText );
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/tree/XTreeExpansionListener.idl b/offapi/com/sun/star/awt/tree/XTreeExpansionListener.idl
new file mode 100644
index 000000000..99e4c103b
--- /dev/null
+++ b/offapi/com/sun/star/awt/tree/XTreeExpansionListener.idl
@@ -0,0 +1,76 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_tree_XTreeExpansionListener_idl__
+#define __com_sun_star_awt_tree_XTreeExpansionListener_idl__
+
+#include <com/sun/star/lang/XEventListener.idl>
+
+#include <com/sun/star/awt/tree/TreeExpansionEvent.idl>
+#include <com/sun/star/awt/tree/ExpandVetoException.idl>
+
+
+module com { module sun { module star { module awt { module tree {
+
+
+/** An instance of this interface can get notifications from a TreeControl
+ when nodes are expanded or collapsed.
+
+ @see XTreeControl::addTreeExpansionListener
+ @see XTreeControl::removeTreeExpansionListener
+ */
+interface XTreeExpansionListener: com::sun::star::lang::XEventListener
+{
+ /** Invoked when a node with children on demand is about to be expanded.
+
+ <p>This event is invoked before the treeExpanding()
+ event.</p>
+ */
+ void requestChildNodes( [in] TreeExpansionEvent Event );
+
+ /** Invoked whenever a node in the tree is about to be expanded.
+
+ @throws ExpandVetoException
+ to notify the calling XTreeControl that expanding
+ TreeExpansionEvent::Node should fail.
+ */
+ void treeExpanding( [in] TreeExpansionEvent Event )
+ raises ( ExpandVetoException );
+
+ /** Invoked whenever a node in the tree is about to be collapsed.
+
+ @throws ExpandVetoException
+ to notify the calling XTreeControl that collapsing
+ TreeExpansionEvent::Node should fail.
+ */
+ void treeCollapsing( [in] TreeExpansionEvent Event )
+ raises ( ExpandVetoException );
+
+ /** Called whenever a node in the tree has been successfully expanded. */
+ void treeExpanded( [in] TreeExpansionEvent Event );
+
+ /** Called whenever a node in the tree has been successfully collapsed. */
+ void treeCollapsed( [in] TreeExpansionEvent Event );
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/awt/tree/XTreeNode.idl b/offapi/com/sun/star/awt/tree/XTreeNode.idl
new file mode 100644
index 000000000..050160e47
--- /dev/null
+++ b/offapi/com/sun/star/awt/tree/XTreeNode.idl
@@ -0,0 +1,92 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_awt_tree_XTreeNode_idl__
+#define __com_sun_star_awt_tree_XTreeNode_idl__
+
+#include <com/sun/star/container/XEnumerationAccess.idl>
+#include <com/sun/star/lang/IndexOutOfBoundsException.idl>
+
+
+module com { module sun { module star { module awt { module tree {
+
+
+/** An instance implementing this interface represents the model data for an entry in a
+ XTreeDataModel.
+ <p>The TreeControl uses this interface to retrieve the model
+ information needed to display a hierarchical outline</p>
+ <p>Each XTreeNode in a XTreeDataModel must be unique.
+ */
+interface XTreeNode
+{
+ /** Returns the child tree node at <var>Index</var>.
+
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if <var>Index</var> is less than 0 or equal or greater than getChildCount().
+ */
+ XTreeNode getChildAt( [in] long Index )
+ raises( com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** Returns the number of child nodes. */
+ long getChildCount();
+
+ /** Returns the parent node of this node. */
+ XTreeNode getParent();
+
+ /** Returns the index of <var>Node</var> in this instances children.
+ @returns
+ The child index of <var>Node</var>,
+ or -1 if <var>Node</var> is no child of this instance.
+ */
+ long getIndex( [in] XTreeNode Node);
+
+ /** Returns `TRUE` if the children of this node are created on demand.
+ <p>A TreeControl will handle a node that returns `TRUE` always
+ like a node that has child nodes, even if getChildCount()
+ returns 0.</p>
+
+ @see TreeExpansionListener;
+ */
+ boolean hasChildrenOnDemand();
+
+ /** If not empty, the textual representation of this any is used as the text part of this node.
+ */
+ any getDisplayValue();
+
+ /** The URL for a graphic that is rendered before the text part of this node.
+ <p>If this URL is empty, no graphic is rendered.
+ */
+ string getNodeGraphicURL();
+
+ /** The URL for a graphic that is rendered to visualize expanded non leaf nodes.
+ <p>If <var>URL</var> is empty, XTreeControl::DefaultExpandedGraphicURL is used.
+ */
+ string getExpandedGraphicURL();
+
+ /** The URL for a graphic that is rendered to visualize collapsed non leaf nodes.
+ <p>If <var>URL</var> is empty, XTreeControl::DefaultCollapsedGraphicURL is used.
+ */
+ string getCollapsedGraphicURL();
+};
+
+
+}; }; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */