Shape

概要

Shape C++ の Aspose.Slides FOSS にあるクラスです.

グラフのすべての形に基となるクラスです.

このクラスでは,C++ プログラムで Shape オブジェクトと作業するための 84 つの方法が提供されています. 可能な方法には: EffectFormat, FillFormat, IBaseSlide, IPresentation, IPresentationComponent, ISlideComponent, LineFormat, ShapeFrame, ShapeType, ThreeDFormat, alternative_text, alternative_text_title,追加方法 57つあります. すべてのパブリックメンバーは,C++ パッケージのAspose.Slides FOSSをインストールした後で任意の C++ アプリケーションにアクセスできます. 特性: EffectFormat, FillFormat, IBaseSlide, IPresentation, IPresentationComponent, ISlideComponent,そして4つ.

プロパティ

名称 (名)タイプAccess記述
ShapeTypeShapeType読み取ること形状のタイプが取れます.
EffectFormatEffectFormat読み取ること効果の形式を表示します.
FillFormatFillFormat読み取ることファイルの形式を入力します.
LineFormatLineFormat読み取ること線形を表示します.
ThreeDFormatThreeDFormat読み取ること3D形式になります.
ShapeFrameShapeFrame読み取ること形状の枠が取れる.
ISlideComponentISlideComponent読み取ることグラフの部分を入力します.
IPresentationIPresentation読み取ることグラフの表記をします.
IBaseSlideIBaseSlide読み取ることグラフを表示します.
IPresentationComponentIPresentationComponent読み取ることプレゼンテーションのコンポーネントを入力します.

メソッド

Signature記述
ShapeType()ShapeType形状のタイプを設定する.
EffectFormat()EffectFormat形状の効果フォーマットへのアクセスを提供するプロパティ
EffectFormat()EffectFormat
FillFormat()FillFormat形の填表フォーマットオブジェクトを返します.
FillFormat()FillFormat
LineFormat()LineFormat形状の線形式へのアクセスを提供するプロパティ
LineFormat()LineFormat
ThreeDFormat()ThreeDFormat形状の3Dフォーマットへのアクセスを提供するプロパティ
ThreeDFormat()ThreeDFormat
ShapeFrame()ShapeFrame形状のフレームデータへのアクセスを提供するプロパティ
ShapeFrame()ShapeFrame
ISlideComponent()ISlideComponent形によって実装されたスライドコンポーネントインターフェースを返します.
IPresentation()IPresentation形を含む表示インターフェースを参照するプロパティ
IPresentation()IPresentation
IBaseSlide()IBaseSlide形状を保持するベーススライドインターフェースを参照します.
IBaseSlide()IBaseSlide
IPresentationComponent()IPresentationComponent形式のプレゼンテーションコンポーネントインターフェイスを返します.
IPresentationComponent()IPresentationComponent
~Shape()
shape_type()ShapeType形状のタイプを返します.
set_shape_type(value: ShapeType)形状のタイプを設定します.
x()double形状のx座標を返します.
set_x(value: double)形のX座標を設定する.
y()double形のy座標を返します.
set_y(value: double)形のY座標を設定する.
width()double形の幅を返します.
set_width(value: double)
height()double形の高さを返します.
set_height(value: double)
rotation()doubleグラードで回転角を返します.
set_rotation(value: double)形の回転角度を設定する.
name()std::string形状の名前を返します.
set_name(value: std::string)
effect_format()EffectFormatこの形の効果フォーマットを返します.
effect_format()EffectFormatこの形の効果フォーマットを返します.
fill_format()FillFormatこの形の填表形式を返します.
fill_format()FillFormatこの形の填表形式を返します.
line_format()LineFormatこの形状の行形式を返します.
line_format()LineFormatこの形状の行形式を返します.
three_d_format()ThreeDFormatこの形の3Dフォーマットを返します.
three_d_format()ThreeDFormatこの形の3Dフォーマットを返します.
is_text_holder()bool形が TextHolder か否かを判定する.デフォルト: false.
placeholder()プレスホルダーを返します.デフォルト:nullptr.
custom_data()設定したデータを送信する.デフォルト:nullptr.
raw_frame()ShapeFrameフレームの原形を返します.
set_raw_frame(value: ShapeFrame)
frame()ShapeFrame形状のフレームを返します.
set_frame(value: ShapeFrame)
hidden()bool形が隠されているかどうかを判断します.
set_hidden(value: bool)
z_order_position()std::int32_t位置を返します.
connection_site_count()std::int32_t接続サイト数を返します (デフォルト 4).
alternative_text()std::string代替テキストを返します.
set_alternative_text(value: std::string)
alternative_text_title()std::string代替テキストタイトルを返します.
set_alternative_text_title(value: std::string)
is_decorative()bool装飾品としてマークするオプションが表示されます.
set_is_decorative(value: bool)
unique_id()std::uint32_tプレゼンテーションの範囲で指定されたユニークな識別子を返します.
office_interop_shape_id()std::uint32_tスライドスケープで形を識別する.
is_grouped()bool形がグループ化されているかどうかを判定する.
as_i_slide_component()ISlideComponentベース ISlideComponent のインターフェイスを返します.
presentation()IPresentation
presentation()IPresentation
slide()IBaseSlide
slide()IBaseSlide
as_i_presentation_component()IPresentationComponent
as_i_presentation_component()IPresentationComponent
set_z_order_position(value: std::int32_t)位置を設定する (内部で ShapeCollection で使用される).
set_unique_id(value: std::uint32_t)ユニークなID (内部で使用される) を設定する.
set_office_interop_shape_id(value: std::uint32_t)Office インターオプの形 ID (内部で使用する) を設定します.
init_internal(xml_element: pugi::xml_node, slide_part: Internal::pptx::SlidePart, parent_slide: IBaseSlide)この形をスライドの部分内の XML 要素から初期化します.
build_frame()ShapeFrameShapeFrame を現在の xfrm 要素から作成します.
apply_frame(value: IShapeFrame)xfrm 要素に ShapeFrame の値を適用する.
get_sp_pr()pugi::xml_nodeこの形に spPr (または grpSpPr) の要素を入力します.
ensure_sp_pr()pugi::xml_nodespPr要素を入手するか作成します.
get_c_nv_pr()pugi::xml_nodecNvPr要素を形 XMLから取得します.
find_xfrm_in_element(xml_element: pugi::xml_node)pugi::xml_nodea:xfrm要素を直接形 XML 元素の中に見つけます.
get_placeholder_info()std::optional<std::pair<std::optional<std::string>, std::string>>
find_placeholder_xfrm_in_xml(root: pugi::xml_node, ph_type: std::optional<std::string>, ph_idx: std::string_view)pugi::xml_nodeレイアウト/マスター XML のルーツで一致するプレイスホルダーを xfrm で検索します.
xml_element()pugi::xml_nodeこの形をバックする XML 要素を返します.
get_inherited_xfrm()pugi::xml_nodeプレイスホルダーに継承されたxfrmを検索する.
get_xfrm()pugi::xml_nodeプレイスホルダー継承で a:xfrm要素を形 XML から取得します.
ensure_xfrm()pugi::xml_nodea:xfrm要素を取得または作成します.

参照する

 日本語