spire-xls 15.11.1__py3-none-win_amd64.whl → 16.2.0__py3-none-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- spire/xls/ColorScale.py +3 -3
- spire/xls/XlsName.py +13 -0
- spire/xls/XlsWorksheet.py +18 -0
- spire/xls/__init__.py +1 -0
- spire/xls/charts/Chart.py +1 -0
- spire/xls/charts/ChartDataLabels.py +1 -0
- spire/xls/charts/ChartPlotArea.py +1 -0
- spire/xls/charts/ChartShadow.py +1 -1
- spire/xls/charts/ChartSheet.py +1 -0
- spire/xls/charts/ChartTextArea.py +20 -19
- spire/xls/charts/XlsChart.py +12 -12
- spire/xls/charts/XlsChartAxis.py +3 -0
- spire/xls/charts/XlsChartCategoryAxis.py +1 -1
- spire/xls/charts/XlsChartDataLabelArea.py +17 -12
- spire/xls/charts/XlsChartDataLabels.py +19 -0
- spire/xls/charts/XlsChartDataTable.py +17 -12
- spire/xls/charts/XlsChartDropBar.py +4 -1
- spire/xls/charts/XlsChartFrameFormat.py +5 -1
- spire/xls/charts/XlsChartGridLine.py +2 -2
- spire/xls/charts/XlsChartInterior.py +2 -0
- spire/xls/charts/XlsChartLegend.py +2 -1
- spire/xls/charts/XlsChartLegendArea.py +18 -12
- spire/xls/charts/XlsChartSerie.py +4 -1
- spire/xls/charts/XlsChartSerieDataFormat.py +12 -3
- spire/xls/charts/XlsChartShape.py +13 -13
- spire/xls/charts/XlsChartTitleArea.py +2 -0
- spire/xls/charts/XlsChartWallOrFloor.py +8 -2
- spire/xls/collection/XlsChartFormatCollection.py +4 -4
- spire/xls/collection/XlsChartSeries.py +3 -3
- spire/xls/collection/pivot_table/PivotDataFields.py +1 -0
- spire/xls/collection/pivot_table/PivotTableFields.py +1 -1
- spire/xls/collection/pivot_table/XlsPivotCachesCollection.py +1 -0
- spire/xls/common/Boolean.py +2 -0
- spire/xls/common/Byte.py +2 -0
- spire/xls/common/Char.py +2 -0
- spire/xls/common/Color.py +2 -0
- spire/xls/common/Common.py +13 -0
- spire/xls/common/CultureInfo.py +2 -0
- spire/xls/common/DateTime.py +16 -0
- spire/xls/common/Double.py +2 -0
- spire/xls/common/EmfType.py +2 -0
- spire/xls/common/Encoding.py +2 -0
- spire/xls/common/FontStyle.py +2 -0
- spire/xls/common/GraphicsUnit.py +2 -0
- spire/xls/common/ICollection.py +3 -0
- spire/xls/common/IDictionary.py +2 -0
- spire/xls/common/IEnumerable.py +3 -0
- spire/xls/common/IEnumerator.py +2 -0
- spire/xls/common/IList.py +3 -0
- spire/xls/common/Int16.py +2 -0
- spire/xls/common/Int32.py +2 -0
- spire/xls/common/Int64.py +2 -0
- spire/xls/common/License.py +12 -0
- spire/xls/common/PixelFormat.py +2 -0
- spire/xls/common/Point.py +2 -0
- spire/xls/common/PointF.py +2 -0
- spire/xls/common/Rectangle.py +2 -0
- spire/xls/common/RectangleF.py +2 -0
- spire/xls/common/Regex.py +2 -0
- spire/xls/common/RegexOptions.py +2 -0
- spire/xls/common/Single.py +2 -0
- spire/xls/common/Size.py +2 -0
- spire/xls/common/SizeF.py +6 -4
- spire/xls/common/SpireObject.py +2 -0
- spire/xls/common/Stream.py +2 -0
- spire/xls/common/String.py +3 -1
- spire/xls/common/TimeSpan.py +2 -0
- spire/xls/common/UInt16.py +2 -0
- spire/xls/common/UInt32.py +2 -0
- spire/xls/common/UInt64.py +2 -0
- spire/xls/common/__init__.py +80 -9
- spire/xls/conditional_formatting/ConditionValue.py +0 -12
- spire/xls/conditional_formatting/XlsConditionValue.py +4 -6
- spire/xls/interfaces/IChartErrorBars.py +2 -0
- spire/xls/interfaces/IChartTrendLine.py +1 -0
- spire/xls/interfaces/IListObject.py +2 -0
- spire/xls/interfaces/IOleObject.py +2 -0
- spire/xls/interfaces/collections/IShapes.py +6 -6
- spire/xls/interfaces/pivot_table/IPivotTableOptions.py +12 -14
- spire/xls/lib/Spire.Xls.Base.dll +0 -0
- spire/xls/pivot_tables/PivotDataField.py +1 -1
- spire/xls/pivot_tables/PivotReportFilter.py +4 -4
- spire/xls/pivot_tables/PivotReportFilters.py +1 -1
- spire/xls/pivot_tables/XlsPivotCache.py +3 -1
- spire/xls/pivot_tables/XlsPivotField.py +2 -1
- spire/xls/pivot_tables/XlsPivotTable.py +4 -1
- spire/xls/sorting/SortColumn.py +1 -1
- spire/xls/sorting/SortColumns.py +1 -0
- spire/xls/sparkline/SparklineCollection.py +13 -1
- spire/xls/sparkline/SparklineGroupCollection.py +1 -1
- spire/xls/template_markers/MarkerDesigner.py +3 -2
- {spire_xls-15.11.1.dist-info → spire_xls-16.2.0.dist-info}/METADATA +1 -1
- {spire_xls-15.11.1.dist-info → spire_xls-16.2.0.dist-info}/RECORD +96 -96
- /spire/xls/lib/{_init_.py → __init__.py} +0 -0
- {spire_xls-15.11.1.dist-info → spire_xls-16.2.0.dist-info}/WHEEL +0 -0
- {spire_xls-15.11.1.dist-info → spire_xls-16.2.0.dist-info}/top_level.txt +0 -0
spire/xls/ColorScale.py
CHANGED
|
@@ -81,7 +81,7 @@ class ColorScale (SpireObject) :
|
|
|
81
81
|
GetDllLibXls().ColorScale_get_MaxValue.argtypes=[c_void_p]
|
|
82
82
|
GetDllLibXls().ColorScale_get_MaxValue.restype=c_void_p
|
|
83
83
|
intPtr = CallCFunction(GetDllLibXls().ColorScale_get_MaxValue, self.Ptr)
|
|
84
|
-
ret = None if intPtr==None else
|
|
84
|
+
ret = None if intPtr==None else ColorConditionValue(intPtr)
|
|
85
85
|
return ret
|
|
86
86
|
|
|
87
87
|
|
|
@@ -95,7 +95,7 @@ class ColorScale (SpireObject) :
|
|
|
95
95
|
GetDllLibXls().ColorScale_get_MidValue.argtypes=[c_void_p]
|
|
96
96
|
GetDllLibXls().ColorScale_get_MidValue.restype=c_void_p
|
|
97
97
|
intPtr = CallCFunction(GetDllLibXls().ColorScale_get_MidValue, self.Ptr)
|
|
98
|
-
ret = None if intPtr==None else
|
|
98
|
+
ret = None if intPtr==None else ColorConditionValue(intPtr)
|
|
99
99
|
return ret
|
|
100
100
|
|
|
101
101
|
|
|
@@ -109,7 +109,7 @@ class ColorScale (SpireObject) :
|
|
|
109
109
|
GetDllLibXls().ColorScale_get_MinValue.argtypes=[c_void_p]
|
|
110
110
|
GetDllLibXls().ColorScale_get_MinValue.restype=c_void_p
|
|
111
111
|
intPtr = CallCFunction(GetDllLibXls().ColorScale_get_MinValue, self.Ptr)
|
|
112
|
-
ret = None if intPtr==None else
|
|
112
|
+
ret = None if intPtr==None else ColorConditionValue(intPtr)
|
|
113
113
|
return ret
|
|
114
114
|
|
|
115
115
|
|
spire/xls/XlsName.py
CHANGED
|
@@ -13,6 +13,19 @@ class XlsName ( XlsObject, INamedRange, IXLSRange) :
|
|
|
13
13
|
to provide functionality for working with named ranges, including accessing
|
|
14
14
|
and manipulating range properties, formatting, and cell values.
|
|
15
15
|
"""
|
|
16
|
+
|
|
17
|
+
@property
|
|
18
|
+
|
|
19
|
+
def CommentValue(self)->str:
|
|
20
|
+
"""Gets the comment value of the nameManager.
|
|
21
|
+
Returns:
|
|
22
|
+
str: The comment value of the nameManager.
|
|
23
|
+
"""
|
|
24
|
+
GetDllLibXls().XlsName_get_CommentValue.argtypes=[c_void_p]
|
|
25
|
+
GetDllLibXls().XlsName_get_CommentValue.restype=c_void_p
|
|
26
|
+
ret = PtrToStr(CallCFunction(GetDllLibXls().XlsName_get_CommentValue, self.Ptr))
|
|
27
|
+
return ret
|
|
28
|
+
|
|
16
29
|
@property
|
|
17
30
|
|
|
18
31
|
def Comment(self)->'ICommentShape':
|
spire/xls/XlsWorksheet.py
CHANGED
|
@@ -1009,6 +1009,24 @@ class XlsWorksheet ( XlsWorksheetBase, IInternalWorksheet) :
|
|
|
1009
1009
|
ret = None if intPtr==None else Stream(intPtr)
|
|
1010
1010
|
return ret
|
|
1011
1011
|
|
|
1012
|
+
def ToEMFStream(self ,firstRow:int,firstColumn:int,lastRow:int,lastColumn:int)->'Stream':
|
|
1013
|
+
"""
|
|
1014
|
+
Save worksheet to emf image.
|
|
1015
|
+
|
|
1016
|
+
Args:
|
|
1017
|
+
firstRow: One-based index of the first row to convert.
|
|
1018
|
+
firstColumn: One-based index of the first column to convert.
|
|
1019
|
+
lastRow: One-based index of the last row to convert.
|
|
1020
|
+
lastColumn: One-based index of the last column to convert.
|
|
1021
|
+
|
|
1022
|
+
"""
|
|
1023
|
+
|
|
1024
|
+
GetDllLibXls().XlsWorksheet_ToEMFStream.argtypes=[c_void_p ,c_int,c_int,c_int,c_int]
|
|
1025
|
+
GetDllLibXls().XlsWorksheet_ToEMFStream.restype=c_void_p
|
|
1026
|
+
intPtr = CallCFunction(GetDllLibXls().XlsWorksheet_ToEMFStream, self.Ptr, firstRow,firstColumn,lastRow,lastColumn)
|
|
1027
|
+
ret = None if intPtr==None else Stream(intPtr)
|
|
1028
|
+
return ret
|
|
1029
|
+
|
|
1012
1030
|
|
|
1013
1031
|
@dispatch
|
|
1014
1032
|
|
spire/xls/__init__.py
CHANGED
|
@@ -252,6 +252,7 @@ from spire.xls.enums.XLSXChartShadowOuterType import XLSXChartShadowOuterType
|
|
|
252
252
|
from spire.xls.enums.XLSXPivotItemType import XLSXPivotItemType
|
|
253
253
|
from spire.xls.enums.XmlOpenType import XmlOpenType
|
|
254
254
|
from spire.xls.enums.PdfConformanceLevel import PdfConformanceLevel
|
|
255
|
+
from spire.xls.enums.TextVerticalValue import TextVerticalValue
|
|
255
256
|
from spire.xls.collection.CollectionBase import CollectionBase
|
|
256
257
|
from spire.xls.TextSaveOptions import TextSaveOptions
|
|
257
258
|
from spire.xls.interfaces.IDocumentProperty import IDocumentProperty
|
spire/xls/charts/Chart.py
CHANGED
|
@@ -317,6 +317,7 @@ class Chart ( XlsChartShape) :
|
|
|
317
317
|
Workbook contains the chart.
|
|
318
318
|
|
|
319
319
|
"""
|
|
320
|
+
from spire.xls.Workbook import Workbook
|
|
320
321
|
GetDllLibXls().Chart_get_Workbook.argtypes=[c_void_p]
|
|
321
322
|
GetDllLibXls().Chart_get_Workbook.restype=c_void_p
|
|
322
323
|
intPtr = CallCFunction(GetDllLibXls().Chart_get_Workbook, self.Ptr)
|
|
@@ -17,6 +17,7 @@ class ChartDataLabels ( XlsChartDataLabels) :
|
|
|
17
17
|
Gets data format. Read-only.
|
|
18
18
|
|
|
19
19
|
"""
|
|
20
|
+
from spire.xls.charts.ChartSerieDataFormat import ChartSerieDataFormat
|
|
20
21
|
GetDllLibXls().ChartDataLabels_get_Format.argtypes=[c_void_p]
|
|
21
22
|
GetDllLibXls().ChartDataLabels_get_Format.restype=c_void_p
|
|
22
23
|
intPtr = CallCFunction(GetDllLibXls().ChartDataLabels_get_Format, self.Ptr)
|
|
@@ -51,6 +51,7 @@ class ChartPlotArea ( XlsChartPlotArea) :
|
|
|
51
51
|
Returns:
|
|
52
52
|
Workbook: The workbook that contains the plot area.
|
|
53
53
|
"""
|
|
54
|
+
from spire.xls.Workbook import Workbook
|
|
54
55
|
GetDllLibXls().ChartPlotArea_get_Workbook.argtypes=[c_void_p]
|
|
55
56
|
GetDllLibXls().ChartPlotArea_get_Workbook.restype=c_void_p
|
|
56
57
|
intPtr = CallCFunction(GetDllLibXls().ChartPlotArea_get_Workbook, self.Ptr)
|
spire/xls/charts/ChartShadow.py
CHANGED
|
@@ -282,7 +282,7 @@ class ChartShadow ( XlsObject, IShadow, ICloneParent) :
|
|
|
282
282
|
GetDllLibXls().ChartShadow_Clone.argtypes=[c_void_p ,c_void_p]
|
|
283
283
|
GetDllLibXls().ChartShadow_Clone.restype=c_void_p
|
|
284
284
|
intPtr = CallCFunction(GetDllLibXls().ChartShadow_Clone, self.Ptr, intPtrparent)
|
|
285
|
-
ret = None if intPtr==None else
|
|
285
|
+
ret = None if intPtr==None else ChartShadow(intPtr)
|
|
286
286
|
return ret
|
|
287
287
|
|
|
288
288
|
|
spire/xls/charts/ChartSheet.py
CHANGED
|
@@ -218,6 +218,7 @@ class ChartSheet ( XlsChart) :
|
|
|
218
218
|
Workbook which contains the chart.
|
|
219
219
|
|
|
220
220
|
"""
|
|
221
|
+
from spire.xls.Workbook import Workbook
|
|
221
222
|
GetDllLibXls().ChartSheet_get_Workbook.argtypes=[c_void_p]
|
|
222
223
|
GetDllLibXls().ChartSheet_get_Workbook.restype=c_void_p
|
|
223
224
|
intPtr = CallCFunction(GetDllLibXls().ChartSheet_get_Workbook, self.Ptr)
|
|
@@ -185,18 +185,23 @@ class ChartTextArea ( XlsObject, IChartDataLabels) :
|
|
|
185
185
|
GetDllLibXls().ChartTextArea_SetThemeColor.argtypes=[c_void_p ,c_int,c_double]
|
|
186
186
|
CallCFunction(GetDllLibXls().ChartTextArea_SetThemeColor, self.Ptr, enumtype,tint)
|
|
187
187
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
188
|
+
def GetThemeColor(self)->Tuple[bool,ThemeColorType,float]:
|
|
189
|
+
|
|
190
|
+
GetDllLibXls().ChartTextArea_GetThemeColor_bool.argtypes=[c_void_p ]
|
|
191
|
+
GetDllLibXls().ChartTextArea_GetThemeColor_bool.restype=c_bool
|
|
192
|
+
ret = CallCFunction(GetDllLibXls().ChartTextArea_GetThemeColor_bool, self.Ptr)
|
|
193
|
+
if not ret:
|
|
194
|
+
return False,None,None
|
|
195
|
+
GetDllLibXls().ChartTextArea_GetThemeColor_Type.argtypes=[c_void_p ]
|
|
196
|
+
GetDllLibXls().ChartTextArea_GetThemeColor_Type.restype=c_void_p
|
|
197
|
+
ret_type = CallCFunction(GetDllLibXls().ChartTextArea_GetThemeColor_Type, self.Ptr)
|
|
198
|
+
theme_type = None if ret_type is None else ThemeColorType(ret_type)
|
|
199
|
+
|
|
200
|
+
GetDllLibXls().ChartTextArea_GetThemeColor_Tint.argtypes=[c_void_p ]
|
|
201
|
+
GetDllLibXls().ChartTextArea_GetThemeColor_Tint.restype=c_double
|
|
202
|
+
theme_tint = CallCFunction(GetDllLibXls().ChartTextArea_GetThemeColor_Tint, self.Ptr)
|
|
203
|
+
|
|
204
|
+
return True,theme_type,theme_tint
|
|
200
205
|
|
|
201
206
|
|
|
202
207
|
@property
|
|
@@ -390,12 +395,7 @@ class ChartTextArea ( XlsObject, IChartDataLabels) :
|
|
|
390
395
|
Returns:
|
|
391
396
|
Font: The native font object.
|
|
392
397
|
"""
|
|
393
|
-
|
|
394
|
-
GetDllLibXls().ChartTextArea_GenerateNativeFont.restype=c_void_p
|
|
395
|
-
intPtr = CallCFunction(GetDllLibXls().ChartTextArea_GenerateNativeFont, self.Ptr)
|
|
396
|
-
ret = None if intPtr==None else Font(intPtr)
|
|
397
|
-
return ret
|
|
398
|
-
|
|
398
|
+
raise NotImplementedError
|
|
399
399
|
|
|
400
400
|
def BeginUpdate(self):
|
|
401
401
|
"""
|
|
@@ -786,6 +786,7 @@ class ChartTextArea ( XlsObject, IChartDataLabels) :
|
|
|
786
786
|
Returns:
|
|
787
787
|
XlsWorkbook: The parent workbook object.
|
|
788
788
|
"""
|
|
789
|
+
from spire.xls.XlsWorkbook import XlsWorkbook
|
|
789
790
|
GetDllLibXls().ChartTextArea_get_ParentWorkbook.argtypes=[c_void_p]
|
|
790
791
|
GetDllLibXls().ChartTextArea_get_ParentWorkbook.restype=c_void_p
|
|
791
792
|
intPtr = CallCFunction(GetDllLibXls().ChartTextArea_get_ParentWorkbook, self.Ptr)
|
|
@@ -892,7 +893,7 @@ class ChartTextArea ( XlsObject, IChartDataLabels) :
|
|
|
892
893
|
GetDllLibXls().ChartTextArea_CloneP.argtypes=[c_void_p ,c_void_p]
|
|
893
894
|
GetDllLibXls().ChartTextArea_CloneP.restype=c_void_p
|
|
894
895
|
intPtr = CallCFunction(GetDllLibXls().ChartTextArea_CloneP, self.Ptr, intPtrparent)
|
|
895
|
-
ret = None if intPtr==None else
|
|
896
|
+
ret = None if intPtr==None else ChartTextArea(intPtr)
|
|
896
897
|
return ret
|
|
897
898
|
|
|
898
899
|
|
spire/xls/charts/XlsChart.py
CHANGED
|
@@ -659,7 +659,7 @@ class XlsChart ( XlsWorksheetBase, ICloneParent, IChart) :
|
|
|
659
659
|
GetDllLibXls().XlsChart_get_PageSetup.argtypes=[c_void_p]
|
|
660
660
|
GetDllLibXls().XlsChart_get_PageSetup.restype=c_void_p
|
|
661
661
|
intPtr = CallCFunction(GetDllLibXls().XlsChart_get_PageSetup, self.Ptr)
|
|
662
|
-
ret = None if intPtr==None else
|
|
662
|
+
ret = None if intPtr==None else ChartPageSetup(intPtr)
|
|
663
663
|
return ret
|
|
664
664
|
|
|
665
665
|
|
|
@@ -746,7 +746,7 @@ class XlsChart ( XlsWorksheetBase, ICloneParent, IChart) :
|
|
|
746
746
|
GetDllLibXls().XlsChart_get_PrimaryCategoryAxis.argtypes=[c_void_p]
|
|
747
747
|
GetDllLibXls().XlsChart_get_PrimaryCategoryAxis.restype=c_void_p
|
|
748
748
|
intPtr = CallCFunction(GetDllLibXls().XlsChart_get_PrimaryCategoryAxis, self.Ptr)
|
|
749
|
-
ret = None if intPtr==None else
|
|
749
|
+
ret = None if intPtr==None else ChartCategoryAxis(intPtr)
|
|
750
750
|
return ret
|
|
751
751
|
|
|
752
752
|
|
|
@@ -761,7 +761,7 @@ class XlsChart ( XlsWorksheetBase, ICloneParent, IChart) :
|
|
|
761
761
|
GetDllLibXls().XlsChart_get_PrimaryValueAxis.argtypes=[c_void_p]
|
|
762
762
|
GetDllLibXls().XlsChart_get_PrimaryValueAxis.restype=c_void_p
|
|
763
763
|
intPtr = CallCFunction(GetDllLibXls().XlsChart_get_PrimaryValueAxis, self.Ptr)
|
|
764
|
-
ret = None if intPtr==None else
|
|
764
|
+
ret = None if intPtr==None else ChartValueAxis(intPtr)
|
|
765
765
|
return ret
|
|
766
766
|
|
|
767
767
|
|
|
@@ -776,7 +776,7 @@ class XlsChart ( XlsWorksheetBase, ICloneParent, IChart) :
|
|
|
776
776
|
GetDllLibXls().XlsChart_get_PrimarySerieAxis.argtypes=[c_void_p]
|
|
777
777
|
GetDllLibXls().XlsChart_get_PrimarySerieAxis.restype=c_void_p
|
|
778
778
|
intPtr = CallCFunction(GetDllLibXls().XlsChart_get_PrimarySerieAxis, self.Ptr)
|
|
779
|
-
ret = None if intPtr==None else
|
|
779
|
+
ret = None if intPtr==None else ChartSeriesAxis(intPtr)
|
|
780
780
|
return ret
|
|
781
781
|
|
|
782
782
|
|
|
@@ -791,7 +791,7 @@ class XlsChart ( XlsWorksheetBase, ICloneParent, IChart) :
|
|
|
791
791
|
GetDllLibXls().XlsChart_get_SecondaryCategoryAxis.argtypes=[c_void_p]
|
|
792
792
|
GetDllLibXls().XlsChart_get_SecondaryCategoryAxis.restype=c_void_p
|
|
793
793
|
intPtr = CallCFunction(GetDllLibXls().XlsChart_get_SecondaryCategoryAxis, self.Ptr)
|
|
794
|
-
ret = None if intPtr==None else
|
|
794
|
+
ret = None if intPtr==None else ChartCategoryAxis(intPtr)
|
|
795
795
|
return ret
|
|
796
796
|
|
|
797
797
|
|
|
@@ -806,7 +806,7 @@ class XlsChart ( XlsWorksheetBase, ICloneParent, IChart) :
|
|
|
806
806
|
GetDllLibXls().XlsChart_get_SecondaryValueAxis.argtypes=[c_void_p]
|
|
807
807
|
GetDllLibXls().XlsChart_get_SecondaryValueAxis.restype=c_void_p
|
|
808
808
|
intPtr = CallCFunction(GetDllLibXls().XlsChart_get_SecondaryValueAxis, self.Ptr)
|
|
809
|
-
ret = None if intPtr==None else
|
|
809
|
+
ret = None if intPtr==None else ChartValueAxis(intPtr)
|
|
810
810
|
return ret
|
|
811
811
|
|
|
812
812
|
|
|
@@ -851,7 +851,7 @@ class XlsChart ( XlsWorksheetBase, ICloneParent, IChart) :
|
|
|
851
851
|
GetDllLibXls().XlsChart_get_Walls.argtypes=[c_void_p]
|
|
852
852
|
GetDllLibXls().XlsChart_get_Walls.restype=c_void_p
|
|
853
853
|
intPtr = CallCFunction(GetDllLibXls().XlsChart_get_Walls, self.Ptr)
|
|
854
|
-
ret = None if intPtr==None else
|
|
854
|
+
ret = None if intPtr==None else ChartWallOrFloor(intPtr)
|
|
855
855
|
return ret
|
|
856
856
|
|
|
857
857
|
|
|
@@ -866,7 +866,7 @@ class XlsChart ( XlsWorksheetBase, ICloneParent, IChart) :
|
|
|
866
866
|
GetDllLibXls().XlsChart_get_Floor.argtypes=[c_void_p]
|
|
867
867
|
GetDllLibXls().XlsChart_get_Floor.restype=c_void_p
|
|
868
868
|
intPtr = CallCFunction(GetDllLibXls().XlsChart_get_Floor, self.Ptr)
|
|
869
|
-
ret = None if intPtr==None else
|
|
869
|
+
ret = None if intPtr==None else ChartWallOrFloor(intPtr)
|
|
870
870
|
return ret
|
|
871
871
|
|
|
872
872
|
|
|
@@ -881,7 +881,7 @@ class XlsChart ( XlsWorksheetBase, ICloneParent, IChart) :
|
|
|
881
881
|
GetDllLibXls().XlsChart_get_DataTable.argtypes=[c_void_p]
|
|
882
882
|
GetDllLibXls().XlsChart_get_DataTable.restype=c_void_p
|
|
883
883
|
intPtr = CallCFunction(GetDllLibXls().XlsChart_get_DataTable, self.Ptr)
|
|
884
|
-
ret = None if intPtr==None else
|
|
884
|
+
ret = None if intPtr==None else ChartDataTable(intPtr)
|
|
885
885
|
return ret
|
|
886
886
|
|
|
887
887
|
|
|
@@ -914,7 +914,7 @@ class XlsChart ( XlsWorksheetBase, ICloneParent, IChart) :
|
|
|
914
914
|
GetDllLibXls().XlsChart_get_Legend.argtypes=[c_void_p]
|
|
915
915
|
GetDllLibXls().XlsChart_get_Legend.restype=c_void_p
|
|
916
916
|
intPtr = CallCFunction(GetDllLibXls().XlsChart_get_Legend, self.Ptr)
|
|
917
|
-
ret = None if intPtr==None else
|
|
917
|
+
ret = None if intPtr==None else ChartLegend(intPtr)
|
|
918
918
|
return ret
|
|
919
919
|
|
|
920
920
|
|
|
@@ -1634,7 +1634,7 @@ class XlsChart ( XlsWorksheetBase, ICloneParent, IChart) :
|
|
|
1634
1634
|
#GetDllLibXls().XlsChart_DEF_SUPPORT_SERIES_AXIS.argtypes=[]
|
|
1635
1635
|
GetDllLibXls().XlsChart_DEF_SUPPORT_SERIES_AXIS.restype=IntPtrArray
|
|
1636
1636
|
intPtrArray = CallCFunction(GetDllLibXls().XlsChart_DEF_SUPPORT_SERIES_AXIS)
|
|
1637
|
-
ret =
|
|
1637
|
+
ret = GetObjVectorFromArray(intPtrArray, ExcelChartType)
|
|
1638
1638
|
return ret
|
|
1639
1639
|
|
|
1640
1640
|
|
|
@@ -1661,7 +1661,7 @@ class XlsChart ( XlsWorksheetBase, ICloneParent, IChart) :
|
|
|
1661
1661
|
"""
|
|
1662
1662
|
GetDllLibXls().XlsChart_DEF_SUPPORT_TREND_LINES.restype=IntPtrArray
|
|
1663
1663
|
intPtrArray = CallCFunction(GetDllLibXls().XlsChart_DEF_SUPPORT_TREND_LINES)
|
|
1664
|
-
ret =
|
|
1664
|
+
ret = GetObjVectorFromArray(intPtrArray, ExcelChartType)
|
|
1665
1665
|
return ret
|
|
1666
1666
|
|
|
1667
1667
|
|
spire/xls/charts/XlsChartAxis.py
CHANGED
|
@@ -126,6 +126,7 @@ class XlsChartAxis ( XlsObject, IChartAxis) :
|
|
|
126
126
|
Return frame format of Axis. Read-only.
|
|
127
127
|
|
|
128
128
|
"""
|
|
129
|
+
from spire.xls.charts.XlsChartFrameFormat import XlsChartFrameFormat
|
|
129
130
|
GetDllLibXls().XlsChartAxis_get_FrameFormat.argtypes=[c_void_p]
|
|
130
131
|
GetDllLibXls().XlsChartAxis_get_FrameFormat.restype=c_void_p
|
|
131
132
|
intPtr = CallCFunction(GetDllLibXls().XlsChartAxis_get_FrameFormat, self.Ptr)
|
|
@@ -412,6 +413,7 @@ class XlsChartAxis ( XlsObject, IChartAxis) :
|
|
|
412
413
|
Returns:
|
|
413
414
|
IFormat3D: The 3D formatting options for the axis.
|
|
414
415
|
"""
|
|
416
|
+
from spire.xls.Format3D import Format3D
|
|
415
417
|
GetDllLibXls().XlsChartAxis_get_Chart3DOptions.argtypes=[c_void_p]
|
|
416
418
|
GetDllLibXls().XlsChartAxis_get_Chart3DOptions.restype=c_void_p
|
|
417
419
|
intPtr = CallCFunction(GetDllLibXls().XlsChartAxis_get_Chart3DOptions, self.Ptr)
|
|
@@ -428,6 +430,7 @@ class XlsChartAxis ( XlsObject, IChartAxis) :
|
|
|
428
430
|
Returns:
|
|
429
431
|
IFormat3D: The 3D properties for the axis.
|
|
430
432
|
"""
|
|
433
|
+
from spire.xls.Format3D import Format3D
|
|
431
434
|
GetDllLibXls().XlsChartAxis_get_Chart3DProperties.argtypes=[c_void_p]
|
|
432
435
|
GetDllLibXls().XlsChartAxis_get_Chart3DProperties.restype=c_void_p
|
|
433
436
|
intPtr = CallCFunction(GetDllLibXls().XlsChartAxis_get_Chart3DProperties, self.Ptr)
|
|
@@ -270,7 +270,7 @@ class XlsChartCategoryAxis ( XlsChartAxis, IChartCategoryAxis, IChartValueAxis)
|
|
|
270
270
|
GetDllLibXls().XlsChartCategoryAxis_get_EnteredDirectlyCategoryLabels.argtypes=[c_void_p]
|
|
271
271
|
GetDllLibXls().XlsChartCategoryAxis_get_EnteredDirectlyCategoryLabels.restype=IntPtrArray
|
|
272
272
|
intPtrArray = CallCFunction(GetDllLibXls().XlsChartCategoryAxis_get_EnteredDirectlyCategoryLabels, self.Ptr)
|
|
273
|
-
ret =
|
|
273
|
+
ret = GetObjVectorFromArray(intPtrArray, SpireObject)
|
|
274
274
|
return ret
|
|
275
275
|
|
|
276
276
|
@EnteredDirectlyCategoryLabels.setter
|
|
@@ -73,18 +73,23 @@ class XlsChartDataLabelArea ( XlsObject, IChartTextArea, IFont, IOptimizedUpdat
|
|
|
73
73
|
GetDllLibXls().XlsChartDataLabelArea_SetThemeColor.argtypes=[c_void_p ,c_int,c_double]
|
|
74
74
|
CallCFunction(GetDllLibXls().XlsChartDataLabelArea_SetThemeColor, self.Ptr, enumtype,tint)
|
|
75
75
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
76
|
+
def GetThemeColor(self)->Tuple[bool,ThemeColorType,float]:
|
|
77
|
+
|
|
78
|
+
GetDllLibXls().XlsChartDataLabelArea_GetThemeColor_bool.argtypes=[c_void_p ]
|
|
79
|
+
GetDllLibXls().XlsChartDataLabelArea_GetThemeColor_bool.restype=c_bool
|
|
80
|
+
ret = CallCFunction(GetDllLibXls().XlsChartDataLabelArea_GetThemeColor_bool, self.Ptr)
|
|
81
|
+
if not ret:
|
|
82
|
+
return False,None,None
|
|
83
|
+
GetDllLibXls().XlsChartDataLabelArea_GetThemeColor_Type.argtypes=[c_void_p ]
|
|
84
|
+
GetDllLibXls().XlsChartDataLabelArea_GetThemeColor_Type.restype=c_void_p
|
|
85
|
+
ret_type = CallCFunction(GetDllLibXls().XlsChartDataLabelArea_GetThemeColor_Type, self.Ptr)
|
|
86
|
+
theme_type = None if ret_type is None else ThemeColorType(ret_type)
|
|
87
|
+
|
|
88
|
+
GetDllLibXls().XlsChartDataLabelArea_GetThemeColor_Tint.argtypes=[c_void_p ]
|
|
89
|
+
GetDllLibXls().XlsChartDataLabelArea_GetThemeColor_Tint.restype=c_double
|
|
90
|
+
theme_tint = CallCFunction(GetDllLibXls().XlsChartDataLabelArea_GetThemeColor_Tint, self.Ptr)
|
|
91
|
+
|
|
92
|
+
return True,theme_type,theme_tint
|
|
88
93
|
|
|
89
94
|
|
|
90
95
|
@property
|
|
@@ -268,6 +268,24 @@ class XlsChartDataLabels ( XlsObject, IChartDataLabels, IChartTextArea, IFont,
|
|
|
268
268
|
GetDllLibXls().XlsChartDataLabels_SetThemeColor.argtypes=[c_void_p ,c_int,c_double]
|
|
269
269
|
CallCFunction(GetDllLibXls().XlsChartDataLabels_SetThemeColor, self.Ptr, enumtype,tint)
|
|
270
270
|
|
|
271
|
+
def GetThemeColor(self)->Tuple[bool,ThemeColorType,float]:
|
|
272
|
+
|
|
273
|
+
GetDllLibXls().XlsChartDataLabels_GetThemeColor_bool.argtypes=[c_void_p ]
|
|
274
|
+
GetDllLibXls().XlsChartDataLabels_GetThemeColor_bool.restype=c_bool
|
|
275
|
+
ret = CallCFunction(GetDllLibXls().XlsChartDataLabels_GetThemeColor_bool, self.Ptr)
|
|
276
|
+
if not ret:
|
|
277
|
+
return False,None,None
|
|
278
|
+
GetDllLibXls().XlsChartDataLabels_GetThemeColor_Type.argtypes=[c_void_p ]
|
|
279
|
+
GetDllLibXls().XlsChartDataLabels_GetThemeColor_Type.restype=c_void_p
|
|
280
|
+
ret_type = CallCFunction(GetDllLibXls().XlsChartDataLabels_GetThemeColor_Type, self.Ptr)
|
|
281
|
+
theme_type = None if ret_type is None else ThemeColorType(ret_type)
|
|
282
|
+
|
|
283
|
+
GetDllLibXls().XlsChartDataLabels_GetThemeColor_Tint.argtypes=[c_void_p ]
|
|
284
|
+
GetDllLibXls().XlsChartDataLabels_GetThemeColor_Tint.restype=c_double
|
|
285
|
+
theme_tint = CallCFunction(GetDllLibXls().XlsChartDataLabels_GetThemeColor_Tint, self.Ptr)
|
|
286
|
+
|
|
287
|
+
return True,theme_type,theme_tint
|
|
288
|
+
|
|
271
289
|
@property
|
|
272
290
|
def IsItalic(self)->bool:
|
|
273
291
|
"""
|
|
@@ -519,6 +537,7 @@ class XlsChartDataLabels ( XlsObject, IChartDataLabels, IChartTextArea, IFont,
|
|
|
519
537
|
"""
|
|
520
538
|
Set Range for value. above Excel 2013
|
|
521
539
|
"""
|
|
540
|
+
from spire.xls.CellRange import CellRange
|
|
522
541
|
GetDllLibXls().XlsChartDataLabels_get_ValueFromCell.argtypes=[c_void_p]
|
|
523
542
|
GetDllLibXls().XlsChartDataLabels_get_ValueFromCell.restype=c_void_p
|
|
524
543
|
intPtr = CallCFunction(GetDllLibXls().XlsChartDataLabels_get_ValueFromCell, self.Ptr)
|
|
@@ -155,18 +155,23 @@ class XlsChartDataTable ( XlsObject, IChartDataTable, IFont, IOptimizedUpdate)
|
|
|
155
155
|
GetDllLibXls().XlsChartDataTable_SetThemeColor.argtypes=[c_void_p ,c_int,c_double]
|
|
156
156
|
CallCFunction(GetDllLibXls().XlsChartDataTable_SetThemeColor, self.Ptr, enumtype,tint)
|
|
157
157
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
158
|
+
def GetThemeColor(self)->Tuple[bool,ThemeColorType,float]:
|
|
159
|
+
|
|
160
|
+
GetDllLibXls().XlsChartDataTable_GetThemeColor_bool.argtypes=[c_void_p ]
|
|
161
|
+
GetDllLibXls().XlsChartDataTable_GetThemeColor_bool.restype=c_bool
|
|
162
|
+
ret = CallCFunction(GetDllLibXls().XlsChartDataTable_GetThemeColor_bool, self.Ptr)
|
|
163
|
+
if not ret:
|
|
164
|
+
return False,None,None
|
|
165
|
+
GetDllLibXls().XlsChartDataTable_GetThemeColor_Type.argtypes=[c_void_p ]
|
|
166
|
+
GetDllLibXls().XlsChartDataTable_GetThemeColor_Type.restype=c_void_p
|
|
167
|
+
ret_type = CallCFunction(GetDllLibXls().XlsChartDataTable_GetThemeColor_Type, self.Ptr)
|
|
168
|
+
theme_type = None if ret_type is None else ThemeColorType(ret_type)
|
|
169
|
+
|
|
170
|
+
GetDllLibXls().XlsChartDataTable_GetThemeColor_Tint.argtypes=[c_void_p ]
|
|
171
|
+
GetDllLibXls().XlsChartDataTable_GetThemeColor_Tint.restype=c_double
|
|
172
|
+
theme_tint = CallCFunction(GetDllLibXls().XlsChartDataTable_GetThemeColor_Tint, self.Ptr)
|
|
173
|
+
|
|
174
|
+
return True,theme_type,theme_tint
|
|
170
175
|
|
|
171
176
|
|
|
172
177
|
@property
|
|
@@ -56,6 +56,7 @@ class XlsChartDropBar ( XlsObject, IChartFillBorder) :
|
|
|
56
56
|
"""
|
|
57
57
|
|
|
58
58
|
"""
|
|
59
|
+
from spire.xls.charts.ChartBorder import ChartBorder
|
|
59
60
|
GetDllLibXls().XlsChartDropBar_get_LineProperties.argtypes=[c_void_p]
|
|
60
61
|
GetDllLibXls().XlsChartDropBar_get_LineProperties.restype=c_void_p
|
|
61
62
|
intPtr = CallCFunction(GetDllLibXls().XlsChartDropBar_get_LineProperties, self.Ptr)
|
|
@@ -69,10 +70,11 @@ class XlsChartDropBar ( XlsObject, IChartFillBorder) :
|
|
|
69
70
|
"""
|
|
70
71
|
|
|
71
72
|
"""
|
|
73
|
+
from spire.xls.charts.ChartInterior import ChartInterior
|
|
72
74
|
GetDllLibXls().XlsChartDropBar_get_Interior.argtypes=[c_void_p]
|
|
73
75
|
GetDllLibXls().XlsChartDropBar_get_Interior.restype=c_void_p
|
|
74
76
|
intPtr = CallCFunction(GetDllLibXls().XlsChartDropBar_get_Interior, self.Ptr)
|
|
75
|
-
ret = None if intPtr==None else
|
|
77
|
+
ret = None if intPtr==None else ChartInterior(intPtr)
|
|
76
78
|
return ret
|
|
77
79
|
|
|
78
80
|
|
|
@@ -95,6 +97,7 @@ class XlsChartDropBar ( XlsObject, IChartFillBorder) :
|
|
|
95
97
|
"""
|
|
96
98
|
|
|
97
99
|
"""
|
|
100
|
+
from spire.xls.Format3D import Format3D
|
|
98
101
|
GetDllLibXls().XlsChartDropBar_get_Format3D.argtypes=[c_void_p]
|
|
99
102
|
GetDllLibXls().XlsChartDropBar_get_Format3D.restype=c_void_p
|
|
100
103
|
intPtr = CallCFunction(GetDllLibXls().XlsChartDropBar_get_Format3D, self.Ptr)
|
|
@@ -102,10 +102,11 @@ class XlsChartFrameFormat ( XlsObject, IChartFrameFormat, IChartFillBorder) :
|
|
|
102
102
|
Returns:
|
|
103
103
|
IChartInterior: The interior formatting object.
|
|
104
104
|
"""
|
|
105
|
+
from spire.xls.charts.ChartInterior import ChartInterior
|
|
105
106
|
GetDllLibXls().XlsChartFrameFormat_get_Interior.argtypes=[c_void_p]
|
|
106
107
|
GetDllLibXls().XlsChartFrameFormat_get_Interior.restype=c_void_p
|
|
107
108
|
intPtr = CallCFunction(GetDllLibXls().XlsChartFrameFormat_get_Interior, self.Ptr)
|
|
108
|
-
ret = None if intPtr==None else
|
|
109
|
+
ret = None if intPtr==None else ChartInterior(intPtr)
|
|
109
110
|
return ret
|
|
110
111
|
|
|
111
112
|
|
|
@@ -134,6 +135,7 @@ class XlsChartFrameFormat ( XlsObject, IChartFrameFormat, IChartFillBorder) :
|
|
|
134
135
|
workbook.SaveToFile("Chart.xlsx")
|
|
135
136
|
|
|
136
137
|
"""
|
|
138
|
+
from spire.xls.Format3D import Format3D
|
|
137
139
|
GetDllLibXls().XlsChartFrameFormat_get_Format3D.argtypes=[c_void_p]
|
|
138
140
|
GetDllLibXls().XlsChartFrameFormat_get_Format3D.restype=c_void_p
|
|
139
141
|
intPtr = CallCFunction(GetDllLibXls().XlsChartFrameFormat_get_Format3D, self.Ptr)
|
|
@@ -447,6 +449,7 @@ class XlsChartFrameFormat ( XlsObject, IChartFrameFormat, IChartFillBorder) :
|
|
|
447
449
|
"""
|
|
448
450
|
|
|
449
451
|
"""
|
|
452
|
+
from spire.xls.OColor import OColor
|
|
450
453
|
GetDllLibXls().XlsChartFrameFormat_get_ForeGroundColorObject.argtypes=[c_void_p]
|
|
451
454
|
GetDllLibXls().XlsChartFrameFormat_get_ForeGroundColorObject.restype=c_void_p
|
|
452
455
|
intPtr = CallCFunction(GetDllLibXls().XlsChartFrameFormat_get_ForeGroundColorObject, self.Ptr)
|
|
@@ -495,6 +498,7 @@ class XlsChartFrameFormat ( XlsObject, IChartFrameFormat, IChartFillBorder) :
|
|
|
495
498
|
"""
|
|
496
499
|
|
|
497
500
|
"""
|
|
501
|
+
from spire.xls.OColor import OColor
|
|
498
502
|
GetDllLibXls().XlsChartFrameFormat_get_BackGroundColorObject.argtypes=[c_void_p]
|
|
499
503
|
GetDllLibXls().XlsChartFrameFormat_get_BackGroundColorObject.restype=c_void_p
|
|
500
504
|
intPtr = CallCFunction(GetDllLibXls().XlsChartFrameFormat_get_BackGroundColorObject, self.Ptr)
|
|
@@ -127,7 +127,7 @@ class XlsChartGridLine ( XlsObject, IChartGridLine) :
|
|
|
127
127
|
GetDllLibXls().XlsChartGridLine_get_Interior.argtypes=[c_void_p]
|
|
128
128
|
GetDllLibXls().XlsChartGridLine_get_Interior.restype=c_void_p
|
|
129
129
|
intPtr = CallCFunction(GetDllLibXls().XlsChartGridLine_get_Interior, self.Ptr)
|
|
130
|
-
ret = None if intPtr==None else
|
|
130
|
+
ret = None if intPtr==None else ChartInterior(intPtr)
|
|
131
131
|
return ret
|
|
132
132
|
|
|
133
133
|
|
|
@@ -154,7 +154,7 @@ class XlsChartGridLine ( XlsObject, IChartGridLine) :
|
|
|
154
154
|
GetDllLibXls().XlsChartGridLine_Clone.argtypes=[c_void_p ,c_void_p]
|
|
155
155
|
GetDllLibXls().XlsChartGridLine_Clone.restype=c_void_p
|
|
156
156
|
intPtr = CallCFunction(GetDllLibXls().XlsChartGridLine_Clone, self.Ptr, intPtrparent)
|
|
157
|
-
ret = None if intPtr==None else
|
|
157
|
+
ret = None if intPtr==None else XlsChartGridLine(intPtr)
|
|
158
158
|
return ret
|
|
159
159
|
|
|
160
160
|
|
|
@@ -20,6 +20,7 @@ class XlsChartInterior ( XlsObject, IChartInterior, ICloneParent) :
|
|
|
20
20
|
GetDllLibXls().XlsChartInterior_get_ForegroundColorObject.argtypes=[c_void_p]
|
|
21
21
|
GetDllLibXls().XlsChartInterior_get_ForegroundColorObject.restype=c_void_p
|
|
22
22
|
intPtr = CallCFunction(GetDllLibXls().XlsChartInterior_get_ForegroundColorObject, self.Ptr)
|
|
23
|
+
from spire.xls.OColor import OColor
|
|
23
24
|
ret = None if intPtr==None else OColor(intPtr)
|
|
24
25
|
return ret
|
|
25
26
|
|
|
@@ -34,6 +35,7 @@ class XlsChartInterior ( XlsObject, IChartInterior, ICloneParent) :
|
|
|
34
35
|
GetDllLibXls().XlsChartInterior_get_BackgroundColorObject.argtypes=[c_void_p]
|
|
35
36
|
GetDllLibXls().XlsChartInterior_get_BackgroundColorObject.restype=c_void_p
|
|
36
37
|
intPtr = CallCFunction(GetDllLibXls().XlsChartInterior_get_BackgroundColorObject, self.Ptr)
|
|
38
|
+
from spire.xls.OColor import OColor
|
|
37
39
|
ret = None if intPtr==None else OColor(intPtr)
|
|
38
40
|
return ret
|
|
39
41
|
|
|
@@ -27,10 +27,11 @@ class XlsChartLegend ( XlsObject, IChartLegend) :
|
|
|
27
27
|
"""
|
|
28
28
|
|
|
29
29
|
"""
|
|
30
|
+
from spire.xls.charts.XlsChartLegendArea import XlsChartLegendArea
|
|
30
31
|
GetDllLibXls().XlsChartLegend_get_TextArea.argtypes=[c_void_p]
|
|
31
32
|
GetDllLibXls().XlsChartLegend_get_TextArea.restype=c_void_p
|
|
32
33
|
intPtr = CallCFunction(GetDllLibXls().XlsChartLegend_get_TextArea, self.Ptr)
|
|
33
|
-
ret = None if intPtr==None else
|
|
34
|
+
ret = None if intPtr==None else XlsChartLegendArea(intPtr)
|
|
34
35
|
return ret
|
|
35
36
|
|
|
36
37
|
|
|
@@ -77,18 +77,23 @@ class XlsChartLegendArea ( XlsObject, IChartTextArea, IFont, IOptimizedUpdate)
|
|
|
77
77
|
GetDllLibXls().XlsChartLegendArea_SetThemeColor.argtypes=[c_void_p ,c_int,c_double]
|
|
78
78
|
CallCFunction(GetDllLibXls().XlsChartLegendArea_SetThemeColor, self.Ptr, enumtype,tint)
|
|
79
79
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
80
|
+
def GetThemeColor(self)->Tuple[bool,ThemeColorType,float]:
|
|
81
|
+
|
|
82
|
+
GetDllLibXls().XlsChartLegendArea_GetThemeColor_bool.argtypes=[c_void_p ]
|
|
83
|
+
GetDllLibXls().XlsChartLegendArea_GetThemeColor_bool.restype=c_bool
|
|
84
|
+
ret = CallCFunction(GetDllLibXls().XlsChartLegendArea_GetThemeColor_bool, self.Ptr)
|
|
85
|
+
if not ret:
|
|
86
|
+
return False,None,None
|
|
87
|
+
GetDllLibXls().XlsChartLegendArea_GetThemeColor_Type.argtypes=[c_void_p ]
|
|
88
|
+
GetDllLibXls().XlsChartLegendArea_GetThemeColor_Type.restype=c_void_p
|
|
89
|
+
ret_type = CallCFunction(GetDllLibXls().XlsChartLegendArea_GetThemeColor_Type, self.Ptr)
|
|
90
|
+
theme_type = None if ret_type is None else ThemeColorType(ret_type)
|
|
91
|
+
|
|
92
|
+
GetDllLibXls().XlsChartLegendArea_GetThemeColor_Tint.argtypes=[c_void_p ]
|
|
93
|
+
GetDllLibXls().XlsChartLegendArea_GetThemeColor_Tint.restype=c_double
|
|
94
|
+
theme_tint = CallCFunction(GetDllLibXls().XlsChartLegendArea_GetThemeColor_Tint, self.Ptr)
|
|
95
|
+
|
|
96
|
+
return True,theme_type,theme_tint
|
|
92
97
|
|
|
93
98
|
|
|
94
99
|
@property
|
|
@@ -376,6 +381,7 @@ class XlsChartLegendArea ( XlsObject, IChartTextArea, IFont, IOptimizedUpdate)
|
|
|
376
381
|
Returns FontImpl for current font. Read-only.
|
|
377
382
|
|
|
378
383
|
"""
|
|
384
|
+
from spire.xls.XlsFont import XlsFont
|
|
379
385
|
GetDllLibXls().XlsChartLegendArea_get_Font.argtypes=[c_void_p]
|
|
380
386
|
GetDllLibXls().XlsChartLegendArea_get_Font.restype=c_void_p
|
|
381
387
|
intPtr = CallCFunction(GetDllLibXls().XlsChartLegendArea_get_Font, self.Ptr)
|
|
@@ -106,6 +106,7 @@ class XlsChartSerie ( XlsObject, IChartSerie, INamedObject) :
|
|
|
106
106
|
Returns:
|
|
107
107
|
CellRange: The named range for the series.
|
|
108
108
|
"""
|
|
109
|
+
from spire.xls.CellRange import CellRange
|
|
109
110
|
GetDllLibXls().XlsChartSerie_get_NamedRange.argtypes=[c_void_p]
|
|
110
111
|
GetDllLibXls().XlsChartSerie_get_NamedRange.restype=c_void_p
|
|
111
112
|
intPtr = CallCFunction(GetDllLibXls().XlsChartSerie_get_NamedRange, self.Ptr)
|
|
@@ -142,6 +143,7 @@ class XlsChartSerie ( XlsObject, IChartSerie, INamedObject) :
|
|
|
142
143
|
Gets parent serie collection. Read - only.
|
|
143
144
|
|
|
144
145
|
"""
|
|
146
|
+
from spire.xls.collection.XlsChartSeries import XlsChartSeries
|
|
145
147
|
GetDllLibXls().XlsChartSerie_get_ParentSeries.argtypes=[c_void_p]
|
|
146
148
|
GetDllLibXls().XlsChartSerie_get_ParentSeries.restype=c_void_p
|
|
147
149
|
intPtr = CallCFunction(GetDllLibXls().XlsChartSerie_get_ParentSeries, self.Ptr)
|
|
@@ -576,10 +578,11 @@ class XlsChartSerie ( XlsObject, IChartSerie, INamedObject) :
|
|
|
576
578
|
Returns:
|
|
577
579
|
XlsChartFormat: The common format of the series.
|
|
578
580
|
"""
|
|
581
|
+
from spire.xls.charts.ChartFormat import ChartFormat
|
|
579
582
|
GetDllLibXls().XlsChartSerie_GetCommonSerieFormat.argtypes=[c_void_p]
|
|
580
583
|
GetDllLibXls().XlsChartSerie_GetCommonSerieFormat.restype=c_void_p
|
|
581
584
|
intPtr = CallCFunction(GetDllLibXls().XlsChartSerie_GetCommonSerieFormat, self.Ptr)
|
|
582
|
-
ret = None if intPtr==None else
|
|
585
|
+
ret = None if intPtr==None else ChartFormat(intPtr)
|
|
583
586
|
return ret
|
|
584
587
|
|
|
585
588
|
def GetSerieNameRange(self)->'IXLSRange':
|