Kaydet (Commit) 7abdda1b authored tarafından Markus Mohrhard's avatar Markus Mohrhard

fix all UNO IDL errors in new cond format API

Change-Id: I004a3899363280c16a60a5cca03d8940baeeae5c
üst 1da98a2f
...@@ -1171,9 +1171,13 @@ $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,com/sun/star/sheet,\ ...@@ -1171,9 +1171,13 @@ $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,com/sun/star/sheet,\
Cells \ Cells \
CellsEnumeration \ CellsEnumeration \
ConsolidationDescriptor \ ConsolidationDescriptor \
ConditionalFormat \
ConditionFormatEntry \
ColorScale \
DDELink \ DDELink \
DDELinks \ DDELinks \
DDELinksEnumeration \ DDELinksEnumeration \
DataBar \
DataPilotDescriptor \ DataPilotDescriptor \
DataPilotField \ DataPilotField \
DataPilotFieldGroup \ DataPilotFieldGroup \
...@@ -1209,6 +1213,7 @@ $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,com/sun/star/sheet,\ ...@@ -1209,6 +1213,7 @@ $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,com/sun/star/sheet,\
FunctionDescriptionEnumeration \ FunctionDescriptionEnumeration \
FunctionDescriptions \ FunctionDescriptions \
HeaderFooterContent \ HeaderFooterContent \
IconSet \
LabelRange \ LabelRange \
LabelRanges \ LabelRanges \
LabelRangesEnumeration \ LabelRangesEnumeration \
...@@ -3356,9 +3361,14 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,com/sun/star/sheet,\ ...@@ -3356,9 +3361,14 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,com/sun/star/sheet,\
CellDeleteMode \ CellDeleteMode \
CellFlags \ CellFlags \
CellInsertMode \ CellInsertMode \
ColorScaleEntryType \
ComplexReference \ ComplexReference \
ConditionEntryType \
ConditionFormatOperator \
ConditionOperator \ ConditionOperator \
ConditionOperator2 \ ConditionOperator2 \
DataBarAxis \
DataBarEntryType \
DDEItemInfo \ DDEItemInfo \
DDELinkInfo \ DDELinkInfo \
DDELinkMode \ DDELinkMode \
...@@ -3404,6 +3414,8 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,com/sun/star/sheet,\ ...@@ -3404,6 +3414,8 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,com/sun/star/sheet,\
FunctionCategory \ FunctionCategory \
GeneralFunction \ GeneralFunction \
GoalResult \ GoalResult \
IconSetFormatEntry \
IconSetType \
LocalizedName \ LocalizedName \
MemberResult \ MemberResult \
MemberResultFlags \ MemberResultFlags \
...@@ -3448,12 +3460,15 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,com/sun/star/sheet,\ ...@@ -3448,12 +3460,15 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,com/sun/star/sheet,\
XCellRangesAccess \ XCellRangesAccess \
XCellRangesQuery \ XCellRangesQuery \
XCellSeries \ XCellSeries \
XColorScaleEntry \
XCompatibilityNames \ XCompatibilityNames \
XConditionEntry \
XConditionalFormat \ XConditionalFormat \
XConditionalFormats \ XConditionalFormats \
XConditionEntry \ XConditionEntry \
XConsolidatable \ XConsolidatable \
XConsolidationDescriptor \ XConsolidationDescriptor \
XDataBarEntry \
XDDELink \ XDDELink \
XDDELinkResults \ XDDELinkResults \
XDDELinks \ XDDELinks \
...@@ -3489,6 +3504,7 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,com/sun/star/sheet,\ ...@@ -3489,6 +3504,7 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,com/sun/star/sheet,\
XGoalSeek \ XGoalSeek \
XHeaderFooterContent \ XHeaderFooterContent \
XHierarchiesSupplier \ XHierarchiesSupplier \
XIconSetEntry \
XLabelRange \ XLabelRange \
XLabelRanges \ XLabelRanges \
XLevelsSupplier \ XLevelsSupplier \
......
...@@ -16,13 +16,16 @@ service ConditionFormatEntry ...@@ -16,13 +16,16 @@ service ConditionFormatEntry
{ {
interface XConditionEntry; interface XConditionEntry;
[property] ConditionFormatOperator Operator; /**
* See com.sun.star.sheet.ConditionFormatOperator for valid values
*/
[property] long Operator;
[property] string StyleName; [property] string StyleName;
[optional, property] Formula1; [optional, property] string Formula1;
[optional, property] Formula2; [optional, property] string Formula2;
}; };
......
...@@ -30,7 +30,7 @@ module com { module sun { module star { module sheet { ...@@ -30,7 +30,7 @@ module com { module sun { module star { module sheet {
service ConditionalFormat service ConditionalFormat
{ {
interface com::sun::star::beans::XPropertySet; interface com::sun::star::beans::XPropertySet;
interface com::sun::star::uno::XConditionalFormat; interface com::sun::star::sheet::XConditionalFormat;
/** represents the range for the conditional format /** represents the range for the conditional format
All ranges have to be in the same sheet. All ranges have to be in the same sheet.
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
#include <com/sun/star/sheet/XConditionEntry.idl> #include <com/sun/star/sheet/XConditionEntry.idl>
#include <com/sun/star/sheet/XColorScaleEntry.idl> #include <com/sun/star/sheet/XColorScaleEntry.idl>
#include <com/sun/star/sheet/DataBarAxis.idl> #include <com/sun/star/sheet/DataBarAxis.idl>
#include <com/sun/star/util/Color.idl>
module com { module sun { module star { module sheet { module com { module sun { module star { module sheet {
...@@ -22,7 +23,10 @@ service DataBar ...@@ -22,7 +23,10 @@ service DataBar
[property] boolean ShowValue; [property] boolean ShowValue;
[property] DataBarAxis AxisPosition; /**
* See com.sun.star.sheet.DataBarAxis for possible values
*/
[property] long AxisPosition;
[property] boolean Gradient; [property] boolean Gradient;
......
...@@ -22,7 +22,10 @@ service IconSet ...@@ -22,7 +22,10 @@ service IconSet
[property] boolean Reverse; [property] boolean Reverse;
[property] IconSetType Icons; /**
* See com.sun.star.sheet.IconSetType for possible values.
*/
[property] long Icons;
[property] sequence<XIconSetEntry> IconSetEntries; [property] sequence<XIconSetEntry> IconSetEntries;
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
module com { module sun { module star { module sheet { module com { module sun { module star { module sheet {
constants IconSetEntryType constants IconSetFormatEntry
{ {
const long ICONSET_PERCENTILE = 0; const long ICONSET_PERCENTILE = 0;
......
...@@ -10,21 +10,29 @@ ...@@ -10,21 +10,29 @@
#ifndef __com_sun_star_sheet_XColorScaleEntry_idl__ #ifndef __com_sun_star_sheet_XColorScaleEntry_idl__
#define __com_sun_star_sheet_XColorScaleEntry_idl__ #define __com_sun_star_sheet_XColorScaleEntry_idl__
#include <com/sun/star/util/Color.idl>
module com { module sun { module star { module sheet { module com { module sun { module star { module sheet {
interface XColorScaleEntry interface XColorScaleEntry
{ {
com::sun::star::util::Color getColor(); com::sun::star::util::Color getColor();
void setColor(com::sun::star::util::Color Color); void setColor( [in] com::sun::star::util::Color Color);
string getFormula(); string getFormula();
void setFormula(string Formula); void setFormula( [in] string Formula);
ColorScaleEntryType getType(); /**
* See com.sun.star.sheet.ColorScaleEntryType for possible values
*/
long getType();
void setType(ColorScaleEntryType Type); /**
* See com.sun.star.sheet.ColorScaleEntryType for possible values
*/
void setType( [in] long Type);
}; };
......
...@@ -16,11 +16,17 @@ interface XDataBarEntry ...@@ -16,11 +16,17 @@ interface XDataBarEntry
{ {
string getFormula(); string getFormula();
void setFormula(string Formula); void setFormula( [in] string Formula);
DataBarEntryType getType(); /**
* See com.sun.star.sheet.DataBarEntryType for possible values
*/
long getType();
void setType(DataBarEntryType Type); /**
* See com.sun.star.sheet.DataBarEntryType for possible values
*/
void setType( [in] long Type);
}; };
......
...@@ -18,11 +18,17 @@ interface XIconSetEntry ...@@ -18,11 +18,17 @@ interface XIconSetEntry
{ {
string getFormula(); string getFormula();
void setFormula(string Formula); void setFormula([in] string Formula);
IconSetEntryType getType(); /**
* See com.sun.star.sheet.IconSetEntryType for possible values.
*/
long getType();
void setType(IconSetEntryType Type); /**
* See com.sun.star.sheet.IconSetEntryType for possible values.
*/
void setType([in] long Type);
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment