@v587d/capital-generation 2.28.0 → 2.30.0
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.
- package/CHANGELOG.md +59 -0
- package/README.md +5 -4
- package/THIRD_PARTY_NOTICES.md +16 -0
- package/automation/package.json +1 -1
- package/chart-ui/package.json +1 -1
- package/config/package.json +1 -1
- package/lib/collector-runtime.js +56 -1
- package/lib/data-collector/catalog-taxonomy.d.ts +1 -1
- package/lib/data-collector/catalog-taxonomy.js +33 -0
- package/lib/data-collector/tools.js +7 -7
- package/lib/host-version.d.ts +9 -0
- package/lib/host-version.js +57 -0
- package/lib/python-runtime/errors.d.ts +1 -1
- package/lib/python-runtime/errors.js +2 -0
- package/lib/python-runtime/manager.d.ts +28 -1
- package/lib/python-runtime/manager.js +141 -5
- package/lib/python-runtime/probe.d.ts +24 -0
- package/lib/python-runtime/probe.js +66 -50
- package/lib/runtime-entry.js +8 -0
- package/lib/sources/csindex-http.d.ts +4 -0
- package/lib/sources/csindex-http.js +233 -0
- package/lib/sources/eastmoney-http.js +1504 -1
- package/lib/sources/fuyao-rest.js +168 -8
- package/lib/sources/official-http.d.ts +4 -0
- package/lib/sources/official-http.js +477 -0
- package/lib/sources/python-remote.d.ts +25 -0
- package/lib/sources/python-remote.js +461 -0
- package/lib/sources/sina-http.d.ts +2 -0
- package/lib/sources/sina-http.js +484 -0
- package/lib/sources/tencent-http.js +23 -8
- package/lib/sources/ths-http.d.ts +2 -0
- package/lib/sources/ths-http.js +514 -0
- package/lib/time/tools.js +19 -0
- package/lib/web-retriever/local-fetch.d.ts +1 -1
- package/lib/web-retriever/local-fetch.js +1 -1
- package/lib/web-retriever/sources.d.ts +7 -0
- package/lib/web-retriever/sources.js +46 -21
- package/lib/web-retriever/throttle.d.ts +8 -0
- package/lib/web-retriever/throttle.js +13 -0
- package/lib/web-retriever/tools.js +1 -1
- package/lib/web-retriever/wind-client.d.ts +1 -1
- package/lib/web-retriever/wind-client.js +1 -1
- package/package.json +6 -3
- package/preset/capital-generation/agent.patch.yml +7 -5
- package/preset/capital-generation/skills/capital-data-protocol/SKILL.md +16 -16
- package/python/scripts/baostock_stock_basic.py +129 -0
- package/python/scripts/baostock_valuation_history.py +141 -0
- package/python/scripts/pbc_social_financing.py +291 -0
- package/python/vendor/baostock/LICENSE +19 -0
- package/python/vendor/baostock/__init__.py +42 -0
- package/python/vendor/baostock/common/__init__.py +0 -0
- package/python/vendor/baostock/common/contants.py +189 -0
- package/python/vendor/baostock/common/context.py +4 -0
- package/python/vendor/baostock/corpreport/__init__.py +0 -0
- package/python/vendor/baostock/corpreport/corp_performance.py +202 -0
- package/python/vendor/baostock/data/__init__.py +0 -0
- package/python/vendor/baostock/data/messageheader.py +17 -0
- package/python/vendor/baostock/data/msg.py +21 -0
- package/python/vendor/baostock/data/resultset.py +200 -0
- package/python/vendor/baostock/demo/__init__.py +0 -0
- package/python/vendor/baostock/demo/demo_A_stock_5mk-data.py +34 -0
- package/python/vendor/baostock/demo/demo_A_stock_k_data.py +36 -0
- package/python/vendor/baostock/demo/demo_AllStock.py +27 -0
- package/python/vendor/baostock/demo/demo_Balance_data.py +22 -0
- package/python/vendor/baostock/demo/demo_CashFlow_data.py +22 -0
- package/python/vendor/baostock/demo/demo_Dividend_data.py +35 -0
- package/python/vendor/baostock/demo/demo_Dupont_data.py +25 -0
- package/python/vendor/baostock/demo/demo_Forecast_report.py +24 -0
- package/python/vendor/baostock/demo/demo_Growth_data.py +22 -0
- package/python/vendor/baostock/demo/demo_Index_k_data.py +39 -0
- package/python/vendor/baostock/demo/demo_Operation_data.py +22 -0
- package/python/vendor/baostock/demo/demo_PerformanceExpress_report.py +25 -0
- package/python/vendor/baostock/demo/demo_Profit_data.py +22 -0
- package/python/vendor/baostock/demo/demo_TradeDates.py +27 -0
- package/python/vendor/baostock/demo/demo_adjust_factor_data.py +23 -0
- package/python/vendor/baostock/demo/demo_assignDayData.py +23 -0
- package/python/vendor/baostock/demo/demo_daily_adjust_factor_data.py +28 -0
- package/python/vendor/baostock/demo/demo_daily_k_4_AStock.py +28 -0
- package/python/vendor/baostock/demo/demo_daily_k_4_ETF.py +28 -0
- package/python/vendor/baostock/demo/demo_depositRate_data.py +26 -0
- package/python/vendor/baostock/demo/demo_hs300_stocks.py +26 -0
- package/python/vendor/baostock/demo/demo_loanRate_data.py +26 -0
- package/python/vendor/baostock/demo/demo_moneySupplyDataMonth_data.py +26 -0
- package/python/vendor/baostock/demo/demo_moneySupplyDataYear_data.py +26 -0
- package/python/vendor/baostock/demo/demo_requiredReserveRatio_data.py +26 -0
- package/python/vendor/baostock/demo/demo_set_API_key.py +37 -0
- package/python/vendor/baostock/demo/demo_stockBasic_data.py +27 -0
- package/python/vendor/baostock/demo/demo_stock_Valuation_indicator_data.py +34 -0
- package/python/vendor/baostock/demo/demo_stock_industry.py +26 -0
- package/python/vendor/baostock/demo/demo_sz50stocks.py +26 -0
- package/python/vendor/baostock/demo/demo_zz500_stock.py +26 -0
- package/python/vendor/baostock/evaluation/__init__.py +0 -0
- package/python/vendor/baostock/evaluation/season_index.py +758 -0
- package/python/vendor/baostock/login/__init__.py +0 -0
- package/python/vendor/baostock/login/loginout.py +230 -0
- package/python/vendor/baostock/macroscopic/__init__.py +0 -0
- package/python/vendor/baostock/macroscopic/economic_data.py +723 -0
- package/python/vendor/baostock/metadata/__init__.py +0 -0
- package/python/vendor/baostock/metadata/stock_metadata.py +207 -0
- package/python/vendor/baostock/security/__init__.py +0 -0
- package/python/vendor/baostock/security/history.py +265 -0
- package/python/vendor/baostock/security/sectorinfo.py +1024 -0
- package/python/vendor/baostock/util/__init__.py +0 -0
- package/python/vendor/baostock/util/socketutil.py +97 -0
- package/python/vendor/baostock/util/stringutil.py +83 -0
- package/python/vendor/et_xmlfile/LICENSE +23 -0
- package/python/vendor/et_xmlfile/LICENSE.python +298 -0
- package/python/vendor/et_xmlfile/__init__.py +8 -0
- package/python/vendor/et_xmlfile/incremental_tree.py +917 -0
- package/python/vendor/et_xmlfile/xmlfile.py +158 -0
- package/python/vendor/openpyxl/LICENSE +23 -0
- package/python/vendor/openpyxl/__init__.py +19 -0
- package/python/vendor/openpyxl/_constants.py +13 -0
- package/python/vendor/openpyxl/cell/__init__.py +4 -0
- package/python/vendor/openpyxl/cell/_writer.py +136 -0
- package/python/vendor/openpyxl/cell/cell.py +332 -0
- package/python/vendor/openpyxl/cell/read_only.py +136 -0
- package/python/vendor/openpyxl/cell/rich_text.py +202 -0
- package/python/vendor/openpyxl/cell/text.py +184 -0
- package/python/vendor/openpyxl/chart/_3d.py +105 -0
- package/python/vendor/openpyxl/chart/__init__.py +19 -0
- package/python/vendor/openpyxl/chart/_chart.py +199 -0
- package/python/vendor/openpyxl/chart/area_chart.py +106 -0
- package/python/vendor/openpyxl/chart/axis.py +401 -0
- package/python/vendor/openpyxl/chart/bar_chart.py +144 -0
- package/python/vendor/openpyxl/chart/bubble_chart.py +67 -0
- package/python/vendor/openpyxl/chart/chartspace.py +195 -0
- package/python/vendor/openpyxl/chart/data_source.py +246 -0
- package/python/vendor/openpyxl/chart/descriptors.py +43 -0
- package/python/vendor/openpyxl/chart/error_bar.py +62 -0
- package/python/vendor/openpyxl/chart/label.py +127 -0
- package/python/vendor/openpyxl/chart/layout.py +74 -0
- package/python/vendor/openpyxl/chart/legend.py +75 -0
- package/python/vendor/openpyxl/chart/line_chart.py +129 -0
- package/python/vendor/openpyxl/chart/marker.py +90 -0
- package/python/vendor/openpyxl/chart/picture.py +35 -0
- package/python/vendor/openpyxl/chart/pie_chart.py +177 -0
- package/python/vendor/openpyxl/chart/pivot.py +65 -0
- package/python/vendor/openpyxl/chart/plotarea.py +162 -0
- package/python/vendor/openpyxl/chart/print_settings.py +57 -0
- package/python/vendor/openpyxl/chart/radar_chart.py +55 -0
- package/python/vendor/openpyxl/chart/reader.py +32 -0
- package/python/vendor/openpyxl/chart/reference.py +124 -0
- package/python/vendor/openpyxl/chart/scatter_chart.py +53 -0
- package/python/vendor/openpyxl/chart/series.py +197 -0
- package/python/vendor/openpyxl/chart/series_factory.py +41 -0
- package/python/vendor/openpyxl/chart/shapes.py +89 -0
- package/python/vendor/openpyxl/chart/stock_chart.py +54 -0
- package/python/vendor/openpyxl/chart/surface_chart.py +119 -0
- package/python/vendor/openpyxl/chart/text.py +78 -0
- package/python/vendor/openpyxl/chart/title.py +76 -0
- package/python/vendor/openpyxl/chart/trendline.py +98 -0
- package/python/vendor/openpyxl/chart/updown_bars.py +31 -0
- package/python/vendor/openpyxl/chartsheet/__init__.py +3 -0
- package/python/vendor/openpyxl/chartsheet/chartsheet.py +107 -0
- package/python/vendor/openpyxl/chartsheet/custom.py +61 -0
- package/python/vendor/openpyxl/chartsheet/properties.py +28 -0
- package/python/vendor/openpyxl/chartsheet/protection.py +41 -0
- package/python/vendor/openpyxl/chartsheet/publish.py +58 -0
- package/python/vendor/openpyxl/chartsheet/relation.py +97 -0
- package/python/vendor/openpyxl/chartsheet/views.py +51 -0
- package/python/vendor/openpyxl/comments/__init__.py +4 -0
- package/python/vendor/openpyxl/comments/author.py +21 -0
- package/python/vendor/openpyxl/comments/comment_sheet.py +211 -0
- package/python/vendor/openpyxl/comments/comments.py +62 -0
- package/python/vendor/openpyxl/comments/shape_writer.py +112 -0
- package/python/vendor/openpyxl/compat/__init__.py +54 -0
- package/python/vendor/openpyxl/compat/abc.py +8 -0
- package/python/vendor/openpyxl/compat/numbers.py +43 -0
- package/python/vendor/openpyxl/compat/product.py +17 -0
- package/python/vendor/openpyxl/compat/singleton.py +40 -0
- package/python/vendor/openpyxl/compat/strings.py +25 -0
- package/python/vendor/openpyxl/descriptors/__init__.py +58 -0
- package/python/vendor/openpyxl/descriptors/base.py +272 -0
- package/python/vendor/openpyxl/descriptors/container.py +41 -0
- package/python/vendor/openpyxl/descriptors/excel.py +112 -0
- package/python/vendor/openpyxl/descriptors/namespace.py +12 -0
- package/python/vendor/openpyxl/descriptors/nested.py +129 -0
- package/python/vendor/openpyxl/descriptors/sequence.py +136 -0
- package/python/vendor/openpyxl/descriptors/serialisable.py +240 -0
- package/python/vendor/openpyxl/descriptors/slots.py +18 -0
- package/python/vendor/openpyxl/drawing/__init__.py +4 -0
- package/python/vendor/openpyxl/drawing/colors.py +435 -0
- package/python/vendor/openpyxl/drawing/connector.py +144 -0
- package/python/vendor/openpyxl/drawing/drawing.py +92 -0
- package/python/vendor/openpyxl/drawing/effect.py +407 -0
- package/python/vendor/openpyxl/drawing/fill.py +425 -0
- package/python/vendor/openpyxl/drawing/geometry.py +584 -0
- package/python/vendor/openpyxl/drawing/graphic.py +177 -0
- package/python/vendor/openpyxl/drawing/image.py +65 -0
- package/python/vendor/openpyxl/drawing/line.py +144 -0
- package/python/vendor/openpyxl/drawing/picture.py +144 -0
- package/python/vendor/openpyxl/drawing/properties.py +174 -0
- package/python/vendor/openpyxl/drawing/relation.py +17 -0
- package/python/vendor/openpyxl/drawing/spreadsheet_drawing.py +382 -0
- package/python/vendor/openpyxl/drawing/text.py +717 -0
- package/python/vendor/openpyxl/drawing/xdr.py +33 -0
- package/python/vendor/openpyxl/formatting/__init__.py +3 -0
- package/python/vendor/openpyxl/formatting/formatting.py +114 -0
- package/python/vendor/openpyxl/formatting/rule.py +291 -0
- package/python/vendor/openpyxl/formula/__init__.py +3 -0
- package/python/vendor/openpyxl/formula/tokenizer.py +446 -0
- package/python/vendor/openpyxl/formula/translate.py +166 -0
- package/python/vendor/openpyxl/packaging/__init__.py +3 -0
- package/python/vendor/openpyxl/packaging/core.py +115 -0
- package/python/vendor/openpyxl/packaging/custom.py +289 -0
- package/python/vendor/openpyxl/packaging/extended.py +137 -0
- package/python/vendor/openpyxl/packaging/interface.py +56 -0
- package/python/vendor/openpyxl/packaging/manifest.py +194 -0
- package/python/vendor/openpyxl/packaging/relationship.py +158 -0
- package/python/vendor/openpyxl/packaging/workbook.py +185 -0
- package/python/vendor/openpyxl/pivot/__init__.py +1 -0
- package/python/vendor/openpyxl/pivot/cache.py +965 -0
- package/python/vendor/openpyxl/pivot/fields.py +326 -0
- package/python/vendor/openpyxl/pivot/record.py +111 -0
- package/python/vendor/openpyxl/pivot/table.py +1261 -0
- package/python/vendor/openpyxl/reader/__init__.py +1 -0
- package/python/vendor/openpyxl/reader/drawings.py +71 -0
- package/python/vendor/openpyxl/reader/excel.py +349 -0
- package/python/vendor/openpyxl/reader/strings.py +44 -0
- package/python/vendor/openpyxl/reader/workbook.py +133 -0
- package/python/vendor/openpyxl/styles/__init__.py +11 -0
- package/python/vendor/openpyxl/styles/alignment.py +62 -0
- package/python/vendor/openpyxl/styles/borders.py +103 -0
- package/python/vendor/openpyxl/styles/builtins.py +1397 -0
- package/python/vendor/openpyxl/styles/cell_style.py +206 -0
- package/python/vendor/openpyxl/styles/colors.py +172 -0
- package/python/vendor/openpyxl/styles/differential.py +95 -0
- package/python/vendor/openpyxl/styles/fills.py +224 -0
- package/python/vendor/openpyxl/styles/fonts.py +113 -0
- package/python/vendor/openpyxl/styles/named_styles.py +282 -0
- package/python/vendor/openpyxl/styles/numbers.py +200 -0
- package/python/vendor/openpyxl/styles/protection.py +17 -0
- package/python/vendor/openpyxl/styles/proxy.py +62 -0
- package/python/vendor/openpyxl/styles/styleable.py +151 -0
- package/python/vendor/openpyxl/styles/stylesheet.py +274 -0
- package/python/vendor/openpyxl/styles/table.py +94 -0
- package/python/vendor/openpyxl/utils/__init__.py +17 -0
- package/python/vendor/openpyxl/utils/bound_dictionary.py +26 -0
- package/python/vendor/openpyxl/utils/cell.py +240 -0
- package/python/vendor/openpyxl/utils/dataframe.py +87 -0
- package/python/vendor/openpyxl/utils/datetime.py +140 -0
- package/python/vendor/openpyxl/utils/escape.py +43 -0
- package/python/vendor/openpyxl/utils/exceptions.py +34 -0
- package/python/vendor/openpyxl/utils/formulas.py +24 -0
- package/python/vendor/openpyxl/utils/indexed_list.py +49 -0
- package/python/vendor/openpyxl/utils/inference.py +60 -0
- package/python/vendor/openpyxl/utils/protection.py +22 -0
- package/python/vendor/openpyxl/utils/units.py +108 -0
- package/python/vendor/openpyxl/workbook/__init__.py +4 -0
- package/python/vendor/openpyxl/workbook/_writer.py +197 -0
- package/python/vendor/openpyxl/workbook/child.py +166 -0
- package/python/vendor/openpyxl/workbook/defined_name.py +189 -0
- package/python/vendor/openpyxl/workbook/external_link/__init__.py +3 -0
- package/python/vendor/openpyxl/workbook/external_link/external.py +190 -0
- package/python/vendor/openpyxl/workbook/external_reference.py +18 -0
- package/python/vendor/openpyxl/workbook/function_group.py +36 -0
- package/python/vendor/openpyxl/workbook/properties.py +151 -0
- package/python/vendor/openpyxl/workbook/protection.py +163 -0
- package/python/vendor/openpyxl/workbook/smart_tags.py +56 -0
- package/python/vendor/openpyxl/workbook/views.py +155 -0
- package/python/vendor/openpyxl/workbook/web.py +98 -0
- package/python/vendor/openpyxl/workbook/workbook.py +438 -0
- package/python/vendor/openpyxl/worksheet/__init__.py +1 -0
- package/python/vendor/openpyxl/worksheet/_read_only.py +190 -0
- package/python/vendor/openpyxl/worksheet/_reader.py +472 -0
- package/python/vendor/openpyxl/worksheet/_write_only.py +160 -0
- package/python/vendor/openpyxl/worksheet/_writer.py +390 -0
- package/python/vendor/openpyxl/worksheet/cell_range.py +512 -0
- package/python/vendor/openpyxl/worksheet/cell_watch.py +34 -0
- package/python/vendor/openpyxl/worksheet/controls.py +107 -0
- package/python/vendor/openpyxl/worksheet/copier.py +70 -0
- package/python/vendor/openpyxl/worksheet/custom.py +35 -0
- package/python/vendor/openpyxl/worksheet/datavalidation.py +202 -0
- package/python/vendor/openpyxl/worksheet/dimensions.py +306 -0
- package/python/vendor/openpyxl/worksheet/drawing.py +14 -0
- package/python/vendor/openpyxl/worksheet/errors.py +93 -0
- package/python/vendor/openpyxl/worksheet/filters.py +486 -0
- package/python/vendor/openpyxl/worksheet/formula.py +51 -0
- package/python/vendor/openpyxl/worksheet/header_footer.py +270 -0
- package/python/vendor/openpyxl/worksheet/hyperlink.py +46 -0
- package/python/vendor/openpyxl/worksheet/merge.py +141 -0
- package/python/vendor/openpyxl/worksheet/ole.py +133 -0
- package/python/vendor/openpyxl/worksheet/page.py +174 -0
- package/python/vendor/openpyxl/worksheet/pagebreak.py +94 -0
- package/python/vendor/openpyxl/worksheet/picture.py +8 -0
- package/python/vendor/openpyxl/worksheet/print_settings.py +184 -0
- package/python/vendor/openpyxl/worksheet/properties.py +97 -0
- package/python/vendor/openpyxl/worksheet/protection.py +120 -0
- package/python/vendor/openpyxl/worksheet/related.py +17 -0
- package/python/vendor/openpyxl/worksheet/scenario.py +105 -0
- package/python/vendor/openpyxl/worksheet/smart_tag.py +78 -0
- package/python/vendor/openpyxl/worksheet/table.py +385 -0
- package/python/vendor/openpyxl/worksheet/views.py +155 -0
- package/python/vendor/openpyxl/worksheet/worksheet.py +907 -0
- package/python/vendor/openpyxl/writer/__init__.py +1 -0
- package/python/vendor/openpyxl/writer/excel.py +295 -0
- package/python/vendor/openpyxl/writer/theme.py +291 -0
- package/python/vendor/openpyxl/xml/__init__.py +42 -0
- package/python/vendor/openpyxl/xml/constants.py +129 -0
- package/python/vendor/openpyxl/xml/functions.py +87 -0
- package/watchlist/package.json +1 -1
|
@@ -0,0 +1,584 @@
|
|
|
1
|
+
# Copyright (c) 2010-2024 openpyxl
|
|
2
|
+
|
|
3
|
+
from openpyxl.descriptors.serialisable import Serialisable
|
|
4
|
+
from openpyxl.descriptors import (
|
|
5
|
+
Typed,
|
|
6
|
+
Float,
|
|
7
|
+
Integer,
|
|
8
|
+
Bool,
|
|
9
|
+
MinMax,
|
|
10
|
+
Set,
|
|
11
|
+
NoneSet,
|
|
12
|
+
String,
|
|
13
|
+
Alias,
|
|
14
|
+
)
|
|
15
|
+
from openpyxl.descriptors.excel import Coordinate, Percentage
|
|
16
|
+
from openpyxl.descriptors.excel import ExtensionList as OfficeArtExtensionList
|
|
17
|
+
from .line import LineProperties
|
|
18
|
+
|
|
19
|
+
from openpyxl.styles.colors import Color
|
|
20
|
+
from openpyxl.xml.constants import DRAWING_NS
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class Point2D(Serialisable):
|
|
24
|
+
|
|
25
|
+
tagname = "off"
|
|
26
|
+
namespace = DRAWING_NS
|
|
27
|
+
|
|
28
|
+
x = Coordinate()
|
|
29
|
+
y = Coordinate()
|
|
30
|
+
|
|
31
|
+
def __init__(self,
|
|
32
|
+
x=None,
|
|
33
|
+
y=None,
|
|
34
|
+
):
|
|
35
|
+
self.x = x
|
|
36
|
+
self.y = y
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
class PositiveSize2D(Serialisable):
|
|
40
|
+
|
|
41
|
+
tagname = "ext"
|
|
42
|
+
namespace = DRAWING_NS
|
|
43
|
+
|
|
44
|
+
"""
|
|
45
|
+
Dimensions in EMUs
|
|
46
|
+
"""
|
|
47
|
+
|
|
48
|
+
cx = Integer()
|
|
49
|
+
width = Alias('cx')
|
|
50
|
+
cy = Integer()
|
|
51
|
+
height = Alias('cy')
|
|
52
|
+
|
|
53
|
+
def __init__(self,
|
|
54
|
+
cx=None,
|
|
55
|
+
cy=None,
|
|
56
|
+
):
|
|
57
|
+
self.cx = cx
|
|
58
|
+
self.cy = cy
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
class Transform2D(Serialisable):
|
|
62
|
+
|
|
63
|
+
tagname = "xfrm"
|
|
64
|
+
namespace = DRAWING_NS
|
|
65
|
+
|
|
66
|
+
rot = Integer(allow_none=True)
|
|
67
|
+
flipH = Bool(allow_none=True)
|
|
68
|
+
flipV = Bool(allow_none=True)
|
|
69
|
+
off = Typed(expected_type=Point2D, allow_none=True)
|
|
70
|
+
ext = Typed(expected_type=PositiveSize2D, allow_none=True)
|
|
71
|
+
chOff = Typed(expected_type=Point2D, allow_none=True)
|
|
72
|
+
chExt = Typed(expected_type=PositiveSize2D, allow_none=True)
|
|
73
|
+
|
|
74
|
+
__elements__ = ('off', 'ext', 'chOff', 'chExt')
|
|
75
|
+
|
|
76
|
+
def __init__(self,
|
|
77
|
+
rot=None,
|
|
78
|
+
flipH=None,
|
|
79
|
+
flipV=None,
|
|
80
|
+
off=None,
|
|
81
|
+
ext=None,
|
|
82
|
+
chOff=None,
|
|
83
|
+
chExt=None,
|
|
84
|
+
):
|
|
85
|
+
self.rot = rot
|
|
86
|
+
self.flipH = flipH
|
|
87
|
+
self.flipV = flipV
|
|
88
|
+
self.off = off
|
|
89
|
+
self.ext = ext
|
|
90
|
+
self.chOff = chOff
|
|
91
|
+
self.chExt = chExt
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
class GroupTransform2D(Serialisable):
|
|
95
|
+
|
|
96
|
+
tagname = "xfrm"
|
|
97
|
+
namespace = DRAWING_NS
|
|
98
|
+
|
|
99
|
+
rot = Integer(allow_none=True)
|
|
100
|
+
flipH = Bool(allow_none=True)
|
|
101
|
+
flipV = Bool(allow_none=True)
|
|
102
|
+
off = Typed(expected_type=Point2D, allow_none=True)
|
|
103
|
+
ext = Typed(expected_type=PositiveSize2D, allow_none=True)
|
|
104
|
+
chOff = Typed(expected_type=Point2D, allow_none=True)
|
|
105
|
+
chExt = Typed(expected_type=PositiveSize2D, allow_none=True)
|
|
106
|
+
|
|
107
|
+
__elements__ = ("off", "ext", "chOff", "chExt")
|
|
108
|
+
|
|
109
|
+
def __init__(self,
|
|
110
|
+
rot=0,
|
|
111
|
+
flipH=None,
|
|
112
|
+
flipV=None,
|
|
113
|
+
off=None,
|
|
114
|
+
ext=None,
|
|
115
|
+
chOff=None,
|
|
116
|
+
chExt=None,
|
|
117
|
+
):
|
|
118
|
+
self.rot = rot
|
|
119
|
+
self.flipH = flipH
|
|
120
|
+
self.flipV = flipV
|
|
121
|
+
self.off = off
|
|
122
|
+
self.ext = ext
|
|
123
|
+
self.chOff = chOff
|
|
124
|
+
self.chExt = chExt
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
class SphereCoords(Serialisable):
|
|
128
|
+
|
|
129
|
+
tagname = "sphereCoords" # usually
|
|
130
|
+
|
|
131
|
+
lat = Integer()
|
|
132
|
+
lon = Integer()
|
|
133
|
+
rev = Integer()
|
|
134
|
+
|
|
135
|
+
def __init__(self,
|
|
136
|
+
lat=None,
|
|
137
|
+
lon=None,
|
|
138
|
+
rev=None,
|
|
139
|
+
):
|
|
140
|
+
self.lat = lat
|
|
141
|
+
self.lon = lon
|
|
142
|
+
self.rev = rev
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
class Camera(Serialisable):
|
|
146
|
+
|
|
147
|
+
tagname = "camera"
|
|
148
|
+
|
|
149
|
+
prst = Set(values=[
|
|
150
|
+
'legacyObliqueTopLeft', 'legacyObliqueTop', 'legacyObliqueTopRight', 'legacyObliqueLeft',
|
|
151
|
+
'legacyObliqueFront', 'legacyObliqueRight', 'legacyObliqueBottomLeft',
|
|
152
|
+
'legacyObliqueBottom', 'legacyObliqueBottomRight', 'legacyPerspectiveTopLeft',
|
|
153
|
+
'legacyPerspectiveTop', 'legacyPerspectiveTopRight', 'legacyPerspectiveLeft',
|
|
154
|
+
'legacyPerspectiveFront', 'legacyPerspectiveRight', 'legacyPerspectiveBottomLeft',
|
|
155
|
+
'legacyPerspectiveBottom', 'legacyPerspectiveBottomRight', 'orthographicFront',
|
|
156
|
+
'isometricTopUp', 'isometricTopDown', 'isometricBottomUp', 'isometricBottomDown',
|
|
157
|
+
'isometricLeftUp', 'isometricLeftDown', 'isometricRightUp', 'isometricRightDown',
|
|
158
|
+
'isometricOffAxis1Left', 'isometricOffAxis1Right', 'isometricOffAxis1Top',
|
|
159
|
+
'isometricOffAxis2Left', 'isometricOffAxis2Right', 'isometricOffAxis2Top',
|
|
160
|
+
'isometricOffAxis3Left', 'isometricOffAxis3Right', 'isometricOffAxis3Bottom',
|
|
161
|
+
'isometricOffAxis4Left', 'isometricOffAxis4Right', 'isometricOffAxis4Bottom',
|
|
162
|
+
'obliqueTopLeft', 'obliqueTop', 'obliqueTopRight', 'obliqueLeft', 'obliqueRight',
|
|
163
|
+
'obliqueBottomLeft', 'obliqueBottom', 'obliqueBottomRight', 'perspectiveFront',
|
|
164
|
+
'perspectiveLeft', 'perspectiveRight', 'perspectiveAbove', 'perspectiveBelow',
|
|
165
|
+
'perspectiveAboveLeftFacing', 'perspectiveAboveRightFacing',
|
|
166
|
+
'perspectiveContrastingLeftFacing', 'perspectiveContrastingRightFacing',
|
|
167
|
+
'perspectiveHeroicLeftFacing', 'perspectiveHeroicRightFacing',
|
|
168
|
+
'perspectiveHeroicExtremeLeftFacing', 'perspectiveHeroicExtremeRightFacing',
|
|
169
|
+
'perspectiveRelaxed', 'perspectiveRelaxedModerately'])
|
|
170
|
+
fov = Integer(allow_none=True)
|
|
171
|
+
zoom = Typed(expected_type=Percentage, allow_none=True)
|
|
172
|
+
rot = Typed(expected_type=SphereCoords, allow_none=True)
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
def __init__(self,
|
|
176
|
+
prst=None,
|
|
177
|
+
fov=None,
|
|
178
|
+
zoom=None,
|
|
179
|
+
rot=None,
|
|
180
|
+
):
|
|
181
|
+
self.prst = prst
|
|
182
|
+
self.fov = fov
|
|
183
|
+
self.zoom = zoom
|
|
184
|
+
self.rot = rot
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
class LightRig(Serialisable):
|
|
188
|
+
|
|
189
|
+
tagname = "lightRig"
|
|
190
|
+
|
|
191
|
+
rig = Set(values=['legacyFlat1', 'legacyFlat2', 'legacyFlat3', 'legacyFlat4', 'legacyNormal1',
|
|
192
|
+
'legacyNormal2', 'legacyNormal3', 'legacyNormal4', 'legacyHarsh1',
|
|
193
|
+
'legacyHarsh2', 'legacyHarsh3', 'legacyHarsh4', 'threePt', 'balanced',
|
|
194
|
+
'soft', 'harsh', 'flood', 'contrasting', 'morning', 'sunrise', 'sunset',
|
|
195
|
+
'chilly', 'freezing', 'flat', 'twoPt', 'glow', 'brightRoom']
|
|
196
|
+
)
|
|
197
|
+
dir = Set(values=(['tl', 't', 'tr', 'l', 'r', 'bl', 'b', 'br']))
|
|
198
|
+
rot = Typed(expected_type=SphereCoords, allow_none=True)
|
|
199
|
+
|
|
200
|
+
def __init__(self,
|
|
201
|
+
rig=None,
|
|
202
|
+
dir=None,
|
|
203
|
+
rot=None,
|
|
204
|
+
):
|
|
205
|
+
self.rig = rig
|
|
206
|
+
self.dir = dir
|
|
207
|
+
self.rot = rot
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
class Vector3D(Serialisable):
|
|
211
|
+
|
|
212
|
+
tagname = "vector"
|
|
213
|
+
|
|
214
|
+
dx = Integer() # can be in or universl measure :-/
|
|
215
|
+
dy = Integer()
|
|
216
|
+
dz = Integer()
|
|
217
|
+
|
|
218
|
+
def __init__(self,
|
|
219
|
+
dx=None,
|
|
220
|
+
dy=None,
|
|
221
|
+
dz=None,
|
|
222
|
+
):
|
|
223
|
+
self.dx = dx
|
|
224
|
+
self.dy = dy
|
|
225
|
+
self.dz = dz
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
class Point3D(Serialisable):
|
|
229
|
+
|
|
230
|
+
tagname = "anchor"
|
|
231
|
+
|
|
232
|
+
x = Integer()
|
|
233
|
+
y = Integer()
|
|
234
|
+
z = Integer()
|
|
235
|
+
|
|
236
|
+
def __init__(self,
|
|
237
|
+
x=None,
|
|
238
|
+
y=None,
|
|
239
|
+
z=None,
|
|
240
|
+
):
|
|
241
|
+
self.x = x
|
|
242
|
+
self.y = y
|
|
243
|
+
self.z = z
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
class Backdrop(Serialisable):
|
|
247
|
+
|
|
248
|
+
anchor = Typed(expected_type=Point3D, )
|
|
249
|
+
norm = Typed(expected_type=Vector3D, )
|
|
250
|
+
up = Typed(expected_type=Vector3D, )
|
|
251
|
+
extLst = Typed(expected_type=OfficeArtExtensionList, allow_none=True)
|
|
252
|
+
|
|
253
|
+
def __init__(self,
|
|
254
|
+
anchor=None,
|
|
255
|
+
norm=None,
|
|
256
|
+
up=None,
|
|
257
|
+
extLst=None,
|
|
258
|
+
):
|
|
259
|
+
self.anchor = anchor
|
|
260
|
+
self.norm = norm
|
|
261
|
+
self.up = up
|
|
262
|
+
self.extLst = extLst
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
class Scene3D(Serialisable):
|
|
266
|
+
|
|
267
|
+
camera = Typed(expected_type=Camera, )
|
|
268
|
+
lightRig = Typed(expected_type=LightRig, )
|
|
269
|
+
backdrop = Typed(expected_type=Backdrop, allow_none=True)
|
|
270
|
+
extLst = Typed(expected_type=OfficeArtExtensionList, allow_none=True)
|
|
271
|
+
|
|
272
|
+
def __init__(self,
|
|
273
|
+
camera=None,
|
|
274
|
+
lightRig=None,
|
|
275
|
+
backdrop=None,
|
|
276
|
+
extLst=None,
|
|
277
|
+
):
|
|
278
|
+
self.camera = camera
|
|
279
|
+
self.lightRig = lightRig
|
|
280
|
+
self.backdrop = backdrop
|
|
281
|
+
self.extLst = extLst
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
class Bevel(Serialisable):
|
|
285
|
+
|
|
286
|
+
tagname = "bevel"
|
|
287
|
+
|
|
288
|
+
w = Integer()
|
|
289
|
+
h = Integer()
|
|
290
|
+
prst = NoneSet(values=
|
|
291
|
+
['relaxedInset', 'circle', 'slope', 'cross', 'angle',
|
|
292
|
+
'softRound', 'convex', 'coolSlant', 'divot', 'riblet',
|
|
293
|
+
'hardEdge', 'artDeco']
|
|
294
|
+
)
|
|
295
|
+
|
|
296
|
+
def __init__(self,
|
|
297
|
+
w=None,
|
|
298
|
+
h=None,
|
|
299
|
+
prst=None,
|
|
300
|
+
):
|
|
301
|
+
self.w = w
|
|
302
|
+
self.h = h
|
|
303
|
+
self.prst = prst
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
class Shape3D(Serialisable):
|
|
307
|
+
|
|
308
|
+
namespace = DRAWING_NS
|
|
309
|
+
|
|
310
|
+
z = Typed(expected_type=Coordinate, allow_none=True)
|
|
311
|
+
extrusionH = Integer(allow_none=True)
|
|
312
|
+
contourW = Integer(allow_none=True)
|
|
313
|
+
prstMaterial = NoneSet(values=[
|
|
314
|
+
'legacyMatte','legacyPlastic', 'legacyMetal', 'legacyWireframe', 'matte', 'plastic',
|
|
315
|
+
'metal', 'warmMatte', 'translucentPowder', 'powder', 'dkEdge',
|
|
316
|
+
'softEdge', 'clear', 'flat', 'softmetal']
|
|
317
|
+
)
|
|
318
|
+
bevelT = Typed(expected_type=Bevel, allow_none=True)
|
|
319
|
+
bevelB = Typed(expected_type=Bevel, allow_none=True)
|
|
320
|
+
extrusionClr = Typed(expected_type=Color, allow_none=True)
|
|
321
|
+
contourClr = Typed(expected_type=Color, allow_none=True)
|
|
322
|
+
extLst = Typed(expected_type=OfficeArtExtensionList, allow_none=True)
|
|
323
|
+
|
|
324
|
+
def __init__(self,
|
|
325
|
+
z=None,
|
|
326
|
+
extrusionH=None,
|
|
327
|
+
contourW=None,
|
|
328
|
+
prstMaterial=None,
|
|
329
|
+
bevelT=None,
|
|
330
|
+
bevelB=None,
|
|
331
|
+
extrusionClr=None,
|
|
332
|
+
contourClr=None,
|
|
333
|
+
extLst=None,
|
|
334
|
+
):
|
|
335
|
+
self.z = z
|
|
336
|
+
self.extrusionH = extrusionH
|
|
337
|
+
self.contourW = contourW
|
|
338
|
+
self.prstMaterial = prstMaterial
|
|
339
|
+
self.bevelT = bevelT
|
|
340
|
+
self.bevelB = bevelB
|
|
341
|
+
self.extrusionClr = extrusionClr
|
|
342
|
+
self.contourClr = contourClr
|
|
343
|
+
self.extLst = extLst
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
class Path2D(Serialisable):
|
|
347
|
+
|
|
348
|
+
w = Float()
|
|
349
|
+
h = Float()
|
|
350
|
+
fill = NoneSet(values=(['norm', 'lighten', 'lightenLess', 'darken', 'darkenLess']))
|
|
351
|
+
stroke = Bool(allow_none=True)
|
|
352
|
+
extrusionOk = Bool(allow_none=True)
|
|
353
|
+
|
|
354
|
+
def __init__(self,
|
|
355
|
+
w=None,
|
|
356
|
+
h=None,
|
|
357
|
+
fill=None,
|
|
358
|
+
stroke=None,
|
|
359
|
+
extrusionOk=None,
|
|
360
|
+
):
|
|
361
|
+
self.w = w
|
|
362
|
+
self.h = h
|
|
363
|
+
self.fill = fill
|
|
364
|
+
self.stroke = stroke
|
|
365
|
+
self.extrusionOk = extrusionOk
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
class Path2DList(Serialisable):
|
|
369
|
+
|
|
370
|
+
path = Typed(expected_type=Path2D, allow_none=True)
|
|
371
|
+
|
|
372
|
+
def __init__(self,
|
|
373
|
+
path=None,
|
|
374
|
+
):
|
|
375
|
+
self.path = path
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
class GeomRect(Serialisable):
|
|
379
|
+
|
|
380
|
+
l = Coordinate()
|
|
381
|
+
t = Coordinate()
|
|
382
|
+
r = Coordinate()
|
|
383
|
+
b = Coordinate()
|
|
384
|
+
|
|
385
|
+
def __init__(self,
|
|
386
|
+
l=None,
|
|
387
|
+
t=None,
|
|
388
|
+
r=None,
|
|
389
|
+
b=None,
|
|
390
|
+
):
|
|
391
|
+
self.l = l
|
|
392
|
+
self.t = t
|
|
393
|
+
self.r = r
|
|
394
|
+
self.b = b
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
class AdjPoint2D(Serialisable):
|
|
398
|
+
|
|
399
|
+
x = Coordinate()
|
|
400
|
+
y = Coordinate()
|
|
401
|
+
|
|
402
|
+
def __init__(self,
|
|
403
|
+
x=None,
|
|
404
|
+
y=None,
|
|
405
|
+
):
|
|
406
|
+
self.x = x
|
|
407
|
+
self.y = y
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
class ConnectionSite(Serialisable):
|
|
411
|
+
|
|
412
|
+
ang = MinMax(min=0, max=360) # guess work, can also be a name
|
|
413
|
+
pos = Typed(expected_type=AdjPoint2D, )
|
|
414
|
+
|
|
415
|
+
def __init__(self,
|
|
416
|
+
ang=None,
|
|
417
|
+
pos=None,
|
|
418
|
+
):
|
|
419
|
+
self.ang = ang
|
|
420
|
+
self.pos = pos
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
class ConnectionSiteList(Serialisable):
|
|
424
|
+
|
|
425
|
+
cxn = Typed(expected_type=ConnectionSite, allow_none=True)
|
|
426
|
+
|
|
427
|
+
def __init__(self,
|
|
428
|
+
cxn=None,
|
|
429
|
+
):
|
|
430
|
+
self.cxn = cxn
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
class AdjustHandleList(Serialisable):
|
|
434
|
+
|
|
435
|
+
pass
|
|
436
|
+
|
|
437
|
+
class GeomGuide(Serialisable):
|
|
438
|
+
|
|
439
|
+
name = String()
|
|
440
|
+
fmla = String()
|
|
441
|
+
|
|
442
|
+
def __init__(self,
|
|
443
|
+
name=None,
|
|
444
|
+
fmla=None,
|
|
445
|
+
):
|
|
446
|
+
self.name = name
|
|
447
|
+
self.fmla = fmla
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
class GeomGuideList(Serialisable):
|
|
451
|
+
|
|
452
|
+
gd = Typed(expected_type=GeomGuide, allow_none=True)
|
|
453
|
+
|
|
454
|
+
def __init__(self,
|
|
455
|
+
gd=None,
|
|
456
|
+
):
|
|
457
|
+
self.gd = gd
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
class CustomGeometry2D(Serialisable):
|
|
461
|
+
|
|
462
|
+
avLst = Typed(expected_type=GeomGuideList, allow_none=True)
|
|
463
|
+
gdLst = Typed(expected_type=GeomGuideList, allow_none=True)
|
|
464
|
+
ahLst = Typed(expected_type=AdjustHandleList, allow_none=True)
|
|
465
|
+
cxnLst = Typed(expected_type=ConnectionSiteList, allow_none=True)
|
|
466
|
+
#rect = Typed(expected_type=GeomRect, allow_none=True)
|
|
467
|
+
pathLst = Typed(expected_type=Path2DList, )
|
|
468
|
+
|
|
469
|
+
def __init__(self,
|
|
470
|
+
avLst=None,
|
|
471
|
+
gdLst=None,
|
|
472
|
+
ahLst=None,
|
|
473
|
+
cxnLst=None,
|
|
474
|
+
rect=None,
|
|
475
|
+
pathLst=None,
|
|
476
|
+
):
|
|
477
|
+
self.avLst = avLst
|
|
478
|
+
self.gdLst = gdLst
|
|
479
|
+
self.ahLst = ahLst
|
|
480
|
+
self.cxnLst = cxnLst
|
|
481
|
+
self.rect = None
|
|
482
|
+
self.pathLst = pathLst
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
class PresetGeometry2D(Serialisable):
|
|
486
|
+
|
|
487
|
+
namespace = DRAWING_NS
|
|
488
|
+
|
|
489
|
+
prst = Set(values=(
|
|
490
|
+
['line', 'lineInv', 'triangle', 'rtTriangle', 'rect',
|
|
491
|
+
'diamond', 'parallelogram', 'trapezoid', 'nonIsoscelesTrapezoid',
|
|
492
|
+
'pentagon', 'hexagon', 'heptagon', 'octagon', 'decagon', 'dodecagon',
|
|
493
|
+
'star4', 'star5', 'star6', 'star7', 'star8', 'star10', 'star12',
|
|
494
|
+
'star16', 'star24', 'star32', 'roundRect', 'round1Rect',
|
|
495
|
+
'round2SameRect', 'round2DiagRect', 'snipRoundRect', 'snip1Rect',
|
|
496
|
+
'snip2SameRect', 'snip2DiagRect', 'plaque', 'ellipse', 'teardrop',
|
|
497
|
+
'homePlate', 'chevron', 'pieWedge', 'pie', 'blockArc', 'donut',
|
|
498
|
+
'noSmoking', 'rightArrow', 'leftArrow', 'upArrow', 'downArrow',
|
|
499
|
+
'stripedRightArrow', 'notchedRightArrow', 'bentUpArrow',
|
|
500
|
+
'leftRightArrow', 'upDownArrow', 'leftUpArrow', 'leftRightUpArrow',
|
|
501
|
+
'quadArrow', 'leftArrowCallout', 'rightArrowCallout', 'upArrowCallout',
|
|
502
|
+
'downArrowCallout', 'leftRightArrowCallout', 'upDownArrowCallout',
|
|
503
|
+
'quadArrowCallout', 'bentArrow', 'uturnArrow', 'circularArrow',
|
|
504
|
+
'leftCircularArrow', 'leftRightCircularArrow', 'curvedRightArrow',
|
|
505
|
+
'curvedLeftArrow', 'curvedUpArrow', 'curvedDownArrow', 'swooshArrow',
|
|
506
|
+
'cube', 'can', 'lightningBolt', 'heart', 'sun', 'moon', 'smileyFace',
|
|
507
|
+
'irregularSeal1', 'irregularSeal2', 'foldedCorner', 'bevel', 'frame',
|
|
508
|
+
'halfFrame', 'corner', 'diagStripe', 'chord', 'arc', 'leftBracket',
|
|
509
|
+
'rightBracket', 'leftBrace', 'rightBrace', 'bracketPair', 'bracePair',
|
|
510
|
+
'straightConnector1', 'bentConnector2', 'bentConnector3',
|
|
511
|
+
'bentConnector4', 'bentConnector5', 'curvedConnector2',
|
|
512
|
+
'curvedConnector3', 'curvedConnector4', 'curvedConnector5', 'callout1',
|
|
513
|
+
'callout2', 'callout3', 'accentCallout1', 'accentCallout2',
|
|
514
|
+
'accentCallout3', 'borderCallout1', 'borderCallout2', 'borderCallout3',
|
|
515
|
+
'accentBorderCallout1', 'accentBorderCallout2', 'accentBorderCallout3',
|
|
516
|
+
'wedgeRectCallout', 'wedgeRoundRectCallout', 'wedgeEllipseCallout',
|
|
517
|
+
'cloudCallout', 'cloud', 'ribbon', 'ribbon2', 'ellipseRibbon',
|
|
518
|
+
'ellipseRibbon2', 'leftRightRibbon', 'verticalScroll',
|
|
519
|
+
'horizontalScroll', 'wave', 'doubleWave', 'plus', 'flowChartProcess',
|
|
520
|
+
'flowChartDecision', 'flowChartInputOutput',
|
|
521
|
+
'flowChartPredefinedProcess', 'flowChartInternalStorage',
|
|
522
|
+
'flowChartDocument', 'flowChartMultidocument', 'flowChartTerminator',
|
|
523
|
+
'flowChartPreparation', 'flowChartManualInput',
|
|
524
|
+
'flowChartManualOperation', 'flowChartConnector', 'flowChartPunchedCard',
|
|
525
|
+
'flowChartPunchedTape', 'flowChartSummingJunction', 'flowChartOr',
|
|
526
|
+
'flowChartCollate', 'flowChartSort', 'flowChartExtract',
|
|
527
|
+
'flowChartMerge', 'flowChartOfflineStorage', 'flowChartOnlineStorage',
|
|
528
|
+
'flowChartMagneticTape', 'flowChartMagneticDisk',
|
|
529
|
+
'flowChartMagneticDrum', 'flowChartDisplay', 'flowChartDelay',
|
|
530
|
+
'flowChartAlternateProcess', 'flowChartOffpageConnector',
|
|
531
|
+
'actionButtonBlank', 'actionButtonHome', 'actionButtonHelp',
|
|
532
|
+
'actionButtonInformation', 'actionButtonForwardNext',
|
|
533
|
+
'actionButtonBackPrevious', 'actionButtonEnd', 'actionButtonBeginning',
|
|
534
|
+
'actionButtonReturn', 'actionButtonDocument', 'actionButtonSound',
|
|
535
|
+
'actionButtonMovie', 'gear6', 'gear9', 'funnel', 'mathPlus', 'mathMinus',
|
|
536
|
+
'mathMultiply', 'mathDivide', 'mathEqual', 'mathNotEqual', 'cornerTabs',
|
|
537
|
+
'squareTabs', 'plaqueTabs', 'chartX', 'chartStar', 'chartPlus']))
|
|
538
|
+
avLst = Typed(expected_type=GeomGuideList, allow_none=True)
|
|
539
|
+
|
|
540
|
+
def __init__(self,
|
|
541
|
+
prst=None,
|
|
542
|
+
avLst=None,
|
|
543
|
+
):
|
|
544
|
+
self.prst = prst
|
|
545
|
+
self.avLst = avLst
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
class FontReference(Serialisable):
|
|
549
|
+
|
|
550
|
+
idx = NoneSet(values=(['major', 'minor']))
|
|
551
|
+
|
|
552
|
+
def __init__(self,
|
|
553
|
+
idx=None,
|
|
554
|
+
):
|
|
555
|
+
self.idx = idx
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
class StyleMatrixReference(Serialisable):
|
|
559
|
+
|
|
560
|
+
idx = Integer()
|
|
561
|
+
|
|
562
|
+
def __init__(self,
|
|
563
|
+
idx=None,
|
|
564
|
+
):
|
|
565
|
+
self.idx = idx
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
class ShapeStyle(Serialisable):
|
|
569
|
+
|
|
570
|
+
lnRef = Typed(expected_type=StyleMatrixReference, )
|
|
571
|
+
fillRef = Typed(expected_type=StyleMatrixReference, )
|
|
572
|
+
effectRef = Typed(expected_type=StyleMatrixReference, )
|
|
573
|
+
fontRef = Typed(expected_type=FontReference, )
|
|
574
|
+
|
|
575
|
+
def __init__(self,
|
|
576
|
+
lnRef=None,
|
|
577
|
+
fillRef=None,
|
|
578
|
+
effectRef=None,
|
|
579
|
+
fontRef=None,
|
|
580
|
+
):
|
|
581
|
+
self.lnRef = lnRef
|
|
582
|
+
self.fillRef = fillRef
|
|
583
|
+
self.effectRef = effectRef
|
|
584
|
+
self.fontRef = fontRef
|