---
title: "基本的なテーブルパーサー"
slug: "basic-table-parser"
abstract: ""
---
# 基本的なテーブルパーサー

その結果、すべての適切なプロパティを持つTable要素を含むParagraphStyleが生成されます。RowCountとColCountが計算され、設定されます。行も含まれています。すべてのtr、th、td要素はTableParser内で解析されます。他の子要素の解析は禁止されています。

<table class="sample\_table" cellspacing="0" cellpadding="0">

<tr>

<td>

<strong>Type</strong>

</td>

<td>

<strong>Name</strong>

</td>

<td>

<strong>Details</strong>

</td>

</tr>

<tr>

<td>

<strong>Layout</strong>

</td>

<td>

<p>Main.aspx</p>

</td>

<td>

<p>Main browser layout with header, footer and primary placeholder in between.</p>

</td>

</tr>

</table>

<ParagraphStyle Style="NormalParagraphStyle">

<Table HeaderRows="0" FooterRows="0" ColCount="3" RowCount="2" TableStyle="sample\_table" RepeatHeader="EveryTextColumn" RepeatFooter="EveryTextColumn">

<Row RowMin="1.0583333333333331" RowMax="211.66666666666666" RowHeight="AtLeast" StartRow="AnyWhere" KeepWithNext="False">

<Cell CellStyle="" HorStradle="0" VerStradle="0" ColWidth="5">

<ParagraphStyle Style="NormalParagraphStyle">

<Format Bold="True"><!CDATAType></Format>

</ParagraphStyle>

</Cell>

<Cell CellStyle="" HorStradle="0" VerStradle="0" ColWidth="5">

<ParagraphStyle Style="NormalParagraphStyle">

<Format Bold="True"><!CDATAName></Format>

</ParagraphStyle>

</Cell>

<Cell CellStyle="" HorStradle="0" VerStradle="0" ColWidth="5">

<ParagraphStyle Style="NormalParagraphStyle">

<Format Bold="True"><!CDATADetails></Format>

</ParagraphStyle>

</Cell>

</Row>

<Row RowMin="1.0583333333333331" RowMax="211.66666666666666" RowHeight="AtLeast" StartRow="AnyWhere" KeepWithNext="False">

<Cell CellStyle="" HorStradle="0" VerStradle="0" ColWidth="5">

<ParagraphStyle Style="NormalParagraphStyle">

<Format Bold="True"><!CDATALayout></Format>

</ParagraphStyle>

</Cell>

<Cell CellStyle="" HorStradle="0" VerStradle="0" ColWidth="5">

<ParagraphStyle Style="NormalParagraphStyle"><!CDATAMain.aspx></ParagraphStyle>

</Cell>

<Cell CellStyle="" HorStradle="0" VerStradle="0" ColWidth="5">

<ParagraphStyle Style="NormalParagraphStyle"><!CDATAMain browser layout with header, footer and primary placeholder in between.></ParagraphStyle>

</Cell>

</Row>

</Table>

</ParagraphStyle>