spire-xls 15.7.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.
Files changed (173) hide show
  1. spire/xls/AddtionalFormatWrapper.py +18 -15
  2. spire/xls/CellRange.py +10 -8
  3. spire/xls/CellStyleFlag.py +7 -0
  4. spire/xls/CellStyleObject.py +19 -12
  5. spire/xls/ColorScale.py +3 -3
  6. spire/xls/CommentsRange.py +6 -17
  7. spire/xls/ConverterSetting.py +15 -0
  8. spire/xls/DocumentProperty.py +1 -1
  9. spire/xls/ExcelCommentObject.py +6 -1
  10. spire/xls/ExcelFont.py +21 -15
  11. spire/xls/ExcelGradient.py +2 -0
  12. spire/xls/ExcelInterior.py +0 -13
  13. spire/xls/ExportTableOptions.py +6 -0
  14. spire/xls/Font.py +103 -103
  15. spire/xls/FontWrapper.py +20 -18
  16. spire/xls/GradientStops.py +1 -1
  17. spire/xls/HPageBreak.py +1 -0
  18. spire/xls/HyperLink.py +1 -0
  19. spire/xls/MsoTextFrame.py +102 -0
  20. spire/xls/RangeRichTextString.py +2 -2
  21. spire/xls/ReferRangeArea.py +0 -8
  22. spire/xls/RichText.py +1 -1
  23. spire/xls/RichTextShape.py +2 -1
  24. spire/xls/RichTextString.py +1 -0
  25. spire/xls/ShapeGlow.py +1 -1
  26. spire/xls/TextSaveOptions.py +7 -0
  27. spire/xls/VPageBreak.py +1 -0
  28. spire/xls/Workbook.py +85 -86
  29. spire/xls/Worksheet.py +63 -12
  30. spire/xls/XlsAddInFunction.py +4 -4
  31. spire/xls/XlsArcShape.py +1 -1
  32. spire/xls/XlsBorder.py +1 -0
  33. spire/xls/XlsButtonShape.py +1 -1
  34. spire/xls/XlsComment.py +1 -1
  35. spire/xls/XlsDataValidationTable.py +3 -1
  36. spire/xls/XlsFont.py +20 -14
  37. spire/xls/XlsName.py +27 -15
  38. spire/xls/XlsOvalShape.py +1 -1
  39. spire/xls/XlsPageSetup.py +8 -2
  40. spire/xls/XlsRadioButtonShape.py +21 -51
  41. spire/xls/XlsRange.py +26 -10
  42. spire/xls/XlsRectangleShape.py +1 -1
  43. spire/xls/XlsShape.py +7 -5
  44. spire/xls/XlsShapeFill.py +3 -0
  45. spire/xls/XlsStyle.py +3 -3
  46. spire/xls/XlsValidation.py +7 -4
  47. spire/xls/XlsWorkbook.py +50 -29
  48. spire/xls/XlsWorksheet.py +136 -121
  49. spire/xls/XlsWorksheetBase.py +39 -20
  50. spire/xls/__init__.py +3 -1
  51. spire/xls/autofilter/AutoFitterOptions.py +7 -0
  52. spire/xls/autofilter/CustomFilter.py +9 -1
  53. spire/xls/autofilter/FilterColumn.py +2 -2
  54. spire/xls/autofilter/XlsAutoFiltersCollection.py +1 -0
  55. spire/xls/charts/Chart.py +1 -0
  56. spire/xls/charts/ChartArea.py +1 -0
  57. spire/xls/charts/ChartDataLabels.py +1 -0
  58. spire/xls/charts/ChartPlotArea.py +1 -0
  59. spire/xls/charts/ChartShadow.py +1 -1
  60. spire/xls/charts/ChartSheet.py +1 -0
  61. spire/xls/charts/ChartTextArea.py +20 -19
  62. spire/xls/charts/XlsChart.py +13 -13
  63. spire/xls/charts/XlsChartAxis.py +3 -0
  64. spire/xls/charts/XlsChartCategoryAxis.py +1 -1
  65. spire/xls/charts/XlsChartDataLabelArea.py +17 -12
  66. spire/xls/charts/XlsChartDataLabels.py +19 -0
  67. spire/xls/charts/XlsChartDataTable.py +17 -12
  68. spire/xls/charts/XlsChartDropBar.py +4 -1
  69. spire/xls/charts/XlsChartFrameFormat.py +7 -2
  70. spire/xls/charts/XlsChartGridLine.py +2 -2
  71. spire/xls/charts/XlsChartInterior.py +2 -0
  72. spire/xls/charts/XlsChartLegend.py +2 -1
  73. spire/xls/charts/XlsChartLegendArea.py +18 -12
  74. spire/xls/charts/XlsChartSerie.py +4 -1
  75. spire/xls/charts/XlsChartSerieDataFormat.py +12 -3
  76. spire/xls/charts/XlsChartShape.py +13 -13
  77. spire/xls/charts/XlsChartTitleArea.py +2 -0
  78. spire/xls/charts/XlsChartWallOrFloor.py +8 -2
  79. spire/xls/collection/ArcShapeCollection.py +1 -1
  80. spire/xls/collection/AutoFiltersCollection.py +1 -0
  81. spire/xls/collection/BordersCollectionArrayWrapper.py +2 -2
  82. spire/xls/collection/ButtonShapeCollection.py +4 -4
  83. spire/xls/collection/DataConnections.py +1 -1
  84. spire/xls/collection/ExternalLinkCollection.py +2 -1
  85. spire/xls/collection/GroupBoxCollection.py +4 -4
  86. spire/xls/collection/QueryTableCollection.py +1 -1
  87. spire/xls/collection/RangesCollection.py +4 -3
  88. spire/xls/collection/ShapeCollectionBase.py +6 -6
  89. spire/xls/collection/WorksheetsCollection.py +6 -6
  90. spire/xls/collection/XlsBordersCollection.py +2 -2
  91. spire/xls/collection/XlsChartFormatCollection.py +4 -4
  92. spire/xls/collection/XlsChartSeries.py +3 -3
  93. spire/xls/collection/XlsChartsCollection.py +10 -8
  94. spire/xls/collection/XlsDataValidationCollection.py +4 -2
  95. spire/xls/collection/XlsFontsCollection.py +2 -1
  96. spire/xls/collection/XlsRangesCollection.py +17 -10
  97. spire/xls/collection/XlsStylesCollection.py +2 -2
  98. spire/xls/collection/XlsWorkbookObjectsCollection.py +5 -4
  99. spire/xls/collection/pivot_table/PivotDataFields.py +1 -0
  100. spire/xls/collection/pivot_table/PivotTableFields.py +1 -1
  101. spire/xls/collection/pivot_table/XlsPivotCachesCollection.py +2 -0
  102. spire/xls/collection/pivot_table/XlsPivotTablesCollection.py +1 -0
  103. spire/xls/common/Boolean.py +2 -0
  104. spire/xls/common/Byte.py +2 -0
  105. spire/xls/common/Char.py +2 -0
  106. spire/xls/common/Color.py +2 -0
  107. spire/xls/common/Common.py +13 -0
  108. spire/xls/common/CultureInfo.py +2 -0
  109. spire/xls/common/DateTime.py +16 -0
  110. spire/xls/common/Double.py +2 -0
  111. spire/xls/common/EmfType.py +2 -0
  112. spire/xls/common/Encoding.py +2 -0
  113. spire/xls/common/FontStyle.py +2 -0
  114. spire/xls/common/GraphicsUnit.py +2 -0
  115. spire/xls/common/ICollection.py +3 -0
  116. spire/xls/common/IDictionary.py +2 -0
  117. spire/xls/common/IEnumerable.py +3 -0
  118. spire/xls/common/IEnumerator.py +2 -0
  119. spire/xls/common/IList.py +3 -0
  120. spire/xls/common/Int16.py +2 -0
  121. spire/xls/common/Int32.py +2 -0
  122. spire/xls/common/Int64.py +2 -0
  123. spire/xls/common/License.py +12 -0
  124. spire/xls/common/PixelFormat.py +2 -0
  125. spire/xls/common/Point.py +2 -0
  126. spire/xls/common/PointF.py +2 -0
  127. spire/xls/common/Rectangle.py +2 -0
  128. spire/xls/common/RectangleF.py +2 -0
  129. spire/xls/common/Regex.py +2 -0
  130. spire/xls/common/RegexOptions.py +2 -0
  131. spire/xls/common/Single.py +2 -0
  132. spire/xls/common/Size.py +2 -0
  133. spire/xls/common/SizeF.py +6 -4
  134. spire/xls/common/SpireObject.py +2 -0
  135. spire/xls/common/Stream.py +2 -0
  136. spire/xls/common/String.py +3 -1
  137. spire/xls/common/TimeSpan.py +2 -0
  138. spire/xls/common/UInt16.py +2 -0
  139. spire/xls/common/UInt32.py +2 -0
  140. spire/xls/common/UInt64.py +2 -0
  141. spire/xls/common/__init__.py +80 -9
  142. spire/xls/conditional_formatting/ConditionValue.py +0 -12
  143. spire/xls/conditional_formatting/ConditionalFormatWrapper.py +2 -2
  144. spire/xls/conditional_formatting/XlsConditionValue.py +4 -6
  145. spire/xls/conditional_formatting/XlsConditionalFormat.py +10 -2
  146. spire/xls/conditional_formatting/XlsConditionalFormats.py +10 -5
  147. spire/xls/interfaces/IChartErrorBars.py +2 -0
  148. spire/xls/interfaces/IChartTrendLine.py +1 -0
  149. spire/xls/interfaces/IListObject.py +2 -0
  150. spire/xls/interfaces/IOleObject.py +2 -0
  151. spire/xls/interfaces/IWorksheet.py +10 -10
  152. spire/xls/interfaces/ImportObjectOptions.py +7 -0
  153. spire/xls/interfaces/collections/IShapes.py +6 -6
  154. spire/xls/interfaces/pivot_table/IPivotTableOptions.py +12 -14
  155. spire/xls/lib/Spire.Xls.Base.dll +0 -0
  156. spire/xls/pivot_tables/PivotDataField.py +1 -1
  157. spire/xls/pivot_tables/PivotReportFilter.py +4 -4
  158. spire/xls/pivot_tables/PivotReportFilters.py +1 -1
  159. spire/xls/pivot_tables/PivotStyle.py +1 -0
  160. spire/xls/pivot_tables/PivotTableStyle.py +19 -12
  161. spire/xls/pivot_tables/XlsPivotCache.py +3 -1
  162. spire/xls/pivot_tables/XlsPivotField.py +2 -1
  163. spire/xls/pivot_tables/XlsPivotTable.py +4 -1
  164. spire/xls/sorting/SortColumn.py +1 -1
  165. spire/xls/sorting/SortColumns.py +1 -0
  166. spire/xls/sparkline/SparklineCollection.py +13 -1
  167. spire/xls/sparkline/SparklineGroupCollection.py +1 -1
  168. spire/xls/template_markers/MarkerDesigner.py +3 -2
  169. {spire_xls-15.7.1.dist-info → spire_xls-16.2.0.dist-info}/METADATA +1 -1
  170. {spire_xls-15.7.1.dist-info → spire_xls-16.2.0.dist-info}/RECORD +173 -172
  171. /spire/xls/lib/{_init_.py → __init__.py} +0 -0
  172. {spire_xls-15.7.1.dist-info → spire_xls-16.2.0.dist-info}/WHEEL +0 -0
  173. {spire_xls-15.7.1.dist-info → spire_xls-16.2.0.dist-info}/top_level.txt +0 -0
