From ed5640d8b587fbcfed7dd7967f3de04b37a76f26 Mon Sep 17 00:00:00 2001
From: Daniel Baumann
Date: Sun, 7 Apr 2024 11:06:44 +0200
Subject: Adding upstream version 4:7.4.7.
Signed-off-by: Daniel Baumann
---
offapi/com/sun/star/sheet/AccessibleCell.idl | 111 ++++++++
offapi/com/sun/star/sheet/AccessibleCsvCell.idl | 61 +++++
offapi/com/sun/star/sheet/AccessibleCsvRuler.idl | 60 +++++
offapi/com/sun/star/sheet/AccessibleCsvTable.idl | 67 +++++
.../sheet/AccessiblePageHeaderFooterAreasView.idl | 127 +++++++++
.../com/sun/star/sheet/AccessibleSpreadsheet.idl | 129 +++++++++
.../sheet/AccessibleSpreadsheetDocumentView.idl | 146 ++++++++++
.../star/sheet/AccessibleSpreadsheetPageView.idl | 158 +++++++++++
offapi/com/sun/star/sheet/ActivationEvent.idl | 49 ++++
offapi/com/sun/star/sheet/AddIn.idl | 139 ++++++++++
offapi/com/sun/star/sheet/AddressConvention.idl | 61 +++++
offapi/com/sun/star/sheet/Border.idl | 58 ++++
offapi/com/sun/star/sheet/CellAnnotation.idl | 66 +++++
offapi/com/sun/star/sheet/CellAnnotationShape.idl | 45 ++++
offapi/com/sun/star/sheet/CellAnnotations.idl | 58 ++++
.../sun/star/sheet/CellAnnotationsEnumeration.idl | 49 ++++
offapi/com/sun/star/sheet/CellAreaLink.idl | 95 +++++++
offapi/com/sun/star/sheet/CellAreaLinks.idl | 66 +++++
.../sun/star/sheet/CellAreaLinksEnumeration.idl | 49 ++++
offapi/com/sun/star/sheet/CellDeleteMode.idl | 63 +++++
offapi/com/sun/star/sheet/CellFlags.idl | 94 +++++++
offapi/com/sun/star/sheet/CellFormatRanges.idl | 62 +++++
.../sun/star/sheet/CellFormatRangesEnumeration.idl | 49 ++++
offapi/com/sun/star/sheet/CellInsertMode.idl | 63 +++++
offapi/com/sun/star/sheet/Cells.idl | 49 ++++
offapi/com/sun/star/sheet/CellsEnumeration.idl | 49 ++++
offapi/com/sun/star/sheet/ColorScale.idl | 32 +++
offapi/com/sun/star/sheet/ColorScaleEntryType.idl | 35 +++
offapi/com/sun/star/sheet/ComplexReference.idl | 49 ++++
offapi/com/sun/star/sheet/ConditionEntryType.idl | 34 +++
offapi/com/sun/star/sheet/ConditionFormatEntry.idl | 37 +++
.../com/sun/star/sheet/ConditionFormatOperator.idl | 73 +++++
offapi/com/sun/star/sheet/ConditionOperator.idl | 88 ++++++
offapi/com/sun/star/sheet/ConditionOperator2.idl | 87 ++++++
offapi/com/sun/star/sheet/ConditionalFormat.idl | 48 ++++
.../com/sun/star/sheet/ConsolidationDescriptor.idl | 48 ++++
offapi/com/sun/star/sheet/DDEItemInfo.idl | 54 ++++
offapi/com/sun/star/sheet/DDELink.idl | 69 +++++
offapi/com/sun/star/sheet/DDELinkInfo.idl | 66 +++++
offapi/com/sun/star/sheet/DDELinkMode.idl | 58 ++++
offapi/com/sun/star/sheet/DDELinks.idl | 76 ++++++
offapi/com/sun/star/sheet/DDELinksEnumeration.idl | 49 ++++
offapi/com/sun/star/sheet/DataBar.idl | 63 +++++
offapi/com/sun/star/sheet/DataBarAxis.idl | 29 ++
offapi/com/sun/star/sheet/DataBarEntryType.idl | 37 +++
offapi/com/sun/star/sheet/DataImportMode.idl | 58 ++++
offapi/com/sun/star/sheet/DataPilotDescriptor.idl | 126 +++++++++
offapi/com/sun/star/sheet/DataPilotField.idl | 215 +++++++++++++++
.../sun/star/sheet/DataPilotFieldAutoShowInfo.idl | 69 +++++
offapi/com/sun/star/sheet/DataPilotFieldFilter.idl | 53 ++++
offapi/com/sun/star/sheet/DataPilotFieldGroup.idl | 109 ++++++++
.../com/sun/star/sheet/DataPilotFieldGroupBy.idl | 121 +++++++++
.../star/sheet/DataPilotFieldGroupEnumeration.idl | 51 ++++
.../com/sun/star/sheet/DataPilotFieldGroupInfo.idl | 141 ++++++++++
.../com/sun/star/sheet/DataPilotFieldGroupItem.idl | 47 ++++
offapi/com/sun/star/sheet/DataPilotFieldGroups.idl | 105 ++++++++
.../star/sheet/DataPilotFieldGroupsEnumeration.idl | 51 ++++
.../sun/star/sheet/DataPilotFieldLayoutInfo.idl | 54 ++++
.../sun/star/sheet/DataPilotFieldLayoutMode.idl | 73 +++++
.../sun/star/sheet/DataPilotFieldOrientation.idl | 63 +++++
.../com/sun/star/sheet/DataPilotFieldReference.idl | 75 ++++++
.../star/sheet/DataPilotFieldReferenceItemType.idl | 55 ++++
.../sun/star/sheet/DataPilotFieldReferenceType.idl | 161 +++++++++++
.../sun/star/sheet/DataPilotFieldShowItemsMode.idl | 52 ++++
.../com/sun/star/sheet/DataPilotFieldSortInfo.idl | 60 +++++
.../com/sun/star/sheet/DataPilotFieldSortMode.idl | 67 +++++
offapi/com/sun/star/sheet/DataPilotFields.idl | 65 +++++
.../sun/star/sheet/DataPilotFieldsEnumeration.idl | 49 ++++
offapi/com/sun/star/sheet/DataPilotItem.idl | 70 +++++
offapi/com/sun/star/sheet/DataPilotItems.idl | 61 +++++
.../sun/star/sheet/DataPilotItemsEnumeration.idl | 49 ++++
.../sun/star/sheet/DataPilotOutputRangeType.idl | 61 +++++
offapi/com/sun/star/sheet/DataPilotSource.idl | 99 +++++++
.../sun/star/sheet/DataPilotSourceDimension.idl | 138 ++++++++++
.../sun/star/sheet/DataPilotSourceDimensions.idl | 49 ++++
.../sun/star/sheet/DataPilotSourceHierarchies.idl | 51 ++++
.../sun/star/sheet/DataPilotSourceHierarchy.idl | 55 ++++
offapi/com/sun/star/sheet/DataPilotSourceLevel.idl | 87 ++++++
.../com/sun/star/sheet/DataPilotSourceLevels.idl | 50 ++++
.../com/sun/star/sheet/DataPilotSourceMember.idl | 79 ++++++
.../com/sun/star/sheet/DataPilotSourceMembers.idl | 50 ++++
offapi/com/sun/star/sheet/DataPilotTable.idl | 59 ++++
.../sun/star/sheet/DataPilotTableHeaderData.idl | 69 +++++
.../sun/star/sheet/DataPilotTablePositionData.idl | 78 ++++++
.../sun/star/sheet/DataPilotTablePositionType.idl | 65 +++++
.../sun/star/sheet/DataPilotTableResultData.idl | 73 +++++
offapi/com/sun/star/sheet/DataPilotTables.idl | 60 +++++
.../sun/star/sheet/DataPilotTablesEnumeration.idl | 49 ++++
offapi/com/sun/star/sheet/DataResult.idl | 51 ++++
offapi/com/sun/star/sheet/DataResultFlags.idl | 56 ++++
.../sun/star/sheet/DatabaseImportDescriptor.idl | 77 ++++++
offapi/com/sun/star/sheet/DatabaseRange.idl | 135 ++++++++++
offapi/com/sun/star/sheet/DatabaseRanges.idl | 64 +++++
.../sun/star/sheet/DatabaseRangesEnumeration.idl | 49 ++++
offapi/com/sun/star/sheet/DateCondition.idl | 34 +++
offapi/com/sun/star/sheet/DateType.idl | 49 ++++
offapi/com/sun/star/sheet/DimensionFlags.idl | 60 +++++
offapi/com/sun/star/sheet/DocumentSettings.idl | 122 +++++++++
offapi/com/sun/star/sheet/ExternalDocLink.idl | 46 ++++
offapi/com/sun/star/sheet/ExternalDocLinks.idl | 46 ++++
offapi/com/sun/star/sheet/ExternalLinkInfo.idl | 64 +++++
offapi/com/sun/star/sheet/ExternalLinkType.idl | 63 +++++
offapi/com/sun/star/sheet/ExternalReference.idl | 81 ++++++
offapi/com/sun/star/sheet/ExternalSheetCache.idl | 46 ++++
offapi/com/sun/star/sheet/FillDateMode.idl | 61 +++++
offapi/com/sun/star/sheet/FillDirection.idl | 59 ++++
offapi/com/sun/star/sheet/FillMode.idl | 78 ++++++
offapi/com/sun/star/sheet/FilterConnection.idl | 49 ++++
offapi/com/sun/star/sheet/FilterFieldType.idl | 40 +++
offapi/com/sun/star/sheet/FilterFieldValue.idl | 62 +++++
offapi/com/sun/star/sheet/FilterFormulaParser.idl | 42 +++
offapi/com/sun/star/sheet/FilterOperator.idl | 98 +++++++
offapi/com/sun/star/sheet/FilterOperator2.idl | 133 +++++++++
offapi/com/sun/star/sheet/FormulaLanguage.idl | 83 ++++++
offapi/com/sun/star/sheet/FormulaMapGroup.idl | 67 +++++
.../star/sheet/FormulaMapGroupSpecialOffset.idl | 202 ++++++++++++++
.../com/sun/star/sheet/FormulaOpCodeMapEntry.idl | 51 ++++
offapi/com/sun/star/sheet/FormulaOpCodeMapper.idl | 37 +++
offapi/com/sun/star/sheet/FormulaParser.idl | 101 +++++++
offapi/com/sun/star/sheet/FormulaResult.idl | 53 ++++
offapi/com/sun/star/sheet/FormulaToken.idl | 52 ++++
offapi/com/sun/star/sheet/FunctionAccess.idl | 77 ++++++
offapi/com/sun/star/sheet/FunctionArgument.idl | 56 ++++
offapi/com/sun/star/sheet/FunctionCategory.idl | 95 +++++++
offapi/com/sun/star/sheet/FunctionDescription.idl | 72 +++++
.../star/sheet/FunctionDescriptionEnumeration.idl | 49 ++++
offapi/com/sun/star/sheet/FunctionDescriptions.idl | 71 +++++
offapi/com/sun/star/sheet/GeneralFunction.idl | 105 ++++++++
offapi/com/sun/star/sheet/GeneralFunction2.idl | 111 ++++++++
offapi/com/sun/star/sheet/GlobalSheetSettings.idl | 42 +++
offapi/com/sun/star/sheet/GoalResult.idl | 47 ++++
offapi/com/sun/star/sheet/HeaderFooterContent.idl | 47 ++++
offapi/com/sun/star/sheet/IconSet.idl | 40 +++
offapi/com/sun/star/sheet/IconSetFormatEntry.idl | 36 +++
offapi/com/sun/star/sheet/IconSetType.idl | 62 +++++
offapi/com/sun/star/sheet/LabelRange.idl | 49 ++++
offapi/com/sun/star/sheet/LabelRanges.idl | 67 +++++
.../com/sun/star/sheet/LabelRangesEnumeration.idl | 49 ++++
offapi/com/sun/star/sheet/LocalizedName.idl | 51 ++++
offapi/com/sun/star/sheet/MemberResult.idl | 67 +++++
offapi/com/sun/star/sheet/MemberResultFlags.idl | 62 +++++
offapi/com/sun/star/sheet/MoveDirection.idl | 59 ++++
offapi/com/sun/star/sheet/NameToken.idl | 31 +++
offapi/com/sun/star/sheet/NamedRange.idl | 90 +++++++
offapi/com/sun/star/sheet/NamedRangeFlag.idl | 58 ++++
offapi/com/sun/star/sheet/NamedRanges.idl | 77 ++++++
.../com/sun/star/sheet/NamedRangesEnumeration.idl | 49 ++++
.../com/sun/star/sheet/NoConvergenceException.idl | 40 +++
offapi/com/sun/star/sheet/PasteOperation.idl | 64 +++++
.../com/sun/star/sheet/RangeSelectionArguments.idl | 62 +++++
offapi/com/sun/star/sheet/RangeSelectionEvent.idl | 45 ++++
offapi/com/sun/star/sheet/RecentFunctions.idl | 38 +++
offapi/com/sun/star/sheet/ReferenceFlags.idl | 79 ++++++
offapi/com/sun/star/sheet/ResultEvent.idl | 50 ++++
offapi/com/sun/star/sheet/Scenario.idl | 93 +++++++
offapi/com/sun/star/sheet/Scenarios.idl | 62 +++++
offapi/com/sun/star/sheet/ScenariosEnumeration.idl | 49 ++++
offapi/com/sun/star/sheet/Shape.idl | 74 ++++++
offapi/com/sun/star/sheet/SheetCell.idl | 262 ++++++++++++++++++
offapi/com/sun/star/sheet/SheetCellCursor.idl | 67 +++++
offapi/com/sun/star/sheet/SheetCellRange.idl | 296 +++++++++++++++++++++
offapi/com/sun/star/sheet/SheetCellRanges.idl | 187 +++++++++++++
.../sun/star/sheet/SheetCellRangesEnumeration.idl | 49 ++++
.../com/sun/star/sheet/SheetFilterDescriptor.idl | 129 +++++++++
offapi/com/sun/star/sheet/SheetLink.idl | 85 ++++++
offapi/com/sun/star/sheet/SheetLinkMode.idl | 57 ++++
offapi/com/sun/star/sheet/SheetLinks.idl | 70 +++++
.../com/sun/star/sheet/SheetLinksEnumeration.idl | 49 ++++
offapi/com/sun/star/sheet/SheetRangesQuery.idl | 51 ++++
offapi/com/sun/star/sheet/SheetSortDescriptor.idl | 81 ++++++
offapi/com/sun/star/sheet/SheetSortDescriptor2.idl | 94 +++++++
offapi/com/sun/star/sheet/SingleReference.idl | 73 +++++
offapi/com/sun/star/sheet/Solver.idl | 38 +++
offapi/com/sun/star/sheet/SolverConstraint.idl | 51 ++++
.../sun/star/sheet/SolverConstraintOperator.idl | 52 ++++
offapi/com/sun/star/sheet/Spreadsheet.idl | 202 ++++++++++++++
offapi/com/sun/star/sheet/SpreadsheetDocument.idl | 192 +++++++++++++
.../sun/star/sheet/SpreadsheetDocumentSettings.idl | 238 +++++++++++++++++
offapi/com/sun/star/sheet/SpreadsheetDrawPage.idl | 75 ++++++
offapi/com/sun/star/sheet/SpreadsheetView.idl | 103 +++++++
.../sun/star/sheet/SpreadsheetViewObjectsMode.idl | 48 ++++
offapi/com/sun/star/sheet/SpreadsheetViewPane.idl | 55 ++++
.../star/sheet/SpreadsheetViewPanesEnumeration.idl | 49 ++++
.../com/sun/star/sheet/SpreadsheetViewSettings.idl | 169 ++++++++++++
offapi/com/sun/star/sheet/Spreadsheets.idl | 70 +++++
.../com/sun/star/sheet/SpreadsheetsEnumeration.idl | 49 ++++
offapi/com/sun/star/sheet/StatusBarFunction.idl | 74 ++++++
offapi/com/sun/star/sheet/SubTotalColumn.idl | 52 ++++
offapi/com/sun/star/sheet/SubTotalDescriptor.idl | 119 +++++++++
offapi/com/sun/star/sheet/SubTotalField.idl | 50 ++++
.../sun/star/sheet/SubTotalFieldsEnumeration.idl | 49 ++++
offapi/com/sun/star/sheet/TableAutoFormat.idl | 110 ++++++++
.../sun/star/sheet/TableAutoFormatEnumeration.idl | 49 ++++
offapi/com/sun/star/sheet/TableAutoFormatField.idl | 282 ++++++++++++++++++++
offapi/com/sun/star/sheet/TableAutoFormats.idl | 66 +++++
.../sun/star/sheet/TableAutoFormatsEnumeration.idl | 49 ++++
offapi/com/sun/star/sheet/TableCellStyle.idl | 79 ++++++
.../com/sun/star/sheet/TableConditionalEntry.idl | 53 ++++
.../sheet/TableConditionalEntryEnumeration.idl | 49 ++++
.../com/sun/star/sheet/TableConditionalFormat.idl | 82 ++++++
offapi/com/sun/star/sheet/TableFilterField.idl | 74 ++++++
offapi/com/sun/star/sheet/TableFilterField2.idl | 81 ++++++
offapi/com/sun/star/sheet/TableFilterField3.idl | 46 ++++
offapi/com/sun/star/sheet/TableOperationMode.idl | 63 +++++
offapi/com/sun/star/sheet/TablePageBreakData.idl | 50 ++++
offapi/com/sun/star/sheet/TablePageStyle.idl | 185 +++++++++++++
offapi/com/sun/star/sheet/TableValidation.idl | 117 ++++++++
.../sun/star/sheet/TableValidationVisibility.idl | 54 ++++
.../com/sun/star/sheet/UniqueCellFormatRanges.idl | 63 +++++
.../sheet/UniqueCellFormatRangesEnumeration.idl | 50 ++++
offapi/com/sun/star/sheet/ValidationAlertStyle.idl | 60 +++++
offapi/com/sun/star/sheet/ValidationType.idl | 78 ++++++
offapi/com/sun/star/sheet/VolatileResult.idl | 51 ++++
.../com/sun/star/sheet/XActivationBroadcaster.idl | 68 +++++
.../sun/star/sheet/XActivationEventListener.idl | 59 ++++
offapi/com/sun/star/sheet/XAddIn.idl | 199 ++++++++++++++
offapi/com/sun/star/sheet/XAreaLink.idl | 70 +++++
offapi/com/sun/star/sheet/XAreaLinks.idl | 78 ++++++
offapi/com/sun/star/sheet/XArrayFormulaRange.idl | 55 ++++
offapi/com/sun/star/sheet/XArrayFormulaTokens.idl | 51 ++++
offapi/com/sun/star/sheet/XCalculatable.idl | 79 ++++++
offapi/com/sun/star/sheet/XCellAddressable.idl | 50 ++++
.../sun/star/sheet/XCellFormatRangesSupplier.idl | 59 ++++
.../com/sun/star/sheet/XCellRangeAddressable.idl | 50 ++++
offapi/com/sun/star/sheet/XCellRangeData.idl | 57 ++++
offapi/com/sun/star/sheet/XCellRangeFormula.idl | 67 +++++
offapi/com/sun/star/sheet/XCellRangeMovement.idl | 103 +++++++
offapi/com/sun/star/sheet/XCellRangeReferrer.idl | 52 ++++
offapi/com/sun/star/sheet/XCellRangesAccess.idl | 125 +++++++++
offapi/com/sun/star/sheet/XCellRangesQuery.idl | 149 +++++++++++
offapi/com/sun/star/sheet/XCellSeries.idl | 87 ++++++
offapi/com/sun/star/sheet/XColorScaleEntry.idl | 44 +++
offapi/com/sun/star/sheet/XCompatibilityNames.idl | 70 +++++
offapi/com/sun/star/sheet/XConditionEntry.idl | 32 +++
offapi/com/sun/star/sheet/XConditionalFormat.idl | 39 +++
offapi/com/sun/star/sheet/XConditionalFormats.idl | 39 +++
offapi/com/sun/star/sheet/XConsolidatable.idl | 70 +++++
.../sun/star/sheet/XConsolidationDescriptor.idl | 117 ++++++++
offapi/com/sun/star/sheet/XDDELink.idl | 60 +++++
offapi/com/sun/star/sheet/XDDELinkResults.idl | 64 +++++
offapi/com/sun/star/sheet/XDDELinks.idl | 74 ++++++
offapi/com/sun/star/sheet/XDataBarEntry.idl | 38 +++
.../sheet/XDataPilotDataLayoutFieldSupplier.idl | 61 +++++
offapi/com/sun/star/sheet/XDataPilotDescriptor.idl | 118 ++++++++
offapi/com/sun/star/sheet/XDataPilotField.idl | 51 ++++
.../com/sun/star/sheet/XDataPilotFieldGrouping.idl | 155 +++++++++++
.../com/sun/star/sheet/XDataPilotMemberResults.idl | 54 ++++
offapi/com/sun/star/sheet/XDataPilotResults.idl | 57 ++++
offapi/com/sun/star/sheet/XDataPilotTable.idl | 56 ++++
offapi/com/sun/star/sheet/XDataPilotTable2.idl | 106 ++++++++
offapi/com/sun/star/sheet/XDataPilotTables.idl | 85 ++++++
.../sun/star/sheet/XDataPilotTablesSupplier.idl | 50 ++++
offapi/com/sun/star/sheet/XDatabaseRange.idl | 100 +++++++
offapi/com/sun/star/sheet/XDatabaseRanges.idl | 55 ++++
offapi/com/sun/star/sheet/XDimensionsSupplier.idl | 50 ++++
offapi/com/sun/star/sheet/XDocumentAuditing.idl | 49 ++++
.../com/sun/star/sheet/XDrillDownDataSupplier.idl | 68 +++++
.../star/sheet/XEnhancedMouseClickBroadcaster.idl | 74 ++++++
offapi/com/sun/star/sheet/XExternalDocLink.idl | 88 ++++++
offapi/com/sun/star/sheet/XExternalDocLinks.idl | 57 ++++
offapi/com/sun/star/sheet/XExternalSheetCache.idl | 92 +++++++
offapi/com/sun/star/sheet/XExternalSheetName.idl | 66 +++++
offapi/com/sun/star/sheet/XFillAcrossSheet.idl | 47 ++++
offapi/com/sun/star/sheet/XFilterFormulaParser.idl | 47 ++++
offapi/com/sun/star/sheet/XFormulaOpCodeMapper.idl | 132 +++++++++
offapi/com/sun/star/sheet/XFormulaParser.idl | 56 ++++
offapi/com/sun/star/sheet/XFormulaQuery.idl | 83 ++++++
offapi/com/sun/star/sheet/XFormulaTokens.idl | 51 ++++
offapi/com/sun/star/sheet/XFunctionAccess.idl | 106 ++++++++
.../com/sun/star/sheet/XFunctionDescriptions.idl | 64 +++++
offapi/com/sun/star/sheet/XGlobalSheetSettings.idl | 154 +++++++++++
offapi/com/sun/star/sheet/XGoalSeek.idl | 64 +++++
offapi/com/sun/star/sheet/XHeaderFooterContent.idl | 68 +++++
offapi/com/sun/star/sheet/XHierarchiesSupplier.idl | 52 ++++
offapi/com/sun/star/sheet/XIconSetEntry.idl | 40 +++
offapi/com/sun/star/sheet/XLabelRange.idl | 68 +++++
offapi/com/sun/star/sheet/XLabelRanges.idl | 63 +++++
offapi/com/sun/star/sheet/XLevelsSupplier.idl | 52 ++++
offapi/com/sun/star/sheet/XMembersAccess.idl | 56 ++++
offapi/com/sun/star/sheet/XMembersSupplier.idl | 51 ++++
offapi/com/sun/star/sheet/XMultiFormulaTokens.idl | 78 ++++++
offapi/com/sun/star/sheet/XMultipleOperation.idl | 80 ++++++
offapi/com/sun/star/sheet/XNamedRange.idl | 90 +++++++
offapi/com/sun/star/sheet/XNamedRanges.idl | 117 ++++++++
offapi/com/sun/star/sheet/XPrintAreas.idl | 140 ++++++++++
offapi/com/sun/star/sheet/XRangeSelection.idl | 79 ++++++
.../star/sheet/XRangeSelectionChangeListener.idl | 49 ++++
.../com/sun/star/sheet/XRangeSelectionListener.idl | 52 ++++
offapi/com/sun/star/sheet/XRecentFunctions.idl | 68 +++++
offapi/com/sun/star/sheet/XResultListener.idl | 48 ++++
offapi/com/sun/star/sheet/XScenario.idl | 73 +++++
offapi/com/sun/star/sheet/XScenarioEnhanced.idl | 55 ++++
offapi/com/sun/star/sheet/XScenarios.idl | 67 +++++
offapi/com/sun/star/sheet/XScenariosSupplier.idl | 48 ++++
.../com/sun/star/sheet/XSelectedSheetsSupplier.idl | 33 +++
offapi/com/sun/star/sheet/XSheetAnnotation.idl | 71 +++++
.../com/sun/star/sheet/XSheetAnnotationAnchor.idl | 49 ++++
.../star/sheet/XSheetAnnotationShapeSupplier.idl | 50 ++++
offapi/com/sun/star/sheet/XSheetAnnotations.idl | 73 +++++
.../sun/star/sheet/XSheetAnnotationsSupplier.idl | 48 ++++
offapi/com/sun/star/sheet/XSheetAuditing.idl | 102 +++++++
offapi/com/sun/star/sheet/XSheetCellCursor.idl | 95 +++++++
offapi/com/sun/star/sheet/XSheetCellRange.idl | 56 ++++
.../sun/star/sheet/XSheetCellRangeContainer.idl | 105 ++++++++
offapi/com/sun/star/sheet/XSheetCellRanges.idl | 71 +++++
offapi/com/sun/star/sheet/XSheetCondition.idl | 106 ++++++++
offapi/com/sun/star/sheet/XSheetCondition2.idl | 48 ++++
.../sun/star/sheet/XSheetConditionalEntries.idl | 84 ++++++
.../com/sun/star/sheet/XSheetConditionalEntry.idl | 55 ++++
.../com/sun/star/sheet/XSheetFilterDescriptor.idl | 53 ++++
.../com/sun/star/sheet/XSheetFilterDescriptor2.idl | 58 ++++
.../com/sun/star/sheet/XSheetFilterDescriptor3.idl | 46 ++++
offapi/com/sun/star/sheet/XSheetFilterable.idl | 64 +++++
offapi/com/sun/star/sheet/XSheetFilterableEx.idl | 55 ++++
offapi/com/sun/star/sheet/XSheetLinkable.idl | 112 ++++++++
offapi/com/sun/star/sheet/XSheetOperation.idl | 68 +++++
offapi/com/sun/star/sheet/XSheetOutline.idl | 116 ++++++++
offapi/com/sun/star/sheet/XSheetPageBreak.idl | 76 ++++++
offapi/com/sun/star/sheet/XSheetPastable.idl | 73 +++++
offapi/com/sun/star/sheet/XSolver.idl | 69 +++++
offapi/com/sun/star/sheet/XSolverDescription.idl | 53 ++++
offapi/com/sun/star/sheet/XSpreadsheet.idl | 61 +++++
offapi/com/sun/star/sheet/XSpreadsheetDocument.idl | 50 ++++
offapi/com/sun/star/sheet/XSpreadsheetView.idl | 53 ++++
offapi/com/sun/star/sheet/XSpreadsheets.idl | 78 ++++++
offapi/com/sun/star/sheet/XSpreadsheets2.idl | 59 ++++
.../com/sun/star/sheet/XSubTotalCalculatable.idl | 77 ++++++
offapi/com/sun/star/sheet/XSubTotalDescriptor.idl | 63 +++++
offapi/com/sun/star/sheet/XSubTotalField.idl | 68 +++++
.../star/sheet/XUniqueCellFormatRangesSupplier.idl | 62 +++++
.../com/sun/star/sheet/XUnnamedDatabaseRanges.idl | 45 ++++
offapi/com/sun/star/sheet/XUsedAreaCursor.idl | 64 +++++
offapi/com/sun/star/sheet/XViewFreezable.idl | 61 +++++
offapi/com/sun/star/sheet/XViewPane.idl | 70 +++++
offapi/com/sun/star/sheet/XViewPanesSupplier.idl | 48 ++++
offapi/com/sun/star/sheet/XViewSplitable.idl | 84 ++++++
offapi/com/sun/star/sheet/XVolatileResult.idl | 56 ++++
offapi/com/sun/star/sheet/opencl/OpenCLDevice.idl | 37 +++
.../com/sun/star/sheet/opencl/OpenCLPlatform.idl | 33 +++
.../com/sun/star/sheet/opencl/XOpenCLSelection.idl | 106 ++++++++
340 files changed, 24948 insertions(+)
create mode 100644 offapi/com/sun/star/sheet/AccessibleCell.idl
create mode 100644 offapi/com/sun/star/sheet/AccessibleCsvCell.idl
create mode 100644 offapi/com/sun/star/sheet/AccessibleCsvRuler.idl
create mode 100644 offapi/com/sun/star/sheet/AccessibleCsvTable.idl
create mode 100644 offapi/com/sun/star/sheet/AccessiblePageHeaderFooterAreasView.idl
create mode 100644 offapi/com/sun/star/sheet/AccessibleSpreadsheet.idl
create mode 100644 offapi/com/sun/star/sheet/AccessibleSpreadsheetDocumentView.idl
create mode 100644 offapi/com/sun/star/sheet/AccessibleSpreadsheetPageView.idl
create mode 100644 offapi/com/sun/star/sheet/ActivationEvent.idl
create mode 100644 offapi/com/sun/star/sheet/AddIn.idl
create mode 100644 offapi/com/sun/star/sheet/AddressConvention.idl
create mode 100644 offapi/com/sun/star/sheet/Border.idl
create mode 100644 offapi/com/sun/star/sheet/CellAnnotation.idl
create mode 100644 offapi/com/sun/star/sheet/CellAnnotationShape.idl
create mode 100644 offapi/com/sun/star/sheet/CellAnnotations.idl
create mode 100644 offapi/com/sun/star/sheet/CellAnnotationsEnumeration.idl
create mode 100644 offapi/com/sun/star/sheet/CellAreaLink.idl
create mode 100644 offapi/com/sun/star/sheet/CellAreaLinks.idl
create mode 100644 offapi/com/sun/star/sheet/CellAreaLinksEnumeration.idl
create mode 100644 offapi/com/sun/star/sheet/CellDeleteMode.idl
create mode 100644 offapi/com/sun/star/sheet/CellFlags.idl
create mode 100644 offapi/com/sun/star/sheet/CellFormatRanges.idl
create mode 100644 offapi/com/sun/star/sheet/CellFormatRangesEnumeration.idl
create mode 100644 offapi/com/sun/star/sheet/CellInsertMode.idl
create mode 100644 offapi/com/sun/star/sheet/Cells.idl
create mode 100644 offapi/com/sun/star/sheet/CellsEnumeration.idl
create mode 100644 offapi/com/sun/star/sheet/ColorScale.idl
create mode 100644 offapi/com/sun/star/sheet/ColorScaleEntryType.idl
create mode 100644 offapi/com/sun/star/sheet/ComplexReference.idl
create mode 100644 offapi/com/sun/star/sheet/ConditionEntryType.idl
create mode 100644 offapi/com/sun/star/sheet/ConditionFormatEntry.idl
create mode 100644 offapi/com/sun/star/sheet/ConditionFormatOperator.idl
create mode 100644 offapi/com/sun/star/sheet/ConditionOperator.idl
create mode 100644 offapi/com/sun/star/sheet/ConditionOperator2.idl
create mode 100644 offapi/com/sun/star/sheet/ConditionalFormat.idl
create mode 100644 offapi/com/sun/star/sheet/ConsolidationDescriptor.idl
create mode 100644 offapi/com/sun/star/sheet/DDEItemInfo.idl
create mode 100644 offapi/com/sun/star/sheet/DDELink.idl
create mode 100644 offapi/com/sun/star/sheet/DDELinkInfo.idl
create mode 100644 offapi/com/sun/star/sheet/DDELinkMode.idl
create mode 100644 offapi/com/sun/star/sheet/DDELinks.idl
create mode 100644 offapi/com/sun/star/sheet/DDELinksEnumeration.idl
create mode 100644 offapi/com/sun/star/sheet/DataBar.idl
create mode 100644 offapi/com/sun/star/sheet/DataBarAxis.idl
create mode 100644 offapi/com/sun/star/sheet/DataBarEntryType.idl
create mode 100644 offapi/com/sun/star/sheet/DataImportMode.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotDescriptor.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotField.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotFieldAutoShowInfo.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotFieldFilter.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotFieldGroup.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotFieldGroupBy.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotFieldGroupEnumeration.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotFieldGroupInfo.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotFieldGroupItem.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotFieldGroups.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotFieldGroupsEnumeration.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotFieldLayoutInfo.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotFieldLayoutMode.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotFieldOrientation.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotFieldReference.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotFieldReferenceItemType.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotFieldReferenceType.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotFieldShowItemsMode.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotFieldSortInfo.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotFieldSortMode.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotFields.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotFieldsEnumeration.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotItem.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotItems.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotItemsEnumeration.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotOutputRangeType.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotSource.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotSourceDimension.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotSourceDimensions.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotSourceHierarchies.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotSourceHierarchy.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotSourceLevel.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotSourceLevels.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotSourceMember.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotSourceMembers.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotTable.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotTableHeaderData.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotTablePositionData.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotTablePositionType.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotTableResultData.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotTables.idl
create mode 100644 offapi/com/sun/star/sheet/DataPilotTablesEnumeration.idl
create mode 100644 offapi/com/sun/star/sheet/DataResult.idl
create mode 100644 offapi/com/sun/star/sheet/DataResultFlags.idl
create mode 100644 offapi/com/sun/star/sheet/DatabaseImportDescriptor.idl
create mode 100644 offapi/com/sun/star/sheet/DatabaseRange.idl
create mode 100644 offapi/com/sun/star/sheet/DatabaseRanges.idl
create mode 100644 offapi/com/sun/star/sheet/DatabaseRangesEnumeration.idl
create mode 100644 offapi/com/sun/star/sheet/DateCondition.idl
create mode 100644 offapi/com/sun/star/sheet/DateType.idl
create mode 100644 offapi/com/sun/star/sheet/DimensionFlags.idl
create mode 100644 offapi/com/sun/star/sheet/DocumentSettings.idl
create mode 100644 offapi/com/sun/star/sheet/ExternalDocLink.idl
create mode 100644 offapi/com/sun/star/sheet/ExternalDocLinks.idl
create mode 100644 offapi/com/sun/star/sheet/ExternalLinkInfo.idl
create mode 100644 offapi/com/sun/star/sheet/ExternalLinkType.idl
create mode 100644 offapi/com/sun/star/sheet/ExternalReference.idl
create mode 100644 offapi/com/sun/star/sheet/ExternalSheetCache.idl
create mode 100644 offapi/com/sun/star/sheet/FillDateMode.idl
create mode 100644 offapi/com/sun/star/sheet/FillDirection.idl
create mode 100644 offapi/com/sun/star/sheet/FillMode.idl
create mode 100644 offapi/com/sun/star/sheet/FilterConnection.idl
create mode 100644 offapi/com/sun/star/sheet/FilterFieldType.idl
create mode 100644 offapi/com/sun/star/sheet/FilterFieldValue.idl
create mode 100644 offapi/com/sun/star/sheet/FilterFormulaParser.idl
create mode 100644 offapi/com/sun/star/sheet/FilterOperator.idl
create mode 100644 offapi/com/sun/star/sheet/FilterOperator2.idl
create mode 100644 offapi/com/sun/star/sheet/FormulaLanguage.idl
create mode 100644 offapi/com/sun/star/sheet/FormulaMapGroup.idl
create mode 100644 offapi/com/sun/star/sheet/FormulaMapGroupSpecialOffset.idl
create mode 100644 offapi/com/sun/star/sheet/FormulaOpCodeMapEntry.idl
create mode 100644 offapi/com/sun/star/sheet/FormulaOpCodeMapper.idl
create mode 100644 offapi/com/sun/star/sheet/FormulaParser.idl
create mode 100644 offapi/com/sun/star/sheet/FormulaResult.idl
create mode 100644 offapi/com/sun/star/sheet/FormulaToken.idl
create mode 100644 offapi/com/sun/star/sheet/FunctionAccess.idl
create mode 100644 offapi/com/sun/star/sheet/FunctionArgument.idl
create mode 100644 offapi/com/sun/star/sheet/FunctionCategory.idl
create mode 100644 offapi/com/sun/star/sheet/FunctionDescription.idl
create mode 100644 offapi/com/sun/star/sheet/FunctionDescriptionEnumeration.idl
create mode 100644 offapi/com/sun/star/sheet/FunctionDescriptions.idl
create mode 100644 offapi/com/sun/star/sheet/GeneralFunction.idl
create mode 100644 offapi/com/sun/star/sheet/GeneralFunction2.idl
create mode 100644 offapi/com/sun/star/sheet/GlobalSheetSettings.idl
create mode 100644 offapi/com/sun/star/sheet/GoalResult.idl
create mode 100644 offapi/com/sun/star/sheet/HeaderFooterContent.idl
create mode 100644 offapi/com/sun/star/sheet/IconSet.idl
create mode 100644 offapi/com/sun/star/sheet/IconSetFormatEntry.idl
create mode 100644 offapi/com/sun/star/sheet/IconSetType.idl
create mode 100644 offapi/com/sun/star/sheet/LabelRange.idl
create mode 100644 offapi/com/sun/star/sheet/LabelRanges.idl
create mode 100644 offapi/com/sun/star/sheet/LabelRangesEnumeration.idl
create mode 100644 offapi/com/sun/star/sheet/LocalizedName.idl
create mode 100644 offapi/com/sun/star/sheet/MemberResult.idl
create mode 100644 offapi/com/sun/star/sheet/MemberResultFlags.idl
create mode 100644 offapi/com/sun/star/sheet/MoveDirection.idl
create mode 100644 offapi/com/sun/star/sheet/NameToken.idl
create mode 100644 offapi/com/sun/star/sheet/NamedRange.idl
create mode 100644 offapi/com/sun/star/sheet/NamedRangeFlag.idl
create mode 100644 offapi/com/sun/star/sheet/NamedRanges.idl
create mode 100644 offapi/com/sun/star/sheet/NamedRangesEnumeration.idl
create mode 100644 offapi/com/sun/star/sheet/NoConvergenceException.idl
create mode 100644 offapi/com/sun/star/sheet/PasteOperation.idl
create mode 100644 offapi/com/sun/star/sheet/RangeSelectionArguments.idl
create mode 100644 offapi/com/sun/star/sheet/RangeSelectionEvent.idl
create mode 100644 offapi/com/sun/star/sheet/RecentFunctions.idl
create mode 100644 offapi/com/sun/star/sheet/ReferenceFlags.idl
create mode 100644 offapi/com/sun/star/sheet/ResultEvent.idl
create mode 100644 offapi/com/sun/star/sheet/Scenario.idl
create mode 100644 offapi/com/sun/star/sheet/Scenarios.idl
create mode 100644 offapi/com/sun/star/sheet/ScenariosEnumeration.idl
create mode 100644 offapi/com/sun/star/sheet/Shape.idl
create mode 100644 offapi/com/sun/star/sheet/SheetCell.idl
create mode 100644 offapi/com/sun/star/sheet/SheetCellCursor.idl
create mode 100644 offapi/com/sun/star/sheet/SheetCellRange.idl
create mode 100644 offapi/com/sun/star/sheet/SheetCellRanges.idl
create mode 100644 offapi/com/sun/star/sheet/SheetCellRangesEnumeration.idl
create mode 100644 offapi/com/sun/star/sheet/SheetFilterDescriptor.idl
create mode 100644 offapi/com/sun/star/sheet/SheetLink.idl
create mode 100644 offapi/com/sun/star/sheet/SheetLinkMode.idl
create mode 100644 offapi/com/sun/star/sheet/SheetLinks.idl
create mode 100644 offapi/com/sun/star/sheet/SheetLinksEnumeration.idl
create mode 100644 offapi/com/sun/star/sheet/SheetRangesQuery.idl
create mode 100644 offapi/com/sun/star/sheet/SheetSortDescriptor.idl
create mode 100644 offapi/com/sun/star/sheet/SheetSortDescriptor2.idl
create mode 100644 offapi/com/sun/star/sheet/SingleReference.idl
create mode 100644 offapi/com/sun/star/sheet/Solver.idl
create mode 100644 offapi/com/sun/star/sheet/SolverConstraint.idl
create mode 100644 offapi/com/sun/star/sheet/SolverConstraintOperator.idl
create mode 100644 offapi/com/sun/star/sheet/Spreadsheet.idl
create mode 100644 offapi/com/sun/star/sheet/SpreadsheetDocument.idl
create mode 100644 offapi/com/sun/star/sheet/SpreadsheetDocumentSettings.idl
create mode 100644 offapi/com/sun/star/sheet/SpreadsheetDrawPage.idl
create mode 100644 offapi/com/sun/star/sheet/SpreadsheetView.idl
create mode 100644 offapi/com/sun/star/sheet/SpreadsheetViewObjectsMode.idl
create mode 100644 offapi/com/sun/star/sheet/SpreadsheetViewPane.idl
create mode 100644 offapi/com/sun/star/sheet/SpreadsheetViewPanesEnumeration.idl
create mode 100644 offapi/com/sun/star/sheet/SpreadsheetViewSettings.idl
create mode 100644 offapi/com/sun/star/sheet/Spreadsheets.idl
create mode 100644 offapi/com/sun/star/sheet/SpreadsheetsEnumeration.idl
create mode 100644 offapi/com/sun/star/sheet/StatusBarFunction.idl
create mode 100644 offapi/com/sun/star/sheet/SubTotalColumn.idl
create mode 100644 offapi/com/sun/star/sheet/SubTotalDescriptor.idl
create mode 100644 offapi/com/sun/star/sheet/SubTotalField.idl
create mode 100644 offapi/com/sun/star/sheet/SubTotalFieldsEnumeration.idl
create mode 100644 offapi/com/sun/star/sheet/TableAutoFormat.idl
create mode 100644 offapi/com/sun/star/sheet/TableAutoFormatEnumeration.idl
create mode 100644 offapi/com/sun/star/sheet/TableAutoFormatField.idl
create mode 100644 offapi/com/sun/star/sheet/TableAutoFormats.idl
create mode 100644 offapi/com/sun/star/sheet/TableAutoFormatsEnumeration.idl
create mode 100644 offapi/com/sun/star/sheet/TableCellStyle.idl
create mode 100644 offapi/com/sun/star/sheet/TableConditionalEntry.idl
create mode 100644 offapi/com/sun/star/sheet/TableConditionalEntryEnumeration.idl
create mode 100644 offapi/com/sun/star/sheet/TableConditionalFormat.idl
create mode 100644 offapi/com/sun/star/sheet/TableFilterField.idl
create mode 100644 offapi/com/sun/star/sheet/TableFilterField2.idl
create mode 100644 offapi/com/sun/star/sheet/TableFilterField3.idl
create mode 100644 offapi/com/sun/star/sheet/TableOperationMode.idl
create mode 100644 offapi/com/sun/star/sheet/TablePageBreakData.idl
create mode 100644 offapi/com/sun/star/sheet/TablePageStyle.idl
create mode 100644 offapi/com/sun/star/sheet/TableValidation.idl
create mode 100644 offapi/com/sun/star/sheet/TableValidationVisibility.idl
create mode 100644 offapi/com/sun/star/sheet/UniqueCellFormatRanges.idl
create mode 100644 offapi/com/sun/star/sheet/UniqueCellFormatRangesEnumeration.idl
create mode 100644 offapi/com/sun/star/sheet/ValidationAlertStyle.idl
create mode 100644 offapi/com/sun/star/sheet/ValidationType.idl
create mode 100644 offapi/com/sun/star/sheet/VolatileResult.idl
create mode 100644 offapi/com/sun/star/sheet/XActivationBroadcaster.idl
create mode 100644 offapi/com/sun/star/sheet/XActivationEventListener.idl
create mode 100644 offapi/com/sun/star/sheet/XAddIn.idl
create mode 100644 offapi/com/sun/star/sheet/XAreaLink.idl
create mode 100644 offapi/com/sun/star/sheet/XAreaLinks.idl
create mode 100644 offapi/com/sun/star/sheet/XArrayFormulaRange.idl
create mode 100644 offapi/com/sun/star/sheet/XArrayFormulaTokens.idl
create mode 100644 offapi/com/sun/star/sheet/XCalculatable.idl
create mode 100644 offapi/com/sun/star/sheet/XCellAddressable.idl
create mode 100644 offapi/com/sun/star/sheet/XCellFormatRangesSupplier.idl
create mode 100644 offapi/com/sun/star/sheet/XCellRangeAddressable.idl
create mode 100644 offapi/com/sun/star/sheet/XCellRangeData.idl
create mode 100644 offapi/com/sun/star/sheet/XCellRangeFormula.idl
create mode 100644 offapi/com/sun/star/sheet/XCellRangeMovement.idl
create mode 100644 offapi/com/sun/star/sheet/XCellRangeReferrer.idl
create mode 100644 offapi/com/sun/star/sheet/XCellRangesAccess.idl
create mode 100644 offapi/com/sun/star/sheet/XCellRangesQuery.idl
create mode 100644 offapi/com/sun/star/sheet/XCellSeries.idl
create mode 100644 offapi/com/sun/star/sheet/XColorScaleEntry.idl
create mode 100644 offapi/com/sun/star/sheet/XCompatibilityNames.idl
create mode 100644 offapi/com/sun/star/sheet/XConditionEntry.idl
create mode 100644 offapi/com/sun/star/sheet/XConditionalFormat.idl
create mode 100644 offapi/com/sun/star/sheet/XConditionalFormats.idl
create mode 100644 offapi/com/sun/star/sheet/XConsolidatable.idl
create mode 100644 offapi/com/sun/star/sheet/XConsolidationDescriptor.idl
create mode 100644 offapi/com/sun/star/sheet/XDDELink.idl
create mode 100644 offapi/com/sun/star/sheet/XDDELinkResults.idl
create mode 100644 offapi/com/sun/star/sheet/XDDELinks.idl
create mode 100644 offapi/com/sun/star/sheet/XDataBarEntry.idl
create mode 100644 offapi/com/sun/star/sheet/XDataPilotDataLayoutFieldSupplier.idl
create mode 100644 offapi/com/sun/star/sheet/XDataPilotDescriptor.idl
create mode 100644 offapi/com/sun/star/sheet/XDataPilotField.idl
create mode 100644 offapi/com/sun/star/sheet/XDataPilotFieldGrouping.idl
create mode 100644 offapi/com/sun/star/sheet/XDataPilotMemberResults.idl
create mode 100644 offapi/com/sun/star/sheet/XDataPilotResults.idl
create mode 100644 offapi/com/sun/star/sheet/XDataPilotTable.idl
create mode 100644 offapi/com/sun/star/sheet/XDataPilotTable2.idl
create mode 100644 offapi/com/sun/star/sheet/XDataPilotTables.idl
create mode 100644 offapi/com/sun/star/sheet/XDataPilotTablesSupplier.idl
create mode 100644 offapi/com/sun/star/sheet/XDatabaseRange.idl
create mode 100644 offapi/com/sun/star/sheet/XDatabaseRanges.idl
create mode 100644 offapi/com/sun/star/sheet/XDimensionsSupplier.idl
create mode 100644 offapi/com/sun/star/sheet/XDocumentAuditing.idl
create mode 100644 offapi/com/sun/star/sheet/XDrillDownDataSupplier.idl
create mode 100644 offapi/com/sun/star/sheet/XEnhancedMouseClickBroadcaster.idl
create mode 100644 offapi/com/sun/star/sheet/XExternalDocLink.idl
create mode 100644 offapi/com/sun/star/sheet/XExternalDocLinks.idl
create mode 100644 offapi/com/sun/star/sheet/XExternalSheetCache.idl
create mode 100644 offapi/com/sun/star/sheet/XExternalSheetName.idl
create mode 100644 offapi/com/sun/star/sheet/XFillAcrossSheet.idl
create mode 100644 offapi/com/sun/star/sheet/XFilterFormulaParser.idl
create mode 100644 offapi/com/sun/star/sheet/XFormulaOpCodeMapper.idl
create mode 100644 offapi/com/sun/star/sheet/XFormulaParser.idl
create mode 100644 offapi/com/sun/star/sheet/XFormulaQuery.idl
create mode 100644 offapi/com/sun/star/sheet/XFormulaTokens.idl
create mode 100644 offapi/com/sun/star/sheet/XFunctionAccess.idl
create mode 100644 offapi/com/sun/star/sheet/XFunctionDescriptions.idl
create mode 100644 offapi/com/sun/star/sheet/XGlobalSheetSettings.idl
create mode 100644 offapi/com/sun/star/sheet/XGoalSeek.idl
create mode 100644 offapi/com/sun/star/sheet/XHeaderFooterContent.idl
create mode 100644 offapi/com/sun/star/sheet/XHierarchiesSupplier.idl
create mode 100644 offapi/com/sun/star/sheet/XIconSetEntry.idl
create mode 100644 offapi/com/sun/star/sheet/XLabelRange.idl
create mode 100644 offapi/com/sun/star/sheet/XLabelRanges.idl
create mode 100644 offapi/com/sun/star/sheet/XLevelsSupplier.idl
create mode 100644 offapi/com/sun/star/sheet/XMembersAccess.idl
create mode 100644 offapi/com/sun/star/sheet/XMembersSupplier.idl
create mode 100644 offapi/com/sun/star/sheet/XMultiFormulaTokens.idl
create mode 100644 offapi/com/sun/star/sheet/XMultipleOperation.idl
create mode 100644 offapi/com/sun/star/sheet/XNamedRange.idl
create mode 100644 offapi/com/sun/star/sheet/XNamedRanges.idl
create mode 100644 offapi/com/sun/star/sheet/XPrintAreas.idl
create mode 100644 offapi/com/sun/star/sheet/XRangeSelection.idl
create mode 100644 offapi/com/sun/star/sheet/XRangeSelectionChangeListener.idl
create mode 100644 offapi/com/sun/star/sheet/XRangeSelectionListener.idl
create mode 100644 offapi/com/sun/star/sheet/XRecentFunctions.idl
create mode 100644 offapi/com/sun/star/sheet/XResultListener.idl
create mode 100644 offapi/com/sun/star/sheet/XScenario.idl
create mode 100644 offapi/com/sun/star/sheet/XScenarioEnhanced.idl
create mode 100644 offapi/com/sun/star/sheet/XScenarios.idl
create mode 100644 offapi/com/sun/star/sheet/XScenariosSupplier.idl
create mode 100644 offapi/com/sun/star/sheet/XSelectedSheetsSupplier.idl
create mode 100644 offapi/com/sun/star/sheet/XSheetAnnotation.idl
create mode 100644 offapi/com/sun/star/sheet/XSheetAnnotationAnchor.idl
create mode 100644 offapi/com/sun/star/sheet/XSheetAnnotationShapeSupplier.idl
create mode 100644 offapi/com/sun/star/sheet/XSheetAnnotations.idl
create mode 100644 offapi/com/sun/star/sheet/XSheetAnnotationsSupplier.idl
create mode 100644 offapi/com/sun/star/sheet/XSheetAuditing.idl
create mode 100644 offapi/com/sun/star/sheet/XSheetCellCursor.idl
create mode 100644 offapi/com/sun/star/sheet/XSheetCellRange.idl
create mode 100644 offapi/com/sun/star/sheet/XSheetCellRangeContainer.idl
create mode 100644 offapi/com/sun/star/sheet/XSheetCellRanges.idl
create mode 100644 offapi/com/sun/star/sheet/XSheetCondition.idl
create mode 100644 offapi/com/sun/star/sheet/XSheetCondition2.idl
create mode 100644 offapi/com/sun/star/sheet/XSheetConditionalEntries.idl
create mode 100644 offapi/com/sun/star/sheet/XSheetConditionalEntry.idl
create mode 100644 offapi/com/sun/star/sheet/XSheetFilterDescriptor.idl
create mode 100644 offapi/com/sun/star/sheet/XSheetFilterDescriptor2.idl
create mode 100644 offapi/com/sun/star/sheet/XSheetFilterDescriptor3.idl
create mode 100644 offapi/com/sun/star/sheet/XSheetFilterable.idl
create mode 100644 offapi/com/sun/star/sheet/XSheetFilterableEx.idl
create mode 100644 offapi/com/sun/star/sheet/XSheetLinkable.idl
create mode 100644 offapi/com/sun/star/sheet/XSheetOperation.idl
create mode 100644 offapi/com/sun/star/sheet/XSheetOutline.idl
create mode 100644 offapi/com/sun/star/sheet/XSheetPageBreak.idl
create mode 100644 offapi/com/sun/star/sheet/XSheetPastable.idl
create mode 100644 offapi/com/sun/star/sheet/XSolver.idl
create mode 100644 offapi/com/sun/star/sheet/XSolverDescription.idl
create mode 100644 offapi/com/sun/star/sheet/XSpreadsheet.idl
create mode 100644 offapi/com/sun/star/sheet/XSpreadsheetDocument.idl
create mode 100644 offapi/com/sun/star/sheet/XSpreadsheetView.idl
create mode 100644 offapi/com/sun/star/sheet/XSpreadsheets.idl
create mode 100644 offapi/com/sun/star/sheet/XSpreadsheets2.idl
create mode 100644 offapi/com/sun/star/sheet/XSubTotalCalculatable.idl
create mode 100644 offapi/com/sun/star/sheet/XSubTotalDescriptor.idl
create mode 100644 offapi/com/sun/star/sheet/XSubTotalField.idl
create mode 100644 offapi/com/sun/star/sheet/XUniqueCellFormatRangesSupplier.idl
create mode 100644 offapi/com/sun/star/sheet/XUnnamedDatabaseRanges.idl
create mode 100644 offapi/com/sun/star/sheet/XUsedAreaCursor.idl
create mode 100644 offapi/com/sun/star/sheet/XViewFreezable.idl
create mode 100644 offapi/com/sun/star/sheet/XViewPane.idl
create mode 100644 offapi/com/sun/star/sheet/XViewPanesSupplier.idl
create mode 100644 offapi/com/sun/star/sheet/XViewSplitable.idl
create mode 100644 offapi/com/sun/star/sheet/XVolatileResult.idl
create mode 100644 offapi/com/sun/star/sheet/opencl/OpenCLDevice.idl
create mode 100644 offapi/com/sun/star/sheet/opencl/OpenCLPlatform.idl
create mode 100644 offapi/com/sun/star/sheet/opencl/XOpenCLSelection.idl
(limited to 'offapi/com/sun/star/sheet')
diff --git a/offapi/com/sun/star/sheet/AccessibleCell.idl b/offapi/com/sun/star/sheet/AccessibleCell.idl
new file mode 100644
index 000000000..24a841c35
--- /dev/null
+++ b/offapi/com/sun/star/sheet/AccessibleCell.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_sheet_AccessibleCell_idl__
+#define __com_sun_star_sheet_AccessibleCell_idl__
+
+#include
+#include
+#include
+#include
+
+
+
+module com { module sun { module star { module sheet {
+
+
+/** The accessible view of a spreadsheet document
+
+ @since OOo 1.1.2
+
+ */
+service AccessibleCell
+{
+ /** This interface gives access to the whole content of the cell.
+
+
+ - The parent returned by
+ ::com::sun::star::accessibility::XAccessibleContext::getAccessibleParent()
+ is the accessible spreadsheet.
+ - This object has no children.
+ - The description is ???.
+ - The name is something like A10 or B23 or so on.
+ - The role is
+ ::com::sun::star::accessibility::AccessibleRole::TABLE_CELL
+ - There are relations between the cell and the shapes with an anchor
+ on this cell.
+ - The following states are supported:
+
+ - ::com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is always false if the
+ parent table is showed, otherwise it is true.
+ - ::com::sun::star::accessibility::AccessibleStateType::EDITABLE
+ is false if the cell
+ or the table is protected, otherwise it is true.
+ - ::com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is always true.
+ - ::com::sun::star::accessibility::AccessibleStateType::MULTI_LINE
+ is always true.
+ - ::com::sun::star::accessibility::AccessibleStateType::MULTI_SELECTABLE
+ is always true.
+ - ::com::sun::star::accessibility::AccessibleStateType::OPAQUE
+ is false if the cell
+ has no background color or graphic, otherwise it is
+ true.
+ - ::com::sun::star::accessibility::AccessibleStateType::RESIZABLE
+ is false if the
+ table is protected, otherwise is it true.
+ - ::com::sun::star::accessibility::AccessibleStateType::SELECTABLE
+ is always true.
+ - ::com::sun::star::accessibility::AccessibleStateType::SELECTED
+ is true, if the cell is selected.
+ - ::com::sun::star::accessibility::AccessibleStateType::TRANSIENT
+ is always true.
+ - ::com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is true if the
+ Bounding Box lies in Bounding Box of the parent. Otherwise
+ it is false.
+ - ::com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is false if the
+ column/row with this cell is filtered or hidden.
+ Otherwise is true.
+
+
+
+ */
+ interface ::com::sun::star::accessibility::XAccessibleContext;
+
+ /** This interface gives access to the visibility of the cell.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleComponent;
+
+ /** This interface gives access to the value of the cell.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleValue;
+
+ /** This interface gives access to the text representation of the cell content.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleText;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/AccessibleCsvCell.idl b/offapi/com/sun/star/sheet/AccessibleCsvCell.idl
new file mode 100644
index 000000000..1cf8c47f6
--- /dev/null
+++ b/offapi/com/sun/star/sheet/AccessibleCsvCell.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_sheet_AccessibleCsvCell_idl__
+#define __com_sun_star_sheet_AccessibleCsvCell_idl__
+
+#include
+#include
+#include
+
+
+
+module com { module sun { module star { module sheet {
+
+
+/** The accessible object of a cell in the CSV import dialog.
+ @see ::com::sun::star::sheet::AccessibleCsvTable
+
+ @since OOo 1.1.2
+ */
+service AccessibleCsvCell
+{
+
+ /** This interface gives access to the whole content of the cell.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleContext;
+
+
+ /** This interface gives access to the visibility of the cell.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleComponent;
+
+
+ /** This interface gives access to the text representation of the cell
+ content.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleText;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/AccessibleCsvRuler.idl b/offapi/com/sun/star/sheet/AccessibleCsvRuler.idl
new file mode 100644
index 000000000..61342b0e8
--- /dev/null
+++ b/offapi/com/sun/star/sheet/AccessibleCsvRuler.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_sheet_AccessibleCsvRuler_idl__
+#define __com_sun_star_sheet_AccessibleCsvRuler_idl__
+
+#include
+#include
+#include
+
+
+
+module com { module sun { module star { module sheet {
+
+
+/** The accessible object of the ruler in the CSV import dialog.
+ @see ::com::sun::star::sheet::AccessibleCsvTable
+
+ @since OOo 1.1.2
+ */
+service AccessibleCsvRuler
+{
+
+ /** This interface gives access to the whole content of the ruler.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleContext;
+
+
+ /** This interface gives access to the visibility of the ruler.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleComponent;
+
+
+ /** This interface gives access to the text representation of the ruler.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleText;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/AccessibleCsvTable.idl b/offapi/com/sun/star/sheet/AccessibleCsvTable.idl
new file mode 100644
index 000000000..581a6ef92
--- /dev/null
+++ b/offapi/com/sun/star/sheet/AccessibleCsvTable.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_sheet_AccessibleCsvTable_idl__
+#define __com_sun_star_sheet_AccessibleCsvTable_idl__
+
+#include
+#include
+#include
+#include
+
+
+
+module com { module sun { module star { module sheet {
+
+
+/** The accessible object of the data table in the CSV import dialog.
+ @see ::com::sun::star::sheet::AccessibleCsvRuler
+ @see ::com::sun::star::sheet::AccessibleCsvCell
+
+ @since OOo 1.1.2
+ */
+service AccessibleCsvTable
+{
+
+ /** This interface gives access to the whole content of the table.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleContext;
+
+
+ /** This interface gives access to the visibility of the table.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleComponent;
+
+
+ /** This interface gives access to functionality specific for a table.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleTable;
+
+
+ /** This interface gives access to selection functionality.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleSelection;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/AccessiblePageHeaderFooterAreasView.idl b/offapi/com/sun/star/sheet/AccessiblePageHeaderFooterAreasView.idl
new file mode 100644
index 000000000..248b02747
--- /dev/null
+++ b/offapi/com/sun/star/sheet/AccessiblePageHeaderFooterAreasView.idl
@@ -0,0 +1,127 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_sheet_AccessiblePageHeaderFooterAreasView_idl__
+#define __com_sun_star_sheet_AccessiblePageHeaderFooterAreasView_idl__
+
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** The accessible view of the Header/Footer in a spreadsheet page preview
+
+ @since OOo 1.1.2
+
+ */
+service AccessiblePageHeaderFooterAreasView
+{
+ /** This interface gives access to the three Header/Footer areas in the
+ page preview.
+
+
+
+ */
+ interface ::com::sun::star::accessibility::XAccessibleContext;
+
+ /** This interface gives access to the visibility of the document.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleComponent;
+
+ /** This is the interface for listeners */
+ interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/AccessibleSpreadsheet.idl b/offapi/com/sun/star/sheet/AccessibleSpreadsheet.idl
new file mode 100644
index 000000000..86422f264
--- /dev/null
+++ b/offapi/com/sun/star/sheet/AccessibleSpreadsheet.idl
@@ -0,0 +1,129 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_sheet_AccessibleSpreadsheet_idl__
+#define __com_sun_star_sheet_AccessibleSpreadsheet_idl__
+
+#include
+#include
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** The accessible view of a spreadsheet document
+
+ @since OOo 1.1.2
+*/
+service AccessibleSpreadsheet
+{
+ /** This interface gives access to any object in the currently visible table
+ on the desktop.
+
+
+ */
+ interface ::com::sun::star::accessibility::XAccessibleContext;
+
+ /** This interface gives access to the visibility of the table.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleComponent;
+
+ /** This interface gives access to any cell that is at least partially
+ visible on the screen. So this interface gives access to the same
+ things like the XAccessibleContext interface. Therefore it use more
+ usable methods. Also it gives access to some table specific data.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleTable;
+
+ /** This interface is for selecting the cells.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleSelection;
+
+ /** This is the interface for listeners */
+ interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/AccessibleSpreadsheetDocumentView.idl b/offapi/com/sun/star/sheet/AccessibleSpreadsheetDocumentView.idl
new file mode 100644
index 000000000..6a594e4ed
--- /dev/null
+++ b/offapi/com/sun/star/sheet/AccessibleSpreadsheetDocumentView.idl
@@ -0,0 +1,146 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_sheet_AccessibleSpreadsheetDocumentView_idl__
+#define __com_sun_star_sheet_AccessibleSpreadsheetDocumentView_idl__
+
+#include
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** The accessible view of a spreadsheet document
+
+ @since OOo 1.1.2
+
+ */
+service AccessibleSpreadsheetDocumentView
+{
+ /** This interface gives access to any object that is contained in this
+ document.
+
+
+ - The parent returned by getAccessibleParent()
+ is the window which contains the view of these document.
+ - The children returned by getAccessibleChild() all
+ support the interface XAccessible. Calling
+ getAccessibleContext() for these children returns
+ an object that supports one of the following services.
+
+ - ::com::sun::star::sheet::AccessibleSpreadsheet:
+ A child where calling getAccessibleChild()
+ an object that supports this service is returned for
+ the current spreadsheet which is showing in this document
+ window. There is every time one child which supports this
+ service, because it is only possible to have one spreadsheet
+ in the current document window.
+ - ::com::sun::star::drawing::AccessibleShape:
+ A child where calling getAccessibleChild()
+ an object that supports this service is returned
+ for every shape that is at the current table. These
+ objects are children of the
+ AccessibleSpreadsheetDocumentView regardless
+ whether they are bound to a table or a cell.
+ - ::com::sun::star::text::AccessibleParagraphView:
+ A child where calling getAccessibleChild()
+ an object that supports this service is returned for
+ the current cell in edit mode. This is necessary to
+ have an object which allows event listeners. It exists
+ only if a cell is in edit mode.
+ - ::com::sun::star::accessibility::AccessibleContext:
+ A child where calling getAccessibleChild()
+ an object that supports this service is returned for
+ the current OLE object in edit mode. It exists
+ only if an OLE object is in edit mode.
+
+ The following rules apply to the children order. General it
+ represents the paint order. The object in the background came
+ first and then all over lying objects. The last painted object
+ is also the last child.
+
+ - Graphics, embedded objects and shapes appear
+ before the other children if they are painted in the
+ background. Their order reflects the z order.
+ - The current table is painted after the background and so it
+ comes after all background objects.
+ - Graphics, embedded objects and shapes appear
+ behind any other children except controls if they are
+ painted in the foreground. Their order reflects the z order.
+ - Controls appear behind the other graphic objects. Their order
+ reflects the z order.
+ - The temporary object for the cell or OLE in edit mode (only
+ one can exist in the same time) is the last object.
+
+ - The description is ???.
+ - The name is Spreadsheet Document View with a unique number.
+ - The role is ::com::sun::star::accessibility::AccessibleRole::DOCUMENT_SPREADSHEET
+ - There are no relations.
+ - The following states are supported:
+
+ - ::com::sun::star::accessibility::AccessibleStateType::DEFUNC is always false until the document is
+ closed.
+ - ::com::sun::star::accessibility::AccessibleStateType::EDITABLE is always true.
+ - ::com::sun::star::accessibility::AccessibleStateType::ENABLED is always true.
+ - ::com::sun::star::accessibility::AccessibleStateType::MULTI_LINE makes no sense in on a document and
+ so it is left out of the list.
+ - ::com::sun::star::accessibility::AccessibleStateType::MULTI_SELECTABLE is always false, because a
+ document is not selectable. Only the children are
+ selectable. So it is left out of the list.
+ - ::com::sun::star::accessibility::AccessibleStateType::OPAQUE is always true.
+ - ::com::sun::star::accessibility::AccessibleStateType::RESIZABLE is always false, because you can
+ resize the window, but not the document. So it is left out
+ of the list.
+ - ::com::sun::star::accessibility::AccessibleStateType::SELECTABLE is always false, because a
+ document is not selectable. Only the children are
+ selectable. So it is left out of the list.
+ - ::com::sun::star::accessibility::AccessibleStateType::SELECTED is always false, because a
+ document is not selectable. Only the children are
+ selectable. So it is left out of the list.
+ - ::com::sun::star::accessibility::AccessibleStateType::SHOWING is true if the Bounding Box lies in
+ the Bounding Box of the parent. Otherwise it is false.
+ - ::com::sun::star::accessibility::AccessibleStateType::VISIBLE is always true.
+
+
+
+
+ */
+ interface ::com::sun::star::accessibility::XAccessibleContext;
+
+ /** This interface gives access to the visibility of the document.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleComponent;
+
+ /** This interface is for selecting the document's children like
+ shapes or the whole table.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleSelection;
+
+ /** This is the interface for listeners */
+ interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/AccessibleSpreadsheetPageView.idl b/offapi/com/sun/star/sheet/AccessibleSpreadsheetPageView.idl
new file mode 100644
index 000000000..cb884f1e3
--- /dev/null
+++ b/offapi/com/sun/star/sheet/AccessibleSpreadsheetPageView.idl
@@ -0,0 +1,158 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_sheet_AccessibleSpreadsheetPageView_idl__
+#define __com_sun_star_sheet_AccessibleSpreadsheetPageView_idl__
+
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** The accessible view of a spreadsheet page preview
+
+ @since OOo 1.1.2
+
+ */
+service AccessibleSpreadsheetPageView
+{
+ /** This interface gives access to any object that is at least partially
+ visible on the screen in the page preview.
+
+
+ - The parent returned by
+ ::com::sun::star::accessibility::XAccessibleContext::getAccessibleParent()
+ is the window which contains the view of these page preview.
+ - The children returned by
+ ::com::sun::star::accessibility::XAccessibleContext::getAccessibleChild()
+ all support the interface XAccessible. Calling
+ ::com::sun::star::accessibility::XAccessible::getAccessibleContext()
+ for these children returns
+ an object that supports one of the following services.
+
+ - ::com::sun::star::sheet::AccessiblePageHeaderFooterAreasView:
+ A child where calling
+ ::com::sun::star::accessibility::XAccessibleContext::getAccessibleChild()
+ an object that supports this service is returned for
+ every header and footer that is at least partially visible.
+ - ::com::sun::star::table::AccessibleTableView:
+ A child where calling
+ ::com::sun::star::accessibility::XAccessibleContext::getAccessibleChild()
+ an object that supports this service is returned for
+ every table fragment that is contained in the document body
+ and is at least partially visible. A table fragment is the
+ part of a table that is displayed on a certain page.
+ - ::com::sun::star::drawing::AccessibleShape:
+ A child where calling
+ ::com::sun::star::accessibility::XAccessibleContext::getAccessibleChild()
+ an object that supports this service is returned
+ for every shape that is at least partially visible. These
+ objects are children of the
+ AccessibleSpreadsheetPageView regardless
+ whether they are bound to a table or a cell.
+ - ::com::sun::star::text::AccessibleParagraphView:
+ A child where calling
+ ::com::sun::star::accessibility::XAccessibleContext::getAccessibleChild()
+ an object that supports this service is returned for
+ every note (its paragraphs) and its location (which is
+ represented as a paragraph with the cell name as content).
+
+ The following rules apply to the children order. General it
+ represents the paint order. The object in the background came
+ first and then all over lying objects. The last painted object
+ is also the last child.
+
+ - The logical order of paragraph and table fragments is never
+ changed.
+ - Headers appear immediately before the first table fragment
+ of the header's page.
+ - Footers appear immediately after the last table fragment.
+ - Shapes appear before any other children if they are painted
+ in the background. Their order reflects the z order.
+ - Shapes appear behind any other children except controls if
+ they are painted in the foreground. Their order reflects the
+ z order.
+ - Controls appear behind any other objects. Their order
+ reflects the z order.
+
+ - The description is ???.
+ - The name is Spreadsheet Document Page Preview.
+ - The role is
+ ::com::sun::star::accessibility::AccessibleRole::DOCUMENT_SPREADSHEET
+ - There are no relations.
+ - The following states are supported:
+
+ - ::com::sun::star::accessibility::AccessibleStateType::DEFUNC
+ is always false until the preview is closed.
+ - ::com::sun::star::accessibility::AccessibleStateType::EDITABLE
+ is always false,
+ because the document is not editable in the page preview.
+ So it is left out of the list.
+ - ::com::sun::star::accessibility::AccessibleStateType::ENABLED
+ is always true.
+ - ::com::sun::star::accessibility::AccessibleStateType::MULTI_LINE
+ makes no sense on a
+ document and so it is left out of the list.
+ - ::com::sun::star::accessibility::AccessibleStateType::MULTI_SELECTABLE
+ is always false, because in a page preview a selection is
+ not possible. So it is left out of the list.
+ - ::com::sun::star::accessibility::AccessibleStateType::OPAQUE
+ is always true.
+ - ::com::sun::star::accessibility::AccessibleStateType::RESIZABLE
+ is always false,
+ because you can resize the window of the page preview, but
+ not the page preview itself. So it is left out of the
+ list.
+ - ::com::sun::star::accessibility::AccessibleStateType::SELECTABLE
+ is always false,
+ because in the page preview is no selection possible. So
+ it is left out of the list.
+ - ::com::sun::star::accessibility::AccessibleStateType::SELECTED
+ is always false,
+ because in the page preview is no selection possible. So
+ it is left out of the list.
+ - ::com::sun::star::accessibility::AccessibleStateType::SHOWING
+ is true if the
+ Bounding Box lies in the Bounding Box of the parent.
+ Otherwise it is false.
+ - ::com::sun::star::accessibility::AccessibleStateType::VISIBLE
+ is always true.
+
+
+
+
+ */
+ interface ::com::sun::star::accessibility::XAccessibleContext;
+
+ /** This interface gives access to the visibility of the document.
+ */
+ interface ::com::sun::star::accessibility::XAccessibleComponent;
+
+ /** This is the interface for listeners */
+ interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/ActivationEvent.idl b/offapi/com/sun/star/sheet/ActivationEvent.idl
new file mode 100644
index 000000000..f488b933d
--- /dev/null
+++ b/offapi/com/sun/star/sheet/ActivationEvent.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_sheet_ActivationEvent_idl__
+#define __com_sun_star_sheet_ActivationEvent_idl__
+
+#include
+#include
+
+
+ module com { module sun { module star { module sheet {
+
+
+/** describes a change of the active sheet. The new active sheet is given
+ with this event.
+
+ @since OOo 2.0
+
+ */
+published struct ActivationEvent: com::sun::star::lang::EventObject
+{
+
+ /** specifies the new active Spreadsheet.
+ */
+ com::sun::star::sheet::XSpreadsheet ActiveSheet;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/AddIn.idl b/offapi/com/sun/star/sheet/AddIn.idl
new file mode 100644
index 000000000..873f33050
--- /dev/null
+++ b/offapi/com/sun/star/sheet/AddIn.idl
@@ -0,0 +1,139 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_sheet_AddIn_idl__
+#define __com_sun_star_sheet_AddIn_idl__
+
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** is the base for AddIn services that supply functions which can be called
+ by other components.
+
+ Any AddIn implementation must implement a service describing its
+ specific set of functions.
+ That service must contain the AddIn service, and the
+ functions that are implemented, in one or more interfaces.
+ The com::sun::star::lang::XServiceName interface
+ must describe that service, and the XAddIn interface
+ must describe the individual functions.
+
+ Each AddIn function can take parameters of the following types:
+
+
+ - `long`
+ - for integer values.
+
+ - `double`
+ - for floating point values.
+
+ - `string`
+ - for text strings.
+
+ - `long[][]`
+ - for (two-dimensional) arrays of integer values.
+
+ - `double[][]`
+ - for (two-dimensional) arrays of floating point values.
+
+ - `string[][]`
+ - for (two-dimensional) arrays of text strings.
+
+ - `any[][]`
+ - for (two-dimensional) arrays of mixed contents. Each `any`
+ will contain a `double` or a `string`, depending on
+ the data.
+
+ - `any`
+ - Depending on the data, a `double`, a `string`,
+ or an `any[][]` will be passed. If no argument is specified in
+ the function call, `VOID` will be passed. This allows for optional
+ parameters.
+
+ - com::sun::star::table::XCellRange
+ - for a com::sun::star::table::XCellRange interface
+ to the source data.
+
+ - com::sun::star::beans::XPropertySet
+ - for a com::sun::star::beans::XPropertySet
+ interface to the SpreadsheetDocument making the function
+ call. Only one parameter of this type is allowed in each function. It
+ can be used to query document settings like
+ SpreadsheetDocumentSettings::NullDate.
+
+ - `any[]`
+ - for varying parameters. Only the last parameter of a function may
+ have this type. It will be filled with the remaining arguments of the
+ function call that were not used for the previous parameters. Each
+ element of the sequence will be filled as in the case of `any`
+ above.
+
+
+ Each AddIn function must have one of the following return types:
+
+
+ - `long`
+ - `double`
+ - `string`
+ - `long[][]`
+ - `double[][]`
+ - `string[][]`
+ - `any[][]`
+ - XVolatileResult
+ - `any`
+
+
+ The sequences must contain arrays as described above for the
+ parameter types.
+ An XVolatileResult return value must contain an object
+ implementing the VolatileResult service, that contains
+ a volatile result. Subsequent calls with the same parameters must
+ return the same object.
+ An `any` return value can contain any of the other types.
+ */
+published service AddIn
+{
+
+ /** contains a method that returns the service name of the add-in.
+ */
+ interface com::sun::star::lang::XServiceName;
+
+
+ /** provides access to function descriptions and localized names
+ and descriptions.
+ */
+ interface com::sun::star::sheet::XAddIn;
+
+
+ /** provides access to compatibility names for the functions.
+ */
+ [optional] interface com::sun::star::sheet::XCompatibilityNames;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/AddressConvention.idl b/offapi/com/sun/star/sheet/AddressConvention.idl
new file mode 100644
index 000000000..b60514fa6
--- /dev/null
+++ b/offapi/com/sun/star/sheet/AddressConvention.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_sheet_AddressConvention_idl__
+#define __com_sun_star_sheet_AddressConvention_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** These constants specify which address convention to use in the formula
+ parser. Each variation specifies a different cell and cell range address
+ syntax.
+
+ @see com::sun::star::sheet::FormulaParser
+ */
+constants AddressConvention
+{
+
+ const short UNSPECIFIED = -1;
+
+
+ const short OOO = 0;
+
+
+ const short XL_A1 = 1;
+
+
+ const short XL_R1C1 = 2;
+
+
+ const short XL_OOX = 3;
+
+
+ const short LOTUS_A1 = 4;
+};
+
+
+}; }; }; };
+
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/Border.idl b/offapi/com/sun/star/sheet/Border.idl
new file mode 100644
index 000000000..abd236955
--- /dev/null
+++ b/offapi/com/sun/star/sheet/Border.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_sheet_Border_idl__
+#define __com_sun_star_sheet_Border_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** is used to select one of the four borders of a cell range.
+ */
+published enum Border
+{
+
+ /** selects the top border.
+ */
+ TOP,
+
+
+ /** selects the bottom border.
+ */
+ BOTTOM,
+
+
+ /** selects the right border.
+ */
+ RIGHT,
+
+
+ /** selects the left border.
+ */
+ LEFT
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/CellAnnotation.idl b/offapi/com/sun/star/sheet/CellAnnotation.idl
new file mode 100644
index 000000000..068dd42e9
--- /dev/null
+++ b/offapi/com/sun/star/sheet/CellAnnotation.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_sheet_CellAnnotation_idl__
+#define __com_sun_star_sheet_CellAnnotation_idl__
+
+#include
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a cell annotation object attached to a spreadsheet cell.
+
+ @see com::sun::star::sheet::SheetCell
+ */
+published service CellAnnotation
+{
+
+ /** provides methods to query data of the annotation
+ and to show and hide it.
+ */
+ interface com::sun::star::sheet::XSheetAnnotation;
+
+
+ /** provides access to the parent of this object.
+
+ The parent of a cell annotation is the cell that contains it.
+ */
+ interface com::sun::star::container::XChild;
+
+
+ /** provides access to the text contents of the annotation.
+ */
+ interface com::sun::star::text::XSimpleText;
+
+
+ [optional] interface com::sun::star::sheet::XSheetAnnotationShapeSupplier;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/CellAnnotationShape.idl b/offapi/com/sun/star/sheet/CellAnnotationShape.idl
new file mode 100644
index 000000000..8db8b4605
--- /dev/null
+++ b/offapi/com/sun/star/sheet/CellAnnotationShape.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_sheet_CellAnnotationShape_idl__
+#define __com_sun_star_sheet_CellAnnotationShape_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents the shape of a cell annotation object attached to a spreadsheet cell.
+
+ @see com::sun::star::sheet::CellAnnotation
+ */
+published service CellAnnotationShape
+{
+ /** provides all functionality of a CaptionShape.
+ */
+ service com::sun::star::drawing::CaptionShape;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/CellAnnotations.idl b/offapi/com/sun/star/sheet/CellAnnotations.idl
new file mode 100644
index 000000000..5bb0e7704
--- /dev/null
+++ b/offapi/com/sun/star/sheet/CellAnnotations.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_sheet_CellAnnotations_idl__
+#define __com_sun_star_sheet_CellAnnotations_idl__
+
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a collection of cell annotations.
+
+ @see com::sun::star::sheet::Spreadsheet
+ */
+published service CellAnnotations
+{
+
+ /** provides methods to access cell annotations via index and to
+ insert and remove annotations.
+
+ @see com::sun::star::sheet::CellAnnotation
+ */
+ interface com::sun::star::sheet::XSheetAnnotations;
+
+
+ /** creates an enumeration of all cell annotations.
+
+ @see com::sun::star::sheet::CellAnnotationsEnumeration
+ */
+ interface com::sun::star::container::XEnumerationAccess;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/CellAnnotationsEnumeration.idl b/offapi/com/sun/star/sheet/CellAnnotationsEnumeration.idl
new file mode 100644
index 000000000..e0a1f55d1
--- /dev/null
+++ b/offapi/com/sun/star/sheet/CellAnnotationsEnumeration.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_sheet_CellAnnotationsEnumeration_idl__
+#define __com_sun_star_sheet_CellAnnotationsEnumeration_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents an enumeration of cell annotations in a spreadsheet document.
+
+ @see com::sun::star::sheet::CellAnnotations
+ */
+published service CellAnnotationsEnumeration
+{
+
+ /** provides methods to access the cell annotations in the enumeration.
+
+ @see com::sun::star::sheet::CellAnnotation
+ */
+ interface com::sun::star::container::XEnumeration;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/CellAreaLink.idl b/offapi/com/sun/star/sheet/CellAreaLink.idl
new file mode 100644
index 000000000..2433bd84d
--- /dev/null
+++ b/offapi/com/sun/star/sheet/CellAreaLink.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_sheet_CellAreaLink_idl__
+#define __com_sun_star_sheet_CellAreaLink_idl__
+
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a linked cell range.
+
+ A linked cell range is a range which is linked to an equal-sized
+ range in an external document. The contents of the external range is
+ copied into the range of this document.
+
+ @see com::sun::star::sheet::CellAreaLinks
+ */
+published service CellAreaLink
+{
+
+ /** provides methods to change the settings of the linked cell range.
+ */
+ interface com::sun::star::sheet::XAreaLink;
+
+
+ /** provides methods to reload the external data.
+ */
+ interface com::sun::star::util::XRefreshable;
+
+
+//!published service PropertySet
+ /** provides access to the properties.
+ */
+ interface com::sun::star::beans::XPropertySet;
+
+
+ /** specifies the URL of the source document.
+ */
+ [property] string Url;
+
+
+ /** specifies the name of the filter used to load the source document.
+ */
+ [property] string Filter;
+
+
+ /** specifies the filter options needed to load the source document.
+ */
+ [property] string FilterOptions;
+
+
+ /** specifies the delay time between two refresh actions in seconds.
+
+ @deprecated
+
+ */
+ [property] long RefreshDelay;
+
+
+ /** specifies the time between two refresh actions in seconds.
+
+ @since OOo 2.0
+ */
+ [optional, property] long RefreshPeriod;
+
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/CellAreaLinks.idl b/offapi/com/sun/star/sheet/CellAreaLinks.idl
new file mode 100644
index 000000000..26f0d08da
--- /dev/null
+++ b/offapi/com/sun/star/sheet/CellAreaLinks.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_sheet_CellAreaLinks_idl__
+#define __com_sun_star_sheet_CellAreaLinks_idl__
+
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a collection of area links.
+
+ @see com::sun::star::sheet::CellAreaLink
+ @see com::sun::star::sheet::SpreadsheetDocument
+ */
+published service CellAreaLinks
+{
+
+ /** provides access via index to a collection of area links and inserting
+ and removing area links.
+ */
+ interface com::sun::star::sheet::XAreaLinks;
+
+
+ /** provides access to the area links via index.
+
+ @see com::sun::star::sheet::CellAreaLink
+
+ */
+ interface com::sun::star::container::XIndexAccess;
+
+
+ /** creates an enumeration of all area links.
+
+ @see com::sun::star::sheet::CellAreaLinksEnumeration
+
+ */
+ interface com::sun::star::container::XEnumerationAccess;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/CellAreaLinksEnumeration.idl b/offapi/com/sun/star/sheet/CellAreaLinksEnumeration.idl
new file mode 100644
index 000000000..5314b9fd2
--- /dev/null
+++ b/offapi/com/sun/star/sheet/CellAreaLinksEnumeration.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_sheet_CellAreaLinksEnumeration_idl__
+#define __com_sun_star_sheet_CellAreaLinksEnumeration_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents an enumeration of cell area links.
+
+ @see com::sun::star::sheet::CellAreaLink
+ */
+published service CellAreaLinksEnumeration
+{
+
+ /** provides methods to access the cell area links in the enumeration.
+
+ @see com::sun::star::sheet::CellAreaLink
+ */
+ interface com::sun::star::container::XEnumeration;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/CellDeleteMode.idl b/offapi/com/sun/star/sheet/CellDeleteMode.idl
new file mode 100644
index 000000000..f8d1fd54d
--- /dev/null
+++ b/offapi/com/sun/star/sheet/CellDeleteMode.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_sheet_CellDeleteMode_idl__
+#define __com_sun_star_sheet_CellDeleteMode_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** is used to specify how remaining cells are moved when cells are deleted.
+ */
+published enum CellDeleteMode
+{
+
+ /** no cells are moved.
+ */
+ NONE,
+
+
+ /** the cells below the deleted cells are moved up.
+ */
+ UP,
+
+
+ /** the cells to the right of the deleted cells are moved left.
+ */
+ LEFT,
+
+
+ /** entire rows below the deleted cells are moved up.
+ */
+ ROWS,
+
+
+ /** entire columns to the right of the deleted cells are moved left.
+ */
+ COLUMNS
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/CellFlags.idl b/offapi/com/sun/star/sheet/CellFlags.idl
new file mode 100644
index 000000000..68d05eb29
--- /dev/null
+++ b/offapi/com/sun/star/sheet/CellFlags.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_sheet_CellFlags_idl__
+#define __com_sun_star_sheet_CellFlags_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** These constants select different types of cell contents.
+
+ The values can be combined. They are used to insert, copy, or
+ delete contents.
+ */
+published constants CellFlags
+{
+
+ /** selects constant numeric values that are not formatted
+ as dates or times.
+ */
+ const long VALUE = 1;
+
+
+ /** selects constant numeric values that have a date or time
+ number format.
+ */
+ const long DATETIME = 2;
+
+
+ /** selects constant strings.
+ */
+ const long STRING = 4;
+
+
+ /** selects cell annotations.
+ */
+ const long ANNOTATION = 8;
+
+
+ /** selects formulas.
+ */
+ const long FORMULA = 16;
+
+
+ /** selects all explicit formatting, but not the formatting which is
+ applied implicitly through style sheets.
+ */
+ const long HARDATTR = 32;
+
+
+ /** selects cell styles.
+ */
+ const long STYLES = 64;
+
+
+ /** selects drawing objects.
+ */
+ const long OBJECTS = 128;
+
+
+ /** selects formatting within parts of the cell contents.
+ */
+ const long EDITATTR = 256;
+
+
+ /** selects cells with formatting within the cells or cells with more than
+ one paragraph within the cells.
+ */
+ const long FORMATTED = 512;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/CellFormatRanges.idl b/offapi/com/sun/star/sheet/CellFormatRanges.idl
new file mode 100644
index 000000000..4daa6d19e
--- /dev/null
+++ b/offapi/com/sun/star/sheet/CellFormatRanges.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_sheet_CellFormatRanges_idl__
+#define __com_sun_star_sheet_CellFormatRanges_idl__
+
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a collection of equal-formatted cell ranges.
+
+ All cells inside a cell range of this collection have the same
+ formatting attributes.
+
+ @see com::sun::star::sheet::SheetCellRange
+ @see com::sun::star::sheet::SheetCellRanges
+ @see com::sun::star::sheet::UniqueCellFormatRanges
+ */
+published service CellFormatRanges
+{
+
+ /** provides methods to access the contained cell ranges by index.
+
+ @see com::sun::star::sheet::SheetCellRange
+ */
+ interface com::sun::star::container::XIndexAccess;
+
+
+ /** creates an enumeration of all cell ranges.
+
+ @see com::sun::star::sheet::CellFormatRangesEnumeration
+ */
+ interface com::sun::star::container::XEnumerationAccess;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/CellFormatRangesEnumeration.idl b/offapi/com/sun/star/sheet/CellFormatRangesEnumeration.idl
new file mode 100644
index 000000000..df81e2d6c
--- /dev/null
+++ b/offapi/com/sun/star/sheet/CellFormatRangesEnumeration.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_sheet_CellFormatRangesEnumeration_idl__
+#define __com_sun_star_sheet_CellFormatRangesEnumeration_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents an enumeration of equal-formatted cell ranges.
+
+ @see com::sun::star::sheet::CellFormatRanges
+ */
+published service CellFormatRangesEnumeration
+{
+
+ /** provides methods to access the cell ranges in the enumeration.
+
+ @see com::sun::star::sheet::SheetCellRange
+ */
+ interface com::sun::star::container::XEnumeration;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/CellInsertMode.idl b/offapi/com/sun/star/sheet/CellInsertMode.idl
new file mode 100644
index 000000000..f85983b16
--- /dev/null
+++ b/offapi/com/sun/star/sheet/CellInsertMode.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_sheet_CellInsertMode_idl__
+#define __com_sun_star_sheet_CellInsertMode_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** is used to specify how cells are moved when new cells are inserted.
+ */
+published enum CellInsertMode
+{
+
+ /** no cells are moved.
+ */
+ NONE,
+
+
+ /** the cells below the inserted cells are moved down.
+ */
+ DOWN,
+
+
+ /** the cells to the right of the inserted cells are moved right.
+ */
+ RIGHT,
+
+
+ /** entire rows below the inserted cells are moved down.
+ */
+ ROWS,
+
+
+ /** entire columns to the right of the inserted cells are moved right.
+ */
+ COLUMNS
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/Cells.idl b/offapi/com/sun/star/sheet/Cells.idl
new file mode 100644
index 000000000..dc5f1fac6
--- /dev/null
+++ b/offapi/com/sun/star/sheet/Cells.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_sheet_Cells_idl__
+#define __com_sun_star_sheet_Cells_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a collection of used cells in a spreadsheet document.
+
+ @see com::sun::star::sheet::SheetCell
+ */
+published service Cells
+{
+
+ /** creates an enumeration of all used cells.
+
+ @see com::sun::star::sheet::CellsEnumeration
+ */
+ interface com::sun::star::container::XEnumerationAccess;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/CellsEnumeration.idl b/offapi/com/sun/star/sheet/CellsEnumeration.idl
new file mode 100644
index 000000000..afa4d5f6f
--- /dev/null
+++ b/offapi/com/sun/star/sheet/CellsEnumeration.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_sheet_CellsEnumeration_idl__
+#define __com_sun_star_sheet_CellsEnumeration_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents an enumeration of spreadsheet cells.
+
+ @see com::sun::star::sheet::Cells
+ */
+published service CellsEnumeration
+{
+
+ /** provides methods to access the cells in the enumeration.
+
+ @see com::sun::star::sheet::SheetCell
+ */
+ interface com::sun::star::container::XEnumeration;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/ColorScale.idl b/offapi/com/sun/star/sheet/ColorScale.idl
new file mode 100644
index 000000000..b7d79e214
--- /dev/null
+++ b/offapi/com/sun/star/sheet/ColorScale.idl
@@ -0,0 +1,32 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.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_sheet_Colorscale_idl__
+#define __com_sun_star_sheet_Colorscale_idl__
+
+#include
+#include
+
+module com { module sun { module star { module sheet {
+
+service ColorScale
+{
+ interface XConditionEntry;
+
+ [property] sequence ColorScaleEntries;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+
+
diff --git a/offapi/com/sun/star/sheet/ColorScaleEntryType.idl b/offapi/com/sun/star/sheet/ColorScaleEntryType.idl
new file mode 100644
index 000000000..bab3d8c4a
--- /dev/null
+++ b/offapi/com/sun/star/sheet/ColorScaleEntryType.idl
@@ -0,0 +1,35 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.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_sheet_ColorScaleEntryType_idl__
+#define __com_sun_star_sheet_ColorScaleEntryType_idl__
+
+module com { module sun { module star { module sheet {
+
+constants ColorScaleEntryType
+{
+ const long COLORSCALE_MIN = 0;
+
+ const long COLORSCALE_MAX = 1;
+
+ const long COLORSCALE_PERCENTILE = 2;
+
+ const long COLORSCALE_VALUE = 3;
+
+ const long COLORSCALE_PERCENT = 4;
+
+ const long COLORSCALE_FORMULA = 5;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/ComplexReference.idl b/offapi/com/sun/star/sheet/ComplexReference.idl
new file mode 100644
index 000000000..24551b920
--- /dev/null
+++ b/offapi/com/sun/star/sheet/ComplexReference.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_sheet_ComplexReference_idl__
+#define __com_sun_star_sheet_ComplexReference_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** contains a reference to a cell range.
+ */
+struct ComplexReference
+{
+
+ /** is the first reference.
+ */
+ SingleReference Reference1;
+
+
+ /** is the second reference.
+ */
+ SingleReference Reference2;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/ConditionEntryType.idl b/offapi/com/sun/star/sheet/ConditionEntryType.idl
new file mode 100644
index 000000000..43148cff3
--- /dev/null
+++ b/offapi/com/sun/star/sheet/ConditionEntryType.idl
@@ -0,0 +1,34 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.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_sheet_ConditionEntryType_idl__
+#define __com_sun_star_sheet_ConditionEntryType_idl__
+
+module com { module sun { module star { module sheet {
+
+constants ConditionEntryType
+{
+ const long CONDITION = 0;
+
+ const long COLORSCALE = 1;
+
+ const long DATABAR = 2;
+
+ const long ICONSET = 3;
+
+ const long DATE = 4;
+};
+
+
+}; }; }; };
+
+#endif
+
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/ConditionFormatEntry.idl b/offapi/com/sun/star/sheet/ConditionFormatEntry.idl
new file mode 100644
index 000000000..a0928339c
--- /dev/null
+++ b/offapi/com/sun/star/sheet/ConditionFormatEntry.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/.
+ */
+
+#ifndef __com_sun_star_sheet_ConditionFormatEntry_idl__
+#define __com_sun_star_sheet_ConditionFormatEntry_idl__
+
+module com { module sun { module star { module sheet {
+
+service ConditionFormatEntry
+{
+ interface XConditionEntry;
+
+ /**
+ * See com.sun.star.sheet.ConditionFormatOperator for valid values
+ */
+ [property] long Operator;
+
+ [property] string StyleName;
+
+ [optional, property] string Formula1;
+
+ [optional, property] string Formula2;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+
diff --git a/offapi/com/sun/star/sheet/ConditionFormatOperator.idl b/offapi/com/sun/star/sheet/ConditionFormatOperator.idl
new file mode 100644
index 000000000..68ac0e279
--- /dev/null
+++ b/offapi/com/sun/star/sheet/ConditionFormatOperator.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/.
+ */
+
+#ifndef __com_sun_star_sheet_ConditionFormatOperator_idl__
+#define __com_sun_star_sheet_ConditionFormatOperator_idl__
+
+module com { module sun { module star { module sheet {
+
+constants ConditionFormatOperator
+{
+ const long EQUAL = 0;
+
+ const long LESS = 1;
+
+ const long GREATER = 2;
+
+ const long LESS_EQUAL = 3;
+
+ const long GREATER_EQUAL = 4;
+
+ const long NOT_EQUAL = 5;
+
+ const long BETWEEN = 6;
+
+ const long NOT_BETWEEN = 7;
+
+ const long DUPLICATE = 8;
+
+ const long UNIQUE = 9;
+
+ const long TOP_N_ELEMENTS = 10;
+
+ const long BOTTOM_N_ELEMENTS = 11;
+
+ const long TOP_N_PERCENT = 12;
+
+ const long BOTTOM_N_PERCENT = 13;
+
+ const long ABOVE_AVERAGE = 14;
+
+ const long BELOW_AVERAGE = 15;
+
+ const long ABOVE_EQUAL_AVERAGE = 16;
+
+ const long BELOW_EQUAL_AVERAGE = 17;
+
+ const long ERROR = 18;
+
+ const long NO_ERROR = 19;
+
+ const long BEGINS_WITH = 20;
+
+ const long ENDS_WITH = 21;
+
+ const long CONTAINS = 22;
+
+ const long NOT_CONTAINS = 23;
+
+ const long EXPRESSION = 24;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/ConditionOperator.idl b/offapi/com/sun/star/sheet/ConditionOperator.idl
new file mode 100644
index 000000000..fa643bda2
--- /dev/null
+++ b/offapi/com/sun/star/sheet/ConditionOperator.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_sheet_ConditionOperator_idl__
+#define __com_sun_star_sheet_ConditionOperator_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** is used to specify the type of XSheetCondition.
+ */
+published enum ConditionOperator
+{
+
+ /** no condition is specified.
+ */
+ NONE,
+
+
+ /** value has to be equal to the specified value.
+ */
+ EQUAL,
+
+
+ /** the value must not be equal to the specified value.
+ */
+ NOT_EQUAL,
+
+
+ /** the value has to be greater than the specified value.
+ */
+ GREATER,
+
+
+ /** the value has to be greater than or equal to the specified value.
+ */
+ GREATER_EQUAL,
+
+
+ /** the value has to be less than the specified value.
+ */
+ LESS,
+
+
+ /** the value has to be less than or equal to the specified value.
+ */
+ LESS_EQUAL,
+
+
+ /** the value has to be between the two specified values.
+ */
+ BETWEEN,
+
+
+ /** the value has to be outside of the two specified values.
+ */
+ NOT_BETWEEN,
+
+
+ /** the specified formula has to give a non-zero result.
+ */
+ FORMULA
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/ConditionOperator2.idl b/offapi/com/sun/star/sheet/ConditionOperator2.idl
new file mode 100644
index 000000000..e4d42d424
--- /dev/null
+++ b/offapi/com/sun/star/sheet/ConditionOperator2.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/.
+ */
+
+#ifndef __com_sun_star_sheet_ConditionOperator2_idl__
+#define __com_sun_star_sheet_ConditionOperator2_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** is used to specify the type of XSheetCondition2.
+ */
+constants ConditionOperator2
+{
+
+ /** no condition is specified.
+ */
+ const long NONE = 0;
+
+
+ /** value has to be equal to the specified value.
+ */
+ const long EQUAL = 1;
+
+
+ /** the value must not be equal to the specified value.
+ */
+ const long NOT_EQUAL = 2;
+
+
+ /** the value has to be greater than the specified value.
+ */
+ const long GREATER = 3;
+
+
+ /** the value has to be greater than or equal to the specified value.
+ */
+ const long GREATER_EQUAL = 4;
+
+
+ /** the value has to be less than the specified value.
+ */
+ const long LESS = 5;
+
+
+ /** the value has to be less than or equal to the specified value.
+ */
+ const long LESS_EQUAL = 6;
+
+
+ /** the value has to be between the two specified values.
+ */
+ const long BETWEEN = 7;
+
+
+ /** the value has to be outside of the two specified values.
+ */
+ const long NOT_BETWEEN = 8;
+
+
+ /** the specified formula has to give a non-zero result.
+ */
+ const long FORMULA = 9;
+
+
+ /** Conditionally format duplicate values
+ */
+ const long DUPLICATE = 10;
+
+
+ /** Conditionally format non-duplicate values
+ */
+ const long NOT_DUPLICATE = 11;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/ConditionalFormat.idl b/offapi/com/sun/star/sheet/ConditionalFormat.idl
new file mode 100644
index 000000000..953d3cff2
--- /dev/null
+++ b/offapi/com/sun/star/sheet/ConditionalFormat.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_sheet_ConditionalFormat_idl__
+#define __com_sun_star_sheet_ConditionalFormat_idl__
+
+#include
+#include
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a conditional format
+ */
+service ConditionalFormat
+{
+ interface com::sun::star::beans::XPropertySet;
+ interface com::sun::star::sheet::XConditionalFormat;
+
+ /** represents the range for the conditional format
+ All ranges have to be in the same sheet.
+ */
+ [property] XSheetCellRanges Range;
+
+ [property] long ID;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/ConsolidationDescriptor.idl b/offapi/com/sun/star/sheet/ConsolidationDescriptor.idl
new file mode 100644
index 000000000..e85457054
--- /dev/null
+++ b/offapi/com/sun/star/sheet/ConsolidationDescriptor.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_sheet_ConsolidationDescriptor_idl__
+#define __com_sun_star_sheet_ConsolidationDescriptor_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** contains all settings of a data consolidation in a spreadsheet
+ document.
+
+ @see com::sun::star::sheet::XConsolidatable
+ */
+published service ConsolidationDescriptor
+{
+
+/** provides methods to access the settings of the descriptor.
+ */
+ interface com::sun::star::sheet::XConsolidationDescriptor;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DDEItemInfo.idl b/offapi/com/sun/star/sheet/DDEItemInfo.idl
new file mode 100644
index 000000000..35e2e47cd
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DDEItemInfo.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_sheet_DDEItemInfo_idl__
+#define __com_sun_star_sheet_DDEItemInfo_idl__
+
+
+module com { module sun { module star { module sheet {
+
+/** describes an item of a DDE connection.
+
+ A DDE connection consists of the DDE service name, the DDE topic and a
+ list of DDE items which may contain cached result sets.
+
+ @since OOo 3.1
+ */
+struct DDEItemInfo
+{
+
+ /** The name of the DDE item.
+ */
+
+ string Item;
+
+
+ /** The results of the item cached from the last update of the DDE link if
+ available. This sequence may be empty.
+ */
+
+ sequence< sequence< any > > Results;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DDELink.idl b/offapi/com/sun/star/sheet/DDELink.idl
new file mode 100644
index 000000000..66b5b9d9a
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DDELink.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_sheet_DDELink_idl__
+#define __com_sun_star_sheet_DDELink_idl__
+
+#include
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a DDE link.
+
+ A DDE link controls the results of a DDE spreadsheet formula.
+ */
+published service DDELink
+{
+
+ /** provides access to the name of the DDE link.
+
+ A DDE link has the form Application|Topic!Item.
+ */
+ interface com::sun::star::container::XNamed;
+
+
+ /** provides methods to change the settings of the DDE link.
+ */
+ interface com::sun::star::sheet::XDDELink;
+
+
+ /** provides methods to reload the external linked data.
+ */
+ interface com::sun::star::util::XRefreshable;
+
+
+ /** provides access to the DDE link results.
+
+ @since OOo 3.0
+ */
+ [optional] interface com::sun::star::sheet::XDDELinkResults;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DDELinkInfo.idl b/offapi/com/sun/star/sheet/DDELinkInfo.idl
new file mode 100644
index 000000000..9c24e7ab4
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DDELinkInfo.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_sheet_DDELinkInfo_idl__
+#define __com_sun_star_sheet_DDELinkInfo_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+/** describes all items of a DDE connection used in formulas.
+
+ A DDE connection consists of the DDE service name, the DDE topic and a
+ list of DDE items which may contain results cached from the last update.
+
+ The formula that would need this information for example would contain
+ =[1]!'R1C1'
or =[2]!'Sheet1.A1'
where
+ [1] is an external link with DDE service name "excel" and the
+ topic "X:\PATH\[FILE.XLSX]Sheet1", and [2] contains service
+ "soffice" and topic "file:///X:/PATH/FILE.ODS". The service name is stored
+ in DDELinkInfo::Service, the topic is stored in
+ DDELinkInfo::Topic. Note that if the DDE item contains
+ single quotes they are escaped by doubling them, as usual, for example
+ =[2]!'''Sheet name''.A1'
in a "soffice" service.
+
+ @since OOo 3.1
+ */
+struct DDELinkInfo
+{
+ /** The DDE service name.
+ */
+ string Service;
+
+ /** The DDE topic.
+ */
+ string Topic;
+
+ /** A list of DDE items. Each item may contain its results from the last
+ update.
+ */
+ sequence< DDEItemInfo > Items;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DDELinkMode.idl b/offapi/com/sun/star/sheet/DDELinkMode.idl
new file mode 100644
index 000000000..f971537b1
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DDELinkMode.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_sheet_DDELinkMode_idl__
+#define __com_sun_star_sheet_DDELinkMode_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** used to specify how the DDE server application converts its data into
+ numbers.
+
+ @see com::sun::star::sheet::XDDELinks
+
+ @since OOo 3.0
+ */
+published enum DDELinkMode
+{
+
+ /** numbers are converted into the default format.
+ */
+ DEFAULT,
+
+
+ /** numbers are converted into the English default format.
+ */
+ ENGLISH,
+
+
+ /** numbers are not converted, but treated as text.
+ */
+ TEXT
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DDELinks.idl b/offapi/com/sun/star/sheet/DDELinks.idl
new file mode 100644
index 000000000..02cb47e90
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DDELinks.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_sheet_DDELinks_idl__
+#define __com_sun_star_sheet_DDELinks_idl__
+
+#include
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a collection of DDE links.
+
+ @see com::sun::star::sheet::DDELink
+ @see com::sun::star::sheet::SpreadsheetDocument
+ */
+published service DDELinks
+{
+
+ /** provides access to the DDE links via the DDE link string.
+
+ A DDE link has the form Application|Topic!Item.
+ */
+ interface com::sun::star::container::XNameAccess;
+
+
+ /** provides access to the DDE links via index.
+
+ @see com::sun::star::sheet::DDELink
+
+ */
+ interface com::sun::star::container::XIndexAccess;
+
+
+ /** creates an enumeration of all DDE links.
+
+ @see com::sun::star::sheet::DDELinksEnumeration
+
+ */
+ interface com::sun::star::container::XEnumerationAccess;
+
+
+ /** provides a method to add a DDE link to a spreadsheet.
+
+ @since OOo 3.0
+ */
+ [optional] interface com::sun::star::sheet::XDDELinks;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DDELinksEnumeration.idl b/offapi/com/sun/star/sheet/DDELinksEnumeration.idl
new file mode 100644
index 000000000..0c9f0d643
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DDELinksEnumeration.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_sheet_DDELinksEnumeration_idl__
+#define __com_sun_star_sheet_DDELinksEnumeration_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents an enumeration of DDE links.
+
+ @see com::sun::star::sheet::DDELink
+ */
+published service DDELinksEnumeration
+{
+
+ /** provides methods to access the DDE links in the enumeration.
+
+ @see com::sun::star::sheet::DDELink
+ */
+ interface com::sun::star::container::XEnumeration;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataBar.idl b/offapi/com/sun/star/sheet/DataBar.idl
new file mode 100644
index 000000000..6fbccb9dc
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataBar.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/.
+ */
+
+#ifndef __com_sun_star_sheet_Databar_idl__
+#define __com_sun_star_sheet_Databar_idl__
+
+#include
+#include
+#include
+#include
+
+module com { module sun { module star { module sheet {
+
+service DataBar
+{
+ interface XConditionEntry;
+
+ [property] boolean ShowValue;
+
+ /**
+ * See com.sun.star.sheet.DataBarAxis for possible values
+ */
+ [property] long AxisPosition;
+
+ [property] boolean UseGradient;
+
+ [property] com::sun::star::util::Color Color;
+
+ [property] com::sun::star::util::Color AxisColor;
+
+ [property] boolean UseNegativeColor;
+
+ [property, optional] com::sun::star::util::Color NegativeColor;
+
+ [property] sequence DataBarEntries;
+
+ /**
+ * Minimum databar length in percent of cell width.
+ *
+ * Allowed values are [0, 100) but smaller than MaximumLength.
+ */
+ [property] double MinimumLength;
+
+ /**
+ * Maximum databar length in percent of cell width.
+ *
+ * Allowed values are (0, 1000) but larger than MinimumLength.
+ */
+ [property] double MaximumLength;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataBarAxis.idl b/offapi/com/sun/star/sheet/DataBarAxis.idl
new file mode 100644
index 000000000..011725934
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataBarAxis.idl
@@ -0,0 +1,29 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.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_sheet_DataBarAxis_idl__
+#define __com_sun_star_sheet_DataBarAxis_idl__
+
+module com { module sun { module star { module sheet {
+
+constants DataBarAxis
+{
+ const long AXIS_NONE = 0;
+
+ const long AXIS_MIDDLE = 1;
+
+ const long AXIS_AUTOMATIC = 2;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataBarEntryType.idl b/offapi/com/sun/star/sheet/DataBarEntryType.idl
new file mode 100644
index 000000000..0e795a917
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataBarEntryType.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/.
+ */
+
+#ifndef __com_sun_star_sheet_DataBarEntryType_idl__
+#define __com_sun_star_sheet_DataBarEntryType_idl__
+
+module com { module sun { module star { module sheet {
+
+constants DataBarEntryType
+{
+ const long DATABAR_AUTO = 1;
+
+ const long DATABAR_MIN = 1;
+
+ const long DATABAR_MAX = 2;
+
+ const long DATABAR_PERCENTILE = 3;
+
+ const long DATABAR_VALUE = 4;
+
+ const long DATABAR_PERCENT = 5;
+
+ const long DATABAR_FORMULA = 6;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataImportMode.idl b/offapi/com/sun/star/sheet/DataImportMode.idl
new file mode 100644
index 000000000..3f55b3019
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataImportMode.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_sheet_DataImportMode_idl__
+#define __com_sun_star_sheet_DataImportMode_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** used to specify which database contents are imported.
+ */
+published enum DataImportMode
+{
+
+ /** nothing is imported.
+ */
+ NONE,
+
+
+ /** a SQL query string is supplied.
+ */
+ SQL,
+
+
+ /** the name of a database table is supplied.
+ */
+ TABLE,
+
+
+ /** the name of a database query is supplied.
+ */
+ QUERY
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotDescriptor.idl b/offapi/com/sun/star/sheet/DataPilotDescriptor.idl
new file mode 100644
index 000000000..0ab03b48c
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotDescriptor.idl
@@ -0,0 +1,126 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_sheet_DataPilotDescriptor_idl__
+#define __com_sun_star_sheet_DataPilotDescriptor_idl__
+
+#include
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents the description of the layout of a data pilot table.
+
+ @see com::sun::star::sheet::DataPilotTable
+*/
+published service DataPilotDescriptor
+{
+
+ /** provides access to the layout settings of the data pilot table.
+ */
+ interface XDataPilotDescriptor;
+
+
+ /** provides access to the layout settings of the data pilot table.
+ */
+ [optional] interface com::sun::star::beans::XPropertySet;
+
+
+ /** Provides access to the DataPilotField used to layout
+ multiple data fields.
+ */
+ [optional] interface XDataPilotDataLayoutFieldSupplier;
+
+
+ /** specifies parameters to create the data pilot table from a database.
+
+ @see DatabaseImportDescriptor
+ @since OOo 3.3
+
+ */
+ [optional, property] sequence< com::sun::star::beans::PropertyValue > ImportDescriptor;
+
+
+ /** specifies the name of a DataPilotSource implementation
+ for the data pilot table.
+
+ @since OOo 3.3
+
+ */
+ [optional, property] string SourceServiceName;
+
+
+ /** specifies arguments that are passed to the implementation named by
+ #SourceServiceName.
+
+ @since OOo 3.3
+
+ */
+ [optional, property] sequence< com::sun::star::beans::PropertyValue > ServiceArguments;
+
+
+ /** specifies if empty rows in the source data are ignored.
+ */
+ [optional, property] boolean IgnoreEmptyRows;
+
+
+ /** specifies if empty category cells in the source data should be treated
+ as repetition of the content from the previous row.
+ */
+ [optional, property] boolean RepeatIfEmpty;
+
+
+ /** specifies if columns for grand total results are created.
+ */
+ [optional, property] boolean ColumnGrand;
+
+
+ /** specifies if rows for grand total results are created.
+ */
+ [optional, property] boolean RowGrand;
+
+
+ /** specifies whether the filter button is shown.
+ */
+ [optional, property] boolean ShowFilterButton;
+
+
+ /** specifies whether to drill down to details or go into edit mode.
+ */
+ [optional, property] boolean DrillDownOnDoubleClick;
+
+
+ /** specifies a label for grand total results.
+
+ @since OOo 3.4
+ */
+ [optional, property] string GrandTotalName;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotField.idl b/offapi/com/sun/star/sheet/DataPilotField.idl
new file mode 100644
index 000000000..ad6c88ac8
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotField.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_sheet_DataPilotField_idl__
+#define __com_sun_star_sheet_DataPilotField_idl__
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a single field in a data pilot table.
+
+ If the data pilot table is based on a spreadsheet cell range, a field
+ is represented by a column of the range and is named using the topmost
+ cell of the column.
+ */
+published service DataPilotField
+{
+
+ /** provides access to the name of the data pilot field.
+ */
+ interface com::sun::star::container::XNamed;
+
+
+//!published service PropertySet
+ /** provides access to the properties.
+ */
+ interface com::sun::star::beans::XPropertySet;
+
+
+ [optional] interface XDataPilotField;
+
+
+ [optional] interface XDataPilotFieldGrouping;
+
+
+ /** specifies the orientation of the field.
+
+ If the orientation of a field has been changed using this property,
+ the field will be moved to the last position in the collection of all
+ fields with the specified orientation.
+ */
+ [property] DataPilotFieldOrientation Orientation;
+
+
+ /** specifies the function used to calculate results for this field.
+
+ For column and row fields, this is the function for subtotals
+ (GeneralFunction::NONE means no subtotals).
+ For data fields, this is the function shown in the data pilot
+ table.
+ */
+ [property] GeneralFunction Function;
+
+
+ /** specifies the functions used to calculate subtotals for this field.
+
+ This property is supported by column and row fields only.
+
+ An empty sequence means no subtotals. The same effect can be
+ achieved by setting the property #Function to the
+ value GeneralFunction::NONE. If the length of the
+ sequence is greater than 1, then the sequence MUST NOT contain one of
+ the values GeneralFunction::NONE or
+ GeneralFunction::AUTO.
+
+ The order of the functions in this sequence is reflected in the
+ DataPilot table. Multiple entries of the same function are ignored
+ when setting the property.
+ */
+ [property, optional] sequence Subtotals;
+
+ /** specifies the selected page which is used to filter the data pilot.
+ */
+ [property, optional] string SelectedPage;
+
+
+ /** specifies whether to use the selected page to filter the data pilot or
+ show all.
+ */
+ [property, optional] boolean UseSelectedPage;
+
+
+ /** specifies which hierarchy of the dimension is used.
+
+ @see com::sun::star::sheet::DataPilotSourceHierarchies
+ */
+ [property, optional] string UsedHierarchy;
+
+
+ /** specifies whether this field has sorting information.
+ */
+ [property, optional] boolean HasSortInfo;
+
+
+ /** controls how the field's items are sorted.
+ */
+ [property, optional] DataPilotFieldSortInfo SortInfo;
+
+
+ /** specifies whether this field has layout information.
+ */
+ [property, optional] boolean HasLayoutInfo;
+
+
+ /** controls how the field's items are laid out in the result table.
+ */
+ [property, optional] DataPilotFieldLayoutInfo LayoutInfo;
+
+
+ /** specifies whether this field has auto show information.
+ */
+ [property, optional] boolean HasAutoShowInfo;
+
+
+ /** enables the automatic inclusion of only a number of items with
+ the highest or lowest result values.
+ */
+ [property, optional] DataPilotFieldAutoShowInfo AutoShowInfo;
+
+
+ /** specifies whether this field has a reference.
+ */
+ [property, optional] boolean HasReference;
+
+
+ /** controls how the results are shown in relation to a selected
+ reference result.
+ */
+ [property, optional] DataPilotFieldReference Reference;
+
+
+ /** specifies whether this field is a group field.
+ */
+ [property, optional] boolean IsGroupField;
+
+
+ /** contains the grouping information of the DataPilot field.
+
+ By changing the value of this property it is possible to modify the
+ grouping settings of this field.
+ */
+ [property, optional] DataPilotFieldGroupInfo GroupInfo;
+
+
+ /** specifies whether to show this field also if it is empty or not.
+ */
+ [property, optional] boolean ShowEmpty;
+
+ /** specifies the function used to calculate results for this field.
+
+ For column and row fields, this is the function for subtotals
+ (GeneralFunction2::NONE means no subtotals).
+ For data fields, this is the function shown in the data pilot
+ table.
+
+ @since LibreOffice 5.3
+ */
+
+ [property, optional] short Function2;
+
+ /** specifies the functions used to calculate subtotals for this field.
+
+ This property is supported by column and row fields only.
+
+ An empty sequence means no subtotals. The same effect can be
+ achieved by setting the property #Function2 to the
+ value GeneralFunction::NONE. If the length of the
+ sequence is greater than 1, then the sequence MUST NOT contain one of
+ the values GeneralFunction2::NONE or
+ GeneralFunction2::AUTO.
+
+ The order of the functions in this sequence is reflected in the
+ DataPilot table. Multiple entries of the same function are ignored
+ when setting the property.
+
+ @since LibreOffice 5.3
+ */
+ [property, optional] sequence Subtotals2;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotFieldAutoShowInfo.idl b/offapi/com/sun/star/sheet/DataPilotFieldAutoShowInfo.idl
new file mode 100644
index 000000000..155ba09a9
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotFieldAutoShowInfo.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_sheet_DataPilotFieldAutoShowInfo_idl__
+#define __com_sun_star_sheet_DataPilotFieldAutoShowInfo_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** contains the auto show information of a DataPilotField.
+
+ If enabled, only a number of items with the highest or lowest result
+ values are shown. The other items are hidden automatically.
+
+ @see com::sun::star::sheet::DataPilotField
+ */
+published struct DataPilotFieldAutoShowInfo
+{
+
+ /** specifies whether the AutoShow feature is enabled or not.
+ */
+
+ boolean IsEnabled;
+
+
+ /** specifies the mode which items have to be shown.
+
+ @see com::sun::star::sheet::DataPilotFieldShowItemsMode
+
+ */
+
+ long ShowItemsMode;
+
+
+ /** specifies the number of the items to show.
+ */
+
+ long ItemCount;
+
+
+ /** specifies the field where the values to show and select are taken from.
+ */
+
+ string DataField;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotFieldFilter.idl b/offapi/com/sun/star/sheet/DataPilotFieldFilter.idl
new file mode 100644
index 000000000..c41cf395f
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotFieldFilter.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_sheet_DataPilotFieldFilter_idl__
+#define __com_sun_star_sheet_DataPilotFieldFilter_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+struct DataPilotFieldFilter
+{
+ /** Field name. */
+ string FieldName;
+
+ /** String value that needs to match against, locale dependent.
+
+ This is the value as name/label as also displayed in the
+ filter popup dialog, maybe formatted by user applied number
+ formats.
+ */
+ string MatchValueName;
+
+ /** String value that needs to match against, locale independent.
+
+ This is the underlying value formatted in a standardized
+ way, for example ISO 8601 YYYY-MM-DD for dates.
+ */
+ string MatchValue;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotFieldGroup.idl b/offapi/com/sun/star/sheet/DataPilotFieldGroup.idl
new file mode 100644
index 000000000..a80d252f5
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotFieldGroup.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_sheet_DataPilotFieldGroup_idl__
+#define __com_sun_star_sheet_DataPilotFieldGroup_idl__
+
+#include
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a collection of members in a data pilot field group.
+
+ The members (also called items) of this collection are instances of
+ DataPilotFieldGroupItem.
+
+ @see DataPilotField
+ @see DataPilotFieldGroups
+ @see DataPilotFieldGroupItem
+ */
+published service DataPilotFieldGroup
+{
+
+ /** provides access to the name of the data pilot field group.
+
+ It is possible to change the name of this field group as long as
+ the new name is not used in the collection of groups in the field.
+ */
+ interface com::sun::star::container::XNamed;
+
+
+ /** provides access to the data pilot field group members in the
+ collection via index.
+ */
+ interface com::sun::star::container::XIndexAccess;
+
+
+ /** creates an enumeration of all data pilot field group members.
+
+ @see DataPilotFieldGroupEnumeration
+ */
+ interface com::sun::star::container::XEnumerationAccess;
+
+
+ /** provides access to the data pilot field group members in the
+ collection via name.
+ */
+ interface com::sun::star::container::XNameAccess;
+
+
+ /** provides read/write access to the data pilot field group members in
+ the collection via name.
+
+ The com::sun::star::container::XNameContainer
+ and com::sun::star::container::XNameReplace
+ interfaces can be used to manage the members that this group contains.
+ It is possible to insert, remove, and replace members.
+
+ The method com::sun::star::container::XNameReplace::replaceByName
+ can be used to rename the
+ specified member. To do so, the new name has to be passed as second
+ argument. An implementation should support the following data types:
+
+
+ - a non-empty `string` specifying the new name of the
+ group member.
+ - an object supporting the com::sun::star::container::XNamed
+ interface, for example an instance of
+ DataPilotFieldGroupItem received from another group.
+
+
+ The method com::sun::star::container::XNameContainer::insertByName()
+ can be used to insert a new
+ member into this field group. An implementation should ignore the
+ second argument and insert the specified member name.
+
+ The method com::sun::star::container::XNameContainer::removeByName()
+ can be used to remove an existing member name.
+ */
+ [optional] interface com::sun::star::container::XNameContainer;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotFieldGroupBy.idl b/offapi/com/sun/star/sheet/DataPilotFieldGroupBy.idl
new file mode 100644
index 000000000..0c0bf251e
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotFieldGroupBy.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_sheet_DataPilotFieldGroupBy_idl__
+#define __com_sun_star_sheet_DataPilotFieldGroupBy_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** These constants select different types for grouping members of a DataPilot
+ field by date or time.
+
+ @see DataPilotFieldGroupInfo
+ */
+published constants DataPilotFieldGroupBy
+{
+ /** Groups all members of a DataPilot field containing a date/time value
+ by their current value for seconds.
+
+ Example: The group :02 will contain all members that
+ contain a time with a seconds value of 2, regardless of the date,
+ hours and minutes of the member, e.g. 2002-Jan-03 00:00:02 or
+ 1999-May-02 12:45:02.
+ */
+ const long SECONDS = 1;
+
+ /** Groups all members of a DataPilot field containing a date/time value
+ by their current value for minutes.
+
+ Example: The group :02 will contain all members that
+ contain a time with a minutes value of 2, regardless of the date,
+ hours and seconds of the member, e.g. 2002-Jan-03 00:02:00 or
+ 1999-May-02 12:02:45.
+ */
+ const long MINUTES = 2;
+
+ /** Groups all members of a DataPilot field containing a date/time value
+ by their current value for hours.
+
+ Example: The group 02 will contain all members that
+ contain a time with a hour value of 2, regardless of the date, minutes
+ and seconds of the member, e.g. 2002-Jan-03 02:00:00 or
+ 1999-May-02 02:12:45.
+ */
+ const long HOURS = 4;
+
+ /** Groups all members of a DataPilot field containing a date/time value
+ by their calendar day, or by ranges of days.
+
+ Examples:
+
+ - Calendar day grouping: The group Jan 03 will contain all
+ members that contain the January 3rd, regardless of the year or time
+ of the member, e.g. 2002-Jan-03 00:00:00 or
+ 1999-Jan-03 02:12:45.
+
+ - Day range grouping: The group 2002-Jan-03 - 2002-Jan-09
+ will contain all members with a date/time in the range from
+ 2002-Jan-03 00:00:00 through 2002-Jan-09 23:59:59.
+
+
+ See descriptions for XDataPilotFieldGrouping::createDateGroup()
+ for more details about day grouping.
+ */
+ const long DAYS = 8;
+
+ /** Groups all members of a DataPilot field containing a date/time value
+ by their month.
+
+ Example: The group Jan will contain all members with a
+ date in the month January, regardless of the year, day, or time of the
+ member, e.g. 2002-Jan-03 00:00:00 or
+ 1999-Jan-02 02:12:45.
+ */
+ const long MONTHS = 16;
+
+ /** Groups all members of a DataPilot field containing a date/time value
+ by their quarter.
+
+ Example: The group Q1 will contain all members with a
+ date in the first quarter of a year (i.e. the months January,
+ February, and march), regardless of the year, day, or time of the
+ member, e.g. 2002-Jan-03 00:00:00 or
+ 1999-Mar-02 02:12:45.
+ */
+ const long QUARTERS = 32;
+
+ /** Groups all members of a DataPilot field containing a date/time value
+ by their year.
+
+ Example: The group 1999 will contain all members with a
+ date in the year 1999, regardless of the month, day, or time of the
+ member, e.g. 1999-Jan-03 00:00:00 or
+ 1999-May-02 02:12:45.
+ */
+ const long YEARS = 64;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotFieldGroupEnumeration.idl b/offapi/com/sun/star/sheet/DataPilotFieldGroupEnumeration.idl
new file mode 100644
index 000000000..fa81edaba
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotFieldGroupEnumeration.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_sheet_DataPilotFieldGroupEnumeration_idl__
+#define __com_sun_star_sheet_DataPilotFieldGroupEnumeration_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents an enumeration of members in a DataPilot field group.
+
+ @see DataPilotFieldGroupItem
+ @see DataPilotFieldGroup
+ */
+service DataPilotFieldGroupEnumeration
+{
+
+ /** provides methods to access the group members in the enumeration.
+
+ The elements of the enumeration are instances of
+ DataPilotFieldGroupItem.
+ */
+ interface com::sun::star::container::XEnumeration;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotFieldGroupInfo.idl b/offapi/com/sun/star/sheet/DataPilotFieldGroupInfo.idl
new file mode 100644
index 000000000..0af4d9767
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotFieldGroupInfo.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_sheet_DataPilotFieldGroupInfo_idl__
+#define __com_sun_star_sheet_DataPilotFieldGroupInfo_idl__
+
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** contains the grouping information of a DataPilotField.
+ */
+published struct DataPilotFieldGroupInfo
+{
+
+ /** specifies whether the start value for the grouping is taken
+ automatically from the minimum of the item values.
+
+
+ - If `FALSE` is set, the value from #Start will be
+ used as start value for the grouping.
+ - If `TRUE` is set, the start value for the grouping will be
+ calculated automatically from the minimum of all member values of the
+ DataPilot field.
+
+ */
+ boolean HasAutoStart;
+
+
+ /** specifies whether the end value for the grouping is taken
+ automatically from the maximum of the item values.
+
+
+ - If `FALSE` is set, the value from #End will be
+ used as end value for the grouping.
+ - If `TRUE` is set, the end value for the grouping will be
+ calculated automatically from the maximum of all member values of the
+ DataPilot field.
+
+ */
+ boolean HasAutoEnd;
+
+
+ /** specifies whether date values are grouped by ranges of days.
+
+
+ - If `FALSE` is set, and #GroupBy contains zero,
+ grouping is performed inplace on the item values.
+ - If `FALSE` is set, and #GroupBy contains one or
+ more flags from DataPilotFieldGroupBy, grouping is
+ performed on date or time.
+ - If `TRUE` is set, #Step contains a value greater
+ than or equal to 1, and #GroupBy set to
+ DataPilotFieldGroupBy::DAYS, grouping is performed on ranges
+ of days (see descriptions for
+ XDataPilotFieldGrouping::createDateGroup() for more details
+ about day grouping).
+
+ */
+ boolean HasDateValues;
+
+
+ /** specifies the start value for the grouping if #HasAutoStart
+ is set to `FALSE`.
+ */
+ double Start;
+
+
+ /** specifies the end value for the grouping if #HasAutoEnd
+ is set to `FALSE`.
+ */
+ double End;
+
+
+ /** specifies the size of the ranges for numeric or day grouping.
+
+ Example: With #HasAutoStart set to `FALSE`,
+ #Start set to 2, and #Step set to 3,
+ the first group will contain all values greater than or equal to 2 and
+ less than 5. The second group will contain all values greater than or
+ equal to 5 and less than 8, and so on.
+ */
+ double Step;
+
+
+ /** specifies the grouping of the date values.
+
+ @see DataPilotFieldGroupBy
+ */
+ long GroupBy;
+
+
+ /** contains the source DataPilot field grouping is based on. Will be
+ `NULL` if this field is not grouped or contains numeric grouping.
+
+ @see DataPilotField
+ */
+ XDataPilotField SourceField;
+
+
+ /** specifies the named groups in this field if there are some.
+
+ The returned object is an instance of DataPilotFieldGroups
+ . The collection of groups can be modified by inserting,
+ removing, replacing, or renaming single groups or item names in the
+ groups. When writing back this struct containing such a changed
+ collection of groups to the DataPilotField::GroupInfo
+ property, the modified grouping settings are applied at the DataPilot
+ field.
+
+ @see DataPilotField
+ @see DataPilotFieldGroups
+ */
+ com::sun::star::container::XNameAccess Groups;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotFieldGroupItem.idl b/offapi/com/sun/star/sheet/DataPilotFieldGroupItem.idl
new file mode 100644
index 000000000..5f7f34964
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotFieldGroupItem.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_sheet_DataPilotFieldGroupItem_idl__
+#define __com_sun_star_sheet_DataPilotFieldGroupItem_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents the member in a data pilot field group.
+
+ @see com::sun::star::sheet::DataPilotFieldGroup
+ */
+published service DataPilotFieldGroupItem
+{
+
+ /** provides access to the name of the data pilot field group member.
+ */
+ interface com::sun::star::container::XNamed;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotFieldGroups.idl b/offapi/com/sun/star/sheet/DataPilotFieldGroups.idl
new file mode 100644
index 000000000..5065d353d
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotFieldGroups.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_sheet_DataPilotFieldGroups_idl__
+#define __com_sun_star_sheet_DataPilotFieldGroups_idl__
+
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a collection of groups in a data pilot field.
+
+ The members of this collection are instances of DataPilotFieldGroup
+ containing the names of all items in the group.
+
+ @see DataPilotField
+ @see DataPilotFieldGroup
+ @see DataPilotFieldGroupInfo
+ */
+published service DataPilotFieldGroups
+{
+
+ /** provides access to the data pilot field groups in the collection via
+ index.
+ */
+ interface com::sun::star::container::XIndexAccess;
+
+
+ /** creates an enumeration of all data pilot field groups.
+
+ @see DataPilotFieldGroupsEnumeration
+ */
+ interface com::sun::star::container::XEnumerationAccess;
+
+
+ /** provides access to the data pilot field groups in the collection via
+ name.
+ */
+ interface com::sun::star::container::XNameAccess;
+
+
+ /** provides read/write access to the data pilot field groups in the
+ collection via name.
+
+ The com::sun::star::container::XNameContainer
+ and com::sun::star::container::XNameReplace
+ interfaces can be used to manage the item groups. It is possible to
+ insert, remove, and replace item groups.
+
+ The method com::sun::star::container::XNameReplace::replaceByName()
+ can be used to replace the item
+ names in an existing group with a new collection of item names. An
+ implementation should support the following data types:
+
+
+ - an empty `any` to remove all items and leave the
+ group empty. The group can be filled later with new item names.
+ - a `string[]` containing all item names that will
+ be part of the group.
+ - an object supporting com::sun::star::container::XIndexAccess
+ containing elements that provide an item name per element via the
+ interface com::sun::star::container::XNamed,
+ for example an instance of DataPilotFieldGroup.
+
+
+ The method com::sun::star::container::XNameContainer::insertByName()
+ can be used to insert a new
+ field group with the passed collection of item names. An
+ implementation should support the same data types as described above
+ for the method
+ com::sun::star::container::XNameReplace::replaceByName().
+
+ The method com::sun::star::container::XNameContainer::removeByName()
+ can be used to remove an existing field group.
+ */
+ [optional] interface com::sun::star::container::XNameContainer;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotFieldGroupsEnumeration.idl b/offapi/com/sun/star/sheet/DataPilotFieldGroupsEnumeration.idl
new file mode 100644
index 000000000..69e351c17
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotFieldGroupsEnumeration.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_sheet_DataPilotFieldGroupsEnumeration_idl__
+#define __com_sun_star_sheet_DataPilotFieldGroupsEnumeration_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents an enumeration of member groups in a DataPilot field.
+
+ @see DataPilotFieldGroup
+ @see DataPilotFieldGroups
+ */
+service DataPilotFieldGroupsEnumeration
+{
+
+ /** provides methods to access the field groups in the enumeration.
+
+ The elements of the enumeration are instances of
+ DataPilotFieldGroup.
+ */
+ interface com::sun::star::container::XEnumeration;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotFieldLayoutInfo.idl b/offapi/com/sun/star/sheet/DataPilotFieldLayoutInfo.idl
new file mode 100644
index 000000000..5e84303d4
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotFieldLayoutInfo.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_sheet_DataPilotFieldLayoutInfo_idl__
+#define __com_sun_star_sheet_DataPilotFieldLayoutInfo_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** contains the layout information of a DataPilotField.
+ */
+published struct DataPilotFieldLayoutInfo
+{
+
+ /** specifies the layout mode.
+
+ @see com::sun::star::sheet::DataPilotFieldLayoutMode
+
+ */
+
+ long LayoutMode;
+
+
+ /** If `TRUE`, an empty row is inserted in the DataPilotTable
+ result table after the data
+ (including the subtotals) for each item of the field.
+ */
+
+ boolean AddEmptyLines;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotFieldLayoutMode.idl b/offapi/com/sun/star/sheet/DataPilotFieldLayoutMode.idl
new file mode 100644
index 000000000..e85fb6507
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotFieldLayoutMode.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_sheet_DataPilotFieldLayoutMode_idl__
+#define __com_sun_star_sheet_DataPilotFieldLayoutMode_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** describes the layout mode of the data field
+
+@see com::sun::star::sheet::DataPilotFieldLayoutInfo
+
+ */
+constants DataPilotFieldLayoutMode
+{
+
+ /** Tabular layout mode is the layout, where each item's name is on the same
+ row as the first item from the following field. Subtotals are always shown below
+ an item's data in this mode.
+ */
+
+ const long TABULAR_LAYOUT = 0;
+
+
+ /** In outline layout mode, the items from the following field start in the row
+ below an item's name, like in traditional database reports.
+
+ Subtotals are shown at the top (on the same row as the item's name). When
+ the subtotals take up more than one row (manually selected, or because there
+ are several data fields), they are always shown below the item's data,
+ regardless of the setting.
+ */
+
+ const long OUTLINE_SUBTOTALS_TOP = 1;
+
+
+ /** In outline layout mode, the items from the following field start in the row
+ below an item's name, like in traditional database reports.
+
+ Subtotals are shown at the bottom (below the item's data, as in tabular
+ layout mode). When the subtotals take up more than one row (manually
+ selected, or because there are several data fields), they are always shown
+ below the item's data, regardless of the setting.
+ */
+
+ const long OUTLINE_SUBTOTALS_BOTTOM = 2;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotFieldOrientation.idl b/offapi/com/sun/star/sheet/DataPilotFieldOrientation.idl
new file mode 100644
index 000000000..23b09e854
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotFieldOrientation.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_sheet_DataPilotFieldOrientation_idl__
+#define __com_sun_star_sheet_DataPilotFieldOrientation_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** used to specify where a field in a data pilot table is laid out.
+ */
+published enum DataPilotFieldOrientation
+{
+
+ /** the field is not used in the table.
+ */
+ HIDDEN,
+
+
+ /** the field is used as a column field.
+ */
+ COLUMN,
+
+
+ /** the field is used as a row field.
+ */
+ ROW,
+
+
+ /** the field is used as a page field.
+ */
+ PAGE,
+
+
+ /** the field is used as a data field.
+ */
+ DATA
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotFieldReference.idl b/offapi/com/sun/star/sheet/DataPilotFieldReference.idl
new file mode 100644
index 000000000..a9a153f95
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotFieldReference.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_sheet_DataPilotFieldReference_idl__
+#define __com_sun_star_sheet_DataPilotFieldReference_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** controls how a data pilot field's results are shown in relation to
+ a selected reference result.
+
+ @see com::sun::star::sheet::DataPilotField
+ */
+published struct DataPilotFieldReference
+{
+
+ /** contains the type of the reference.
+
+ @see com::sun::star::sheet::DataPilotFieldReferenceType
+
+ */
+
+ long ReferenceType;
+
+
+ /** contains the reference field
+ */
+
+ string ReferenceField;
+
+
+ /** selects between a named reference item and using the previous or next
+ item for each item from the reference field.
+
+ @see com::sun::star::sheet::DataPilotFieldReferenceItemType
+
+ */
+
+ long ReferenceItemType;
+
+
+ /** contains the name of the reference item, when the
+ DataPilotFieldReference::ReferenceItemType is NAMED
+ otherwise is empty
+ */
+
+ string ReferenceItemName;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotFieldReferenceItemType.idl b/offapi/com/sun/star/sheet/DataPilotFieldReferenceItemType.idl
new file mode 100644
index 000000000..cb51936fa
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotFieldReferenceItemType.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_sheet_DataPilotFieldReferenceItemType_idl__
+#define __com_sun_star_sheet_DataPilotFieldReferenceItemType_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** is used to select the reference item
+ */
+constants DataPilotFieldReferenceItemType
+{
+
+ /** the reference item is given by a name.
+ */
+
+ const long NAMED = 0;
+
+
+ /** the reference item is the previous one.
+ */
+
+ const long PREVIOUS = 1;
+
+
+ /** the reference item is the next one.
+ */
+
+ const long NEXT = 2;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotFieldReferenceType.idl b/offapi/com/sun/star/sheet/DataPilotFieldReferenceType.idl
new file mode 100644
index 000000000..c312f42f5
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotFieldReferenceType.idl
@@ -0,0 +1,161 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_sheet_DataPilotFieldReferenceType_idl__
+#define __com_sun_star_sheet_DataPilotFieldReferenceType_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** These constants select different types of References to calculate
+ the data fields.
+ */
+constants DataPilotFieldReferenceType
+{
+
+ /** This type means, that the results in the data fields are displayed like they are.
+ */
+ const long NONE = 0;
+
+
+ /** From each result, its reference value (see below) is subtracted, and the difference is shown.
+ Totals outside of the base field are shown as empty results.
+
+ Named Item
+
+ If a base item name is specified, the reference value for a combination of field items is the
+ result where the item in the base field is replaced by the specified base item.
+
+ If the reference value isn't shown in the DataPilot table because of hidden details for a
+ parent field, the difference isn't calculated and an error value is shown.
+
+ If the result for an item combination is empty, the value 0 is used for the difference, even
+ if the summary function is undefined without values, like average or variance. The difference
+ is shown in the result table even if the original result was empty.
+
+ The difference for item combinations containing the base item is shown as empty result.
+
+ Previous or Next
+
+ If "previous" or "next" is specified as the base item, the reference value is the result for
+ the next visible member of the base field, in the base field's sort order. If details for one
+ item in the base field are hidden, that item is skipped. The difference for the item with
+ hidden details isn't calculated, not even for the item's summary, to have a consistent order
+ of previous and next items.
+
+ Empty results are handled as for named items (see above).
+
+
The difference for the first (for
+ com::sun::star::sheet::DataPilotFieldReferenceItemType::PREVIOUS)
+ or last (for com::sun::star::sheet::DataPilotFieldReferenceItemType::NEXT
+ ) item of the base field is
+ shown as empty result.
+ */
+
+ const long ITEM_DIFFERENCE = 1;
+
+
+ /** Each result is divided by its reference value. The reference value is determined in the
+ same way as for ::com::sun::star::sheet::DataPilotFieldReferenceType::ITEM_DIFFERENCE.
+ Totals outside of the base field are shown as empty results.
+
+ Division by zero results in an error. Otherwise, empty results are shown as 0. Results for
+ the base item, first (for
+ com::sun::star::sheet::DataPilotFieldReferenceItemType::PREVIOUS)
+ or last (for
+ com::sun::star::sheet::DataPilotFieldReferenceItemType::NEXT)
+ item of the base field are shown
+ as 1 if not empty.
+ */
+
+ const long ITEM_PERCENTAGE = 2;
+
+
+ /** From each result, its reference value is subtracted, and the difference divided by the
+ reference value. The reference value is determined in the same way as for
+ ::com::sun::star::sheet::DataPilotFieldReferenceType::ITEM_DIFFERENCE.
+ Totals outside of the base field are shown as empty results.
+
+ Division by zero results in an error. Otherwise, the rules for ::com::sun::star::sheet::DataPilotFieldReferenceType::ITEM_DIFFERENCE apply.
+ */
+
+ const long ITEM_PERCENTAGE_DIFFERENCE = 3;
+
+
+ /** Each result is added to the sum of the results for preceding items in the base field,
+ in the base field's sort order, and the total sum is shown.
+
+ If details for one item in the base field are hidden, that item isn't included in
+ calculating the sum, and results for that item are shown as error, to ensure consistency
+ between details and subtotals for the following items.
+
+ Results are always summed, even if a different summary function was used to get each result.
+
+ Totals outside of the base field are shown as empty results.
+ */
+
+ const long RUNNING_TOTAL = 4;
+
+
+ /** Each result is divided by the total result for its row in the DataPilot table.
+
+ If there are several data fields, the total for the result's data field is used.
+
+ If there are subtotals with manually selected summary functions, still the total with
+ the data field's summary function is used.
+
+ Division by zero results in an error.
+
+ Otherwise, empty results remain empty.
+ */
+
+ const long ROW_PERCENTAGE = 5;
+
+
+ /** Same as ::com::sun::star::sheet::DataPilotFieldReferenceType::ROW_PERCENTAGE, but the total for the result's column is used.
+ */
+
+ const long COLUMN_PERCENTAGE = 6;
+
+
+ /** Same as ::com::sun::star::sheet::DataPilotFieldReferenceType::ROW_PERCENTAGE, but the grand total for the result's data field is used.
+ */
+
+ const long TOTAL_PERCENTAGE = 7;
+
+
+ /** The row and column totals and the grand total, following the same rules as above, are used to calculate the following expression.
+
+ ( original result * grand total ) / ( row total * column total )
+
+ Division by zero results in an error. Otherwise, empty results remain empty.
+ */
+
+ const long INDEX = 8;
+
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotFieldShowItemsMode.idl b/offapi/com/sun/star/sheet/DataPilotFieldShowItemsMode.idl
new file mode 100644
index 000000000..a3451aad0
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotFieldShowItemsMode.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_sheet_DataPilotFieldShowItemsMode_idl__
+#define __com_sun_star_sheet_DataPilotFieldShowItemsMode_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** These constants select different types of showing a selection of items.
+
+@see com::sun::star::sheet::DataPilotFieldAutoShowInfo
+
+ */
+constants DataPilotFieldShowItemsMode
+{
+
+ /** The first items are shown.
+ */
+ const long FROM_TOP = 0;
+
+
+ /** The last items are shown.
+ */
+
+ const long FROM_BOTTOM = 1;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotFieldSortInfo.idl b/offapi/com/sun/star/sheet/DataPilotFieldSortInfo.idl
new file mode 100644
index 000000000..70fc9443a
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotFieldSortInfo.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_sheet_DataPilotFieldSortInfo_idl__
+#define __com_sun_star_sheet_DataPilotFieldSortInfo_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+/** describes how to sort a single DataPilotField
+ */
+published struct DataPilotFieldSortInfo
+{
+
+ /** contains the data field to sort by if the Mode is DATA
+ */
+
+ string Field;
+
+
+ /** `TRUE` if data are sorted in ascending order,
+ `FALSE` if in descending order.
+ */
+
+ boolean IsAscending;
+
+
+ /** contains the sort mode
+
+ @see com::sun::star::sheet::DataPilotFieldSortMode
+
+ */
+
+ long Mode;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotFieldSortMode.idl b/offapi/com/sun/star/sheet/DataPilotFieldSortMode.idl
new file mode 100644
index 000000000..222ed6fde
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotFieldSortMode.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_sheet_DataPilotFieldSortMode_idl__
+#define __com_sun_star_sheet_DataPilotFieldSortMode_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** describes the sort mode of the data field
+
+@see com::sun::star::sheet::DataPilotFieldSortInfo
+
+ */
+constants DataPilotFieldSortMode
+{
+
+ /** the data are taken as they come from the DataPilotSource.
+ */
+
+ const long NONE = 0;
+
+
+ /** the user can sort the fields
+ */
+
+ const long MANUAL = 1;
+
+
+ /** the field is sorted by its names
+ */
+
+ const long NAME = 2;
+
+
+ /** the field is sorted by the data in the given field
+
+ @see com::sun::star::sheet::DataPilotFieldSortInfo
+
+ */
+
+ const long DATA = 3;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotFields.idl b/offapi/com/sun/star/sheet/DataPilotFields.idl
new file mode 100644
index 000000000..062541a49
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotFields.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_sheet_DataPilotFields_idl__
+#define __com_sun_star_sheet_DataPilotFields_idl__
+
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a collection of fields in a data pilot table.
+
+ If the data pilot table is based on a spreadsheet cell range, the
+ fields are represented by the columns of the range and are named using
+ the first row of the range.
+
+ @see com::sun::star::sheet::DataPilotField
+ */
+published service DataPilotFields
+{
+
+ /** provides access to the data pilot fields in the collection via index.
+ */
+ interface com::sun::star::container::XIndexAccess;
+
+
+ /** creates an enumeration of all data pilot fields.
+
+ @see com::sun::star::sheet::DataPilotItemsEnumeration
+ */
+ interface com::sun::star::container::XEnumerationAccess;
+
+
+ /** provides access to the data pilot fields in the collection via name.
+ */
+ interface com::sun::star::container::XNameAccess;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotFieldsEnumeration.idl b/offapi/com/sun/star/sheet/DataPilotFieldsEnumeration.idl
new file mode 100644
index 000000000..c74087598
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotFieldsEnumeration.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_sheet_DataPilotFieldsEnumeration_idl__
+#define __com_sun_star_sheet_DataPilotFieldsEnumeration_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents an enumeration of data pilot fields.
+
+ @see com::sun::star::sheet::DataPilotField
+ */
+published service DataPilotFieldsEnumeration
+{
+
+ /** provides methods to access the data pilot fields in the enumeration.
+
+ @see com::sun::star::sheet::DataPilotField
+ */
+ interface com::sun::star::container::XEnumeration;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotItem.idl b/offapi/com/sun/star/sheet/DataPilotItem.idl
new file mode 100644
index 000000000..15a50328f
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotItem.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_sheet_DataPilotItem_idl__
+#define __com_sun_star_sheet_DataPilotItem_idl__
+
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a single item in a data pilot field.
+ */
+service DataPilotItem
+{
+
+ /** provides access to the name of the data pilot item.
+
+ Only the getName()
method is provided.
+ */
+ interface com::sun::star::container::XNamed;
+
+
+//! service PropertySet
+ /** provides access to the properties.
+ */
+ interface com::sun::star::beans::XPropertySet;
+
+
+ /** specifies whether the item is showing detail.
+ */
+ [property] boolean ShowDetail;
+
+
+ /** specifies whether the item is hidden.
+ */
+ [property] boolean IsHidden;
+
+
+ /** specifies the item's position in its field if sorting is manual.
+
+ @since OOo 2.4
+ */
+ [optional, property] long Position;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotItems.idl b/offapi/com/sun/star/sheet/DataPilotItems.idl
new file mode 100644
index 000000000..1760bc916
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotItems.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_sheet_DataPilotItems_idl__
+#define __com_sun_star_sheet_DataPilotItems_idl__
+
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a collection of items in a data pilot field.
+
+ @see DataPilotItem
+ */
+service DataPilotItems
+{
+
+ /** provides access to the data pilot items in the collection via index.
+ */
+ interface com::sun::star::container::XIndexAccess;
+
+
+ /** creates an enumeration of all data pilot items.
+
+ @see com::sun::star::sheet::DataPilotItemsEnumeration
+ */
+ interface com::sun::star::container::XEnumerationAccess;
+
+
+ /** provides access to the data pilot items in the collection via name.
+ */
+ interface com::sun::star::container::XNameAccess;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotItemsEnumeration.idl b/offapi/com/sun/star/sheet/DataPilotItemsEnumeration.idl
new file mode 100644
index 000000000..ab0d57750
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotItemsEnumeration.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_sheet_DataPilotItemsEnumeration_idl__
+#define __com_sun_star_sheet_DataPilotItemsEnumeration_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents an enumeration of data pilot items.
+
+ @see com::sun::star::sheet::DataPilotItem
+ */
+service DataPilotItemsEnumeration
+{
+
+ /** provides methods to access the data pilot items in the enumeration.
+
+ @see com::sun::star::sheet::DataPilotItem
+ */
+ interface com::sun::star::container::XEnumeration;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotOutputRangeType.idl b/offapi/com/sun/star/sheet/DataPilotOutputRangeType.idl
new file mode 100644
index 000000000..893734562
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotOutputRangeType.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_sheet_DataPilotOutputRangeType_idl__
+#define __com_sun_star_sheet_DataPilotOutputRangeType_idl__
+
+module com { module sun { module star { module sheet {
+
+
+/** specifies region type of DataPilot table range
+
+ This constant set is used to indicate the type of output range desired when
+ XDataPilotTable2::getOutputRangeByType() is called, which
+ returns a different cell range depending upon the value passed to it as the argument.
+
+ @see com::sun::star::sheet::XDataPilotTable2
+
+ @since OOo 3.0
+ */
+constants DataPilotOutputRangeType
+{
+
+ /** whole DataPilot output range including the header area above the table
+ where the filter and page field buttons are located. */
+ const long WHOLE = 0;
+
+
+ /** whole table but without the header area where the filter and page field
+ buttons are located. */
+ const long TABLE = 1;
+
+
+ /** result area where the result values are displayed. This also includes
+ the column and row subtotal areas when they are displayed. */
+ const long RESULT = 2;
+};
+
+
+}; }; }; };
+
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotSource.idl b/offapi/com/sun/star/sheet/DataPilotSource.idl
new file mode 100644
index 000000000..920c17d12
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotSource.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_sheet_DataPilotSource_idl__
+#define __com_sun_star_sheet_DataPilotSource_idl__
+
+#include
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a data pilot source.
+
+ A component that implements this service can be used as data source
+ for a data pilot table in a spreadsheet document.
+ */
+service DataPilotSource
+{
+
+ /** provides access to the collection of the dimensions of the data
+ pilot source.
+ */
+ interface com::sun::star::sheet::XDimensionsSupplier;
+
+
+ /** gives access to the results of the data pilot table.
+ */
+ interface com::sun::star::sheet::XDataPilotResults;
+
+
+ /** provides methods to refresh the data pilot table, that means to
+ read the data again from the data pilot source.
+ */
+ interface com::sun::star::util::XRefreshable;
+
+
+//!published service PropertySet
+ /** provides access to the properties.
+ */
+ interface com::sun::star::beans::XPropertySet;
+
+
+ /** specifies if grand totals for the columns are inserted.
+ */
+ [property] boolean ColumnGrand;
+
+
+ /** specifies if grand totals for the rows are inserted.
+ */
+ [property] boolean RowGrand;
+
+
+ /** specifies the number of row fields.
+
+ @since OOo 3.0
+ */
+ [readonly, property, optional] long RowFieldCount;
+
+
+ /** specifies the number of column fields.
+
+ @since OOo 3.0
+ */
+ [readonly, property, optional] long ColumnFieldCount;
+
+
+ /** specifies the number of data fields.
+
+ @since OOo 3.0
+ */
+ [readonly, property, optional] long DataFieldCount;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotSourceDimension.idl b/offapi/com/sun/star/sheet/DataPilotSourceDimension.idl
new file mode 100644
index 000000000..5ef61f508
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotSourceDimension.idl
@@ -0,0 +1,138 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_sheet_DataPilotSourceDimension_idl__
+#define __com_sun_star_sheet_DataPilotSourceDimension_idl__
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+
+ module com { module sun { module star { module sheet {
+
+
+/** represents a dimension in a data pilot source.
+
+ A dimension is equivalent to a column of a cell range in a spreadsheet
+ used for a data pilot field.
+
+ In more complex data sources, a dimension may contain several
+ hierarchies, which consolidate items of a complex data type, called
+ levels.
+
+ Example: In a database, a column contains date values. This column
+ will be a dimension of the data pilot source. One hierarchy may contain
+ the 3 levels year, month, day. Another hierarchy may contain the 2 levels
+ year and week number.
+
+ @see com::sun::star::sheet::DataPilotSource
+ @see com::sun::star::sheet::DataPilotTable
+ */
+service DataPilotSourceDimension
+{
+
+ /** provides access to the name of the dimension, i.e. used in
+ collections.
+ */
+ interface com::sun::star::container::XNamed;
+
+
+ /** provides access to the collection of hierarchies of this dimension.
+ */
+ interface com::sun::star::sheet::XHierarchiesSupplier;
+
+
+ /** supports duplicating the dimension.
+
+ A dimension may be used several times in a data pilot table,
+ i.e. as row field and data field.
+ */
+ interface com::sun::star::util::XCloneable;
+
+
+//!published service PropertySet
+ /** provides access to the properties.
+ */
+ interface com::sun::star::beans::XPropertySet;
+
+
+ /** returns the name of the dimension from which this dimension was
+ cloned, or `NULL` if it was not cloned.
+ */
+ [readonly, property] com::sun::star::container::XNamed Original;
+
+
+ /** contains `TRUE` if this is the dimension used to layout the
+ different data dimensions.
+ */
+ [readonly, property] boolean IsDataLayoutDimension;
+
+
+ /** specifies where the dimension is used.
+ */
+ [property] com::sun::star::sheet::DataPilotFieldOrientation Orientation;
+
+
+ /** specifies the position of the dimension within its orientation.
+ */
+ [property] long Position;
+
+
+ /** specifies how data are aggregated.
+ */
+ [property] com::sun::star::sheet::GeneralFunction Function;
+
+
+ /** specifies which hierarchy of the dimension is used.
+
+ @see com::sun::star::sheet::DataPilotSourceHierarchies
+ */
+ [property] long UsedHierarchy;
+
+
+ /** specifies which values are used.
+ */
+ [property] sequence< com::sun::star::sheet::TableFilterField > Filter;
+
+
+ /** contains flags that control the usage of the dimension.
+
+ @see com::sun::star::sheet::DimensionFlags
+ */
+ [readonly, property, optional] long Flags;
+
+
+ /** specifies how data are aggregated.
+ @since LibreOffice 5.3
+ */
+ [property, optional] short Function2;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotSourceDimensions.idl b/offapi/com/sun/star/sheet/DataPilotSourceDimensions.idl
new file mode 100644
index 000000000..f9fc47548
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotSourceDimensions.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_sheet_DataPilotSourceDimensions_idl__
+#define __com_sun_star_sheet_DataPilotSourceDimensions_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents the collection of dimensions in a data pilot source.
+
+ @see com::sun::star::sheet::DataPilotSource
+ */
+service DataPilotSourceDimensions
+{
+
+ /** provides access by name to the dimensions in the collection.
+
+ @see com::sun::star::sheet::DataPilotSourceDimension
+ */
+ interface com::sun::star::container::XNameAccess;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotSourceHierarchies.idl b/offapi/com/sun/star/sheet/DataPilotSourceHierarchies.idl
new file mode 100644
index 000000000..9e2701ac1
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotSourceHierarchies.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_sheet_DataPilotSourceHierarchies_idl__
+#define __com_sun_star_sheet_DataPilotSourceHierarchies_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents the collection of hierarchies in a data pilot source
+ dimension.
+
+ @see com::sun::star::sheet::DataPilotSourceDimension
+ @see com::sun::star::sheet::DataPilotSource
+ */
+service DataPilotSourceHierarchies
+{
+
+ /** provides access by name to the hierarchies in the collection.
+
+ @see com::sun::star::sheet::DataPilotSourceHierarchy
+ */
+ interface com::sun::star::container::XNameAccess;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotSourceHierarchy.idl b/offapi/com/sun/star/sheet/DataPilotSourceHierarchy.idl
new file mode 100644
index 000000000..43d878851
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotSourceHierarchy.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_sheet_DataPilotSourceHierarchy_idl__
+#define __com_sun_star_sheet_DataPilotSourceHierarchy_idl__
+
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a hierarchy in a data pilot source dimension.
+
+ @see com::sun::star::sheet::DataPilotSourceDimension
+ @see com::sun::star::sheet::DataPilotSource
+ */
+service DataPilotSourceHierarchy
+{
+
+ /** provides access to the name of the hierarchy, i.e. used in
+ collections.
+ */
+ interface com::sun::star::container::XNamed;
+
+
+ /** provides access to the collection of levels of this hierarchy.
+ */
+ interface com::sun::star::sheet::XLevelsSupplier;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotSourceLevel.idl b/offapi/com/sun/star/sheet/DataPilotSourceLevel.idl
new file mode 100644
index 000000000..2485de517
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotSourceLevel.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_sheet_DataPilotSourceLevel_idl__
+#define __com_sun_star_sheet_DataPilotSourceLevel_idl__
+
+#include
+#include
+#include
+#include
+#include
+
+
+ module com { module sun { module star { module sheet {
+
+
+/** represents a level in a data pilot source hierarchy.
+
+ @see com::sun::star::sheet::DataPilotSourceHierarchy
+ @see com::sun::star::sheet::DataPilotSource
+ */
+service DataPilotSourceLevel
+{
+
+ /** provides access to the name of the level, i.e. used in collections.
+ */
+ interface com::sun::star::container::XNamed;
+
+
+ /** provides access to the collection of members of this level.
+ */
+ interface com::sun::star::sheet::XMembersSupplier;
+
+
+ /** provides access to a sequence of results of this level.
+ */
+ interface com::sun::star::sheet::XDataPilotMemberResults;
+
+
+//!published service PropertySet
+ /** provides access to the properties.
+ */
+ interface com::sun::star::beans::XPropertySet;
+
+
+ /** specifies the subtotals that are inserted for the level.
+
+ The subtotals are calculated with the members of this level.
+ */
+ [property] sequence< com::sun::star::sheet::GeneralFunction > SubTotals;
+
+
+ /** specifies whether empty members are shown.
+ */
+ [property] boolean ShowEmpty;
+
+
+ /** specifies the subtotals that are inserted for the level.
+
+ The subtotals are calculated with the members of this level.
+ @since LibreOffice 5.3
+ */
+ [property, optional] sequence< short > SubTotals2;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotSourceLevels.idl b/offapi/com/sun/star/sheet/DataPilotSourceLevels.idl
new file mode 100644
index 000000000..e81c46bb4
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotSourceLevels.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_sheet_DataPilotSourceLevels_idl__
+#define __com_sun_star_sheet_DataPilotSourceLevels_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents the collection of levels in a data pilot source hierarchy.
+
+ @see com::sun::star::sheet::DataPilotSourceHierarchy
+ @see com::sun::star::sheet::DataPilotSource
+ */
+service DataPilotSourceLevels
+{
+
+ /** provides access by name to the levels in the collection.
+
+ @see com::sun::star::sheet::DataPilotSourceLevel
+ */
+ interface com::sun::star::container::XNameAccess;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotSourceMember.idl b/offapi/com/sun/star/sheet/DataPilotSourceMember.idl
new file mode 100644
index 000000000..1093e1b4f
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotSourceMember.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_sheet_DataPilotSourceMember_idl__
+#define __com_sun_star_sheet_DataPilotSourceMember_idl__
+
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a member in a data pilot source level.
+
+ Members are the data items that will appear in a data pilot table
+ as row headers and column headers of the data range (if used in
+ row or column dimensions), or to calculate the values of the
+ data range (if used in data dimensions).
+
+ @see com::sun::star::sheet::DataPilotSourceLevel
+ @see com::sun::star::sheet::DataPilotSource
+ */
+service DataPilotSourceMember
+{
+
+ /** provides access to the name of the member.
+
+ This may be the textual representation of a numerical value.
+ */
+ interface com::sun::star::container::XNamed;
+
+
+//!published service PropertySet
+ /** provides access to the properties.
+ */
+ interface com::sun::star::beans::XPropertySet;
+
+
+ /** specifies whether the member is visible.
+ */
+ [property] boolean IsVisible;
+
+
+ /** specifies whether details for the member are shown.
+ */
+ [property] boolean ShowDetails;
+
+
+ /** specifies the member's position in its hierarchy level if sorting
+ is manual.
+
+ @since OOo 2.4
+ */
+ [optional, property] boolean Position;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotSourceMembers.idl b/offapi/com/sun/star/sheet/DataPilotSourceMembers.idl
new file mode 100644
index 000000000..4e113ca33
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotSourceMembers.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_sheet_DataPilotSourceMembers_idl__
+#define __com_sun_star_sheet_DataPilotSourceMembers_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents the collection of members in a data pilot source level.
+
+ @see com::sun::star::sheet::DataPilotSourceLevel
+ @see com::sun::star::sheet::DataPilotSource
+ */
+service DataPilotSourceMembers
+{
+
+ /** provides access by name to the members in the collection.
+
+ @see com::sun::star::sheet::DataPilotSourceMember
+ */
+ interface com::sun::star::sheet::XMembersAccess;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotTable.idl b/offapi/com/sun/star/sheet/DataPilotTable.idl
new file mode 100644
index 000000000..916fe1ac5
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotTable.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_sheet_DataPilotTable_idl__
+#define __com_sun_star_sheet_DataPilotTable_idl__
+
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a data pilot table on a spreadsheet.
+ */
+published service DataPilotTable
+{
+
+ /** provides access to the layout settings of the data pilot table.
+ */
+ interface com::sun::star::sheet::XDataPilotDescriptor;
+
+
+ /** provides methods to control a data pilot table.
+ */
+ interface com::sun::star::sheet::XDataPilotTable;
+
+
+ /** allows notification of modifications to the data pilot table.
+
+ @since OOo 3.3
+
+ */
+ [optional] interface com::sun::star::util::XModifyBroadcaster;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotTableHeaderData.idl b/offapi/com/sun/star/sheet/DataPilotTableHeaderData.idl
new file mode 100644
index 000000000..403d0eda2
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotTableHeaderData.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_sheet_DataPilotTableHeaderData_idl__
+#define __com_sun_star_sheet_DataPilotTableHeaderData_idl__
+
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** information about a cell within the column or row header area of a DataPilot table.
+
+ This struct contains information about a particular cell located within the
+ column or row header area of a DataPilot table. This is the type that is
+ contained in DataPilotTablePositionData::PositionData when
+ the value of DataPilotTablePositionData::PositionType is
+ either DataPilotTablePositionType::ROW_HEADER or
+ DataPilotTablePositionType::COLUMN_HEADER.
+
+ @see com::sun::star::sheet::DataPilotTablePositionData
+ @see com::sun::star::sheet::DataPilotTablePositionType
+ @see com::sun::star::sheet::DataPilotFieldFilter
+ @see com::sun::star::sheet::DataResult
+
+ @since OOo 3.0
+ */
+struct DataPilotTableHeaderData
+{
+ /** number of dimensions */
+ long Dimension;
+
+ /** hierarchy */
+ long Hierarchy;
+
+ /** level */
+ long Level;
+
+ /** flag */
+ long Flags;
+
+ /** member name */
+ string MemberName;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotTablePositionData.idl b/offapi/com/sun/star/sheet/DataPilotTablePositionData.idl
new file mode 100644
index 000000000..0cbcdecc2
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotTablePositionData.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_sheet_DataPilotTablePositionData_idl__
+#define __com_sun_star_sheet_DataPilotTablePositionData_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** This structure contains information on a cell within a DataPilot table.
+
+ This structure contains information on a particular cell within a DataPilot
+ table, and is used to retrieve its metadata. The #PositionType
+ member specifies in which sub-area of the table the cell is positioned, which
+ in turn determines the type of metadata contained in the #PositionData
+ member.
+
+ @see com::sun::star::sheet::DataPilotTablePositionType
+ @see com::sun::star::sheet::DataPiotTableResultData
+ @see com::sun::star::sheet::DataPiotTableHeaderData
+
+ @since OOo 3.0
+ */
+struct DataPilotTablePositionData
+{
+
+ /** This parameter specifies which sub-area of a DataPilot table a given
+ cell is positioned. See DataPilotTablePositionType
+ for how to interpret the value of this parameter.
+
+ @see com::sun::star::sheet::DataPilotTablePositionType
+ */
+ long PositionType;
+
+
+ /** This member contains a structure of different types depending on the
+ position type specified in #PositionType member.
+
+ When the value of #PositionType is
+ DataPilotTablePositionType::RESULT, DataPilotTablePositionData::PositionData
+ contains an instance of type DataPilotTableResultData,
+ whereas when the value of DataPilotTablePositionData::PositionType
+ is either DataPilotTablePositionType::ROW_HEADER
+ or DataPilotTablePositionType::COLUMN_HEADER, then the
+ #PositionData member contains an instance of type
+ DataPilotTableHeaderData.
+
+ @see com::sun::star::sheet::DataPiotTableResultData
+ @see com::sun::star::sheet::DataPiotTableHeaderData
+ */
+ any PositionData;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotTablePositionType.idl b/offapi/com/sun/star/sheet/DataPilotTablePositionType.idl
new file mode 100644
index 000000000..f8fdbe077
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotTablePositionType.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_sheet_DataPilotTablePositionType_idl__
+#define __com_sun_star_sheet_DataPilotTablePositionType_idl__
+
+module com { module sun { module star { module sheet {
+
+
+/** specifies in which sub-area a cell is positioned within a DataPilot table.
+
+ @see com::sun::star::sheet::DataPilotTablePositionData
+ @see com::sun::star::sheet::DataPilotTableResultData
+ @see com::sun::star::sheet::DataPilotTableHeaderData
+
+ @since OOo 3.0
+ */
+constants DataPilotTablePositionType
+{
+
+ /** indicates that the specified cell is not in the DataPilot table. */
+ const long NOT_IN_TABLE = 0;
+
+
+ /** indicates that the specified cell is within the result area. */
+ const long RESULT = 1;
+
+
+ /** indicates that the specified cell is within the row header area. */
+ const long ROW_HEADER = 2;
+
+
+ /** indicates that the specified cell is within the column header area. */
+ const long COLUMN_HEADER = 3;
+
+
+ /** indicates that the specified cell is within the table but in areas
+ other than the result or header areas. */
+ const long OTHER = 4;
+};
+
+
+}; }; }; };
+
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotTableResultData.idl b/offapi/com/sun/star/sheet/DataPilotTableResultData.idl
new file mode 100644
index 000000000..029966786
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotTableResultData.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_sheet_DataPilotTableResultData_idl__
+#define __com_sun_star_sheet_DataPilotTableResultData_idl__
+
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** information about a cell positioned within the result area of a DataPilot table.
+
+ DataPilotTableResultData contains information about a
+ particular cell positioned within the result area of a DataPilot table.
+
+ @see com::sun::star::sheet::DataPilotTablePositionData
+ @see com::sun::star::sheet::DataPilotTablePositionType
+ @see com::sun::star::sheet::DataPilotFieldFilter
+ @see com::sun::star::sheet::DataResult
+
+ @since OOo 3.0
+ */
+struct DataPilotTableResultData
+{
+
+ /** This is a set of filter criteria that can be used to re-create those
+ data rows that contribute to the value shown in the cell.
+
+ @see com::sun::star::sheet::DataPilotFieldFilter
+ */
+ sequence< DataPilotFieldFilter > FieldFilters;
+
+
+ /** This is a 0-based index that specifies which data field the data displayed
+ in the cell is for; the value of 0 means the cell is for the first data
+ field, 1 for the second, and so on.
+ */
+ long DataFieldIndex;
+
+
+ /** more information about the result contained in the
+ DataResult type.
+
+ @see com::sun::star::sheet::DataResult
+ */
+ DataResult Result;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotTables.idl b/offapi/com/sun/star/sheet/DataPilotTables.idl
new file mode 100644
index 000000000..f177a4c0f
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotTables.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_sheet_DataPilotTables_idl__
+#define __com_sun_star_sheet_DataPilotTables_idl__
+
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a collection of data pilot tables.
+ */
+published service DataPilotTables
+{
+
+ /** provides access to the data pilot objects in this collection.
+ */
+ interface com::sun::star::sheet::XDataPilotTables;
+
+
+ /** creates an enumeration of all data pilot tables.
+
+ @see com::sun::star::sheet::DataPilotTablesEnumeration
+ */
+ interface com::sun::star::container::XEnumerationAccess;
+
+
+ /** provides methods to access the contained data pilot tables by index.
+
+ @see com::sun::star::sheet::DataPilotTable
+ */
+ interface com::sun::star::container::XIndexAccess;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataPilotTablesEnumeration.idl b/offapi/com/sun/star/sheet/DataPilotTablesEnumeration.idl
new file mode 100644
index 000000000..c9591d942
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataPilotTablesEnumeration.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_sheet_DataPilotTablesEnumeration_idl__
+#define __com_sun_star_sheet_DataPilotTablesEnumeration_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents an enumeration of data pilot tables.
+
+ @see com::sun::star::sheet::DataPilotTable
+ */
+published service DataPilotTablesEnumeration
+{
+
+ /** provides methods to access the data pilot tables in the enumeration.
+
+ @see com::sun::star::sheet::DataPilotTable
+ */
+ interface com::sun::star::container::XEnumeration;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataResult.idl b/offapi/com/sun/star/sheet/DataResult.idl
new file mode 100644
index 000000000..5c8a3ec68
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataResult.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_sheet_DataResult_idl__
+#define __com_sun_star_sheet_DataResult_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** contains the result of one element in the data pilot data array.
+
+ @see com::sun::star::sheet::XDataPilotResults
+ */
+struct DataResult
+{
+ /** contains boolean flags describing the result.
+
+ @see com::sun::star::sheet::DataResultFlags
+ */
+ long Flags;
+
+
+ /** contains the result value.
+ */
+ double Value;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DataResultFlags.idl b/offapi/com/sun/star/sheet/DataResultFlags.idl
new file mode 100644
index 000000000..25641fb70
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DataResultFlags.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_sheet_DataResultFlags_idl__
+#define __com_sun_star_sheet_DataResultFlags_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** used to specify the result type of one element in the data pilot
+ data array.
+
+ @see com::sun::star::sheet::DataResult
+ */
+constants DataResultFlags
+{
+
+ /** The element contains data.
+ */
+ const long HASDATA = 1;
+
+
+ /** The element contains a subtotal.
+ */
+ const long SUBTOTAL = 2;
+
+
+ /** The element has an error.
+ */
+ const long ERROR = 4;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DatabaseImportDescriptor.idl b/offapi/com/sun/star/sheet/DatabaseImportDescriptor.idl
new file mode 100644
index 000000000..40355368a
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DatabaseImportDescriptor.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_sheet_DatabaseImportDescriptor_idl__
+#define __com_sun_star_sheet_DatabaseImportDescriptor_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a description of how data from an external database is
+ imported.
+
+ @see com::sun::star::sheet::XDatabaseRange
+ */
+published service DatabaseImportDescriptor
+{
+
+ /** enables importing and specifies from what type of source data is
+ imported.
+ */
+ [property] com::sun::star::sheet::DataImportMode SourceType;
+
+
+ /** specifies the name of the database from which data is imported.
+ */
+ [property] string DatabaseName;
+
+
+ /** specifies the table, query, or statement from which data is imported.
+
+ The meaning of this is determined by the
+ DatabaseImportDescriptor::SourceType attribute.
+ */
+ [property] string SourceObject;
+
+
+ /** specifies whether the SQL statement is given directly to the database
+ or is parsed before.
+
+ @since OOo 2.0
+
+ */
+ [optional, property] boolean IsNative;
+
+
+ /** indicates a connection URL, which locates a database driver.
+ @since OOo 2.0
+ */
+ [optional, property] string ConnectionResource;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DatabaseRange.idl b/offapi/com/sun/star/sheet/DatabaseRange.idl
new file mode 100644
index 000000000..0c4896579
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DatabaseRange.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_sheet_DatabaseRange_idl__
+#define __com_sun_star_sheet_DatabaseRange_idl__
+
+#include
+#include
+#include
+#include
+#include
+#include
+
+
+
+ module com { module sun { module star { module sheet {
+
+
+/** represents a database range in a spreadsheet document.
+
+ A database range is a name for a cell range that also stores filtering,
+ sorting, subtotal and data import settings and options.
+
+ @see com::sun::star::sheet::DatabaseRanges
+ */
+published service DatabaseRange
+{
+ interface com::sun::star::sheet::XDatabaseRange;
+ interface com::sun::star::sheet::XCellRangeReferrer;
+ interface com::sun::star::beans::XPropertySet;
+ interface com::sun::star::container::XNamed;
+
+ [optional] interface com::sun::star::util::XRefreshable;
+
+ /** if this property is set, columns or rows are inserted or deleted
+ when the size of the range is changed by an update operation.
+ */
+ [property] boolean MoveCells;
+
+ /** if this property is set, cell formats are extended
+ when the size of the range is changed by an update operation.
+ */
+ [property] boolean KeepFormats;
+
+ /** if this property is set, the cell contents within the database
+ range are left out when the document is saved.
+ */
+ [property] boolean StripData;
+
+
+ /** specifies whether the AutoFilter is enabled or not.
+
+ @since OOo 1.1.2
+ */
+ [optional, property] boolean AutoFilter;
+
+
+ /** specifies whether the filter criteria should be taken from a CellRange.
+
+ @since OOo 1.1.2
+ */
+ [optional, property] boolean UseFilterCriteriaSource;
+
+
+ /** specifies the range where the filter can find the filter criteria.
+ This is only used if SheetFilterDescriptor::UseFilterCriteriaSource is `TRUE`.
+
+ @since OOo 1.1.2
+ */
+ [optional, property] com::sun::star::table::CellRangeAddress FilterCriteriaSource;
+
+
+ /** specifies the time between two refresh actions in seconds.
+
+ @since OOo 2.0
+ */
+ [optional, property] long RefreshPeriod;
+
+
+ /** specifies whether the imported data is only a selection of the database.
+
+ @since OOo 2.0
+ */
+ [optional, property] boolean FromSelection;
+
+
+ /** returns the index used to refer to this range in token arrays.
+
+ A token describing a database range shall contain the op-code
+ obtained from the FormulaMapGroupSpecialOffset::DB_AREA
+ and this index as data part.
+
+ @see com::sun::star::sheet::FormulaToken
+ @see com::sun::star::sheet::FormulaMapGroupSpecialOffset::DB_AREA
+
+ @since OOo 3.0
+ */
+ [optional, readonly, property] long TokenIndex;
+
+
+ /** specifies whether this range includes a bottom row of totals.
+
+ @since LibreOffice 5.0
+ */
+ [optional, property] boolean TotalsRow;
+
+
+ /** specifies whether this range includes a top row of headers.
+
+ @since LibreOffice 5.0
+ */
+ [optional, property] boolean ContainsHeader;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DatabaseRanges.idl b/offapi/com/sun/star/sheet/DatabaseRanges.idl
new file mode 100644
index 000000000..a4652f717
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DatabaseRanges.idl
@@ -0,0 +1,64 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_sheet_DatabaseRanges_idl__
+#define __com_sun_star_sheet_DatabaseRanges_idl__
+
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a collection of database ranges in a spreadsheet document.
+
+ @see com::sun::star::sheet::SpreadsheetDocument
+ */
+published service DatabaseRanges
+{
+
+ /** provides access to the database ranges and to insert and remove them.
+ */
+ interface com::sun::star::sheet::XDatabaseRanges;
+
+
+ /** creates an enumeration of all database ranges.
+
+ @see com::sun::star::sheet::DatabaseRangesEnumeration
+ */
+ interface com::sun::star::container::XEnumerationAccess;
+
+
+ /** provides access to the database ranges in the collection via index.
+
+ @see com::sun::star::sheet::DatabaseRange
+
+ */
+ interface com::sun::star::container::XIndexAccess;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DatabaseRangesEnumeration.idl b/offapi/com/sun/star/sheet/DatabaseRangesEnumeration.idl
new file mode 100644
index 000000000..e42b6ac05
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DatabaseRangesEnumeration.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_sheet_DatabaseRangesEnumeration_idl__
+#define __com_sun_star_sheet_DatabaseRangesEnumeration_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents an enumeration of database ranges.
+
+ @see com::sun::star::sheet::DatabaseRange
+ */
+published service DatabaseRangesEnumeration
+{
+
+ /** provides methods to access the database ranges in the enumeration.
+
+ @see com::sun::star::sheet::DatabaseRange
+ */
+ interface com::sun::star::container::XEnumeration;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DateCondition.idl b/offapi/com/sun/star/sheet/DateCondition.idl
new file mode 100644
index 000000000..0536b672c
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DateCondition.idl
@@ -0,0 +1,34 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.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_sheet_DateCondition_idl__
+#define __com_sun_star_sheet_DateCondition_idl__
+
+#include
+
+module com { module sun { module star { module sheet {
+
+service DateCondition
+{
+ interface XConditionEntry;
+
+ [property] string StyleName;
+
+ /**
+ * See com.sun.star.sheet.DateType for possible values
+ */
+ [property] long DateType;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DateType.idl b/offapi/com/sun/star/sheet/DateType.idl
new file mode 100644
index 000000000..9aed4a6c1
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DateType.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/.
+ */
+
+#ifndef __com_sun_star_sheet_DateType_idl__
+#define __com_sun_star_sheet_DateType_idl__
+
+module com { module sun { module star { module sheet {
+
+constants DateType
+{
+ const long TODAY = 0;
+
+ const long YESTERDAY = 1;
+
+ const long TOMORROW = 2;
+
+ const long LAST7DAYS = 3;
+
+ const long THISWEEK = 4;
+
+ const long LASTWEEK = 5;
+
+ const long NEXTWEEK = 6;
+
+ const long THISMONTH = 7;
+
+ const long LASTMONTH = 8;
+
+ const long NEXTMONTH = 9;
+
+ const long THISYEAR = 10;
+
+ const long LASTYEAR = 11;
+
+ const long NEXTYEAR = 12;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DimensionFlags.idl b/offapi/com/sun/star/sheet/DimensionFlags.idl
new file mode 100644
index 000000000..a17b3d0d2
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DimensionFlags.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_sheet_DimensionFlags_idl__
+#define __com_sun_star_sheet_DimensionFlags_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** used to specify flags for a dimension in a data pilot source.
+
+ @see com::sun::star::sheet::DataPilotSourceDimension
+ */
+published constants DimensionFlags
+{
+
+ /** The dimension cannot be used in column orientation.
+ */
+ const long NO_COLUMN_ORIENTATION = 1;
+
+
+ /** The dimension cannot be used in row orientation.
+ */
+ const long NO_ROW_ORIENTATION = 2;
+
+
+ /** The dimension cannot be used in page orientation.
+ */
+ const long NO_PAGE_ORIENTATION = 4;
+
+
+ /** The dimension cannot be used in data orientation.
+ */
+ const long NO_DATA_ORIENTATION = 8;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/DocumentSettings.idl b/offapi/com/sun/star/sheet/DocumentSettings.idl
new file mode 100644
index 000000000..b92f1037d
--- /dev/null
+++ b/offapi/com/sun/star/sheet/DocumentSettings.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_sheet_DocumentSettings_idl__
+#define __com_sun_star_sheet_DocumentSettings_idl__
+
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** describes properties that apply to the whole spreadsheet document.
+
+ For settings that affect view properties, these settings apply to
+ subsequently created views and are saved with the document, while
+ SpreadsheetViewSettings can be used to alter a specific
+ view that is already open.
+ */
+published service DocumentSettings
+{
+ service com::sun::star::document::Settings;
+
+ /** provides access to the properties.
+ */
+ interface com::sun::star::beans::XPropertySet;
+
+
+ /** enables display of zero-values.
+ */
+ [optional, property] boolean ShowZeroValues;
+
+ /** controls whether a marker is shown for notes in cells.
+ */
+ [optional, property] boolean ShowNotes;
+
+ /** enables the display of the cell grid.
+ */
+ [optional, property] boolean ShowGrid;
+
+ /** specifies the color in which the cell grid is displayed.
+ */
+ [optional, property] com::sun::star::util::Color GridColor;
+
+ /** enables display of page breaks.
+ */
+ [optional, property] boolean ShowPageBreaks;
+
+ /** enables the column and row headers of the view.
+ */
+ [optional, property] boolean HasColumnRowHeaders;
+
+ /** enables the sheet tabs of the view.
+ */
+ [optional, property] boolean HasSheetTabs;
+
+ /** enables the display of outline symbols.
+ */
+ [optional, property] boolean IsOutlineSymbolsSet;
+
+ /** enables the restriction of object movement and resizing
+ of drawing objects to the raster.
+ */
+ [optional, property] boolean IsSnapToRaster;
+
+ /** enables the display of the drawing object raster.
+ */
+ [optional, property] boolean RasterIsVisible;
+
+ /** specifies the distance between horizontal grid elements
+ in 1/100 mm.
+ */
+ [optional, property] long RasterResolutionX;
+
+ /** specifies the distance between vertical grid elements
+ in 1/100 mm.
+ */
+ [optional, property] long RasterResolutionY;
+
+ /** specifies the number of subdivisions between two horizontal
+ grid elements.
+ */
+ [optional, property] long RasterSubdivisionX;
+
+ /** specifies the number of subdivisions between two vertical
+ grid elements.
+ */
+ [optional, property] long RasterSubdivisionY;
+
+ /** enables the synchronization of horizontal and vertical
+ grid settings in the user interface.
+ */
+ [optional, property] boolean IsRasterAxisSynchronized;
+
+ /** enables the document sharing feature (Tools->Share Spreadsheet)
+ */
+ [optional, property] boolean IsDocumentShared;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/ExternalDocLink.idl b/offapi/com/sun/star/sheet/ExternalDocLink.idl
new file mode 100644
index 000000000..ef215edfd
--- /dev/null
+++ b/offapi/com/sun/star/sheet/ExternalDocLink.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_sheet_ExternalDocLink_idl__
+#define __com_sun_star_sheet_ExternalDocLink_idl__
+
+#include
+
+module com { module sun { module star { module sheet {
+
+
+/** Represents a single external document link.
+
+ An external document link contains cached data used for external cell
+ and cell range references as well as external range names.
+
+ @see com::sun::star::sheet::XExternalDocLink
+
+ @since OOo 3.1
+ */
+service ExternalDocLink : XExternalDocLink
+{
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/ExternalDocLinks.idl b/offapi/com/sun/star/sheet/ExternalDocLinks.idl
new file mode 100644
index 000000000..058373c8b
--- /dev/null
+++ b/offapi/com/sun/star/sheet/ExternalDocLinks.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_sheet_ExternalDocLinks_idl__
+#define __com_sun_star_sheet_ExternalDocLinks_idl__
+
+#include
+#include
+
+module com { module sun { module star { module sheet {
+
+/** Represents a collection of external document links.
+
+ An external document link contains cached data used for external cell
+ and cell range references as well as external range names.
+
+ @see com::sun::star::sheet::ExternalDocLink
+ @see com::sun::star::sheet::XExternalDocLinks
+
+ @since OOo 3.1
+ */
+service ExternalDocLinks : XExternalDocLinks
+{
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/ExternalLinkInfo.idl b/offapi/com/sun/star/sheet/ExternalLinkInfo.idl
new file mode 100644
index 000000000..667c42d15
--- /dev/null
+++ b/offapi/com/sun/star/sheet/ExternalLinkInfo.idl
@@ -0,0 +1,64 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_sheet_ExternalLinkInfo_idl__
+#define __com_sun_star_sheet_ExternalLinkInfo_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+/** describes an external link in a formula.
+
+ @since OOo 3.1
+ */
+struct ExternalLinkInfo
+{
+ /** Link type, one of ExternalLinkType constants.
+ */
+ long Type;
+
+ /** Location of this link type.
+
+ Modes used:
+
+
+ - If #Type is ExternalLinkType::EXTERNAL,
+ this member shall contain a `string` with the
+ URI of a document. The formula that would need this
+ information for example would contain
=[1]Sheet1!A1
or
+ ='[1]Sheet name'!A1
where [1] does resolve to
+ the URI contained in the member #Data. Note that the
+ quotes cover both, the document name and the sheet name.
+
+ - If #Type is ExternalLinkType::DDE,
+ this member shall contain a DDELinkInfo describing
+ service name, topic, and all known items of a DDE link.
+
+ */
+ any Data;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/ExternalLinkType.idl b/offapi/com/sun/star/sheet/ExternalLinkType.idl
new file mode 100644
index 000000000..295896a0a
--- /dev/null
+++ b/offapi/com/sun/star/sheet/ExternalLinkType.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_sheet_ExternalLinkType_idl__
+#define __com_sun_star_sheet_ExternalLinkType_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** Constants designating the link type in
+ ExternalLinkInfo, used with
+ FormulaParser::ExternalLinks.
+
+ @since OOo 3.1
+ */
+constants ExternalLinkType
+{
+ /** Unknown element type
+ */
+ const long UNKNOWN = 0;
+
+ /** URL of an external document.
+ */
+ const long DOCUMENT = 1;
+
+ /** DDE link.
+ */
+ const long DDE = 2;
+
+ /** Reference to the own document.
+ */
+ const long SELF = 3;
+
+ /** For special use cases. Behaviour is dependent on the implementation of
+ the formula parser.
+ */
+ const long SPECIAL = 4;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/ExternalReference.idl b/offapi/com/sun/star/sheet/ExternalReference.idl
new file mode 100644
index 000000000..ea2225708
--- /dev/null
+++ b/offapi/com/sun/star/sheet/ExternalReference.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_sheet_ExternalReference_idl__
+#define __com_sun_star_sheet_ExternalReference_idl__
+
+module com { module sun { module star { module sheet {
+
+
+/** Data structure to store information about an external reference. An
+ external reference can be either a single cell reference, a cell range
+ reference, or a named range.
+
+ @see FormulaMapGroupSpecialOffset::PUSH
+
+ @since OOo 3.1
+ */
+struct ExternalReference
+{
+
+ /** Index of an externally linked document. Each externally-linked document
+ has a unique index value.
+
+ You can get the index value of an external document from the
+ corresponding com::sun::star::sheet::ExternalDocLink
+ instance through its attribute com::sun::star::sheet::ExternalDocLink::TokenIndex.
+
+ @see com::sun::star::sheet::ExternalDocLink
+ @see com::sun::star::sheet::ExternalDocLink::TokenIndex
+ */
+ long Index;
+
+// /** Name of the sheet that the external reference points to.
+//
+// In case of a cell range reference that spans across multiple
+// sheets, this is the name of the first sheet in that range.
+//
+// Note that an external range name ignores this value at the moment,
+// but it may make use of this data in the future when Calc supports a
+// sheet-specific range name.
+// */
+// string SheetName;
+
+ /** Reference data.
+
+ This can store either SingleReference for a single
+ cell reference, ComplexReference for a cell range
+ reference, or simply a string for a defined name.
+
+ The SingleReference::Sheet member shall contain
+ the index of the external sheet cache containing the values of the
+ externally referenced cells.
+
+ @see com::sun::star::sheet::SingleReference
+ @see com::sun::star::sheet::ComplexReference
+ */
+ any Reference;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/ExternalSheetCache.idl b/offapi/com/sun/star/sheet/ExternalSheetCache.idl
new file mode 100644
index 000000000..134b787b9
--- /dev/null
+++ b/offapi/com/sun/star/sheet/ExternalSheetCache.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_sheet_ExternalSheetCache_idl__
+#define __com_sun_star_sheet_ExternalSheetCache_idl__
+
+#include
+
+module com { module sun { module star { module sheet {
+
+/** A single sheet cache for an external document.
+
+ This cached data is used for external cell and cell range references,
+ as well as external range names. A com::sun::star::sheet::ExternalDocLink
+ instance contains a set of these sheet caches.
+
+ @see com::sun::star::sheet::ExternalDocLink
+ @see com::sun::star::sheet::XExternalSheetCache
+
+ @since OOo 3.1
+ */
+service ExternalSheetCache : XExternalSheetCache
+{
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/FillDateMode.idl b/offapi/com/sun/star/sheet/FillDateMode.idl
new file mode 100644
index 000000000..78606238a
--- /dev/null
+++ b/offapi/com/sun/star/sheet/FillDateMode.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_sheet_FillDateMode_idl__
+#define __com_sun_star_sheet_FillDateMode_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** used to specify how an arithmetic date series is calculated.
+
+ @see com::sun::star::sheet::FillMode
+ */
+published enum FillDateMode
+{
+
+ /** for every new value a single day is added.
+ */
+ FILL_DATE_DAY,
+
+
+ /** for every new value a single day is added, but Saturdays and
+ Sundays are skipped.
+ */
+ FILL_DATE_WEEKDAY,
+
+
+ /** for every new value one month is added (day keeps unchanged).
+ */
+ FILL_DATE_MONTH,
+
+
+ /** for every new value one year is added (day and month keep unchanged).
+ */
+ FILL_DATE_YEAR
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/FillDirection.idl b/offapi/com/sun/star/sheet/FillDirection.idl
new file mode 100644
index 000000000..ed894dacf
--- /dev/null
+++ b/offapi/com/sun/star/sheet/FillDirection.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_sheet_FillDirection_idl__
+#define __com_sun_star_sheet_FillDirection_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** used to specify the direction of filling cells, for example,
+ with a series.
+ */
+published enum FillDirection
+{
+
+ /** specifies that rows are filled from top to bottom.
+ */
+ TO_BOTTOM,
+
+
+ /** specifies that columns are filled from left to right.
+ */
+ TO_RIGHT,
+
+
+ /** specifies that rows are filled from bottom to top.
+ */
+ TO_TOP,
+
+
+ /** specifies that columns are filled from right to left.
+ */
+ TO_LEFT
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/FillMode.idl b/offapi/com/sun/star/sheet/FillMode.idl
new file mode 100644
index 000000000..a945aa874
--- /dev/null
+++ b/offapi/com/sun/star/sheet/FillMode.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_sheet_FillMode_idl__
+#define __com_sun_star_sheet_FillMode_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** used to specify the series type used to fill cells.
+ */
+published enum FillMode
+{
+
+ /** specifies a constant series.
+
+ All cells are filled with the same value.
+ */
+ SIMPLE,
+
+
+ /** specifies an arithmetic series.
+
+ Cell by cell, the value used to fill the cells is increased
+ by an additive value.
+ */
+ LINEAR,
+
+
+ /** specifies a geometric series.
+
+ Cell by cell, the value used to fill the cells is multiplied
+ by a specified value.
+ */
+ GROWTH,
+
+
+ /** specifies an arithmetic series for date values.
+
+ Cell by cell, the value used to fill the cells is increased
+ by a specified number of days
+
+ @see com::sun::star::sheet::FillDateMode
+ */
+ DATE,
+
+
+ /** specifies the use of a user-defined list.
+
+ The cells are filled using a user-defined series.
+ */
+ AUTO
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/FilterConnection.idl b/offapi/com/sun/star/sheet/FilterConnection.idl
new file mode 100644
index 000000000..b51772a6f
--- /dev/null
+++ b/offapi/com/sun/star/sheet/FilterConnection.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_sheet_FilterConnection_idl__
+#define __com_sun_star_sheet_FilterConnection_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** used to specify how two conditions in a filter descriptor are
+ connected.
+ */
+published enum FilterConnection
+{
+
+ /** both conditions have to be fulfilled.
+ */
+ AND,
+
+
+ /** at least one of the conditions has to be fulfilled.
+ */
+ OR
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/FilterFieldType.idl b/offapi/com/sun/star/sheet/FilterFieldType.idl
new file mode 100644
index 000000000..59a980737
--- /dev/null
+++ b/offapi/com/sun/star/sheet/FilterFieldType.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_sheet_FilterFieldType_idl__
+#define __com_sun_star_sheet_FilterFieldType_idl__
+
+module com { module sun { module star { module sheet {
+
+/**
+ * @since LibreOffice 7.2
+ */
+constants FilterFieldType
+{
+ /** Filter by numeric value */
+ const long NUMERIC = 0;
+
+ /** Filter by string value */
+ const long STRING = 1;
+
+ /** Filter by date */
+ const long DATE = 2;
+
+ /** Filter by text color */
+ const long TEXT_COLOR = 3;
+
+ /** Filter by background color */
+ const long BACKGROUND_COLOR = 4;
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/FilterFieldValue.idl b/offapi/com/sun/star/sheet/FilterFieldValue.idl
new file mode 100644
index 000000000..a8930ee0f
--- /dev/null
+++ b/offapi/com/sun/star/sheet/FilterFieldValue.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/.
+ */
+
+#ifndef __com_sun_star_sheet_FilterFieldValue_idl__
+#define __com_sun_star_sheet_FilterFieldValue_idl__
+
+module com { module sun { module star { module sheet {
+
+/**
+ * @since LibreOffice 3.5
+ */
+struct FilterFieldValue
+{
+ /** selects whether the TableFilterFieldValue::NumericValue
+ or the TableFilterFieldValue::StringValue is used.
+
+ @deprecated - Use FilterType instead.
+ */
+ boolean IsNumeric;
+
+ /** specifies a numeric value for the condition.
+ */
+ double NumericValue;
+
+ /** specifies a string value for the condition.
+ */
+ string StringValue;
+
+ /** Which field should be used for filtering:
+
+
+ - com::sun::star::sheet::FilterFieldType::NUMERIC -> NumericValue
+ - com::sun::star::sheet::FilterFieldType::STRING -> StringValue
+ - com::sun::star::sheet::FilterFieldType::DATE -> StringValue
+ - com::sun::star::sheet::FilterFieldType::TEXT_COLOR -> ColorValue
+ - com::sun::star::sheet::FilterFieldType::BACKGROUND_COLOR -> ColorValue
+
+
+ @see com::sun::star::sheet::FilterFieldType
+ @since LibreOffice 7.2
+ */
+ long FilterType;
+
+ /** The color which is used for filtering
+
+ @since LibreOffice 7.2
+ */
+ com::sun::star::util::Color ColorValue;
+
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/FilterFormulaParser.idl b/offapi/com/sun/star/sheet/FilterFormulaParser.idl
new file mode 100644
index 000000000..d72ec5d20
--- /dev/null
+++ b/offapi/com/sun/star/sheet/FilterFormulaParser.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_sheet_FilterFormulaParser_idl__
+#define __com_sun_star_sheet_FilterFormulaParser_idl__
+
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** A service used to implement parsing and printing formula strings in a
+ specific formula language.
+ */
+service FilterFormulaParser : XFilterFormulaParser
+{
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/FilterOperator.idl b/offapi/com/sun/star/sheet/FilterOperator.idl
new file mode 100644
index 000000000..a980cc3fd
--- /dev/null
+++ b/offapi/com/sun/star/sheet/FilterOperator.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_sheet_FilterOperator_idl__
+#define __com_sun_star_sheet_FilterOperator_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** specifies the type of a single condition in a filter descriptor.
+ */
+published enum FilterOperator
+{
+
+ /** selects empty entries.
+ */
+ EMPTY,
+
+
+ /** selects non-empty entries.
+ */
+ NOT_EMPTY,
+
+
+ /** value has to be equal to the specified value.
+ */
+ EQUAL,
+
+
+ /** value must not be equal to the specified value.
+ */
+ NOT_EQUAL,
+
+
+ /** value has to be greater than the specified value.
+ */
+ GREATER,
+
+
+ /** value has to be greater than or equal to the specified value.
+ */
+ GREATER_EQUAL,
+
+
+ /** value has to be less than the specified value.
+ */
+ LESS,
+
+
+ /** value has to be less than or equal to the specified value.
+ */
+ LESS_EQUAL,
+
+
+ /** selects a specified number of entries with the greatest values.
+ */
+ TOP_VALUES,
+
+
+ /** selects a specified percentage of entries with the greatest values.
+ */
+ TOP_PERCENT,
+
+
+ /** selects a specified number of entries with the lowest values.
+ */
+ BOTTOM_VALUES,
+
+
+ /** selects a specified percentage of entries with the lowest values.
+ */
+ BOTTOM_PERCENT
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/FilterOperator2.idl b/offapi/com/sun/star/sheet/FilterOperator2.idl
new file mode 100644
index 000000000..01e63364e
--- /dev/null
+++ b/offapi/com/sun/star/sheet/FilterOperator2.idl
@@ -0,0 +1,133 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_sheet_FilterOperator2_idl__
+#define __com_sun_star_sheet_FilterOperator2_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** specifies the type of a single condition in a filter descriptor.
+
+ This constants group extends the FilterOperator enum by
+ additional filter operators.
+
+ @since OOo 3.2
+ */
+published constants FilterOperator2
+{
+
+
+ /** selects empty entries.
+ */
+ const long EMPTY = 0;
+
+
+ /** selects non-empty entries.
+ */
+ const long NOT_EMPTY = 1;
+
+
+ /** value has to be equal to the specified value.
+ */
+ const long EQUAL = 2;
+
+
+ /** value must not be equal to the specified value.
+ */
+ const long NOT_EQUAL = 3;
+
+
+ /** value has to be greater than the specified value.
+ */
+ const long GREATER = 4;
+
+
+ /** value has to be greater than or equal to the specified value.
+ */
+ const long GREATER_EQUAL = 5;
+
+
+ /** value has to be less than the specified value.
+ */
+ const long LESS = 6;
+
+
+ /** value has to be less than or equal to the specified value.
+ */
+ const long LESS_EQUAL = 7;
+
+
+ /** selects a specified number of entries with the greatest values.
+ */
+ const long TOP_VALUES = 8;
+
+
+ /** selects a specified percentage of entries with the greatest values.
+ */
+ const long TOP_PERCENT = 9;
+
+
+ /** selects a specified number of entries with the lowest values.
+ */
+ const long BOTTOM_VALUES = 10;
+
+
+ /** selects a specified percentage of entries with the lowest values.
+ */
+ const long BOTTOM_PERCENT = 11;
+
+
+ /** selects contains entries.
+ */
+ const long CONTAINS = 12;
+
+
+ /** selects does-not-contain entries.
+ */
+ const long DOES_NOT_CONTAIN = 13;
+
+
+ /** selects begins-with entries.
+ */
+ const long BEGINS_WITH = 14;
+
+
+ /** selects does-not-begin-with entries.
+ */
+ const long DOES_NOT_BEGIN_WITH = 15;
+
+ /** selects ends-with entries.
+ */
+ const long ENDS_WITH = 16;
+
+
+ /** selects does-not-end-with entries.
+ */
+ const long DOES_NOT_END_WITH = 17;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/FormulaLanguage.idl b/offapi/com/sun/star/sheet/FormulaLanguage.idl
new file mode 100644
index 000000000..f6b810f38
--- /dev/null
+++ b/offapi/com/sun/star/sheet/FormulaLanguage.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_sheet_FormulaLanguage_idl__
+#define __com_sun_star_sheet_FormulaLanguage_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** Constants designating the formula language used with
+ XFormulaOpCodeMapper methods.
+ */
+constants FormulaLanguage
+{
+ /** Function names and operators as defined by the OASIS
+ OpenDocument Format (ODF) Formula specification (ODFF aka
+ OpenFormula).
+ */
+ const long ODFF = 0;
+
+ /** Function names and operators as used in ODF documents prior to
+ the ODFF specification, up to ODF v1.1.
+ */
+ const long ODF_11 = 1;
+
+ /** Function names and operators as used in the English language
+ user interface.
+ */
+ const long ENGLISH = 2;
+
+ /** Function names and operators as used in the current native
+ language user interface.
+ */
+ const long NATIVE = 3;
+
+ /** Function names and operators as used in the English version of
+ Excel. This formula language is also used in VBA formulas.
+ */
+ const long XL_ENGLISH = 4;
+
+ /** Function names and operators as used in OOXML.
+
+ @since LibreOffice 4.2
+ */
+ const long OOXML = 5;
+
+ /** Function names and operators as used with XFunctionAccess and
+ other API context.
+
+ Names are mostly identical to ENGLISH and ODF_11, but while
+ ENGLISH names can be adapted to UI needs and ODF_11 has to stay
+ error compatible, the API names strive to stay compatible but
+ may get corrected in case of errors. Earlier versions than
+ LibreOffice 5.3 always used ODF_11 in API context.
+
+ @since LibreOffice 5.3
+ */
+ const long API = 6;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/FormulaMapGroup.idl b/offapi/com/sun/star/sheet/FormulaMapGroup.idl
new file mode 100644
index 000000000..fc55c7afd
--- /dev/null
+++ b/offapi/com/sun/star/sheet/FormulaMapGroup.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_sheet_FormulaMapGroup_idl__
+#define __com_sun_star_sheet_FormulaMapGroup_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** Constants of bit masks used with
+ XFormulaOpCodeMapper::getAvailableMappings() to
+ specify for which group of symbols the mappings are to be obtained.
+
+ If no bit is set, a sequence of special mappings is returned in the
+ order that is defined by FormulaMapGroupSpecialOffset.
+ Note that the special group and other groups are mutual exclusive.
+ */
+constants FormulaMapGroup
+{
+ /** Group of op-codes without a string symbol.
+
+ @see FormulaMapGroupSpecialOffset
+ */
+ const long SPECIAL = 0;
+
+ /** Separators and parentheses */
+ const long SEPARATORS = 0x00000001;
+
+ /** Separators and parentheses for constant arrays */
+ const long ARRAY_SEPARATORS = 0x00000002;
+
+ /** Unary operators */
+ const long UNARY_OPERATORS = 0x00000004;
+
+ /** Binary operators */
+ const long BINARY_OPERATORS = 0x00000008;
+
+ /** Functions */
+ const long FUNCTIONS = 0x00000010;
+
+ /** All groups except SPECIAL */
+ const long ALL_EXCEPT_SPECIAL = 0x7fffffff;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/FormulaMapGroupSpecialOffset.idl b/offapi/com/sun/star/sheet/FormulaMapGroupSpecialOffset.idl
new file mode 100644
index 000000000..4cb2699e9
--- /dev/null
+++ b/offapi/com/sun/star/sheet/FormulaMapGroupSpecialOffset.idl
@@ -0,0 +1,202 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_sheet_FormulaMapGroupSpecialOffset_idl__
+#define __com_sun_star_sheet_FormulaMapGroupSpecialOffset_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** Constants designating the offsets within the sequence returned by
+ XFormulaOpCodeMapper::getAvailableMappings() when
+ called for group FormulaMapGroup::SPECIAL.
+
+ The number of constants may grow in future versions!
+ */
+constants FormulaMapGroupSpecialOffset
+{
+
+ /** Formula tokens containing the op-code obtained from this offset
+ describe a formula operand token that will be pushed onto the formula
+ stack while the formula is interpreted.
+
+ The FormulaToken::Data member shall contain one of
+ the following values:
+
+
+ - A value of type `double` for literal floating-point
+ constants.
+ - A `string` for literal text.
+ - A `any[][]` for a literal array. The contained
+ values shall be of type `double` or `string`.
+ Floating-point values and strings may occur together in an array.
+ - A struct of type SingleReference for a reference to a
+ single cell in the own document.
+ - A struct of type ComplexReference for a reference to
+ a range of cells in the own document.
+ - A struct of type ExternalReference for a reference to
+ a cell, a range of cells, or a defined name in an external document.
+
+ */
+ const long PUSH = 0;
+
+
+ const long CALL = 1;
+
+
+ /** Formula tokens containing the op-code obtained from this offset
+ instruct the formula interpreter to immediately stop interpreting the
+ formula.
+
+ The FormulaToken::Data member is not used
+ and should be empty.
+ */
+ const long STOP = 2;
+
+
+ /** Formula tokens containing the op-code obtained from this offset
+ describe the reference to an external function (e.g. add-in function)
+ used in formulas.
+
+ The FormulaToken::Data member shall contain a
+ `string` with the programmatic name of the function, e.g.
+ "com.sun.star.sheet.addin.Analysis.getEomonth" for the EOMONTH
+ function from the Analysis add-in.
+ */
+ const long EXTERNAL = 3;
+
+
+ /** Formula tokens containing the op-code obtained from this offset
+ describe the reference to a defined name (also known as named range)
+ used in formulas.
+
+ The FormulaToken::Data member shall contain an
+ integer value of type `long` specifying the index of the
+ defined name. This index can be obtained from the defined name using
+ its NamedRange::TokenIndex property.
+
+ @see NamedRange
+ */
+ const long NAME = 4;
+
+
+ /** Formula tokens containing the op-code obtained from this offset
+ describe an invalid name that resolves to the #NAME? error in formulas.
+
+ The FormulaToken::Data member is not used
+ and should be empty.
+ */
+ const long NO_NAME = 5;
+
+
+ /** Formula tokens containing the op-code obtained from this offset
+ describe an empty function parameter.
+
+ Example: In the formula =SUM(1;;2)
the second
+ parameter is empty and represented by a formula token containing the
+ "missing" op-code.
+
+ The FormulaToken::Data member is not used
+ and should be empty.
+ */
+ const long MISSING = 6;
+
+
+ /** Formula tokens containing the op-code obtained from this offset
+ describe "bad" data in a formula, e.g. data the formula parser was not
+ able to parse.
+
+ The FormulaToken::Data member shall contain a
+ `string` with the bad data. This string will be displayed
+ literally in the formula.
+ */
+ const long BAD = 7;
+
+
+ /** Formula tokens containing the op-code obtained from this offset
+ describe whitespace characters within the string representation of a
+ formula.
+
+ Whitespace characters in formulas are used for readability and do
+ not affect the result of the formula.
+
+ The FormulaToken::Data member shall contain a
+ positive integer value of type `long` specifying the number
+ of space characters.
+ */
+ const long SPACES = 8;
+
+
+ const long MAT_REF = 9;
+
+
+ /** Formula tokens containing the op-code obtained from this offset
+ describe the reference to a database range used in formulas.
+
+ The FormulaToken::Data member shall contain an
+ integer value of type `long` specifying the index of the
+ database range. This index can be obtained from the database range
+ using its DatabaseRange::TokenIndex property.
+
+ @see DatabaseRange
+ */
+ const long DB_AREA = 10;
+
+
+ /** Formula tokens containing the op-code obtained from this offset
+ describe the reference to a macro function called in a formula.
+
+ The FormulaToken::Data member shall contain a
+ `string` specifying the name of the macro function.
+ */
+ const long MACRO = 11;
+
+
+ const long COL_ROW_NAME = 12;
+
+
+ /** Formula tokens containing the op-code obtained from this offset
+ describe whitespace characters within the string representation of a
+ formula.
+
+ Whitespace characters in formulas are used for readability and do
+ not affect the result of the formula.
+
+ The FormulaToken::Data member shall contain a
+ `string` of one (repeated) whitespace character. The length of
+ the string determines the number of repetitions.
+
+ Allowed whitespace characters are SPACE (U+0020), CHARACTER
+ TABULATION (U+0009), LINE FEED (U+000A), and CARRIAGE RETURN
+ (U+000D). See also ODF v1.3 OpenFormula 5.14 Whitespace.
+
+ @since LibreOffice 7.3
+ */
+ const long WHITESPACE = 13;
+
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/FormulaOpCodeMapEntry.idl b/offapi/com/sun/star/sheet/FormulaOpCodeMapEntry.idl
new file mode 100644
index 000000000..7c2c9738b
--- /dev/null
+++ b/offapi/com/sun/star/sheet/FormulaOpCodeMapEntry.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_sheet_FormulaOpCodeMapEntry_idl__
+#define __com_sun_star_sheet_FormulaOpCodeMapEntry_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** contains a mapping from a formula name (function name, operator,
+ ...) to the OpCode used by the formula compiler.
+ */
+struct FormulaOpCodeMapEntry
+{
+
+ /** The function name, or operator.
+ */
+ string Name;
+
+
+ /** The corresponding mapping.
+ */
+ FormulaToken Token;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/FormulaOpCodeMapper.idl b/offapi/com/sun/star/sheet/FormulaOpCodeMapper.idl
new file mode 100644
index 000000000..10438d9a7
--- /dev/null
+++ b/offapi/com/sun/star/sheet/FormulaOpCodeMapper.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_sheet_FormulaOpCodeMapper_idl__
+#define __com_sun_star_sheet_FormulaOpCodeMapper_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+
+service FormulaOpCodeMapper : XFormulaOpCodeMapper;
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/FormulaParser.idl b/offapi/com/sun/star/sheet/FormulaParser.idl
new file mode 100644
index 000000000..fb9085130
--- /dev/null
+++ b/offapi/com/sun/star/sheet/FormulaParser.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_sheet_FormulaParser_idl__
+#define __com_sun_star_sheet_FormulaParser_idl__
+
+#include
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+service FormulaParser
+{
+
+ service com::sun::star::beans::PropertySet;
+
+
+ interface XFormulaParser;
+
+
+ /** specifies whether to use English parser and formatter.
+
+ Note: When changing this, an already existing #OpCodeMap
+ needs to be recreated internally, so for performance reasons
+ set this before setting the #OpCodeMap.
+ */
+ [property] boolean CompileEnglish;
+
+
+ /** specifies which address reference style convention to use when
+ parsing a formula string.
+
+ @see AddressConvention
+ */
+ [property] short FormulaConvention;
+
+
+ [property] boolean IgnoreLeadingSpaces;
+
+
+ [property] string ParameterSeparator;
+
+
+ /** contains the complete mapping of names to op-codes.
+
+
Names and symbols not defined here lead to a parser/print error.
+ */
+ [property] sequence< FormulaOpCodeMapEntry > OpCodeMap;
+
+
+ /** contains a list of external links referenced in formulas.
+
+ Use of this property depends on the FormulaConvention
+ in use. It is relevant only for
+ AddressConvention::XL_OOX to map indices to external
+ documents. The sequence must be in the order of indices used. Note
+ that indices are 1-based, the sequence must start with an empty
+ element.
+
+ @since OOo 3.1
+ */
+ [property] sequence< ExternalLinkInfo > ExternalLinks;
+
+
+ /** specifies that use special ooxml chart syntax in case of OOXML reference
+ convention, when parsing a formula string.
+
+ Special syntax like: [0]!GlobalNamedRange, LocalSheet!LocalNamedRange
+
+ @since LibreOffice 7.3
+ */
+ [property] boolean RefConventionChartOOXML;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/FormulaResult.idl b/offapi/com/sun/star/sheet/FormulaResult.idl
new file mode 100644
index 000000000..139378492
--- /dev/null
+++ b/offapi/com/sun/star/sheet/FormulaResult.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_sheet_FormulaResult_idl__
+#define __com_sun_star_sheet_FormulaResult_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** used to select different result types of cell formulas.
+ */
+published constants FormulaResult
+{
+
+ /** selects numeric results.
+ */
+ const long VALUE = 1;
+
+
+ /** selects non-numeric results.
+ */
+ const long STRING = 2;
+
+
+ /** selects errors.
+ */
+ const long ERROR = 4;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/FormulaToken.idl b/offapi/com/sun/star/sheet/FormulaToken.idl
new file mode 100644
index 000000000..6e566fbe1
--- /dev/null
+++ b/offapi/com/sun/star/sheet/FormulaToken.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_sheet_FormulaToken_idl__
+#define __com_sun_star_sheet_FormulaToken_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** contains a single token within a formula.
+ */
+struct FormulaToken
+{
+
+ /** is the OpCode of the token.
+
+ @see com::sun::star::sheet::XFormulaOpCodeMapper
+ */
+ long OpCode;
+
+
+ /** is additional data in the token, depending on the OpCode.
+
+ @see com::sun::star::sheet::NamedRange::TokenIndex
+ @see com::sun::star::sheet::DatabaseRange::TokenIndex
+ */
+ any Data;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/FunctionAccess.idl b/offapi/com/sun/star/sheet/FunctionAccess.idl
new file mode 100644
index 000000000..9b26c286e
--- /dev/null
+++ b/offapi/com/sun/star/sheet/FunctionAccess.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_sheet_FunctionAccess_idl__
+#define __com_sun_star_sheet_FunctionAccess_idl__
+
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** allows generic access to all spreadsheet functions.
+ */
+published service FunctionAccess
+{
+
+ /** contributes properties to control the behavior of some functions
+ (i.e. NullDate, IgnoreCase, RegularExpressions).
+ */
+ service com::sun::star::sheet::SpreadsheetDocumentSettings;
+
+
+ /** provides calculating the result of a spreadsheet function.
+ */
+ interface com::sun::star::sheet::XFunctionAccess;
+
+
+ /** specifies whether the function call is performed as array function
+ call.
+
+ If set to `TRUE`, the result of the function call will be
+ calculated similar to array formulas in a spreadsheet document. The
+ return value of the function call will usually be a sequence of
+ sequences containing the values of the resulting array. Example: If the
+ function ABS is called for a 3x2 cell range, the result will be a 3x2
+ array containing the absolute values of the numbers contained in the
+ specified cell range.
+
+ If set to `FALSE`, the result of the function call will be
+ calculated similar to simple cell formulas in a spreadsheet document.
+ The return value of the function call will usually be a single value.
+ Of course, some functions always return an array, for example the
+ MUNIT function.
+
+ For compatibility with older versions, the default value of this
+ property is `TRUE`.
+
+ @since OOo 3.3
+ */
+ [optional, property] boolean IsArrayFunction;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/FunctionArgument.idl b/offapi/com/sun/star/sheet/FunctionArgument.idl
new file mode 100644
index 000000000..41ca7fd42
--- /dev/null
+++ b/offapi/com/sun/star/sheet/FunctionArgument.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_sheet_FunctionArgument_idl__
+#define __com_sun_star_sheet_FunctionArgument_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** contains the description of a single argument within a spreadsheet
+ function.
+
+ @see com::sun::star::sheet::FunctionDescription
+ */
+published struct FunctionArgument
+{
+
+ /** the name of the argument.
+ */
+ string Name;
+
+
+ /** a description of the argument.
+ */
+ string Description;
+
+
+ /** determines whether the argument is optional.
+ */
+ boolean IsOptional;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/FunctionCategory.idl b/offapi/com/sun/star/sheet/FunctionCategory.idl
new file mode 100644
index 000000000..89005ebe6
--- /dev/null
+++ b/offapi/com/sun/star/sheet/FunctionCategory.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_sheet_FunctionCategory_idl__
+#define __com_sun_star_sheet_FunctionCategory_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** used to specify the category of a spreadsheet function.
+ */
+published constants FunctionCategory
+{
+
+ /** specifies a database function.
+ */
+ const long DATABASE = 1;
+
+
+ /** specifies a function that calculates with dates and/or times.
+ */
+ const long DATETIME = 2;
+
+
+ /** specifies a financial function.
+ */
+ const long FINANCIAL = 3;
+
+
+ /** specifies a function that returns information about the cell,
+ the cell contents or the current formula.
+ */
+ const long INFORMATION = 4;
+
+
+ /** specifies a boolean function.
+ */
+ const long LOGICAL = 5;
+
+
+ /** specifies a common mathematical function
+ */
+ const long MATHEMATICAL = 6;
+
+
+ /** specifies a matrix function.
+ */
+ const long MATRIX = 7;
+
+
+ /** specifies a statistical function
+ */
+ const long STATISTICAL = 8;
+
+
+ /** specifies a function that returns information using the spreadsheet
+ contents or specific cell positions.
+ */
+ const long SPREADSHEET = 9;
+
+
+ /** specifies a text function.
+ */
+ const long TEXT = 10;
+
+
+ /** specifies a common add-in function.
+ */
+ const long ADDIN = 11;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/FunctionDescription.idl b/offapi/com/sun/star/sheet/FunctionDescription.idl
new file mode 100644
index 000000000..ef2d91ca1
--- /dev/null
+++ b/offapi/com/sun/star/sheet/FunctionDescription.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_sheet_FunctionDescription_idl__
+#define __com_sun_star_sheet_FunctionDescription_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** collects all properties used to describe a function.
+
+ @see com::sun::star::sheet::FunctionDescriptions
+ */
+published service FunctionDescription
+{
+
+ /** returns the function's unique identifier.
+
+ @see com::sun::star::sheet::XFunctionDescriptions
+ */
+ [readonly, property] long Id;
+
+
+ /** returns the function's category.
+
+ @see com::sun::star::sheet::FunctionCategory
+ */
+ [readonly, property] long Category;
+
+
+ /** returns the localized function's name.
+ */
+ [readonly, property] string Name;
+
+
+ /** returns a localized description of the function.
+ */
+ [readonly, property] string Description;
+
+
+ /** returns a sequence of localized descriptions of the function's
+ arguments (in the order specified by the function).
+ */
+ [readonly, property] sequence< com::sun::star::sheet::FunctionArgument > Arguments;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/FunctionDescriptionEnumeration.idl b/offapi/com/sun/star/sheet/FunctionDescriptionEnumeration.idl
new file mode 100644
index 000000000..b3f4cba82
--- /dev/null
+++ b/offapi/com/sun/star/sheet/FunctionDescriptionEnumeration.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_sheet_FunctionDescriptionEnumeration_idl__
+#define __com_sun_star_sheet_FunctionDescriptionEnumeration_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents an enumeration of Function Descriptions.
+
+ @see com::sun::star::sheet::FunctionDescription
+ */
+published service FunctionDescriptionEnumeration
+{
+
+ /** provides methods to access the Function Descriptions in the enumeration.
+
+ @see com::sun::star::sheet::FunctionDescription
+ */
+ interface com::sun::star::container::XEnumeration;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/FunctionDescriptions.idl b/offapi/com/sun/star/sheet/FunctionDescriptions.idl
new file mode 100644
index 000000000..69361753d
--- /dev/null
+++ b/offapi/com/sun/star/sheet/FunctionDescriptions.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_sheet_FunctionDescriptions_idl__
+#define __com_sun_star_sheet_FunctionDescriptions_idl__
+
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a collection of function descriptions for all built-in
+ functions as well as add-in functions available in the spreadsheet
+ application.
+
+ All container access methods return a sequence of
+ com::sun::star::beans::PropertyValue structs.
+ The properties contained in the sequence are collected in the
+ service FunctionDescription.
+ */
+published service FunctionDescriptions
+{
+
+ /** provides access to the property sequence of a function description
+ via function index or identifier.
+ */
+ interface com::sun::star::sheet::XFunctionDescriptions;
+
+
+ /** provides access to the property sequence of a function description
+ via function name.
+
+ The localized uppercase name of the function has to be used
+ here.
+ */
+ interface com::sun::star::container::XNameAccess;
+
+
+ /** creates an enumeration of all function descriptions.
+
+ @see com::sun::star::sheet::FunctionDescriptionEnumeration
+ */
+ interface com::sun::star::container::XEnumerationAccess;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/GeneralFunction.idl b/offapi/com/sun/star/sheet/GeneralFunction.idl
new file mode 100644
index 000000000..ff9615c1a
--- /dev/null
+++ b/offapi/com/sun/star/sheet/GeneralFunction.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_sheet_GeneralFunction_idl__
+#define __com_sun_star_sheet_GeneralFunction_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** used to specify a function to be calculated from values.
+ */
+published enum GeneralFunction
+{
+
+ /** nothing is calculated.
+ */
+ NONE,
+
+
+ /** function is determined automatically.
+
+ If the values are all numerical, SUM is used, otherwise COUNT.
+ */
+ AUTO,
+
+
+ /** sum of all numerical values is calculated.
+ */
+ SUM,
+
+
+ /** all values, including non-numerical values, are counted.
+ */
+ COUNT,
+
+
+ /** average of all numerical values is calculated.
+ */
+ AVERAGE,
+
+
+ /** maximum value of all numerical values is calculated.
+ */
+ MAX,
+
+
+ /** minimum value of all numerical values is calculated.
+ */
+ MIN,
+
+
+ /** product of all numerical values is calculated.
+ */
+ PRODUCT,
+
+
+ /** numerical values are counted.
+ */
+ COUNTNUMS,
+
+
+ /** standard deviation is calculated based on a sample.
+ */
+ STDEV,
+
+
+ /** standard deviation is calculated based on the entire population.
+ */
+ STDEVP,
+
+
+ /** variance is calculated based on a sample.
+ */
+ VAR,
+
+
+ /** variance is calculated based on the entire population.
+ */
+ VARP
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/GeneralFunction2.idl b/offapi/com/sun/star/sheet/GeneralFunction2.idl
new file mode 100644
index 000000000..926f7b174
--- /dev/null
+++ b/offapi/com/sun/star/sheet/GeneralFunction2.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_sheet_GeneralFunction2_idl__
+#define __com_sun_star_sheet_GeneralFunction2_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** used to specify a function to be calculated from values.
+ @since LibreOffice 5.3
+ */
+published constants GeneralFunction2
+{
+
+ /** nothing is calculated.
+ */
+ const short NONE = 0;
+
+
+ /** function is determined automatically.
+
+ If the values are all numerical, SUM is used, otherwise COUNT.
+ */
+ const short AUTO = 1;
+
+
+ /** sum of all numerical values is calculated.
+ */
+ const short SUM = 2;
+
+
+ /** all values, including non-numerical values, are counted.
+ */
+ const short COUNT = 3;
+
+
+ /** average of all numerical values is calculated.
+ */
+ const short AVERAGE = 4;
+
+
+ /** maximum value of all numerical values is calculated.
+ */
+ const short MAX = 5;
+
+
+ /** minimum value of all numerical values is calculated.
+ */
+ const short MIN = 6;
+
+
+ /** product of all numerical values is calculated.
+ */
+ const short PRODUCT = 7;
+
+
+ /** numerical values are counted.
+ */
+ const short COUNTNUMS = 8;
+
+
+ /** standard deviation is calculated based on a sample.
+ */
+ const short STDEV = 9;
+
+
+ /** standard deviation is calculated based on the entire population.
+ */
+ const short STDEVP = 10;
+
+
+ /** variance is calculated based on a sample.
+ */
+ const short VAR = 11;
+
+
+ /** variance is calculated based on the entire population.
+ */
+ const short VARP = 12;
+
+ /**
+ * median of all numerical values is calculated.
+ * @since LibreOffice 5.3
+ */
+ const short MEDIAN = 13;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/GlobalSheetSettings.idl b/offapi/com/sun/star/sheet/GlobalSheetSettings.idl
new file mode 100644
index 000000000..385a83c93
--- /dev/null
+++ b/offapi/com/sun/star/sheet/GlobalSheetSettings.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_sheet_GlobalSheetSettings_idl__
+#define __com_sun_star_sheet_GlobalSheetSettings_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** contributes properties to access the settings for all spreadsheets of
+ a spreadsheet document.
+
+ For backwards compatibility, the attributes of XGlobalSheetSettings can
+ still be accessed via com::sun::star::beans::XPropertySet, too.
+ */
+published service GlobalSheetSettings : XGlobalSheetSettings;
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/GoalResult.idl b/offapi/com/sun/star/sheet/GoalResult.idl
new file mode 100644
index 000000000..c9f69bea3
--- /dev/null
+++ b/offapi/com/sun/star/sheet/GoalResult.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_sheet_GoalResult_idl__
+#define __com_sun_star_sheet_GoalResult_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** is the result of a goal seek operation.
+ */
+published struct GoalResult
+{
+ /** the amount by which the result changed in the last iteration.
+ */
+ double Divergence;
+
+
+ /** the resulting value.
+ */
+ double Result;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/HeaderFooterContent.idl b/offapi/com/sun/star/sheet/HeaderFooterContent.idl
new file mode 100644
index 000000000..182f1001c
--- /dev/null
+++ b/offapi/com/sun/star/sheet/HeaderFooterContent.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_sheet_HeaderFooterContent_idl__
+#define __com_sun_star_sheet_HeaderFooterContent_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents the contents of a header or footer line in a page style.
+
+ @see com::sun::star::sheet::TablePageStyle
+ */
+published service HeaderFooterContent
+{
+
+ /** provides access to the text parts of the header or footer line.
+ */
+ interface com::sun::star::sheet::XHeaderFooterContent;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/IconSet.idl b/offapi/com/sun/star/sheet/IconSet.idl
new file mode 100644
index 000000000..4d750b44a
--- /dev/null
+++ b/offapi/com/sun/star/sheet/IconSet.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_sheet_IconSet_idl__
+#define __com_sun_star_sheet_IconSet_idl__
+
+#include
+
+module com { module sun { module star { module sheet {
+
+service IconSet
+{
+ interface XConditionEntry;
+
+ [property] boolean ShowValue;
+
+ [property] boolean Reverse;
+
+ /**
+ * See com.sun.star.sheet.IconSetType for possible values.
+ */
+ [property] long Icons;
+
+ [property] sequence IconSetEntries;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+
diff --git a/offapi/com/sun/star/sheet/IconSetFormatEntry.idl b/offapi/com/sun/star/sheet/IconSetFormatEntry.idl
new file mode 100644
index 000000000..652618cd4
--- /dev/null
+++ b/offapi/com/sun/star/sheet/IconSetFormatEntry.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/.
+ */
+
+#ifndef __com_sun_star_sheet_IconSetEntryType_idl__
+#define __com_sun_star_sheet_IconSetEntryType_idl__
+
+module com { module sun { module star { module sheet {
+
+constants IconSetFormatEntry
+{
+ /**
+ * Can not be set! Will always be the type of the first entry.
+ */
+ const long ICONSET_MIN = 0;
+
+ const long ICONSET_PERCENTILE = 1;
+
+ const long ICONSET_VALUE = 2;
+
+ const long ICONSET_PERCENT = 3;
+
+ const long ICONSET_FORMULA = 4;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/IconSetType.idl b/offapi/com/sun/star/sheet/IconSetType.idl
new file mode 100644
index 000000000..ad9633237
--- /dev/null
+++ b/offapi/com/sun/star/sheet/IconSetType.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/.
+ */
+
+#ifndef __com_sun_star_sheet_IconSetType_idl__
+#define __com_sun_star_sheet_IconSetType_idl__
+
+module com { module sun { module star { module sheet {
+
+constants IconSetType
+{
+ const long ICONSET_3ARROWS = 0;
+
+ const long ICONSET_3ARROWS_GRAY = 1;
+
+ const long ICONSET_3FLAGS = 2;
+
+ const long ICONSET_3TRAFFICLIGHTS1 = 3;
+
+ const long ICONSET_3TRAFFICLIGHTS2 = 4;
+
+ const long ICONSET_3SIGNS = 5;
+
+ const long ICONSET_3SYMBOLS = 6;
+
+ const long ICONSET_3SYMBOLS2 = 7;
+
+ const long ICONSET_3SMILIES = 8;
+
+ const long ICONSET_3COLOR_SIMILIES = 9;
+
+ const long ICONSET_4ARROWS = 10;
+
+ const long ICONSET_4ARROWS_GRAY = 11;
+
+ const long ICONSET_4RED_TO_BLACK = 12;
+
+ const long ICONSET_4RATING = 13;
+
+ const long ICONSET_4TRAFFICLIGHTS = 14;
+
+ const long ICONSET_5ARROWS = 15;
+
+ const long ICONSET_5ARROWS_GRAY = 16;
+
+ const long ICONSET_5RATINGS = 17;
+
+ const long ICONSET_5QUARTERS = 18;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+
diff --git a/offapi/com/sun/star/sheet/LabelRange.idl b/offapi/com/sun/star/sheet/LabelRange.idl
new file mode 100644
index 000000000..d78f10778
--- /dev/null
+++ b/offapi/com/sun/star/sheet/LabelRange.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_sheet_LabelRange_idl__
+#define __com_sun_star_sheet_LabelRange_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a cell area that contains labels and values related to the
+ labels.
+
+ Label ranges can be used in formulas to refer to cells in cell
+ ranges with row or column titles. The formula uses the cell value that
+ is related to the specified row or column title.
+ */
+published service LabelRange
+{
+ /** provides access to the settings of a label range.
+ */
+ interface com::sun::star::sheet::XLabelRange;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/LabelRanges.idl b/offapi/com/sun/star/sheet/LabelRanges.idl
new file mode 100644
index 000000000..f94843813
--- /dev/null
+++ b/offapi/com/sun/star/sheet/LabelRanges.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_sheet_LabelRanges_idl__
+#define __com_sun_star_sheet_LabelRanges_idl__
+
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a collection of label ranges in a spreadsheet document.
+
+ @see com::sun::star::sheet::LabelRange
+ @see com::sun::star::sheet::SpreadsheetDocument
+ */
+published service LabelRanges
+{
+
+ /** provides methods to access the members of the label range collection
+ and to insert and remove them.
+ */
+ interface com::sun::star::sheet::XLabelRanges;
+
+
+ /** provides access to the label ranges via index.
+
+ @see com::sun::star::sheet::LabelRange
+
+ */
+ interface com::sun::star::container::XIndexAccess;
+
+
+ /** creates an enumeration of all label ranges.
+
+ @see com::sun::star::sheet::LabelRangesEnumeration
+
+ */
+ interface com::sun::star::container::XEnumerationAccess;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/LabelRangesEnumeration.idl b/offapi/com/sun/star/sheet/LabelRangesEnumeration.idl
new file mode 100644
index 000000000..f7110666d
--- /dev/null
+++ b/offapi/com/sun/star/sheet/LabelRangesEnumeration.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_sheet_LabelRangesEnumeration_idl__
+#define __com_sun_star_sheet_LabelRangesEnumeration_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents an enumeration of label ranges.
+
+ @see com::sun::star::sheet::LabelRange
+ */
+published service LabelRangesEnumeration
+{
+
+ /** provides methods to access the label ranges in the enumeration.
+
+ @see com::sun::star::sheet::LabelRange
+ */
+ interface com::sun::star::container::XEnumeration;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/LocalizedName.idl b/offapi/com/sun/star/sheet/LocalizedName.idl
new file mode 100644
index 000000000..8694ab596
--- /dev/null
+++ b/offapi/com/sun/star/sheet/LocalizedName.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_sheet_LocalizedName_idl__
+#define __com_sun_star_sheet_LocalizedName_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** A name that is valid for a specified locale.
+
+ @see com::sun::star::sheet::XCompatibilityNames
+ */
+published struct LocalizedName
+{
+
+ /** The locale for which this name is valid.
+ */
+ ::com::sun::star::lang::Locale Locale;
+
+
+ /** The name itself.
+ */
+ string Name;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/MemberResult.idl b/offapi/com/sun/star/sheet/MemberResult.idl
new file mode 100644
index 000000000..be17a860e
--- /dev/null
+++ b/offapi/com/sun/star/sheet/MemberResult.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_sheet_MemberResult_idl__
+#define __com_sun_star_sheet_MemberResult_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** describes a result of a DataPilot member.
+
+ @see com::sun::star::sheet::XDataPilotMemberResults
+ */
+struct MemberResult
+{
+ /** the internal name of the field.
+ */
+ string Name;
+
+
+ /** the visible name of the field.
+ */
+ string Caption;
+
+
+ /** contains flags describing the result.
+
+ @see com::sun::star::sheet::MemberResultFlags
+ */
+ long Flags;
+
+
+ /** the underlying numeric value of the field if Flags
+ indicate so by having
+ com::sun::star::sheet::MemberResultFlags::NUMERIC set.
+
+ May be NaN if value is not available or unknown.
+
+ @since LibreOffice 5.3
+ */
+ double Value;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/MemberResultFlags.idl b/offapi/com/sun/star/sheet/MemberResultFlags.idl
new file mode 100644
index 000000000..4e3aed221
--- /dev/null
+++ b/offapi/com/sun/star/sheet/MemberResultFlags.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_sheet_MemberResultFlags_idl__
+#define __com_sun_star_sheet_MemberResultFlags_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** used to give information about elements in data pilot member results.
+ */
+constants MemberResultFlags
+{
+
+ /** The element contains a member.
+ */
+ const long HASMEMBER = 1;
+
+
+ /** The element contains a subtotal.
+ */
+ const long SUBTOTAL = 2;
+
+
+ /** The element is a continuation of the previous one.
+ */
+ const long CONTINUE = 4;
+
+
+ /** The element contains a grand total.
+ */
+ const long GRANDTOTAL = 8;
+
+
+ /** The element is a numeric value.
+ */
+ const long NUMERIC = 16;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/MoveDirection.idl b/offapi/com/sun/star/sheet/MoveDirection.idl
new file mode 100644
index 000000000..de4fa5905
--- /dev/null
+++ b/offapi/com/sun/star/sheet/MoveDirection.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_sheet_MoveDirection_idl__
+#define __com_sun_star_sheet_MoveDirection_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** used to specify the direction of moving the current selection i.e.
+ after a cell has been left with Enter.
+ */
+published constants MoveDirection
+{
+
+ /** specifies that the selection moves one cell down.
+ */
+ const short DOWN = 0;
+
+
+ /** specifies that the selection moves one cell right.
+ */
+ const short RIGHT = 1;
+
+
+ /** specifies that the selection moves one cell up.
+ */
+ const short UP = 2;
+
+
+ /** specifies that the selection moves one cell left.
+ */
+ const short LEFT = 3;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/NameToken.idl b/offapi/com/sun/star/sheet/NameToken.idl
new file mode 100644
index 000000000..9b66038ba
--- /dev/null
+++ b/offapi/com/sun/star/sheet/NameToken.idl
@@ -0,0 +1,31 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.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_sheet_NameToken_idl__
+#define __com_sun_star_sheet_NameToken_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** contains the information regarding named tokens
+ */
+struct NameToken
+{
+ long Index;
+
+ long Sheet;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/NamedRange.idl b/offapi/com/sun/star/sheet/NamedRange.idl
new file mode 100644
index 000000000..a81bc4698
--- /dev/null
+++ b/offapi/com/sun/star/sheet/NamedRange.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_sheet_NamedRange_idl__
+#define __com_sun_star_sheet_NamedRange_idl__
+
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a named range in a spreadsheet document.
+
+ In fact a named range is a named formula expression. A cell range
+ address is one possible content of a named range.
+
+ @see com::sun::star::sheet::NamedRanges
+ */
+published service NamedRange
+{
+
+ /** provides access to the settings of the named range.
+ */
+ interface com::sun::star::sheet::XNamedRange;
+
+
+ /** provides access to the cell range object referred by this named range.
+
+ This works only, if the named range contains a single cell range
+ address.
+ */
+ interface com::sun::star::sheet::XCellRangeReferrer;
+
+
+ /** returns the index used to refer to this name in token arrays.
+
+ A token describing a defined name shall contain the op-code obtained
+ from the FormulaMapGroupSpecialOffset::NAME offset and
+ this index as data part.
+
+ @see com::sun::star::sheet::FormulaToken
+ @see com::sun::star::sheet::FormulaMapGroupSpecialOffset::NAME
+
+ @since OOo 3.0
+ */
+ [optional, readonly, property] long TokenIndex;
+
+
+ /** Determines if this defined name represents a shared formula.
+
+ This special property shall not be used externally. It is used by
+ import and export filters for compatibility with spreadsheet
+ documents containing shared formulas. Shared formulas are shared
+ by several cells to save memory and to decrease file size.
+
+ A defined name with this property set will not appear in the user
+ interface of Calc, and its name will not appear in cell formulas. A
+ formula referring to this defined name will show the formula
+ definition contained in the name instead.
+
+ @since OOo 3.0
+ */
+ [optional, property] boolean IsSharedFormula;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/NamedRangeFlag.idl b/offapi/com/sun/star/sheet/NamedRangeFlag.idl
new file mode 100644
index 000000000..cdfc72eed
--- /dev/null
+++ b/offapi/com/sun/star/sheet/NamedRangeFlag.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_sheet_NamedRangeFlag_idl__
+#define __com_sun_star_sheet_NamedRangeFlag_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** used to specify the purpose of a named range.
+ */
+published constants NamedRangeFlag
+{
+
+ /** The range contains filter criteria.
+ */
+ const long FILTER_CRITERIA = 1;
+
+
+ /** The range can be used as a print range.
+ */
+ const long PRINT_AREA = 2;
+
+
+ /** The range can be used as column headers for printing.
+ */
+ const long COLUMN_HEADER = 4;
+
+
+ /** The range can be used as row headers for printing.
+ */
+ const long ROW_HEADER = 8;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/NamedRanges.idl b/offapi/com/sun/star/sheet/NamedRanges.idl
new file mode 100644
index 000000000..a39ad5d27
--- /dev/null
+++ b/offapi/com/sun/star/sheet/NamedRanges.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_sheet_NamedRanges_idl__
+#define __com_sun_star_sheet_NamedRanges_idl__
+
+#include
+#include
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a collection of named ranges in a spreadsheet document.
+
+ In fact a named range is a named formula expression. A cell range
+ address is one possible content of a named range.
+
+ @see com::sun::star::sheet::SpreadsheetDocument
+ */
+published service NamedRanges
+{
+
+ /** provides access to the named ranges and to insert and remove them.
+ */
+ interface com::sun::star::sheet::XNamedRanges;
+
+
+ /** provides access to the named ranges via index.
+
+ @see com::sun::star::sheet::NamedRange
+
+ */
+ interface com::sun::star::container::XIndexAccess;
+
+
+ /** creates an enumeration of all named ranges.
+
+ @see com::sun::star::sheet::NamedRangesEnumeration
+
+ */
+ interface com::sun::star::container::XEnumerationAccess;
+
+
+ /** provides methods to control the internal update of named ranges.
+
+ @since OOo 3.0
+ */
+ [optional] interface com::sun::star::document::XActionLockable;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/NamedRangesEnumeration.idl b/offapi/com/sun/star/sheet/NamedRangesEnumeration.idl
new file mode 100644
index 000000000..cefd3f21c
--- /dev/null
+++ b/offapi/com/sun/star/sheet/NamedRangesEnumeration.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_sheet_NamedRangesEnumeration_idl__
+#define __com_sun_star_sheet_NamedRangesEnumeration_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents an enumeration of named ranges.
+
+ @see com::sun::star::sheet::NamedRange
+ */
+published service NamedRangesEnumeration
+{
+
+ /** provides methods to access the named ranges in the enumeration.
+
+ @see com::sun::star::sheet::NamedRange
+ */
+ interface com::sun::star::container::XEnumeration;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/NoConvergenceException.idl b/offapi/com/sun/star/sheet/NoConvergenceException.idl
new file mode 100644
index 000000000..7d8ad5a91
--- /dev/null
+++ b/offapi/com/sun/star/sheet/NoConvergenceException.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_sheet_NoConvergenceException_idl__
+#define __com_sun_star_sheet_NoConvergenceException_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** Thrown by a Calc Add-In function this exception indicates the
+ function's algorithm did not converge to a meaningful result.
+
+ @since OOo 3.3
+ */
+exception NoConvergenceException : ::com::sun::star::uno::Exception{};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/PasteOperation.idl b/offapi/com/sun/star/sheet/PasteOperation.idl
new file mode 100644
index 000000000..dce7a2a34
--- /dev/null
+++ b/offapi/com/sun/star/sheet/PasteOperation.idl
@@ -0,0 +1,64 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_sheet_PasteOperation_idl__
+#define __com_sun_star_sheet_PasteOperation_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** used to specify which operations are carried out when pasting cell
+ values into a cell range.
+ */
+published enum PasteOperation
+{
+
+ /** new values are used without changes.
+ */
+ NONE,
+
+
+ /** old and new values are added.
+ */
+ ADD,
+
+
+ /** new values are subtracted from the old values.
+ */
+ SUBTRACT,
+
+
+ /** old and new values are multiplied.
+ */
+ MULTIPLY,
+
+
+ /** new values are divided by the new values.
+ */
+ DIVIDE
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/RangeSelectionArguments.idl b/offapi/com/sun/star/sheet/RangeSelectionArguments.idl
new file mode 100644
index 000000000..92fd5e513
--- /dev/null
+++ b/offapi/com/sun/star/sheet/RangeSelectionArguments.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_sheet_RangeSelectionArguments_idl__
+#define __com_sun_star_sheet_RangeSelectionArguments_idl__
+
+
+ module com { module sun { module star { module sheet {
+
+
+/** contains the arguments for starting the range selection.
+
+ @see com::sun::star::sheet::XRangeSelection
+ */
+published service RangeSelectionArguments
+{
+ /** contains the initial value for the range descriptor.
+ */
+ [property] string InitialValue;
+
+ /** contains a title for the operation.
+ */
+ [property] string Title;
+
+ /** specifies if the range selection is finished when the
+ mouse button is released, after selecting cells.
+ */
+ [property] boolean CloseOnMouseRelease;
+
+ /** specifies if the range selection is limited to a single
+ cell only.
+
+ If `TRUE`, the selection is restricted to a
+ single cell. If `FALSE`, multiple adjoining cells can be
+ selected. The default value is `FALSE`.
+
+ @since OOo 2.0.3
+ */
+ [optional, property] boolean SingleCellMode;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/RangeSelectionEvent.idl b/offapi/com/sun/star/sheet/RangeSelectionEvent.idl
new file mode 100644
index 000000000..89887292e
--- /dev/null
+++ b/offapi/com/sun/star/sheet/RangeSelectionEvent.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_sheet_RangeSelectionEvent_idl__
+#define __com_sun_star_sheet_RangeSelectionEvent_idl__
+
+#include
+
+
+ module com { module sun { module star { module sheet {
+
+
+/** specifies an event from range selection.
+
+ @see com::sun::star::sheet::XRangeSelectionListener
+ @see com::sun::star::sheet::XRangeSelectionChangeListener
+ */
+published struct RangeSelectionEvent: com::sun::star::lang::EventObject
+{
+ /** contains a textual representation of the selected range.
+ */
+ string RangeDescriptor;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/RecentFunctions.idl b/offapi/com/sun/star/sheet/RecentFunctions.idl
new file mode 100644
index 000000000..9906821ae
--- /dev/null
+++ b/offapi/com/sun/star/sheet/RecentFunctions.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_sheet_RecentFunctions_idl__
+#define __com_sun_star_sheet_RecentFunctions_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** contains the list of recently used spreadsheet functions.
+ */
+published service RecentFunctions : XRecentFunctions;
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/ReferenceFlags.idl b/offapi/com/sun/star/sheet/ReferenceFlags.idl
new file mode 100644
index 000000000..cacbd166d
--- /dev/null
+++ b/offapi/com/sun/star/sheet/ReferenceFlags.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_sheet_ReferenceFlags_idl__
+#define __com_sun_star_sheet_ReferenceFlags_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** defines flags for references.
+
+ The values can be combined.
+ */
+constants ReferenceFlags
+{
+
+ /** selects a relative column reference.
+ */
+ const long COLUMN_RELATIVE = 1;
+
+
+ /** marks a deleted column reference.
+ */
+ const long COLUMN_DELETED = 2;
+
+
+ /** selects a relative row reference.
+ */
+ const long ROW_RELATIVE = 4;
+
+
+ /** marks a deleted row reference.
+ */
+ const long ROW_DELETED = 8;
+
+
+ /** selects a relative sheet reference.
+ */
+ const long SHEET_RELATIVE = 16;
+
+
+ /** marks a deleted sheet reference.
+ */
+ const long SHEET_DELETED = 32;
+
+
+ /** selects a 3D sheet reference.
+ */
+ const long SHEET_3D = 64;
+
+
+ /** marks a reference from a relative range name.
+ */
+ const long RELATIVE_NAME = 128;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/ResultEvent.idl b/offapi/com/sun/star/sheet/ResultEvent.idl
new file mode 100644
index 000000000..c4c503e36
--- /dev/null
+++ b/offapi/com/sun/star/sheet/ResultEvent.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_sheet_ResultEvent_idl__
+#define __com_sun_star_sheet_ResultEvent_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** contains the new value of a volatile function result.
+
+ @see com::sun::star::sheet::XVolatileResult
+ */
+published struct ResultEvent: com::sun::star::lang::EventObject
+{
+
+ /** contains the value.
+
+ This can be any of the possible return types described for the
+ AddIn service, except XVolatileResult.
+ */
+ any Value;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/Scenario.idl b/offapi/com/sun/star/sheet/Scenario.idl
new file mode 100644
index 000000000..5ecd46244
--- /dev/null
+++ b/offapi/com/sun/star/sheet/Scenario.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_sheet_Scenario_idl__
+#define __com_sun_star_sheet_Scenario_idl__
+
+#include
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a scenario in a spreadsheet document.
+
+ */
+service Scenario
+{
+ interface com::sun::star::sheet::XScenario;
+
+ [optional] interface com::sun::star::sheet::XScenarioEnhanced;
+
+ interface com::sun::star::beans::XPropertySet;
+
+ interface com::sun::star::container::XNamed;
+
+
+ /** specifies if the scenario is active.
+ */
+ [optional, property] boolean IsActive;
+
+
+ /** specifies the color of the border of the scenario.
+ */
+ [optional, property] long BorderColor;
+
+
+ /** specifies if the scenario is protected.
+ */
+ [optional, property] boolean Protected;
+
+
+ /** specifies if the scenario shows a border.
+ */
+ [optional, property] boolean ShowBorder;
+
+
+ /** specifies if the scenario prints a border.
+ */
+ [optional, property] boolean PrintBorder;
+
+
+ /** specifies if the data should be copied back into the scenario.
+ */
+ [optional, property] boolean CopyBack;
+
+
+ /** specifies if the styles are copied.
+ */
+ [optional, property] boolean CopyStyles;
+
+
+ /** specifies if the formulas are copied or only the results.
+ */
+ [optional, property] boolean CopyFormulas;
+
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/Scenarios.idl b/offapi/com/sun/star/sheet/Scenarios.idl
new file mode 100644
index 000000000..5f7f40765
--- /dev/null
+++ b/offapi/com/sun/star/sheet/Scenarios.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_sheet_Scenarios_idl__
+#define __com_sun_star_sheet_Scenarios_idl__
+
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a collection of scenarios.
+ */
+published service Scenarios
+{
+
+ /** provides access via name to the scenarios in the collection.
+ */
+ interface com::sun::star::sheet::XScenarios;
+
+
+ /** creates an enumeration of scenarios.
+
+ @see com::sun::star::sheet::ScenariosEnumeration
+ */
+ interface com::sun::star::container::XEnumerationAccess;
+
+
+ /** provides access to the scenarios in the collection via index.
+
+ @see com::sun::star::sheet::Spreadsheet
+
+ */
+ interface com::sun::star::container::XIndexAccess;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/ScenariosEnumeration.idl b/offapi/com/sun/star/sheet/ScenariosEnumeration.idl
new file mode 100644
index 000000000..001eb57fc
--- /dev/null
+++ b/offapi/com/sun/star/sheet/ScenariosEnumeration.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_sheet_ScenariosEnumeration_idl__
+#define __com_sun_star_sheet_ScenariosEnumeration_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents an enumeration of scenarios.
+
+ @see com::sun::star::sheet::Spreadsheet
+ */
+published service ScenariosEnumeration
+{
+
+ /** provides methods to access the scenarios in the enumeration.
+
+ @see com::sun::star::sheet::Spreadsheet
+ */
+ interface com::sun::star::container::XEnumeration;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/Shape.idl b/offapi/com/sun/star/sheet/Shape.idl
new file mode 100644
index 000000000..9904a49ef
--- /dev/null
+++ b/offapi/com/sun/star/sheet/Shape.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_sheet_Shape_idl__
+#define __com_sun_star_sheet_Shape_idl__
+
+#include
+#include
+
+
+ module com { module sun { module star { module sheet {
+
+
+/** specifies the service of shapes in a spreadsheet document
+ */
+service Shape
+{
+ service com::sun::star::drawing::Shape;
+ /** contains the object where this shape is anchored on.
+ Possible objects are XSpreadsheet and XCell.
+ */
+ [property] com::sun::star::uno::XInterface Anchor;
+
+ /** If set, the shape will resize with the cell.
+ Only works when shape is anchored to a cell.
+
+ @since LibreOffice 6.3
+ */
+ [optional, property] boolean ResizeWithCell;
+
+ /** contains the horizontal position of the object (1/100 mm).
+ The position is relative to the anchor object.
+ If the underlying table layout direction is left to right
+ the position is the difference of the left top edge of the anchor
+ object and the left top edge of the drawing object.
+ If the underlying table layout direction is right to left
+ the position is the difference of the right top edge of the anchor
+ object and the right top edge of the drawing object.
+ */
+ [property] long HoriOrientPosition;
+ /** contains the vertical position of the object (1/100 mm).
+ The position is relative to the anchor object.
+ If the underlying table layout direction is left to right
+ the position is the difference of the left top edge of the anchor
+ object and the left top edge of the drawing object.
+ If the underlying table layout direction is right to left
+ the position is the difference of the right top edge of the anchor
+ object and the right top edge of the drawing object.
+ */
+ [property] long VertOrientPosition;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/SheetCell.idl b/offapi/com/sun/star/sheet/SheetCell.idl
new file mode 100644
index 000000000..0f3303c49
--- /dev/null
+++ b/offapi/com/sun/star/sheet/SheetCell.idl
@@ -0,0 +1,262 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_sheet_SheetCell_idl__
+#define __com_sun_star_sheet_SheetCell_idl__
+
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a single addressable cell in a spreadsheet document.
+ */
+published service SheetCell
+{
+
+ /** provides basic cell handling and contributes common cell
+ formatting properties.
+ */
+ service com::sun::star::table::Cell;
+
+
+ /** provides handling of formatted text cells.
+ */
+ service com::sun::star::text::Text;
+
+
+ /** contributes properties for character formatting of Western text.
+ */
+ service com::sun::star::style::CharacterProperties;
+
+
+ /** contributes properties for character formatting of Asian text.
+ */
+ service com::sun::star::style::CharacterPropertiesAsian;
+
+
+ /** contributes properties for character formatting of Complex text.
+ */
+ service com::sun::star::style::CharacterPropertiesComplex;
+
+
+ /** contributes properties for paragraph formatting.
+ */
+ service com::sun::star::style::ParagraphProperties;
+
+
+ /** contributes properties for paragraph formatting of Asian text.
+ */
+ [optional] service com::sun::star::style::ParagraphPropertiesAsian;
+
+
+ /** contributes properties for paragraph formatting of Complex text.
+ */
+ [optional] service com::sun::star::style::ParagraphPropertiesComplex;
+
+
+ /** provides interfaces to find cells with specific properties.
+ */
+ service com::sun::star::sheet::SheetRangesQuery;
+
+
+ /** provides methods to lock and unlock the update between
+ com::sun::star::table::XCell and
+ com::sun::star::text::XText.
+ */
+ interface com::sun::star::document::XActionLockable;
+
+
+ /** provides "Find and Replace" functionality.
+
+ The property
+ com::sun::star::util::SearchDescriptor::SearchWords
+ has a different meaning in spreadsheets: If set to `TRUE`, the
+ spreadsheet searches for cells containing the search text only.
+ */
+ interface com::sun::star::util::XReplaceable;
+
+
+ /** provides modifying the cell indentation.
+ */
+ interface com::sun::star::util::XIndent;
+
+
+ /** provides access to the collections of columns and rows.
+ */
+ interface com::sun::star::table::XColumnRowRange;
+
+
+ /** provides access to the cell address of this cell.
+ */
+ interface com::sun::star::sheet::XCellAddressable;
+
+
+ /** provides access to the annotation attached to this cell.
+ */
+ interface com::sun::star::sheet::XSheetAnnotationAnchor;
+
+
+ /** provides access to the text fields used in this cell.
+
+ With com::sun::star::text::XTextFieldsSupplier::getTextFieldMasters
+ always returns void since the field master is not supported.
+ */
+ interface com::sun::star::text::XTextFieldsSupplier;
+
+
+ [optional] interface com::sun::star::beans::XTolerantMultiPropertySet;
+
+
+ /**
+
+ @since OOo 2.0
+
+ */
+ [optional] interface com::sun::star::util::XModifyBroadcaster;
+
+
+ /** contains the position of this cell in the sheet (in 1/100 mm).
+
+ This property contains the absolute position in the whole
+ sheet, not the position in the visible area.
+ */
+ [readonly, property] com::sun::star::awt::Point Position;
+
+
+ /** contains the size of this cell (in 1/100 mm).
+ */
+ [readonly, property] com::sun::star::awt::Size Size;
+
+
+ /** contains the formula string with localized function names.
+
+ This property can also be used to set a new localized formula.
+ */
+ [optional, property] string FormulaLocal;
+
+
+ /** contains the content type of the cell.
+
+ This property returns not com::sun::star::sheet::FormulaResult
+ but instead com::sun::star::table::CellContentType. Use FormulaResult2
+ if the correct property is needed.
+ */
+ [readonly, property] long FormulaResultType;
+
+
+ /** contains the conditional formatting settings for this cell.
+
+ After a conditional format has been changed it has to be
+ reinserted into the property set.
+
+ @see com::sun::star::sheet::TableConditionalFormat
+ */
+ [property] com::sun::star::sheet::XSheetConditionalEntries
+ ConditionalFormat;
+
+
+ /** contains the conditional formatting settings for this cell,
+ using localized formulas.
+
+ After a conditional format has been changed it has to be
+ reinserted into the property set.
+
+ @see com::sun::star::sheet::TableConditionalFormat
+ */
+ [optional, property] com::sun::star::sheet::XSheetConditionalEntries
+ ConditionalFormatLocal;
+
+
+ /** contains the data validation settings for this cell.
+
+ After the data validation settings have been changed the
+ validation has to be reinserted into the property set.
+
+ @see com::sun::star::sheet::TableValidation
+ */
+ [property] com::sun::star::beans::XPropertySet Validation;
+
+
+ /** contains the data validation settings for this cell,
+ using localized formulas.
+
+ After the data validation settings have been changed the
+ validation has to be reinserted into the property set.
+
+ @see com::sun::star::sheet::TableValidation
+ */
+ [optional, property] com::sun::star::beans::XPropertySet ValidationLocal;
+
+
+ /** Returns the absolute address of the range as string, e.g. "$Sheet1.$B$2".
+ */
+ [optional, readonly, property] string AbsoluteName;
+
+
+ /** contains the content type of the cell.
+
+ @see com::sun::star::table::CellContentType
+ @since LibreOffice 6.1
+ */
+ [optional, readonly, property] com::sun::star::table::CellContentType CellContentType;
+
+
+ /** contains the result type of a formula.
+
+ @see com::sun::star::sheet::FormulaResult
+ @since LibreOffice 6.1
+ */
+ [optional, readonly, property] long FormulaResultType2;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/SheetCellCursor.idl b/offapi/com/sun/star/sheet/SheetCellCursor.idl
new file mode 100644
index 000000000..e89305b5a
--- /dev/null
+++ b/offapi/com/sun/star/sheet/SheetCellCursor.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_sheet_SheetCellCursor_idl__
+#define __com_sun_star_sheet_SheetCellCursor_idl__
+
+#include
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a cursor in a spreadsheet.
+
+ A cursor is a cell range which provides additional methods to move
+ through the table (i.e. to find specific cell ranges).
+ */
+published service SheetCellCursor
+{
+
+ /** provides common methods to control the position of the cursor.
+ */
+ service com::sun::star::table::CellCursor;
+
+
+ /** provides the complete functionality of a cell range in a spreadsheet
+ document.
+ */
+ service com::sun::star::sheet::SheetCellRange;
+
+
+ /** provides advanced methods to control the position of the cursor.
+ */
+ interface com::sun::star::sheet::XSheetCellCursor;
+
+
+ /** provides methods to find the used area of the entire sheet.
+ */
+ interface com::sun::star::sheet::XUsedAreaCursor;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/SheetCellRange.idl b/offapi/com/sun/star/sheet/SheetCellRange.idl
new file mode 100644
index 000000000..f6a5cbf6f
--- /dev/null
+++ b/offapi/com/sun/star/sheet/SheetCellRange.idl
@@ -0,0 +1,296 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_sheet_SheetCellRange_idl__
+#define __com_sun_star_sheet_SheetCellRange_idl__
+
+
+#include
+#include
+#include
+#include
+#include
+#include
+
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+
+#include
+#include
+#include
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a rectangular range of cells in a spreadsheet document.
+
+ This service is an extension of the CellRange service for use
+ in spreadsheet documents.
+ */
+published service SheetCellRange
+{
+
+ /** provides basic handling of cell ranges and contributes common cell
+ formatting properties.
+ */
+ service com::sun::star::table::CellRange;
+
+
+ /** contributes properties for character formatting of Western text.
+ */
+ service com::sun::star::style::CharacterProperties;
+
+
+ /** contributes properties for character formatting of Asian text.
+ */
+ service com::sun::star::style::CharacterPropertiesAsian;
+
+
+ /** contributes properties for character formatting of Complex text.
+ */
+ service com::sun::star::style::CharacterPropertiesComplex;
+
+
+ /** contributes properties for paragraph formatting.
+ */
+ service com::sun::star::style::ParagraphProperties;
+
+
+ /** provides interfaces to find cells with specific properties.
+ */
+ service com::sun::star::sheet::SheetRangesQuery;
+
+
+ /** provides "Find and Replace" functionality.
+
+ The property
+ com::sun::star::util::SearchDescriptor::SearchWords
+ has a different meaning in spreadsheets: If set to `TRUE`, the
+ spreadsheet searches for cells containing the search text only.
+ */
+ interface com::sun::star::util::XReplaceable;
+
+
+ /** provides merging and unmerging the cells of this cell range.
+ */
+ interface com::sun::star::util::XMergeable;
+
+
+ /** provides modifying the cell indentation.
+ */
+ interface com::sun::star::util::XIndent;
+
+
+ /** provides access to the collections of columns and rows.
+ */
+ interface com::sun::star::table::XColumnRowRange;
+
+
+ /** provides applying an AutoFormat to the cell range.
+ */
+ interface com::sun::star::table::XAutoFormattable;
+
+
+ /** provides access to the spreadsheet that contains this cell range.
+ */
+ interface com::sun::star::sheet::XSheetCellRange;
+
+
+ /** provides simultaneous access to the contents of all cells.
+ */
+ interface com::sun::star::sheet::XCellRangeData;
+
+
+ /** provides simultaneous access to the formula contents of all cells.
+
+ @since OOo 1.1.2
+ */
+ [optional] interface com::sun::star::sheet::XCellRangeFormula;
+
+
+ /** provides access to the cell range address of this range.
+ */
+ interface com::sun::star::sheet::XCellRangeAddressable;
+
+
+ /** provides computation of a value based on the contents of all
+ cells of this range and to clear specific cells.
+ */
+ interface com::sun::star::sheet::XSheetOperation;
+
+
+ /** provides filling out the cell range automatically with values based
+ on a start value, step count and fill mode.
+ */
+ interface com::sun::star::sheet::XCellSeries;
+
+
+ /** provides handling of array formulas.
+ */
+ interface com::sun::star::sheet::XArrayFormulaRange;
+
+
+ /** provides access to the Multiple Operations feature.
+ */
+ interface com::sun::star::sheet::XMultipleOperation;
+
+
+ /** provides sorting functionality.
+ */
+ interface com::sun::star::util::XSortable;
+
+
+ /** provides functionality to import data from external data sources.
+
+ @see com::sun::star::sheet::DatabaseImportDescriptor
+
+ */
+ interface com::sun::star::util::XImportable;
+
+
+ /** provides calculating SubTotal values in this range.
+ */
+ interface com::sun::star::sheet::XSubTotalCalculatable;
+
+
+ /** provides filtering the contents of this range.
+ */
+ interface com::sun::star::sheet::XSheetFilterableEx;
+
+
+ /** provide access to a collection of equal-formatted cell ranges.
+ */
+ interface com::sun::star::sheet::XCellFormatRangesSupplier;
+
+
+ /** provide access to a collection of equal-formatted cell ranges.
+ */
+ interface com::sun::star::sheet::XUniqueCellFormatRangesSupplier;
+
+
+ /** provides modifying the source data cells of a chart and makes
+ it possible to learn about changes in the cell values.
+ */
+ interface com::sun::star::chart::XChartDataArray;
+
+
+ [optional] interface com::sun::star::beans::XTolerantMultiPropertySet;
+
+
+ /**
+
+ @since OOo 2.0
+
+ */
+ [optional] interface com::sun::star::util::XModifyBroadcaster;
+
+
+ /** contains the position of the top left cell of this range in
+ the sheet (in 1/100 mm).
+
+ This property contains the absolute position in the whole
+ sheet, not the position in the visible area.
+ */
+ [readonly, property] com::sun::star::awt::Point Position;
+
+
+ /** contains the size of this range (in 1/100 mm).
+ */
+ [readonly, property] com::sun::star::awt::Size Size;
+
+
+ /** contains the conditional formatting settings for this cell.
+
+ After a conditional format has been changed it has to be
+ reinserted into the property set.
+
+ @see com::sun::star::sheet::TableConditionalFormat
+ */
+ [property] com::sun::star::sheet::XSheetConditionalEntries
+ ConditionalFormat;
+
+
+ /** contains the conditional formatting settings for this cell,
+ using localized formulas.
+
+ After a conditional format has been changed it has to be
+ reinserted into the property set.
+
+ @see com::sun::star::sheet::TableConditionalFormat
+ */
+ [optional, property] com::sun::star::sheet::XSheetConditionalEntries
+ ConditionalFormatLocal;
+
+
+ /** contains the data validation settings for this cell.
+
+ After the data validation settings have been changed the
+ validation has to be reinserted into the property set.
+
+ @see com::sun::star::sheet::TableValidation
+ */
+ [property] com::sun::star::beans::XPropertySet Validation;
+
+
+ /** contains the data validation settings for this cell,
+ using localized formulas.
+
+ After the data validation settings have been changed the
+ validation has to be reinserted into the property set.
+
+ @see com::sun::star::sheet::TableValidation
+ */
+ [optional, property] com::sun::star::beans::XPropertySet ValidationLocal;
+
+
+ /** Returns the absolute address of the range as string, e.g. "$Sheet1.$B$2:$D$5".
+ */
+ [optional, readonly, property] string AbsoluteName;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/SheetCellRanges.idl b/offapi/com/sun/star/sheet/SheetCellRanges.idl
new file mode 100644
index 000000000..a62ee4cee
--- /dev/null
+++ b/offapi/com/sun/star/sheet/SheetCellRanges.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_sheet_SheetCellRanges_idl__
+#define __com_sun_star_sheet_SheetCellRanges_idl__
+
+
+#include
+#include
+#include
+#include
+#include
+#include
+
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a collection of cell ranges in a spreadsheet document.
+
+ @see com::sun::star::sheet::SheetCellRange
+ */
+published service SheetCellRanges
+{
+
+ /** contributes common cell formatting properties.
+ */
+ service com::sun::star::table::CellProperties;
+
+
+ /** contributes properties for character formatting of Western text.
+ */
+ service com::sun::star::style::CharacterProperties;
+
+
+ /** contributes properties for character formatting of Asian text.
+ */
+ service com::sun::star::style::CharacterPropertiesAsian;
+
+
+ /** contributes properties for character formatting of Complex text.
+ */
+ service com::sun::star::style::CharacterPropertiesComplex;
+
+
+ /** contributes properties for paragraph formatting.
+ */
+ service com::sun::star::style::ParagraphProperties;
+
+
+ /** provides interfaces to find cells with specific properties.
+ */
+ service com::sun::star::sheet::SheetRangesQuery;
+
+
+ /** provides "Find and Replace" functionality.
+
+ The property
+ com::sun::star::util::SearchDescriptor::SearchWords
+ has a different meaning in spreadsheets: If set to `TRUE`, the
+ spreadsheet searches for cells containing the search text only.
+ */
+ interface com::sun::star::util::XReplaceable;
+
+
+ /** provides modifying the cell indentation.
+ */
+ interface com::sun::star::util::XIndent;
+
+
+ /** provides computation of a value based on the contents of all
+ cells of this range and to clear specific cells.
+ */
+ interface com::sun::star::sheet::XSheetOperation;
+
+
+ /** provides modifying the source data cells of a chart and makes
+ it possible to learn about changes in the cell values.
+ */
+ interface com::sun::star::chart::XChartDataArray;
+
+
+ /** provides methods to access cell ranges via index and to add and
+ remove cell ranges.
+ */
+ interface com::sun::star::sheet::XSheetCellRangeContainer;
+
+
+ /** creates an enumeration of all cell ranges.
+
+ @see com::sun::star::sheet::SheetCellRangesEnumeration
+ */
+ interface com::sun::star::container::XEnumerationAccess;
+
+
+ /** provides access of the cell ranges via an user-defined name.
+
+ Later the range can be found, replaced or removed using that
+ name.
+ */
+ interface com::sun::star::container::XNameContainer;
+
+
+ /** contains the conditional formatting settings for this cell.
+
+ After a conditional format has been changed it has to be
+ reinserted into the property set.
+
+ @see com::sun::star::sheet::TableConditionalFormat
+ */
+ [property] com::sun::star::sheet::XSheetConditionalEntries
+ ConditionalFormat;
+
+
+ /** contains the conditional formatting settings for this cell,
+ using localized formulas.
+
+ After a conditional format has been changed it has to be
+ reinserted into the property set.
+
+ @see com::sun::star::sheet::TableConditionalFormat
+ */
+ [optional, property] com::sun::star::sheet::XSheetConditionalEntries
+ ConditionalFormatLocal;
+
+
+ /** contains the data validation settings for this cell.
+
+ After the data validation settings have been changed the
+ validation has to be reinserted into the property set.
+
+ @see com::sun::star::sheet::TableValidation
+ */
+ [property] com::sun::star::beans::XPropertySet Validation;
+
+
+ /** contains the data validation settings for this cell,
+ using localized formulas.
+
+ After the data validation settings have been changed the
+ validation has to be reinserted into the property set.
+
+ @see com::sun::star::sheet::TableValidation
+ */
+ [optional, property] com::sun::star::beans::XPropertySet ValidationLocal;
+
+
+ /** Returns the absolute address of the ranges as string, e.g. "$Sheet1.$B$2:$D$5".
+ */
+ [optional, readonly, property] string AbsoluteName;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/SheetCellRangesEnumeration.idl b/offapi/com/sun/star/sheet/SheetCellRangesEnumeration.idl
new file mode 100644
index 000000000..254710949
--- /dev/null
+++ b/offapi/com/sun/star/sheet/SheetCellRangesEnumeration.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_sheet_SheetCellRangesEnumeration_idl__
+#define __com_sun_star_sheet_SheetCellRangesEnumeration_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents an enumeration of cell ranges in a spreadsheet document.
+
+ @see com::sun::star::sheet::SheetCellRanges
+ */
+published service SheetCellRangesEnumeration
+{
+
+ /** provides methods to access the cell ranges in the enumeration.
+
+ @see com::sun::star::sheet::SheetCellRange
+ */
+ interface com::sun::star::container::XEnumeration;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/SheetFilterDescriptor.idl b/offapi/com/sun/star/sheet/SheetFilterDescriptor.idl
new file mode 100644
index 000000000..5fc6cbcfd
--- /dev/null
+++ b/offapi/com/sun/star/sheet/SheetFilterDescriptor.idl
@@ -0,0 +1,129 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_sheet_SheetFilterDescriptor_idl__
+#define __com_sun_star_sheet_SheetFilterDescriptor_idl__
+
+#include
+#include
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a description of how a cell range is to be filtered.
+
+ The descriptor contains properties and a collection of filter
+ conditions (filter fields) which control the behavior of a filter
+ operation.
+ */
+published service SheetFilterDescriptor
+{
+
+ /** provides access to the collection of filter fields.
+ */
+ interface XSheetFilterDescriptor;
+
+
+ /** provides access to the collection of filter fields.
+
+ This interface provides a sequence of TableFilterField2
+ structures supporting a wider range of comparison operators, compared
+ to the TableFilterField structure provided by interface
+ XSheetFilterDescriptor.
+
+ @since OOo 3.2
+ */
+ [optional] interface XSheetFilterDescriptor2;
+
+
+//!published service PropertySet
+ /** provides access to the properties.
+ */
+ interface com::sun::star::beans::XPropertySet;
+
+
+ /** specifies if the case of letters is important when comparing entries.
+ */
+ [property] boolean IsCaseSensitive;
+
+
+ /** specifies if duplicate entries are left out of the result.
+ */
+ [property] boolean SkipDuplicates;
+
+
+ /** specifies if the TableFilterField::StringValue
+ strings are interpreted as regular expressions.
+ */
+ [property] boolean UseRegularExpressions;
+
+
+ /** specifies if the SheetFilterDescriptor::OutputPosition
+ position is saved for future calls.
+
+
This is only used if
+ SheetFilterDescriptor::CopyOutputData is `TRUE`.
+ */
+ [property] boolean SaveOutputPosition;
+
+
+ /** specifies if columns or rows are filtered.
+ */
+ [property] com::sun::star::table::TableOrientation Orientation;
+
+
+ /** specifies if the first row (or column) contains headers which should
+ not be filtered.
+ */
+ [property] boolean ContainsHeader;
+
+
+ /** specifies if the filtered data should be copied to another position
+ in the document.
+ */
+ [property] boolean CopyOutputData;
+
+
+ /** specifies the position where filtered data are to be copied.
+
+ This is only used if
+ SheetFilterDescriptor::CopyOutputData is `TRUE`.
+ */
+ [property] com::sun::star::table::CellAddress OutputPosition;
+
+
+ /** returns the maximum number of filter fields in the descriptor.
+
+ This read-only property indicates the maximum count of fields the
+ current implementation supports.
+ */
+ [readonly, property] long MaxFieldCount;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/SheetLink.idl b/offapi/com/sun/star/sheet/SheetLink.idl
new file mode 100644
index 000000000..c0da085de
--- /dev/null
+++ b/offapi/com/sun/star/sheet/SheetLink.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_sheet_SheetLink_idl__
+#define __com_sun_star_sheet_SheetLink_idl__
+
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a sheet link.
+
+ A sheet link contains the source data of linked sheets, i.e. the
+ URL and sheet name of the external document.
+
+ To create a linked sheet, the sheet which will be used as linked
+ sheet has to exist already. The method
+ XSheetLinkable::link() creates a SheetLink
+ object in the document's SheetLinks collection and links
+ the sheet to the specified external sheet.
+ */
+published service SheetLink
+{
+
+ /** provides access to the name of the linked document.
+
+ This name is equal to the Url property.
+ */
+ interface com::sun::star::container::XNamed;
+
+
+ /** provides methods to reload the external data.
+ */
+ interface com::sun::star::util::XRefreshable;
+
+
+//!published service PropertySet
+ /** provides access to the properties.
+ */
+ interface com::sun::star::beans::XPropertySet;
+
+
+ /** specifies the URL of the source document.
+ */
+ [property] string Url;
+
+
+ /** specifies the name of the filter needed to load the source
+ document.
+ */
+ [property] string Filter;
+
+
+ /** specifies the filter options needed to load the source document.
+ */
+ [property] string FilterOptions;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/SheetLinkMode.idl b/offapi/com/sun/star/sheet/SheetLinkMode.idl
new file mode 100644
index 000000000..1b0800d1d
--- /dev/null
+++ b/offapi/com/sun/star/sheet/SheetLinkMode.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_sheet_SheetLinkMode_idl__
+#define __com_sun_star_sheet_SheetLinkMode_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** used to specify how a sheet is linked to another sheet.
+
+ @see com::sun::star::sheet::SheetLinks
+ @see com::sun::star::sheet::SheetLink
+ @see com::sun::star::sheet::XSheetLinkable
+ */
+published enum SheetLinkMode
+{
+
+ /** sheet is not linked.
+ */
+ NONE,
+
+
+ /** all contents (values and formulas) are copied.
+ */
+ NORMAL,
+
+
+ /** instead of using formulas, the result values are copied.
+ */
+ VALUE
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/SheetLinks.idl b/offapi/com/sun/star/sheet/SheetLinks.idl
new file mode 100644
index 000000000..8681100ac
--- /dev/null
+++ b/offapi/com/sun/star/sheet/SheetLinks.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_sheet_SheetLinks_idl__
+#define __com_sun_star_sheet_SheetLinks_idl__
+
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a collection of sheet links.
+
+ @see com::sun::star::sheet::SheetLink
+ @see com::sun::star::sheet::SpreadsheetDocument
+ */
+published service SheetLinks
+{
+
+ /** provides access to the sheet links via index.
+
+ @see com::sun::star::sheet::SheetLink
+
+ */
+ interface com::sun::star::container::XIndexAccess;
+
+
+ /** provides access to the sheet links using the name of the linked
+ document.
+
+ @see com::sun::star::sheet::SheetLink
+
+ */
+ interface com::sun::star::container::XNameAccess;
+
+
+ /** creates an enumeration of all sheet links.
+
+ @see com::sun::star::sheet::SheetLinksEnumeration
+
+ */
+ interface com::sun::star::container::XEnumerationAccess;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/SheetLinksEnumeration.idl b/offapi/com/sun/star/sheet/SheetLinksEnumeration.idl
new file mode 100644
index 000000000..76a9b86a8
--- /dev/null
+++ b/offapi/com/sun/star/sheet/SheetLinksEnumeration.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_sheet_SheetLinksEnumeration_idl__
+#define __com_sun_star_sheet_SheetLinkssEnumeration_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents an enumeration of sheet links.
+
+ @see com::sun::star::sheet::SheetLink
+ */
+published service SheetLinksEnumeration
+{
+
+ /** provides methods to access the sheet links in the enumeration.
+
+ @see com::sun::star::sheet::SheetLink
+ */
+ interface com::sun::star::container::XEnumeration;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/SheetRangesQuery.idl b/offapi/com/sun/star/sheet/SheetRangesQuery.idl
new file mode 100644
index 000000000..ad4e1c0d6
--- /dev/null
+++ b/offapi/com/sun/star/sheet/SheetRangesQuery.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_sheet_SheetRangesQuery_idl__
+#define __com_sun_star_sheet_SheetRangesQuery_idl__
+
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** provides interfaces to find cells with specific properties.
+ */
+published service SheetRangesQuery
+{
+
+ /** provides methods to query for cell ranges with specific contents.
+ */
+ interface com::sun::star::sheet::XCellRangesQuery;
+
+
+ /** provides methods to find dependent cells of formula cells.
+ */
+ interface com::sun::star::sheet::XFormulaQuery;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/SheetSortDescriptor.idl b/offapi/com/sun/star/sheet/SheetSortDescriptor.idl
new file mode 100644
index 000000000..1a3a7955b
--- /dev/null
+++ b/offapi/com/sun/star/sheet/SheetSortDescriptor.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_sheet_SheetSortDescriptor_idl__
+#define __com_sun_star_sheet_SheetSortDescriptor_idl__
+
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** a description of how a cell range is to be sorted.
+
+ This service extends the com::sun::star::table::TableSortDescriptor
+ service with spreadsheet specific properties.
+ */
+published service SheetSortDescriptor
+{
+
+ /** provides common table sorting properties.
+ */
+ service com::sun::star::table::TableSortDescriptor;
+
+
+ /** specifies if cell formats are moved with the contents
+ they belong to.
+ */
+ [property] boolean BindFormatsToContent;
+
+
+ /** specifies if a user defined sorting list is used.
+ */
+ [property] boolean IsUserListEnabled;
+
+
+ /** specifies which user defined sorting list is used.
+
+ This property is only used, if
+ SheetSortDescriptor::IsUserListEnabled is `TRUE`.
+ */
+ [property] long UserListIndex;
+
+
+ /** specifies if the sorted data should be copied to another
+ position in the document.
+ */
+ [property] boolean CopyOutputData;
+
+
+ /** specifies the position where sorted data are to be copied.
+
+ This property is only used, if
+ SheetSortDescriptor::CopyOutputData is `TRUE`.
+ */
+ [property] com::sun::star::table::CellAddress OutputPosition;
+
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/SheetSortDescriptor2.idl b/offapi/com/sun/star/sheet/SheetSortDescriptor2.idl
new file mode 100644
index 000000000..5f1e25f69
--- /dev/null
+++ b/offapi/com/sun/star/sheet/SheetSortDescriptor2.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_sheet_SheetSortDescriptor2_idl__
+#define __com_sun_star_sheet_SheetSortDescriptor2_idl__
+
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** a description of how a cell range is to be sorted.
+
+ This service extends the com::sun::star::table::TableSortDescriptor2
+ service with spreadsheet specific properties.
+
+ @since OOo 1.1.2
+ */
+published service SheetSortDescriptor2
+{
+
+ /** provides common sorting properties.
+
+ The fields in the SortFields property are not fully supported at the moment.
+ IsCaseSensitive, CollatorLocale and CollatorAlgorithm are only supported once and if
+ every field contains different of this it gives undefined results.
+
+ */
+ service com::sun::star::table::TableSortDescriptor2;
+
+
+ /** specifies if cell formats are moved with the contents
+ they belong to.
+ */
+ [property] boolean BindFormatsToContent;
+
+
+ /** specifies if a user defined sorting list is used.
+ */
+ [property] boolean IsUserListEnabled;
+
+
+ /** specifies which user defined sorting list is used.
+
+ This property is only used, if
+ SheetSortDescriptor::IsUserListEnabled is `TRUE`.
+ */
+ [property] long UserListIndex;
+
+
+ /** specifies if the sorted data should be copied to another
+ position in the document.
+ */
+ [property] boolean CopyOutputData;
+
+
+ /** specifies the position where sorted data are to be copied.
+
+ This property is only used, if
+ SheetSortDescriptor::CopyOutputData is `TRUE`.
+ */
+ [property] com::sun::star::table::CellAddress OutputPosition;
+
+
+ /** specifies whether the first row or column (depending on
+ com::sun::star::table::TableSortDescriptor::Orientation) is a header which
+ should not be sorted.
+ */
+ [property] boolean ContainsHeader;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/SingleReference.idl b/offapi/com/sun/star/sheet/SingleReference.idl
new file mode 100644
index 000000000..2f0999247
--- /dev/null
+++ b/offapi/com/sun/star/sheet/SingleReference.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_sheet_SingleReference_idl__
+#define __com_sun_star_sheet_SingleReference_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** contains a reference to a single cell.
+ */
+struct SingleReference
+{
+
+ /** is the absolute column number.
+ */
+ long Column;
+
+
+ /** is the relative column number.
+ */
+ long RelativeColumn;
+
+
+ /** is the absolute row number.
+ */
+ long Row;
+
+
+ /** is the relative row number.
+ */
+ long RelativeRow;
+
+
+ /** is the absolute sheet number.
+ */
+ long Sheet;
+
+
+ /** is the relative sheet number.
+ */
+ long RelativeSheet;
+
+
+ /** contains flags.
+ @see ReferenceFlags
+ */
+ long Flags;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/Solver.idl b/offapi/com/sun/star/sheet/Solver.idl
new file mode 100644
index 000000000..0b664e6fd
--- /dev/null
+++ b/offapi/com/sun/star/sheet/Solver.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_sheet_Solver_idl__
+#define __com_sun_star_sheet_Solver_idl__
+
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** A solver for a model that is defined by spreadsheet cells.
+ */
+service Solver: XSolver;
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/SolverConstraint.idl b/offapi/com/sun/star/sheet/SolverConstraint.idl
new file mode 100644
index 000000000..68600fb2f
--- /dev/null
+++ b/offapi/com/sun/star/sheet/SolverConstraint.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_sheet_SolverConstraint_idl__
+#define __com_sun_star_sheet_SolverConstraint_idl__
+
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** is used to specify a constraint for a solver model.
+ */
+struct SolverConstraint
+{
+ /// The address of the cell that is constrained.
+ com::sun::star::table::CellAddress Left;
+
+ /// The type of the constraint.
+ SolverConstraintOperator Operator;
+
+ /** The comparison value, of type `double` or
+ com::sun::star::table::CellAddress.
+ */
+ any Right;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/SolverConstraintOperator.idl b/offapi/com/sun/star/sheet/SolverConstraintOperator.idl
new file mode 100644
index 000000000..c92583653
--- /dev/null
+++ b/offapi/com/sun/star/sheet/SolverConstraintOperator.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_sheet_SolverConstraintOperator_idl__
+#define __com_sun_star_sheet_SolverConstraintOperator_idl__
+
+
+module com { module sun { module star { module sheet {
+
+
+/** is used to specify the type of SolverConstraint.
+ */
+enum SolverConstraintOperator
+{
+ /// The cell value is less or equal to the specified value.
+ LESS_EQUAL,
+
+ /// The cell value is equal to the specified value.
+ EQUAL,
+
+ /// The cell value is greater or equal to the specified value.
+ GREATER_EQUAL,
+
+ /// The cell value is an integer value.
+ INTEGER,
+
+ /// The cell value is a binary value (0 or 1).
+ BINARY
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/Spreadsheet.idl b/offapi/com/sun/star/sheet/Spreadsheet.idl
new file mode 100644
index 000000000..61762ce7e
--- /dev/null
+++ b/offapi/com/sun/star/sheet/Spreadsheet.idl
@@ -0,0 +1,202 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_sheet_Spreadsheet_idl__
+#define __com_sun_star_sheet_Spreadsheet_idl__
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+
+module com { module sun { module star { module sheet {
+
+
+/** represents a complete spreadsheet in a spreadsheet document.
+
+ This service extents the service SheetCellRange. A spreadsheet is
+ nothing else than a cell range with extended functionality.
+
+ @see com::sun::star::sheet::SpreadsheetDocument
+ */
+service Spreadsheet
+{
+
+ /** provides functionality for cell range handling.
+ */
+ service com::sun::star::sheet::SheetCellRange;
+
+
+ service com::sun::star::sheet::Scenario;
+
+
+ /** provides methods to create a cell cursor.
+ */
+ interface com::sun::star::sheet::XSpreadsheet;
+
+
+ /** provides accessing the spreadsheet name.
+ */
+ interface com::sun::star::container::XNamed;
+
+
+ /** provides methods to protect and unprotect the sheet contents.
+ */
+ interface com::sun::star::util::XProtectable;
+
+
+ /** provides access to the collection of DataPilot tables.
+ */
+ interface com::sun::star::sheet::XDataPilotTablesSupplier;
+
+
+ /** provides access to the collection of scenarios.
+ */
+ interface com::sun::star::sheet::XScenariosSupplier;
+
+
+ /** provides access to the collection of annotations.
+ */
+ interface com::sun::star::sheet::XSheetAnnotationsSupplier;
+
+
+ /** provides access to the draw page of this spreadsheet.
+ */
+ interface com::sun::star::drawing::XDrawPageSupplier;
+
+
+ /** provides access to the collection of chart objects.
+ */
+ interface com::sun::star::table::XTableChartsSupplier;
+
+
+ /** provides methods to move cell ranges inside the spreadsheet or to
+ other spreadsheets in this document.
+ */
+ interface com::sun::star::sheet::XCellRangeMovement;
+
+
+ /** provides access to the print area settings of this sheet.
+ */
+ interface com::sun::star::sheet::XPrintAreas;
+
+
+ /** provides access to the page breaks of this sheet.
+ */
+ interface com::sun::star::sheet::XSheetPageBreak;
+
+
+ /** provides access to row and column outline settings.
+ */
+ interface com::sun::star::sheet::XSheetOutline;
+
+
+ /** provides access to the auditing (detective) functionality.
+ */
+ interface com::sun::star::sheet::XSheetAuditing;
+
+
+ /** provides methods for a linked sheet.
+ */
+ interface com::sun::star::sheet::XSheetLinkable;
+
+
+ /** provides a method to set an external name at the sheet.
+
+ @since OOo 3.0
+ */
+ [optional] interface com::sun::star::sheet::XExternalSheetName;
+
+
+ /** specifies if the sheet is visible.
+ */
+ [property] boolean IsVisible;
+
+
+ /** specifies the page style of the sheet.
+ */
+ [property] string PageStyle;
+
+
+ /** specifies the direction of the columns in the spreadsheet.
+
+ Possible values are com::sun::star::text::WritingMode2::LR_TB to
+ order the columns from left to right, and
+ com::sun::star::text::WritingMode2::RL_TB to order the columns from
+ right to left.
+
+ @see com::sun::star::text::WritingMode2
+ */
+ [optional, property] short TableLayout;
+
+
+ /** specifies whether the sheet has an automatic print area.
+
+ The automatic print area is used to print a sheet without
+ explicit print areas, also if other sheets have print areas.
+
+ If the property is true, and there are print areas on other sheets,
+ the used area of this sheet is also printed.
+
+ If the property is false, and there are print areas on other sheets,
+ only these specified print areas are printed.
+
+ If there are no print areas on the other sheets it does not matter
+ whether property is true or false.
+
+ This property can only be true, if there are no print areas given
+ on this sheet. If the property is set to true the print areas of
+ this sheet will be removed.
+
+ @see XPrintAreas
+
+ */
+ [optional, property] boolean AutomaticPrintArea;
+
+ /** specifies the color of the sheet tab, if any.
+ */
+ [optional, property] com::sun::star::util::Color TabColor;
+
+ /** specifies all conditional formats of that sheet
+ */
+ [optional, property] com::sun::star::sheet::XConditionalFormats ConditionalFormats;
+};
+
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/sheet/SpreadsheetDocument.idl b/offapi/com/sun/star/sheet/SpreadsheetDocument.idl
new file mode 100644
index 000000000..a72a127dd
--- /dev/null
+++ b/offapi/com/sun/star/sheet/SpreadsheetDocument.idl
@@ -0,0 +1,192 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef __com_sun_star_sheet_SpreadsheetDocument_idl__
+#define __com_sun_star_sheet_SpreadsheetDocument_idl__
+
+#include
+#include
+
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+
+#include