Cell

概要

Cell は Aspose.Slides の Java 用 FOSS におけるクラスです。継承元: ICell, ISlideComponent, IPresentationComponent。

テーブルのセルを表します。

このクラスは、Java プログラムにおける Cell オブジェクトの操作用に 41 のメソッドを提供します。利用可能なメソッドは、Cell, asIPresentationComponent, ensureTcPr, getAsIPresentationComponent, getAsISlideComponent, getCellFormat, getColSpan, getFirstColumn, getFirstColumnIndex, getFirstRow, getFirstRowIndex, getHeight と、さらに 27 のメソッドがあります。すべての公開メンバーは、Aspose.Slides の Java 用 FOSS パッケージをインストールした後、任意の Java アプリケーションから利用可能です。プロパティ: anchorCenter, asIPresentationComponent, asISlideComponent, cellFormat, colSpan, firstColumn と、さらに 22 件があります。

プロパティ

名前型アクセス説明
tcPrElement読み取り元となる {@code <a:tc>} 要素の子要素である {@code <a:tcPr>} を返します。
offsetXdouble読み取りオフセット x を取得します。
offsetYdouble読み取りオフセット y を取得します。
firstRowIndexint読み取り最初の行インデックスを取得します。
firstColumnIndexint読み取り最初の列インデックスを取得します。
widthdouble読み取り幅を取得します。
heightdouble読み取り高さを取得します。
minimalHeightdouble読み取り最小の高さを取得します。
marginLeftdouble読み取り左の余白を取得します。
marginRightdouble読み取り右の余白を取得します。
marginTopdouble読み取りマージンの上部を取得します。
marginBottomdouble読み取りマージンの下部を取得します。
textVerticalTypeTextVerticalType読み取りテキストの垂直タイプを取得します。
textAnchorTypeTextAnchorType読み取りテキストアンカータイプを取得します。
anchorCenterboolean読み取りアンカーの中心を取得します。
firstRowIRow読み取り最初の行を取得します。
firstColumnIColumn読み取り最初の列を取得します。
colSpanint読み取り列スパンを取得します。
rowSpanint読み取り行のスパンを取得します。
textFrameITextFrame読み取りテキスト フレームを取得します。
tableITable読み取りテーブルを取得します。
mergedCellboolean読み取り結合されたセルを取得します。
cellFormatICellFormat読み取りセルの書式を取得します。
slideIBaseSlide読み取りスライドを取得します。
presentationIPresentation読み取りプレゼンテーションを取得します。
tcElementElement読み取り基底の {@code <a:tc>} XML 要素を返します。
asISlideComponentISlideComponent読み取りas i slide コンポーネントを取得します。
asIPresentationComponentIPresentationComponent読み取りas i presentation component を取得します。

メソッド

シグネチャ説明
Cell()裏付け要素のない空の {@code Cell} を作成します。
Cell(tcElement: Element, rowIndex: int, colIndex: int, saveCallback: Runnable, parentSlide: IBaseSlide, table: ITable)指定された {@code <a:tc>} 要素を裏付けとする新しい Cell を作成します。
Cell(tcElement: Element, saveCallback: Runnable)指定された {@code <a:tc>} 要素を裏付けとする新しい Cell を作成します。
initInternal(tcElement: Element, rowIndex: int, colIndex: int, saveCallback: Runnable, parentSlide: IBaseSlide, table: ITable) → Cellこのセルを、指定された {@code <a:tc>} 要素とテーブルコンテキストから初期化します。
getTcPr() → Elementバックエンドの {@code <a:tc>} 要素の子要素 {@code <a:tcPr>} を返します。
ensureTcPr() → Element存在しない場合は作成し、{@code <a:tcPr>} 子要素を返します。
getOffsetX() → doubleオフセット x を返します。
getOffsetY() → doubleオフセット y を返します。
getFirstRowIndex() → int最初の行インデックスを返します。
getFirstColumnIndex() → int最初の列インデックスを返します。
getWidth() → double幅を返します。
getHeight() → double高さを返します。
getMinimalHeight() → double最小高さを返します。
getMarginLeft() → double左マージンを返します。
setMarginLeft(value: double)左側の余白の値を設定します。
getMarginRight() → double右マージンを返します。
setMarginRight(value: double)右マージンの値を設定します。
getMarginTop() → double上余白を返します。
setMarginTop(value: double)マージン上部の値を設定します。
getMarginBottom() → double下余白を返します。
setMarginBottom(value: double)margin bottom の値を設定します。
getTextVerticalType() → TextVerticalTypeテキストの縦方向タイプを返します。
setTextVerticalType(value: TextVerticalType)テキストの垂直方向タイプの値を設定します。
getTextAnchorType() → TextAnchorTypeテキストアンカーのタイプを返します。
setTextAnchorType(value: TextAnchorType)テキストアンカータイプの値を設定します。
isAnchorCenter() → booleanアンカーセンターが設定されている場合は true を返します。
setAnchorCenter(value: boolean)アンカーセンターの値を設定します。
getFirstRow() → IRow最初の行を返します。
getFirstColumn() → IColumn最初の列を返します。
getColSpan() → intcol span を返します。
getRowSpan() → introw span を返します。
getTextFrame() → ITextFrameテキストフレームを返します。
getTable() → ITableテーブルを返します。
isMergedCell() → boolean結合セルが設定されている場合は true を返します。
getCellFormat() → ICellFormatセルの書式を返します。
getSlide() → IBaseSlideスライドを返します。
getPresentation() → IPresentationプレゼンテーションを返します。
getTcElement() → Element基になる {@code <a:tc>} XML 要素を返します。
getAsISlideComponent() → ISlideComponentas i slide コンポーネントを返します。
getAsIPresentationComponent() → IPresentationComponentas i presentation コンポーネントを返します。
asIPresentationComponent() → IPresentationComponent

参照

 日本語