@@ -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 SpireObject(intPtr)
285
+ ret = None if intPtr==None else ChartShadow(intPtr)
286
286
  return ret
287
287
 
288
288
 
@@ -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
- # def GetThemeColor(self ,type:'ThemeColorType&',tint:'Double&')->bool:
190
- # """
191
- #
192
- # """
193
- # intPtrtype:c_void_p = type.Ptr
194
- # intPtrtint:c_void_p = tint.Ptr
195
- #
196
- # GetDllLibXls().ChartTextArea_GetThemeColor.argtypes=[c_void_p ,c_void_p,c_void_p]
197
- # GetDllLibXls().ChartTextArea_GetThemeColor.restype=c_bool
198
- # ret = CallCFunction(GetDllLibXls().ChartTextArea_GetThemeColor, self.Ptr, intPtrtype,intPtrtint)
199
- # return ret
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
- GetDllLibXls().ChartTextArea_GenerateNativeFont.argtypes=[c_void_p]
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 SpireObject(intPtr)
896
+ ret = None if intPtr==None else ChartTextArea(intPtr)
896
897
  return ret
897
898
 
898
899
 
@@ -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 IChartPageSetup(intPtr)
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 IChartCategoryAxis(intPtr)
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 IChartValueAxis(intPtr)
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 IChartSeriesAxis(intPtr)
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 IChartCategoryAxis(intPtr)
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 IChartValueAxis(intPtr)
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 IChartWallOrFloor(intPtr)
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 IChartWallOrFloor(intPtr)
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 IChartDataTable(intPtr)
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 IChartLegend(intPtr)
917
+ ret = None if intPtr==None else ChartLegend(intPtr)
918
918
  return ret
