forked from amazingfate/loongoffice
...which were used by ildc, which is gone since a8485d558fab53291e2530fd9a1be581c1628deb "[API CHANGE] Remove deprecated idlc and regmerge from the SDK", and have always been ignored as legacy by its unoidl-write replacement. This change has been carried out (making use of GNU sed extensions) with > for i in $(git ls-files \*.idl); do sed -i -z -E -e 's/\n\n((#[^\n]*\n)+\n)*(#[^\n]*\n)+\n?/\n\n/g' -e 's/\n(#[^\n]*\n)+/\n/g' "$i"; done && git checkout extensions/source/activex/so_activex.idl odk/examples/OLE/activex/so_activex.idl which apparently happened to do the work. (The final two files are not UNOIDL source files.) Change-Id: Ic9369e05d46e8f7e8a304ab01740b171b92335cd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135683 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
148 lines
5.8 KiB
Plaintext
148 lines
5.8 KiB
Plaintext
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
/*
|
|
* This file is part of the LibreOffice project.
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*
|
|
* This file incorporates work covered by the following license notice:
|
|
*
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
* with this work for additional information regarding copyright
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
* except in compliance with the License. You may obtain a copy of
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
*/
|
|
|
|
module com
|
|
{
|
|
module sun
|
|
{
|
|
module star
|
|
{
|
|
module chart2
|
|
{
|
|
module data
|
|
{
|
|
|
|
service TabularDataProviderArguments
|
|
{
|
|
/** the range address string spanning all data.
|
|
|
|
<p>The range address string must be interpretable by the
|
|
component that implements XDataProvider and gets
|
|
this property as argument to
|
|
XDataProvider::detectArguments().</p>
|
|
|
|
<p>The representation string is of a form that may be used in the
|
|
user interface. Example for OOo Calc: "$Sheet1.$A$1:$D$7",
|
|
example for OOo Writer: "<Table1.A1:D7>".</p>
|
|
|
|
<p>When used as input, this range will be split in columns or
|
|
rows depending on the property
|
|
#DataRowSource.</p>
|
|
|
|
<p>When used as output of
|
|
XDataProvider::detectArguments() this is the
|
|
range that spans the ranges of all given
|
|
XDataSequences. If the result is ambiguous,
|
|
i.e., a splitting of this range would not yield the same
|
|
result, this property should be empty. The latter is the
|
|
case, when ranges are overlapping, the lengths of sequences
|
|
are not equal or even if the order of two sequences is swapped
|
|
(e.g. data comes from column A, C, B).</p>
|
|
*/
|
|
[property] string CellRangeRepresentation;
|
|
|
|
/** determines, whether data sequences are created out of columns
|
|
or rows in a table.
|
|
|
|
<p>If this property is not given as argument it is assumed to
|
|
com::sun::star::chart::ChartDataRowSource::COLUMNS,
|
|
i.e., the default is "take data from columns".</p>
|
|
*/
|
|
[property] ::com::sun::star::chart::ChartDataRowSource DataRowSource;
|
|
|
|
/** If data comes from columns, the first row will provide the
|
|
labels for all sequences, if data comes from rows, the first
|
|
column will provide the labels for all sequences.
|
|
|
|
<p>Even if this property is false, the
|
|
XLabeledDataSequence may contain a label, but
|
|
this will not be the first cell of the selection. It may be a
|
|
generic string like "Column C".</p>
|
|
|
|
<p>If this property is not given as argument it is assumed to
|
|
be `FALSE`, i.e., the default is "no labels".</p>
|
|
*/
|
|
[property] boolean FirstCellAsLabel;
|
|
|
|
/** determines the order of the created labeled sequences
|
|
|
|
<p>For example a SequenceMapping of [3,0,2,1] indicates that
|
|
the sequence from old position "3" should now be the first one.
|
|
Then comes the sequence from old position "0". Then that one
|
|
from old position "2" and then the sequence from old position "1".</p>
|
|
|
|
<p>If the SequenceMapping contains invalid indexes just
|
|
ignore those single indexes. For example if you only have three
|
|
labeled sequences and a SequenceMapping [2,5,1,0], you should
|
|
ignore the "5" and continue to place the sequence from
|
|
old index "1" to the next new position and so on.</p>
|
|
|
|
<p>If the given SequenceMapping does not cover all existing
|
|
labeled sequences just put the remaining sequences in old order
|
|
behind the others. For example you have 4 sequences and a
|
|
SequenceMapping [3,1]. The result should be as if [3,1,0,2]
|
|
was given.</p>
|
|
*/
|
|
[property] sequence< long > SequenceMapping;
|
|
|
|
/** If `FALSE` the data provider may create a data sequence
|
|
containing generated categories that fit the rest of the data,
|
|
like e.g. "Row 12", "Row 13", etc.
|
|
|
|
<p>This property is not relevant for the splitting up of the
|
|
data. It just indicates, if the chart wants to use part of
|
|
the data as categories, so that generic categories can be
|
|
returned if it doesn't.</p>
|
|
|
|
<p>The generic category labeled sequence returned should be
|
|
the first one in the returned XDataSource. It
|
|
needs no label. The values should have their role set to
|
|
"categories". The generic strings returned should also be
|
|
localized.</p>
|
|
*/
|
|
[optional, property] boolean HasCategories;
|
|
|
|
/** This property is for providing proprietary table indexes for
|
|
each table appearing in a range given in
|
|
CellRangeRepresentation.
|
|
|
|
@deprecated
|
|
|
|
<p>This argument is supported by Spreadsheets in order to be
|
|
able to export a document into the StarOffice 5.0 binary
|
|
format.</p>
|
|
|
|
<p>Example: If you have the sheets (Sheet1, Sheet2, Sheet3) in
|
|
your document and a chart uses the range
|
|
"Sheet2.A1:.A5 Sheet3.A1:.A5 Sheet2.B1:.B5 Sheet1:B1:.B5", your
|
|
TableNumberList would be "1 2 1 0". A simple range like
|
|
"Sheet1.A1:.E4" would have the TableNumberList in "0"</p>.
|
|
*/
|
|
[optional, property] string TableNumberList;
|
|
};
|
|
|
|
} ; // data
|
|
} ; // chart2
|
|
} ; // com
|
|
} ; // sun
|
|
} ; // star
|
|
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|