|
Foxit PDF SDK
|
Public 成员函数 | |
| LRContentElement () | |
| 构造函数。 | |
| LRContentElement (LRContentElement other) | |
| 带参数的构造函数。 更多... | |
| LRContentElement (LRElement element) | |
| 构造函数,使用父类对象。 更多... | |
| synchronized void | delete () |
| 直接清除C++相关资源。 更多... | |
| RectF | getBBox () throws com.foxit.sdk.PDFException |
| 获取边界框。 更多... | |
| LRGraphicsObjectElement | getGraphicsObjectElement () throws com.foxit.sdk.PDFException |
| 获取相关的图形对象元素。 更多... | |
| Range | getGraphicsObjectRange () throws com.foxit.sdk.PDFException |
| 获取当前内容元素在当前图形对象中的范围。 更多... | |
| Matrix2D | getMatrix () throws com.foxit.sdk.PDFException |
| 获取矩阵。 更多... | |
| LRStructureElement | getParentElement () throws com.foxit.sdk.PDFException |
| 获取父元素。 更多... | |
Public 成员函数 继承自 com.foxit.sdk.addon.layoutrecognition.LRElement | |
| LRElement () | |
| 构造函数。 | |
| LRElement (LRElement other) | |
| 带参数的构造函数。 更多... | |
| synchronized void | delete () |
| 直接清除C++相关资源。 更多... | |
| int | getElementType () |
| 获取元素类型。 更多... | |
| boolean | isContentElement () throws com.foxit.sdk.PDFException |
| 检查当前对象是否为内容元素。 更多... | |
| boolean | isEmpty () |
| 检查当前对象是否为空。 更多... | |
| boolean | isGraphicsObjectElement () throws com.foxit.sdk.PDFException |
| 检查当前对象是否为图形对象元素。 更多... | |
| boolean | isStructureElement () throws com.foxit.sdk.PDFException |
| 检查当前对象是否为结构元素。 更多... | |
| String | stringifyType () throws com.foxit.sdk.PDFException |
| 将当前元素的类型(枚举值)转换为简短且易记的字符串(文本)表示。 更多... | |
Public 成员函数 继承自 com.foxit.sdk.common.Base | |
| synchronized void | delete () |
| 直接清除C++相关资源。 更多... | |
额外继承的成员函数 | |
静态 Public 成员函数 继承自 com.foxit.sdk.addon.layoutrecognition.LRElement | |
| static String | stringifyElementType (int type) |
| 将指定元素类型的枚举值转换为简短且易记的字符串(文本)表示。 更多... | |
静态 Public 属性 继承自 com.foxit.sdk.addon.layoutrecognition.LRElement | |
| static final int | e_ElementTypeAnnot = 0x0307 |
| 结构元素类型:Annot,意为"Annotation",表示 ILSE内容的一部分与相应PDF标注之间的关联。 | |
| static final int | e_ElementTypeAnnotContent = 0xC000000E |
| 结构元素类型:AnnotContent,表示标注内容元素。 | |
| static final int | e_ElementTypeAnnotObject = 0x8000000E |
| 结构元素类型:AnnotObject,表示标注对象元素。 | |
| static final int | e_ElementTypeArt = 0x0101 |
| 结构元素类型:Art,意为"Article",表示构成单一叙述或阐述的 相对独立的文本主体。 | |
| static final int | e_ElementTypeArtifact = 0x1000 |
| 结构元素类型:Artifact,包括其他分页、布局、 页面和背景人工制品。 | |
| static final int | e_ElementTypeAside = 0x0108 |
| 结构元素类型:Aside(PDF 2.0),表示与其父结构元素内 其他内容不同的内容。 | |
| static final int | e_ElementTypeBibEntry = 0x0304 |
| 结构元素类型:BibEntry,意为"Bibliography entry",表示 标识某些引用内容外部来源的参考文献。 | |
| static final int | e_ElementTypeBlockQuote = 0x0103 |
| 结构元素类型:BlockQuote,意为"Block quotation",表示 由一个或多个段落组成的文本部分,归属于 周围文本作者以外的人。 | |
| static final int | e_ElementTypeCaption = 0x0104 |
| 结构元素类型:Caption,表示描述表格或图形的 简短文本部分。 | |
| static final int | e_ElementTypeCode = 0x0305 |
| 结构元素类型:Code,表示计算机程序文本片段。 | |
| static final int | e_ElementTypeComplexContent = 0xC000000D |
| 结构元素类型:ComplexContent,表示复杂内容元素。 | |
| static final int | e_ElementTypeContainerObject = 0x8000000C |
| 结构元素类型:ContainerObject,表示容器对象元素。 | |
| static final int | e_ElementTypeDiv = 0x0100 |
| 结构元素类型:Div,意为"Division",表示通用的块级元素或 元素组。 | |
| static final int | e_ElementTypeDocument = 0x0000 |
| 结构元素类型:Document,表示完整的文档。 | |
| static final int | e_ElementTypeDocumentFragment = 0x0001 |
| 结构元素类型:DocumentFragment(PDF 2.0),表示原始完整文档的一部分。 | |
| static final int | e_ElementTypeEm = 0x030F |
| 结构元素类型:Em(PDF 2.0),意为"Emphasis",表示用于强调目的的内容。 | |
| static final int | e_ElementTypeFENote = 0x010A |
| 结构元素类型:FENote(PDF 2.0),用于标记脚注和尾注。 | |
| static final int | e_ElementTypeFigure = 0x0400 |
| 结构元素类型:Figure,表示图形内容项。 | |
| static final int | e_ElementTypeForm = 0x0402 |
| 结构元素类型:Form,表示代表交互式表单字段的 小部件标注。 | |
| static final int | e_ElementTypeFormObject = 0x80000005 |
| 结构元素类型:FormObject,表示表单XObject图形对象元素。 | |
| static final int | e_ElementTypeFormula = 0x0401 |
| 结构元素类型:Formula,表示数学公式。 | |
| static final int | e_ElementTypeHeading = 0x0201 |
| 结构元素类型:H,意为"Heading",表示文档内容细分的标签。 它应该是它所引导的划分的第一个子元素。 | |
| static final int | e_ElementTypeHeading1 = 0x0202 |
| 结构元素类型:H1,表示1级标题。 | |
| static final int | e_ElementTypeHeading2 = 0x0203 |
| 结构元素类型:H2,表示2级标题。 | |
| static final int | e_ElementTypeHeading3 = 0x0204 |
| 结构元素类型:H3,表示3级标题。 | |
| static final int | e_ElementTypeHeading4 = 0x0205 |
| 结构元素类型:H4,表示4级标题。 | |
| static final int | e_ElementTypeHeading5 = 0x0206 |
| 结构元素类型:H5,表示5级标题。 | |
| static final int | e_ElementTypeHeading6 = 0x0207 |
| 结构元素类型:H6,表示6级标题。 | |
| static final int | e_ElementTypeHeadingN = 0x0208 |
| 结构元素类型:Hn(PDF 2.0),表示7级或更高级别的标题。 | |
| static final int | e_ElementTypeImageContent = 0xC0000003 |
| 结构元素类型:ImageContent,表示图像内容元素。 | |
| static final int | e_ElementTypeImageObject = 0x80000003 |
| 结构元素类型:ImageObject,表示图像图形对象元素。 | |
| static final int | e_ElementTypeIndex = 0x0107 |
| 结构元素类型:Index,表示包含识别文本的条目序列, 伴随指向文档主体中指定文本出现位置的引用元素。 | |
| static final int | e_ElementTypeLink = 0x0306 |
| 结构元素类型:Link,表示ILSE内容的一部分与 相应链接标注之间的关联。 | |
| static final int | e_ElementTypeList = 0x0209 |
| 结构元素类型:L,意为"List",表示具有相似含义和重要性的项目序列。 | |
| static final int | e_ElementTypeListBody = 0x020C |
| 结构元素类型:LBody,意为"List body",表示 列表项的描述性内容。 | |
| static final int | e_ElementTypeListItem = 0x020A |
| 结构元素类型:LI,意为"List item",表示列表的单个成员。 | |
| static final int | e_ElementTypeListLabel = 0x020B |
| 结构元素类型:Lbl,意为"Label",表示用于区分给定项目与 同一列表或其他类似项目组中其他项目的名称或编号。 | |
| static final int | e_ElementTypeNonStruct = 0x010F |
| 结构元素类型:NonStruct,意为"Nonstructural element",表示 没有固有结构意义的分组元素;它仅用于分组目的。 | |
| static final int | e_ElementTypeNote = 0x0302 |
| 结构元素类型:Note,表示解释性文本项, 如脚注或尾注,在文档正文中被引用。 | |
| static final int | e_ElementTypePageObject = 0x8000000F |
| 结构元素类型:PageObject,表示页面对象元素。 | |
| static final int | e_ElementTypeParagraph = 0x0200 |
| 结构元素类型:P,意为"Paragraph",表示文本的低级划分。 | |
| static final int | e_ElementTypePart = 0x0002 |
| 结构元素类型:Part,表示文档的大规模划分。 | |
| static final int | e_ElementTypePathContent = 0xC0000002 |
| 结构元素类型:PathContent,表示路径内容元素。 | |
| static final int | e_ElementTypePathObject = 0x80000002 |
| 结构元素类型:PathObject,表示路径图形对象元素。 | |
| static final int | e_ElementTypePrivate = 0x0110 |
| 结构元素类型:Private,意为"Private element",表示 包含生成应用程序私有内容的分组元素。 | |
| static final int | e_ElementTypeQuote = 0x0301 |
| 结构元素类型:Quote,意为"Quotation",表示 归属于周围文本作者以外的人的内联文本部分。 | |
| static final int | e_ElementTypeReference = 0x0303 |
| 结构元素类型:Reference,表示对文档中 其他地方内容的引用。 | |
| static final int | e_ElementTypeRuby = 0x0308 |
| 结构元素类型:Ruby,表示整个假名注音组合的包装器。 | |
| static final int | e_ElementTypeRubyAnnot = 0x030A |
| 结构元素类型:RT,意为"Ruby annotation text",表示 放置在假名基础文本旁边的较小尺寸文本。 | |
| static final int | e_ElementTypeRubyBase = 0x0309 |
| 结构元素类型:RB,意为"Ruby base text",表示 应用假名注音的全尺寸文本。 | |
| static final int | e_ElementTypeRubyPunc = 0x030B |
| 结构元素类型:RP,意为"Ruby punctuation",表示 围绕假名注音文本的标点符号。 | |
| static final int | e_ElementTypeSect = 0x0102 |
| 结构元素类型:Sect,意为"Section",表示用于 分组相关内容元素的容器。 | |
| static final int | e_ElementTypeShadingContent = 0xC0000004 |
| 结构元素类型:ShadingContent,表示阴影内容元素。 | |
| static final int | e_ElementTypeShadingObject = 0x80000004 |
| 结构元素类型:ShadingObject,表示阴影图形对象元素。 | |
| static final int | e_ElementTypeSpan = 0x0300 |
| 结构元素类型:Span,表示没有特定固有特征的 通用内联文本部分。 | |
| static final int | e_ElementTypeStrong = 0x0310 |
| 结构元素类型:Strong(PDF 2.0),表示用于 强烈重要性、严肃性或紧迫性的内容。 | |
| static final int | e_ElementTypeSub = 0x0311 |
| 结构元素类型:Sub(PDF 2.0),意为"Sub-division of a block level element",表示 通常被认为是块级结构元素内部细分的内容。 | |
| static final int | e_ElementTypeTable = 0x020D |
| 结构元素类型:Table,表示矩形数据单元格的二维布局, 可能具有复杂的子结构。 | |
| static final int | e_ElementTypeTableBodyGroup = 0x0212 |
| 结构元素类型:TBody,意为"Table body row group",表示 构成表格主体部分的行组。 | |
| static final int | e_ElementTypeTableDataCell = 0x0210 |
| 结构元素类型:TD,意为"Table data cell",表示 包含表格内容部分数据的表格单元格。 | |
| static final int | e_ElementTypeTableFootGroup = 0x0213 |
| 结构元素类型:TFoot,意为"Table footer row group",表示 构成表格页脚的行组。 | |
| static final int | e_ElementTypeTableHeaderCell = 0x020F |
| 结构元素类型:TH,意为"Table header cell",表示 包含描述表格一行或多行或列的标题文本的表格单元格。 | |
| static final int | e_ElementTypeTableHeaderGroup = 0x0211 |
| 结构元素类型:THead,意为"Table header row group",表示 构成表格标题的行组。 | |
| static final int | e_ElementTypeTableRow = 0x020E |
| 结构元素类型:TR,意为"Table row",表示 表格中的标题或数据行。 | |
| static final int | e_ElementTypeTextContent = 0xC0000001 |
| 结构元素类型:TextContent,表示文本内容元素。 | |
| static final int | e_ElementTypeTextObject = 0x80000001 |
| 结构元素类型:TextObject,表示文本图形对象元素。 | |
| static final int | e_ElementTypeTitle = 0x0109 |
| 结构元素类型:Title(PDF 2.0),表示通常被称为文档或高级内容划分标题的内容。 | |
| static final int | e_ElementTypeTOC = 0x0105 |
| 结构元素类型:TOC,意为"Table of contents",表示 由目录项条目和/或其他嵌套目录条目组成的列表。 | |
| static final int | e_ElementTypeTOCI = 0x0106 |
| 结构元素类型:TOCI,意为"Table of contents item",表示 目录的单个成员。 | |
| static final int | e_ElementTypeWarichu = 0x030C |
| 结构元素类型:Warichu,表示整个割注组合的包装器。 | |
| static final int | e_ElementTypeWarichuPunc = 0x030E |
| 结构元素类型:WP,意为"Warichu punctuation",表示 围绕WT文本的标点符号。 | |
| static final int | e_ElementTypeWarichuText = 0x030D |
| 结构元素类型:WT,意为"Warichu text",表示 割注注释的较小尺寸文本,格式化为两行并放置在周围WP元素之间。 | |
此类表示内容元素。内容元素包含来自图形对象的内容。
| com.foxit.sdk.addon.layoutrecognition.LRContentElement.LRContentElement | ( | LRContentElement | other | ) |
带参数的构造函数。
| [in] | other | 另一个内容元素对象。 |
| com.foxit.sdk.addon.layoutrecognition.LRContentElement.LRContentElement | ( | LRElement | element | ) |
构造函数,使用父类对象。
| [in] | element | 父类对象。 |
| synchronized void com.foxit.sdk.addon.layoutrecognition.LRContentElement.delete | ( | ) |
直接清除C++相关资源。
| RectF com.foxit.sdk.addon.layoutrecognition.LRContentElement.getBBox | ( | ) | throws com.foxit.sdk.PDFException |
获取边界框。
| LRGraphicsObjectElement com.foxit.sdk.addon.layoutrecognition.LRContentElement.getGraphicsObjectElement | ( | ) | throws com.foxit.sdk.PDFException |
获取相关的图形对象元素。
| Range com.foxit.sdk.addon.layoutrecognition.LRContentElement.getGraphicsObjectRange | ( | ) | throws com.foxit.sdk.PDFException |
获取当前内容元素在当前图形对象中的范围。
范围中指定的所有索引表示图形对象位置中的当前内容元素。
| Matrix2D com.foxit.sdk.addon.layoutrecognition.LRContentElement.getMatrix | ( | ) | throws com.foxit.sdk.PDFException |
获取矩阵。
| LRStructureElement com.foxit.sdk.addon.layoutrecognition.LRContentElement.getParentElement | ( | ) | throws com.foxit.sdk.PDFException |
获取父元素。