919
919
 
920
920
 
@@ -1421,7 +1421,7 @@ class XlsChart ( XlsWorksheetBase, ICloneParent, IChart) :
1421
1421
  GetDllLibXls().XlsChart_get_ChartTitleFont.argtypes=[c_void_p]
1422
1422
  GetDllLibXls().XlsChart_get_ChartTitleFont.restype=c_void_p
1423
1423
  intPtr = CallCFunction(GetDllLibXls().XlsChart_get_ChartTitleFont, self.Ptr)
1424
- ret = None if intPtr==None else XlsFont(intPtr)
1424
+ ret = None if intPtr==None else ChartTextArea(intPtr)
1425
1425
  return ret
1426
1426
 
1427
1427
 
@@ -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 = GetVectorFromArray(intPtrArray, ExcelChartType)
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 = GetVectorFromArray(intPtrArray, ExcelChartType)
1664
+ ret = GetObjVectorFromArray(intPtrArray, ExcelChartType)
1665
1665
  return ret
1666
1666
 
1667
1667
 
@@ -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 = GetVectorFromArray(intPtrArray, SpireObject)
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
- # def GetThemeColor(self ,type:'ThemeColorType&',tint:'Double&')->bool:
78
- # """
79
- #
80
- # """
81
- # intPtrtype:c_void_p = type.Ptr
82
- # intPtrtint:c_void_p = tint.Ptr
83
- #
84
- # GetDllLibXls().XlsChartDataLabelArea_GetThemeColor.argtypes=[c_void_p ,c_void_p,c_void_p]
85
- # GetDllLibXls().XlsChartDataLabelArea_GetThemeColor.restype=c_bool
86
- # ret = CallCFunction(GetDllLibXls().XlsChartDataLabelArea_GetThemeColor, self.Ptr, intPtrtype,intPtrtint)
87
- # return ret
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
- # def GetThemeColor(self ,type:'ThemeColorType&',tint:'Double&')->bool:
160
- # """
161
- #
162
- # """
163
- # intPtrtype:c_void_p = type.Ptr
164
- # intPtrtint:c_void_p = tint.Ptr
165
- #
166
- # GetDllLibXls().XlsChartDataTable_GetThemeColor.argtypes=[c_void_p ,c_void_p,c_void_p]
167
- # GetDllLibXls().XlsChartDataTable_GetThemeColor.restype=c_bool
168
- # ret = CallCFunction(GetDllLibXls().XlsChartDataTable_GetThemeColor, self.Ptr, intPtrtype,intPtrtint)
169
- # return ret
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 IChartInterior(intPtr)
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 IChartInterior(intPtr)
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)
@@ -166,10 +168,11 @@ class XlsChartFrameFormat ( XlsObject, IChartFrameFormat, IChartFillBorder) :
166
168
  workbook.SaveToFile("Chart.xlsx")
