使用C1PrintDocument控件 > 单词索引 > 生成索引的结构 |
下图显示在生成文档时由一个RenderIndex对象创建的render对象的树形结构和层次关系(这里,仅仅最顶层的RenderIndex对象由用户代码创建;其他对象为自动生成):
RenderIndex
RenderArea (表示一个具有相同首字母的项目分组)
RenderText (prints letter group header)
RenderParagraph (prints top-level IndexEntry)
RenderParagraph (prints sub-entry, offset via Left)
...
RenderArea (represents a group of entries starting with the same letter)
RenderText (prints letter group header)
RenderParagraph (prints top-level IndexEntry)
RenderParagraph (prints sub-entry, offset via Left)
...