ShapeXmlSaver
概要
ShapeXmlSaver は Aspose.Cells の FOSS における Python 用クラスです。
ワークシート シェイプ用に描画 XML とリレーションシップ XML を生成します。
このクラスは、Python プログラム内の ShapeXmlSaver オブジェクトを操作するための5つのメソッドを提供します。利用可能なメソッドは、__init__、assign_hyperlink_rel_ids、collect_shape_refs、format_shape_anchors_xml、format_shape_relationships_xmlです。Aspose.Cells の Python 用 FOSS パッケージをインストールすれば、すべての公開メンバーは任意の Python アプリケーションからアクセス可能です。
メソッド
| シグネチャ | 説明 |
|---|---|
__init__(escape_xml_fn) | 引数: |
escape_xml_fn: Callable that XML-escapes a string (provided by
the parent saver so this module doesn't duplicate it). || collect_shape_refs(worksheet) | 描画 XML に必要なシェイプ参照辞書のリストを構築します |
generation. || assign_hyperlink_rel_ids(shape_refs, start_rel_id) | ハイパーリンク URL を持つシェイプにリレーションシップ ID を割り当てます。 | | format_shape_anchors_xml(shape_refs, chart_count, picture_count) | すべてのシェイプに対して連結された xdr:twoCellAnchor XML 文字列を返します。 | | format_shape_relationships_xml(shape_refs, chart_count, picture_count) | ハイパーリンクを持つシェイプの Relationship XML エントリを返します。 |