167
169
 
168
170
  """
171
+ from spire.xls.charts.XlsChartFill import XlsChartFill
169
172
  GetDllLibXls().XlsChartFrameFormat_get_Fill.argtypes=[c_void_p]
170
173
  GetDllLibXls().XlsChartFrameFormat_get_Fill.restype=c_void_p
171
174
  intPtr = CallCFunction(GetDllLibXls().XlsChartFrameFormat_get_Fill, self.Ptr)
172
- ret = None if intPtr==None else XlsShapeFill(intPtr)
175
+ ret = None if intPtr==None else XlsChartFill(intPtr)
173
176
  return ret
174
177
 
175
178
 
@@ -446,6 +449,7 @@ class XlsChartFrameFormat ( XlsObject, IChartFrameFormat, IChartFillBorder) :
446
449
  """
447
450
 
448
451
  """
452
+ from spire.xls.OColor import OColor
449
453
  GetDllLibXls().XlsChartFrameFormat_get_ForeGroundColorObject.argtypes=[c_void_p]
450
454
  GetDllLibXls().XlsChartFrameFormat_get_ForeGroundColorObject.restype=c_void_p
451
455
  intPtr = CallCFunction(GetDllLibXls().XlsChartFrameFormat_get_ForeGroundColorObject, self.Ptr)
@@ -494,6 +498,7 @@ class XlsChartFrameFormat ( XlsObject, IChartFrameFormat, IChartFillBorder) :
494
498
  """
