TextFrameFormat
概要
TextFrameFormat は Aspose.Slides の C++ 用 FOSS のクラスです。
テキストフレームの書式設定プロパティを表します。
このクラスは C++ プログラムで TextFrameFormat オブジェクトを操作するための 46 のメソッドを提供します。利用可能なメソッドは NullableBool、TextAnchorType、TextAutofitType、TextFrameFormat、TextShapeType、TextVerticalType、ThreeDFormat、anchoring_type、autofit_type、center_text、column_count、column_spacing、および追加の 31 のメソッドです。Aspose.Slides の C++ 用 FOSS パッケージをインストールした後、すべてのパブリックメンバーは任意の C++ アプリケーションからアクセス可能です。プロパティ: NullableBool、TextAnchorType、TextAutofitType、TextShapeType、TextVerticalType、ThreeDFormat。
プロパティ
| 名前 | 型 | アクセス | 説明 |
|---|---|---|---|
NullableBool | NullableBool | 読み取り | nullable bool を取得します。 |
TextAnchorType | TextAnchorType | 読み取り | テキストアンカーのタイプを取得します。 |
TextVerticalType | TextVerticalType | 読み取り | テキストの垂直方向のタイプを取得します。 |
TextAutofitType | TextAutofitType | 読み取り | テキストの自動調整タイプを取得します。 |
ThreeDFormat | ThreeDFormat | 読み取り | 3D 形式を取得します。 |
TextShapeType | TextShapeType | 読み取り | テキスト シェイプの種類を取得します。 |
メソッド
| シグネチャ | 説明 |
|---|---|
NullableBool() → NullableBool | 特定のテキストフレーム設定を示す nullable boolean を返します |
TextAnchorType() → TextAnchorType | プロパティはフレーム内のテキストアンカーの配置を取得または設定します |
NullableBool() → NullableBool | |
TextVerticalType() → TextVerticalType | プロパティは縦方向のテキスト配置を取得または設定します |
TextAutofitType() → TextAutofitType | プロパティはテキストの自動調整動作を取得または設定します |
ThreeDFormat() → ThreeDFormat | プロパティはテキストフレームの 3D 書式設定へのアクセスを提供します |
ThreeDFormat() → ThreeDFormat | |
TextShapeType() → TextShapeType | プロパティはテキストフレームのシェイプタイプを取得または設定します |
TextFrameFormat() | |
margin_left() → double | 左余白をポイント単位で返します。NaN = undefined. |
set_margin_left(value: double) | 左余白をポイント単位で設定します。 |
margin_right() → double | 右余白をポイント単位で返します。NaN = undefined. |
set_margin_right(value: double) | 右余白をポイントで設定します。 |
margin_top() → double | ポイントで上余白を返します。NaN = undefined. |
set_margin_top(value: double) | 上部の余白をポイント単位で設定します。 |
margin_bottom() → double | ポイントで下余白を返します。NaN = undefined. |
set_margin_bottom(value: double) | 下部余白をポイント単位で設定します。 |
wrap_text() → NullableBool | テキストが折り返されるかどうかを返します。 |
set_wrap_text(value: NullableBool) | テキストが折り返されるかどうかを設定します。 |
anchoring_type() → TextAnchorType | テキストのアンカータイプを返します。 |
set_anchoring_type(value: TextAnchorType) | テキストアンカーのタイプを設定します。 |
center_text() → NullableBool | テキストが中央揃えかどうかを返します。 |
set_center_text(value: NullableBool) | テキストが中央揃えかどうかを設定します。 |
text_vertical_type() → TextVerticalType | テキストの縦書きタイプを返します。 |
set_text_vertical_type(value: TextVerticalType) | テキストの垂直タイプを設定します。 |
autofit_type() → TextAutofitType | autofit タイプを返します。 |
set_autofit_type(value: TextAutofitType) | オートフィットのタイプを設定します。 |
column_count() → int | 列数を返します。 |
set_column_count(value: int) | 列の数を設定します。 |
column_spacing() → double | 列間隔(ポイント)を返します。 |
set_column_spacing(value: double) | ポイント単位で列間隔を設定します。 |
three_d_format() → ThreeDFormat | テキストの3D効果プロパティを表す ThreeDFormat オブジェクトを返します。読み取り専用です。 |
three_d_format() → ThreeDFormat | テキストの3D効果プロパティを表す ThreeDFormat オブジェクトを返します。読み取り専用です。 |
keep_text_flat() → bool | テキストが平坦に保たれているか(3D回転がないか)を返します。 |
set_keep_text_flat(value: bool) | テキストが平坦に保たれるかどうかを設定します(3D 回転なし)。 |
rotation_angle() → double | 回転角度を度単位で返します。 |
set_rotation_angle(value: double) | 回転角度を度単位で設定します。 |
transform() → TextShapeType | テキストシェイプのタイプ(transform)を返します。 |
set_transform(value: TextShapeType) | テキスト シェイプのタイプ(変形)を設定します。 |
init_internal(txbody_element: pugi::xml_node, save_callback: std::function<void()>) | 既存の XML ノードから初期化する。 |
get_body_pr() → pugi::xml_node | txBody 要素の 子要素を検索する。 |
ensure_body_pr() → pugi::xml_node | txBody 要素の 子要素を検索するか作成する。 |
save() | save コールバックを介して変更を永続化する。 |
get_margin(attr: std::string_view, default_emu: int) → double | bodyPr から余白属性を読み取り、EMU をポイントに変換します。 |
set_margin(attr: std::string_view, value: double) | bodyPr に余白値(ポイント)を書き込み、EMU 属性として設定します。 |
resize_shape_to_fit_text(body_pr: pugi::xml_node) | テキスト内容に合わせて親シェイプのサイズを変更し、垂直方向の中心を保持します。 |