495
499
 
496
500
  """
501
+ from spire.xls.OColor import OColor
497
502
  GetDllLibXls().XlsChartFrameFormat_get_BackGroundColorObject.argtypes=[c_void_p]
498
503
  GetDllLibXls().XlsChartFrameFormat_get_BackGroundColorObject.restype=c_void_p
499
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 IChartInterior(intPtr)
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 SpireObject(intPtr)
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 IChartTextArea(intPtr)
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
- # def GetThemeColor(self ,type:'ThemeColorType&',tint:'Double&')->bool:
82
- # """
83
- #
84
- # """
85
- # intPtrtype:c_void_p = type.Ptr
86
- # intPtrtint:c_void_p = tint.Ptr
87
- #
88
- # GetDllLibXls().XlsChartLegendArea_GetThemeColor.argtypes=[c_void_p ,c_void_p,c_void_p]
89
- # GetDllLibXls().XlsChartLegendArea_GetThemeColor.restype=c_bool
90
- # ret = CallCFunction(GetDllLibXls().XlsChartLegendArea_GetThemeColor, self.Ptr, intPtrtype,intPtrtint)
91
- # return ret
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 XlsChartFormat(intPtr)
585
+ ret = None if intPtr==None else ChartFormat(intPtr)
583
586
  return ret
584
587
 
585
588
  def GetSerieNameRange(self)->'IXLSRange':
@@ -95,6 +95,7 @@ class XlsChartSerieDataFormat ( XlsObject, IChartSerieDataFormat, IChartFillBor
95
95
  GetDllLibXls().XlsChartSerieDataFormat_get_MarkerBackColorObject.argtypes=[c_void_p]
96
96
  GetDllLibXls().XlsChartSerieDataFormat_get_MarkerBackColorObject.restype=c_void_p
97
97
  intPtr = CallCFunction(GetDllLibXls().XlsChartSerieDataFormat_get_MarkerBackColorObject, self.Ptr)
98
+ from spire.xls.OColor import OColor
98
99
  ret = None if intPtr==None else OColor(intPtr)
99
100
  return ret
100
101
 
@@ -109,6 +110,7 @@ class XlsChartSerieDataFormat ( XlsObject, IChartSerieDataFormat, IChartFillBor
109
110
  GetDllLibXls().XlsChartSerieDataFormat_get_MarkerForeColorObject.argtypes=[c_void_p]
110
111
  GetDllLibXls().XlsChartSerieDataFormat_get_MarkerForeColorObject.restype=c_void_p
111
112
  intPtr = CallCFunction(GetDllLibXls().XlsChartSerieDataFormat_get_MarkerForeColorObject, self.Ptr)
113
+ from spire.xls.OColor import OColor
112
114
  ret = None if intPtr==None else OColor(intPtr)
113
115
  return ret
114
116
 
@@ -120,10 +122,11 @@ class XlsChartSerieDataFormat ( XlsObject, IChartSerieDataFormat, IChartFillBor
120
122
  Returns:
121
123
  IChartInterior: The area properties of the chart series data format.
122
124
  """
125
+ from spire.xls.charts.ChartInterior import ChartInterior
123
126
  GetDllLibXls().XlsChartSerieDataFormat_get_AreaProperties.argtypes=[c_void_p]
124
127
  GetDllLibXls().XlsChartSerieDataFormat_get_AreaProperties.restype=c_void_p
125
128
  intPtr = CallCFunction(GetDllLibXls().XlsChartSerieDataFormat_get_AreaProperties, self.Ptr)
126
- ret = None if intPtr==None else IChartInterior(intPtr)
129
+ ret = None if intPtr==None else ChartInterior(intPtr)
127
130
  return ret
128
131
 
129
132
  @property
@@ -339,10 +342,11 @@ class XlsChartSerieDataFormat ( XlsObject, IChartSerieDataFormat, IChartFillBor
339
342
  Returns:
340
343
  IChartFormat: The options of the chart series data format.
341
344
  """
345
+ from spire.xls.charts.ChartFormat import ChartFormat
342
346
  GetDllLibXls().XlsChartSerieDataFormat_get_Options.argtypes=[c_void_p]
343
347
  GetDllLibXls().XlsChartSerieDataFormat_get_Options.restype=c_void_p
344
348
  intPtr = CallCFunction(GetDllLibXls().XlsChartSerieDataFormat_get_Options, self.Ptr)
345
- ret = None if intPtr==None else XlsChartFormat(intPtr)
349
+ ret = None if intPtr==None else ChartFormat(intPtr)
346
350
  return ret
347
351
 
348
352
  @property
@@ -520,10 +524,11 @@ class XlsChartSerieDataFormat ( XlsObject, IChartSerieDataFormat, IChartFillBor
520
524
  Returns:
521
525
  IChartInterior: The interior of the chart series data format.
522
526
  """
527
+ from spire.xls.charts.ChartInterior import ChartInterior
523
528
  GetDllLibXls().XlsChartSerieDataFormat_get_Interior.argtypes=[c_void_p]
524
529
  GetDllLibXls().XlsChartSerieDataFormat_get_Interior.restype=c_void_p
525
530
  intPtr = CallCFunction(GetDllLibXls().XlsChartSerieDataFormat_get_Interior, self.Ptr)
526
- ret = None if intPtr==None else IChartInterior(intPtr)
531
+ ret = None if intPtr==None else ChartInterior(intPtr)
527
532
  return ret
528
533
 
529
534
  @property
@@ -562,6 +567,7 @@ class XlsChartSerieDataFormat ( XlsObject, IChartSerieDataFormat, IChartFillBor
562
567
  Returns:
563
568
  Format3D: The 3D format of the chart series data format.
564
569
  """
570
+ from spire.xls.Format3D import Format3D
565
571
  GetDllLibXls().XlsChartSerieDataFormat_get_Format3D.argtypes=[c_void_p]
566
572
  GetDllLibXls().XlsChartSerieDataFormat_get_Format3D.restype=c_void_p
567
573
  intPtr = CallCFunction(GetDllLibXls().XlsChartSerieDataFormat_get_Format3D, self.Ptr)
@@ -649,6 +655,7 @@ class XlsChartSerieDataFormat ( XlsObject, IChartSerieDataFormat, IChartFillBor
649
655
  GetDllLibXls().XlsChartSerieDataFormat_get_ForeGroundColorObject.argtypes=[c_void_p]
650
656
  GetDllLibXls().XlsChartSerieDataFormat_get_ForeGroundColorObject.restype=c_void_p
651
657
  intPtr = CallCFunction(GetDllLibXls().XlsChartSerieDataFormat_get_ForeGroundColorObject, self.Ptr)
658
+ from spire.xls.OColor import OColor
652
659
  ret = None if intPtr==None else OColor(intPtr)
653
660
  return ret
654
661
 
@@ -701,6 +708,7 @@ class XlsChartSerieDataFormat ( XlsObject, IChartSerieDataFormat, IChartFillBor
701
708
  GetDllLibXls().XlsChartSerieDataFormat_get_BackGroundColorObject.argtypes=[c_void_p]
702
709
  GetDllLibXls().XlsChartSerieDataFormat_get_BackGroundColorObject.restype=c_void_p
703
710
  intPtr = CallCFunction(GetDllLibXls().XlsChartSerieDataFormat_get_BackGroundColorObject, self.Ptr)
711
+ from spire.xls.OColor import OColor
704
712
  ret = None if intPtr==None else OColor(intPtr)
705
713
  return ret
706
714
 
@@ -881,6 +889,7 @@ class XlsChartSerieDataFormat ( XlsObject, IChartSerieDataFormat, IChartFillBor
881
889
  Returns:
882
890
  XlsChartSerie: The parent series of the chart series data format.
883
891
  """
892
+ from spire.xls.charts.XlsChartSerie import XlsChartSerie
884
893
  GetDllLibXls().XlsChartSerieDataFormat_get_ParentSerie.argtypes=[c_void_p]
885
894
  GetDllLibXls().XlsChartSerieDataFormat_get_ParentSerie.restype=c_void_p
886
895
  intPtr = CallCFunction(GetDllLibXls().XlsChartSerieDataFormat_get_ParentSerie, self.Ptr)