Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- A0 - Enum constant in enum class cloud.opencode.base.pdf.document.PageSize
-
A0: 841 x 1189 mm
- A1 - Enum constant in enum class cloud.opencode.base.pdf.document.PageSize
-
A1: 594 x 841 mm
- A2 - Enum constant in enum class cloud.opencode.base.pdf.document.PageSize
-
A2: 420 x 594 mm
- A3 - Enum constant in enum class cloud.opencode.base.pdf.document.PageSize
-
A3: 297 x 420 mm
- A4 - Enum constant in enum class cloud.opencode.base.pdf.document.PageSize
-
A4: 210 x 297 mm (most common) | A4: 210 x 297 毫米(最常用)
- A5 - Enum constant in enum class cloud.opencode.base.pdf.document.PageSize
-
A5: 148 x 210 mm
- A6 - Enum constant in enum class cloud.opencode.base.pdf.document.PageSize
-
A6: 105 x 148 mm
- add(PdfDocument) - Method in class cloud.opencode.base.pdf.operation.PdfMerger
-
Adds a PDF document to merge.
- add(InputStream) - Method in class cloud.opencode.base.pdf.operation.PdfMerger
-
Adds PDF from input stream.
- add(Path) - Method in class cloud.opencode.base.pdf.operation.PdfMerger
-
Adds a PDF file to merge.
- addAll(List) - Method in class cloud.opencode.base.pdf.operation.PdfMerger
-
Adds multiple PDF files.
- addImage(PdfImage) - Method in interface cloud.opencode.base.pdf.PdfPage
-
Adds an image to the page 向页面添加图像
- addLine(PdfLine) - Method in interface cloud.opencode.base.pdf.PdfPage
-
Adds a line to the page 向页面添加线条
- addOutlines(boolean) - Method in class cloud.opencode.base.pdf.operation.PdfMerger
-
Adds outline entries for each document.
- addPage() - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
-
Adds a new page.
- addPage() - Method in interface cloud.opencode.base.pdf.PdfDocument
-
Adds a new blank page 添加新的空白页
- addPage(PageSize) - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
-
Adds a new page with specific size.
- addPage(PageSize) - Method in interface cloud.opencode.base.pdf.PdfDocument
-
Adds a new page with specified size 添加指定大小的新页面
- addPage(PageSize, Orientation) - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
-
Adds a new page with specific size and orientation.
- addPages(Path, String...) - Method in class cloud.opencode.base.pdf.operation.PdfMerger
-
Adds specific pages from a PDF.
- addParagraph(PdfParagraph) - Method in interface cloud.opencode.base.pdf.PdfPage
-
Adds a paragraph to the page 向页面添加段落
- addRectangle(PdfRectangle) - Method in interface cloud.opencode.base.pdf.PdfPage
-
Adds a rectangle to the page 向页面添加矩形
- addTable(PdfTable) - Method in interface cloud.opencode.base.pdf.PdfPage
-
Adds a table to the page 向页面添加表格
- addText(PdfText) - Method in interface cloud.opencode.base.pdf.PdfPage
-
Adds styled text element to the page 向页面添加带样式的文本元素
- addText(String, float, float) - Method in interface cloud.opencode.base.pdf.PdfPage
-
Adds text to the page at specified position 在指定位置向页面添加文本
- addTrustedCertificate(X509Certificate) - Method in class cloud.opencode.base.pdf.signature.SignatureValidator
-
Adds a trusted certificate.
- alias(String) - Method in class cloud.opencode.base.pdf.signature.PdfSigner
-
Sets the certificate alias to use.
- align(PdfCell.Alignment) - Method in class cloud.opencode.base.pdf.content.PdfCell
-
Sets horizontal alignment 设置水平对齐
- alignment(PdfParagraph.Alignment) - Method in class cloud.opencode.base.pdf.content.PdfParagraph
-
Sets text alignment 设置文本对齐
- alpha() - Method in record class cloud.opencode.base.pdf.content.PdfColor
-
Returns the value of the
alpharecord component. - alternateRowColors(PdfColor, PdfColor) - Method in class cloud.opencode.base.pdf.content.PdfTable
-
Sets alternating row colors 设置交替行颜色
- appearance(SignatureAppearance) - Method in class cloud.opencode.base.pdf.signature.PdfSigner
-
Sets signature appearance.
- apply(float, float) - Method in enum class cloud.opencode.base.pdf.document.Orientation
-
Applies orientation to page dimensions 将方向应用于页面尺寸
- author() - Method in record class cloud.opencode.base.pdf.document.Metadata
-
Returns the value of the
authorrecord component. - author(String) - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
-
Sets document author.
- author(String) - Method in class cloud.opencode.base.pdf.document.Metadata.Builder
-
Sets document author 设置文档作者
B
- B4 - Enum constant in enum class cloud.opencode.base.pdf.document.PageSize
-
B4: 250 x 353 mm
- B5 - Enum constant in enum class cloud.opencode.base.pdf.document.PageSize
-
B5: 176 x 250 mm
- backgroundColor(PdfColor) - Method in class cloud.opencode.base.pdf.content.PdfCell
-
Sets background color 设置背景颜色
- backgroundColor(Color) - Method in class cloud.opencode.base.pdf.signature.SignatureAppearance
-
Sets background color.
- BLACK - Static variable in record class cloud.opencode.base.pdf.content.PdfColor
-
Black color | 黑色
- blue() - Method in record class cloud.opencode.base.pdf.content.PdfColor
-
Returns the value of the
bluerecord component. - BLUE - Static variable in record class cloud.opencode.base.pdf.content.PdfColor
-
Blue color | 蓝色
- BMP - Enum constant in enum class cloud.opencode.base.pdf.content.PdfImage.ImageFormat
-
BMP format | BMP 格式
- bold(boolean) - Method in class cloud.opencode.base.pdf.content.PdfText
-
Sets bold style 设置粗体样式
- border(float, PdfColor) - Method in class cloud.opencode.base.pdf.content.PdfCell
-
Sets border 设置边框
- border(float, Color) - Method in class cloud.opencode.base.pdf.signature.SignatureAppearance
-
Sets border.
- borderColor(PdfColor) - Method in class cloud.opencode.base.pdf.content.PdfTable
-
Sets border color 设置边框颜色
- borderColor(PdfColor) - Method in class cloud.opencode.base.pdf.content.PdfTable.Builder
- borderWidth(float) - Method in class cloud.opencode.base.pdf.content.PdfTable
-
Sets border width 设置边框宽度
- borderWidth(float) - Method in class cloud.opencode.base.pdf.content.PdfTable.Builder
- BOTTOM - Enum constant in enum class cloud.opencode.base.pdf.content.PdfCell.VerticalAlignment
- build() - Method in class cloud.opencode.base.pdf.content.PdfTable.Builder
- build() - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
-
Builds the PDF document.
- build() - Method in class cloud.opencode.base.pdf.document.Metadata.Builder
-
Builds the metadata 构建元数据
- build() - Method in class cloud.opencode.base.pdf.signature.SignatureInfo.Builder
- builder() - Static method in class cloud.opencode.base.pdf.content.PdfCell
-
Creates a cell builder 创建单元格构建器
- builder() - Static method in class cloud.opencode.base.pdf.content.PdfEllipse
-
Creates an ellipse builder 创建椭圆构建器
- builder() - Static method in class cloud.opencode.base.pdf.content.PdfImage
-
Creates an image builder 创建图像构建器
- builder() - Static method in class cloud.opencode.base.pdf.content.PdfLine
-
Creates a line builder 创建线条构建器
- builder() - Static method in class cloud.opencode.base.pdf.content.PdfParagraph
-
Creates a paragraph builder 创建段落构建器
- builder() - Static method in class cloud.opencode.base.pdf.content.PdfRectangle
-
Creates a rectangle builder 创建矩形构建器
- builder() - Static method in class cloud.opencode.base.pdf.content.PdfText
-
Creates a text builder 创建文本构建器
- builder() - Static method in record class cloud.opencode.base.pdf.document.Metadata
-
Creates a builder for metadata 创建元数据构建器
- builder() - Static method in class cloud.opencode.base.pdf.document.PdfFooter
-
Creates an empty footer builder 创建空的页脚构建器
- builder() - Static method in class cloud.opencode.base.pdf.document.PdfHeader
-
Creates an empty header builder 创建空的页眉构建器
- builder() - Static method in record class cloud.opencode.base.pdf.signature.SignatureInfo
-
Creates a builder for signature info.
- builder(int) - Static method in class cloud.opencode.base.pdf.content.PdfTable
-
Creates table builder 创建表格构建器
C
- cellPadding(float) - Method in class cloud.opencode.base.pdf.content.PdfTable.Builder
- cellPadding(float) - Method in class cloud.opencode.base.pdf.content.PdfTable
-
Sets cell padding 设置单元格内边距
- center(float, float) - Method in class cloud.opencode.base.pdf.content.PdfEllipse
- center(String) - Method in class cloud.opencode.base.pdf.document.PdfFooter
-
Sets center-aligned text 设置居中文本
- center(String) - Method in class cloud.opencode.base.pdf.document.PdfHeader
-
Sets center-aligned text 设置居中文本
- CENTER - Enum constant in enum class cloud.opencode.base.pdf.content.PdfCell.Alignment
- CENTER - Enum constant in enum class cloud.opencode.base.pdf.content.PdfParagraph.Alignment
-
Center alignment | 居中对齐
- certificates() - Method in record class cloud.opencode.base.pdf.signature.SignatureInfo
-
Returns the value of the
certificatesrecord component. - certificates(List) - Method in class cloud.opencode.base.pdf.signature.SignatureInfo.Builder
- certificateValid() - Method in record class cloud.opencode.base.pdf.signature.SignatureValidator.ValidationResult
-
Returns the value of the
certificateValidrecord component. - chainValid() - Method in record class cloud.opencode.base.pdf.signature.SignatureValidator.ValidationResult
-
Returns the value of the
chainValidrecord component. - characterSpacing(float) - Method in class cloud.opencode.base.pdf.content.PdfText
-
Sets character spacing 设置字符间距
- CheckBox - Interface in cloud.opencode.base.pdf.form
-
Checkbox Form Field 复选框表单字段
- CHECKBOX - Enum constant in enum class cloud.opencode.base.pdf.form.FormField.FieldType
-
Checkbox field | 复选框字段
- checkOcsp(boolean) - Method in class cloud.opencode.base.pdf.signature.SignatureValidator
-
Enables OCSP checking.
- checkRevocation(boolean) - Method in class cloud.opencode.base.pdf.signature.SignatureValidator
-
Enables certificate revocation checking.
- circle(float, float, float) - Static method in class cloud.opencode.base.pdf.content.PdfEllipse
-
Creates a circle 创建圆形
- clearValues() - Method in interface cloud.opencode.base.pdf.form.PdfForm
-
Clears all field values 清除所有字段值
- close() - Method in interface cloud.opencode.base.pdf.PdfDocument
-
Closes the document and releases resources 关闭文档并释放资源
- cloud.opencode.base.pdf - module cloud.opencode.base.pdf
-
OpenCode Base PDF Module OpenCode PDF 模块
- cloud.opencode.base.pdf - package cloud.opencode.base.pdf
- cloud.opencode.base.pdf.content - package cloud.opencode.base.pdf.content
- cloud.opencode.base.pdf.document - package cloud.opencode.base.pdf.document
- cloud.opencode.base.pdf.exception - package cloud.opencode.base.pdf.exception
- cloud.opencode.base.pdf.font - package cloud.opencode.base.pdf.font
- cloud.opencode.base.pdf.form - package cloud.opencode.base.pdf.form
- cloud.opencode.base.pdf.operation - package cloud.opencode.base.pdf.operation
- cloud.opencode.base.pdf.signature - package cloud.opencode.base.pdf.signature
- CMYK - Enum constant in enum class cloud.opencode.base.pdf.content.PdfColor.ColorModel
-
CMYK color model | CMYK 颜色模型
- color(int, int, int) - Method in class cloud.opencode.base.pdf.content.PdfText
-
Sets text color from RGB values 从 RGB 值设置文本颜色
- color(PdfColor) - Method in class cloud.opencode.base.pdf.content.PdfLine
- color(PdfColor) - Method in class cloud.opencode.base.pdf.content.PdfParagraph
-
Sets text color 设置文本颜色
- color(PdfColor) - Method in class cloud.opencode.base.pdf.content.PdfText
-
Sets text color 设置文本颜色
- color(PdfColor) - Method in class cloud.opencode.base.pdf.content.PdfWatermark
-
Sets watermark color 设置水印颜色
- color(PdfColor) - Method in class cloud.opencode.base.pdf.document.PdfFooter
-
Sets text color 设置文本颜色
- color(PdfColor) - Method in class cloud.opencode.base.pdf.document.PdfHeader
-
Sets text color 设置文本颜色
- colspan(int) - Method in class cloud.opencode.base.pdf.content.PdfCell
-
Sets colspan 设置跨列数
- columnWidths(float...) - Method in class cloud.opencode.base.pdf.content.PdfTable.Builder
- columnWidths(float...) - Method in class cloud.opencode.base.pdf.content.PdfTable
-
Sets column widths 设置列宽
- COMBO - Enum constant in enum class cloud.opencode.base.pdf.form.FormField.FieldType
-
Combo box (dropdown) field | 下拉框字段
- ComboBox - Interface in cloud.opencode.base.pdf.form
-
Combo Box (Dropdown) Form Field 下拉框表单字段
- contact(String) - Method in class cloud.opencode.base.pdf.signature.PdfSigner
-
Sets signature contact info.
- contactInfo() - Method in record class cloud.opencode.base.pdf.signature.SignatureInfo
-
Returns the value of the
contactInforecord component. - contactInfo(String) - Method in class cloud.opencode.base.pdf.signature.SignatureInfo.Builder
- content(String) - Method in class cloud.opencode.base.pdf.content.PdfCell
-
Sets cell content 设置单元格内容
- content(String) - Method in class cloud.opencode.base.pdf.content.PdfParagraph
-
Sets text content 设置文本内容
- content(String) - Method in class cloud.opencode.base.pdf.content.PdfText
-
Sets text content 设置文本内容
- cornerRadius(float) - Method in class cloud.opencode.base.pdf.content.PdfRectangle
- courier() - Static method in interface cloud.opencode.base.pdf.font.PdfFont
-
Returns Courier font (monospace) 返回 Courier 字体(等宽)
- COURIER - Enum constant in enum class cloud.opencode.base.pdf.font.StandardFont
-
Courier (monospace) | Courier(等宽)
- COURIER_BOLD - Enum constant in enum class cloud.opencode.base.pdf.font.StandardFont
-
Courier Bold | Courier 粗体
- COURIER_BOLD_OBLIQUE - Enum constant in enum class cloud.opencode.base.pdf.font.StandardFont
-
Courier Bold Oblique | Courier 粗斜体
- COURIER_OBLIQUE - Enum constant in enum class cloud.opencode.base.pdf.font.StandardFont
-
Courier Oblique | Courier 斜体
- courierBold() - Static method in interface cloud.opencode.base.pdf.font.PdfFont
-
Returns Courier Bold font 返回 Courier Bold 字体
- coversWholeDoc() - Method in record class cloud.opencode.base.pdf.signature.SignatureInfo
-
Returns the value of the
coversWholeDocrecord component. - coversWholeDoc(boolean) - Method in class cloud.opencode.base.pdf.signature.SignatureInfo.Builder
- create() - Static method in class cloud.opencode.base.pdf.document.DocumentBuilder
-
Creates a new document builder.
- create() - Static method in class cloud.opencode.base.pdf.OpenPdf
-
Creates a new PDF document builder.
- create() - Static method in class cloud.opencode.base.pdf.operation.PdfExtractor
-
Creates a new extractor.
- create() - Static method in class cloud.opencode.base.pdf.operation.PdfMerger
-
Creates a new merger.
- create() - Static method in class cloud.opencode.base.pdf.operation.PdfSplitter
-
Creates a new splitter.
- create() - Static method in class cloud.opencode.base.pdf.signature.PdfSigner
-
Creates a new signer.
- create() - Static method in class cloud.opencode.base.pdf.signature.SignatureValidator
-
Creates a new validator.
- create(PageSize) - Static method in class cloud.opencode.base.pdf.document.DocumentBuilder
-
Creates a new document builder with page size.
- create(PageSize) - Static method in class cloud.opencode.base.pdf.OpenPdf
-
Creates a new PDF document builder with specified page size.
- creationDate() - Method in record class cloud.opencode.base.pdf.document.Metadata
-
Returns the value of the
creationDaterecord component. - creationDate(Instant) - Method in class cloud.opencode.base.pdf.document.Metadata.Builder
-
Sets creation date 设置创建日期
- creator() - Method in record class cloud.opencode.base.pdf.document.Metadata
-
Returns the value of the
creatorrecord component. - creator(String) - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
-
Sets document creator.
- creator(String) - Method in class cloud.opencode.base.pdf.document.Metadata.Builder
-
Sets creator application 设置创建应用程序
- custom(float, float) - Static method in enum class cloud.opencode.base.pdf.document.PageSize
-
Creates a custom page size 创建自定义页面大小
- customInches(float, float) - Static method in enum class cloud.opencode.base.pdf.document.PageSize
-
Creates a custom page size from inches 从英寸创建自定义页面大小
- customMm(float, float) - Static method in enum class cloud.opencode.base.pdf.document.PageSize
-
Creates a custom page size from millimeters 从毫米创建自定义页面大小
- CYAN - Static variable in record class cloud.opencode.base.pdf.content.PdfColor
-
Cyan color | 青色
D
- DARK_GRAY - Static variable in record class cloud.opencode.base.pdf.content.PdfColor
-
Dark gray color | 深灰色
- darker(float) - Method in record class cloud.opencode.base.pdf.content.PdfColor
-
Creates a darker version of this color 创建当前颜色的深色版本
- DASHED - Enum constant in enum class cloud.opencode.base.pdf.content.PdfLine.LineStyle
-
Dashed line | 虚线
- data() - Method in record class cloud.opencode.base.pdf.operation.PdfExtractor.ExtractedImage
-
Returns the value of the
datarecord component. - DEFAULT_PRODUCER - Static variable in record class cloud.opencode.base.pdf.document.Metadata
-
Default producer name | 默认生成器名称
- defaultAppearance() - Static method in class cloud.opencode.base.pdf.signature.SignatureAppearance
-
Creates default appearance.
- defaultFont(PdfFont) - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
-
Sets default font.
- description(String) - Method in class cloud.opencode.base.pdf.signature.SignatureAppearance
-
Sets description text.
- document() - Method in record class cloud.opencode.base.pdf.operation.PdfMerger.MergeSource
-
Returns the value of the
documentrecord component. - DocumentBuilder - Class in cloud.opencode.base.pdf.document
-
PDF Document Builder PDF 文档构建器
- DocumentBuilder.EmbeddedFontEntry - Record Class in cloud.opencode.base.pdf.document
-
Embedded Font Entry 嵌入字体条目
- DOTTED - Enum constant in enum class cloud.opencode.base.pdf.content.PdfLine.LineStyle
-
Dotted line | 点线
E
- ellipse(PdfEllipse) - Method in class cloud.opencode.base.pdf.document.PageBuilder
-
Draws an ellipse.
- EmbeddedFont - Class in cloud.opencode.base.pdf.font
-
Embedded PDF Font - Custom font embedded in PDF 嵌入式 PDF 字体 - 嵌入 PDF 中的自定义字体
- EmbeddedFont.FontType - Enum Class in cloud.opencode.base.pdf.font
-
Font Type 字体类型
- EmbeddedFontEntry(Path, String) - Constructor for record class cloud.opencode.base.pdf.document.DocumentBuilder.EmbeddedFontEntry
-
Creates an instance of a
EmbeddedFontEntryrecord class. - embedFont(Path, String) - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
-
Embeds a TrueType font.
- empty() - Static method in class cloud.opencode.base.pdf.content.PdfCell
-
Creates empty cell 创建空单元格
- empty() - Static method in record class cloud.opencode.base.pdf.document.Metadata
-
Creates empty metadata 创建空的元数据
- encrypt(String, String) - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
-
Sets document encryption.
- endPage() - Method in class cloud.opencode.base.pdf.document.PageBuilder
-
Finishes current page and returns to document builder.
- equals(Object) - Method in record class cloud.opencode.base.pdf.content.PdfColor
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.pdf.document.DocumentBuilder.EmbeddedFontEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.pdf.document.Metadata
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.pdf.operation.PdfExtractor.ExtractedImage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.pdf.operation.PdfMerger.MergeSource
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.pdf.signature.SignatureInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.pdf.signature.SignatureValidator.ValidationResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.pdf.signature.TimestampInfo
-
Indicates whether some other object is "equal to" this one.
- errorMessage() - Method in record class cloud.opencode.base.pdf.signature.SignatureValidator.ValidationResult
-
Returns the value of the
errorMessagerecord component. - EXECUTIVE - Enum constant in enum class cloud.opencode.base.pdf.document.PageSize
-
Executive: 7.25 x 10.5 inches
- ExtractedImage(byte[], String, int, int, int) - Constructor for record class cloud.opencode.base.pdf.operation.PdfExtractor.ExtractedImage
-
Creates an instance of a
ExtractedImagerecord class. - extractFormFields(Path) - Static method in class cloud.opencode.base.pdf.OpenPdf
-
Extracts form fields from a PDF.
- extractImageBytes() - Method in class cloud.opencode.base.pdf.operation.PdfExtractor
-
Extracts images as byte arrays.
- extractImages() - Method in class cloud.opencode.base.pdf.operation.PdfExtractor
-
Extracts all images from PDF.
- extractImages(int...) - Method in class cloud.opencode.base.pdf.operation.PdfExtractor
-
Extracts images from specific pages.
- extractImages(Path) - Static method in class cloud.opencode.base.pdf.OpenPdf
-
Extracts images from a PDF.
- extractor() - Static method in class cloud.opencode.base.pdf.OpenPdf
-
Creates a PDF extractor.
- extractPages(int...) - Method in class cloud.opencode.base.pdf.operation.PdfSplitter
-
Extracts specific pages.
- extractText() - Method in class cloud.opencode.base.pdf.operation.PdfExtractor
-
Extracts all text from PDF.
- extractText() - Method in interface cloud.opencode.base.pdf.PdfPage
-
Extracts all text from this page 从当前页面提取所有文本
- extractText(int...) - Method in class cloud.opencode.base.pdf.operation.PdfExtractor
-
Extracts text from specific pages.
- extractText(Path) - Static method in class cloud.opencode.base.pdf.OpenPdf
-
Extracts all text from a PDF.
- extractText(Path, int...) - Static method in class cloud.opencode.base.pdf.OpenPdf
-
Extracts text from specific pages.
- extractTextRange(int, int) - Method in class cloud.opencode.base.pdf.operation.PdfExtractor
-
Extracts text from a page range.
F
- fieldName(String) - Method in class cloud.opencode.base.pdf.signature.PdfSigner
-
Sets signature field name.
- fieldNotFound(String) - Static method in exception class cloud.opencode.base.pdf.exception.OpenPdfException
-
Creates exception for form field not found 创建表单字段未找到异常
- fillAndFlatten(Path, Map) - Static method in class cloud.opencode.base.pdf.OpenPdf
-
Fills form and flattens (makes non-editable).
- fillColor(PdfColor) - Method in class cloud.opencode.base.pdf.content.PdfEllipse
- fillColor(PdfColor) - Method in class cloud.opencode.base.pdf.content.PdfRectangle
- filledRectangle(float, float, float, float, PdfColor) - Method in class cloud.opencode.base.pdf.document.PageBuilder
-
Draws a filled rectangle.
- fillForm(Path, Map) - Static method in class cloud.opencode.base.pdf.OpenPdf
-
Fills form fields in a PDF.
- firstLineIndent(float) - Method in class cloud.opencode.base.pdf.content.PdfParagraph
-
Sets first line indent 设置首行缩进
- flatten() - Method in interface cloud.opencode.base.pdf.form.PdfForm
-
Flattens the form (makes fields non-editable) 扁平化表单(使字段不可编辑)
- flatten(String...) - Method in interface cloud.opencode.base.pdf.form.PdfForm
-
Flattens specific fields 扁平化指定字段
- font(PdfFont) - Method in class cloud.opencode.base.pdf.content.PdfCell
-
Sets font 设置字体
- font(PdfFont) - Method in class cloud.opencode.base.pdf.content.PdfParagraph
-
Sets font 设置字体
- font(PdfFont) - Method in class cloud.opencode.base.pdf.content.PdfText
-
Sets font 设置字体
- font(PdfFont) - Method in class cloud.opencode.base.pdf.content.PdfWatermark
-
Sets font (null for default Helvetica) 设置字体(null 表示默认 Helvetica)
- font(PdfFont) - Method in class cloud.opencode.base.pdf.document.PdfFooter
-
Sets font 设置字体
- font(PdfFont) - Method in class cloud.opencode.base.pdf.document.PdfHeader
-
Sets font 设置字体
- font(PdfFont) - Method in class cloud.opencode.base.pdf.signature.SignatureAppearance
-
Sets font for text.
- fontSize(float) - Method in class cloud.opencode.base.pdf.content.PdfCell
-
Sets font size 设置字体大小
- fontSize(float) - Method in class cloud.opencode.base.pdf.content.PdfParagraph
-
Sets font size 设置字体大小
- fontSize(float) - Method in class cloud.opencode.base.pdf.content.PdfText
-
Sets font size 设置字体大小
- fontSize(float) - Method in class cloud.opencode.base.pdf.content.PdfWatermark
-
Sets font size 设置字号
- fontSize(float) - Method in class cloud.opencode.base.pdf.document.PdfFooter
-
Sets font size 设置字号
- fontSize(float) - Method in class cloud.opencode.base.pdf.document.PdfHeader
-
Sets font size 设置字号
- fontSize(float) - Method in class cloud.opencode.base.pdf.signature.SignatureAppearance
-
Sets font size.
- footer(PdfFooter) - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
-
Sets document footer.
- footer(String) - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
-
Sets document footer with centered text (convenience method).
- format() - Method in record class cloud.opencode.base.pdf.operation.PdfExtractor.ExtractedImage
-
Returns the value of the
formatrecord component. - FormField - Interface in cloud.opencode.base.pdf.form
-
Form Field Base - Common interface for all form field types 表单字段基类 - 所有表单字段类型的公共接口
- FormField.FieldType - Enum Class in cloud.opencode.base.pdf.form
-
Field types 字段类型
- from(byte[], PdfImage.ImageFormat) - Static method in class cloud.opencode.base.pdf.content.PdfImage
-
Creates image from byte array 从字节数组创建图像
- from(float, float) - Method in class cloud.opencode.base.pdf.content.PdfLine
- from(Color) - Static method in record class cloud.opencode.base.pdf.content.PdfColor
-
Creates color from java.awt.Color 从 java.awt.Color 创建颜色
- from(Path) - Static method in class cloud.opencode.base.pdf.content.PdfImage
-
Creates image from file path 从文件路径创建图像
- fromBytes(String, byte[], EmbeddedFont.FontType) - Static method in class cloud.opencode.base.pdf.font.EmbeddedFont
-
Creates embedded font from byte array 从字节数组创建嵌入字体
- fromFile(String, Path) - Static method in class cloud.opencode.base.pdf.font.EmbeddedFont
-
Creates embedded font from file path 从文件路径创建嵌入字体
G
- generateAppearances() - Method in interface cloud.opencode.base.pdf.form.PdfForm
-
Generates field appearances 生成字段外观
- getAlias() - Method in class cloud.opencode.base.pdf.signature.PdfSigner
- getAlignment() - Method in class cloud.opencode.base.pdf.content.PdfParagraph
- getAlignment() - Method in interface cloud.opencode.base.pdf.form.TextField
-
Gets text alignment 获取文本对齐
- getAlpha() - Method in record class cloud.opencode.base.pdf.content.PdfColor
-
Gets alpha (opacity) 获取透明度
- getAppearance() - Method in class cloud.opencode.base.pdf.signature.PdfSigner
- getAuthor() - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
- getBackgroundColor() - Method in class cloud.opencode.base.pdf.content.PdfCell
- getBackgroundColor() - Method in class cloud.opencode.base.pdf.signature.SignatureAppearance
- getBlue() - Method in record class cloud.opencode.base.pdf.content.PdfColor
-
Gets blue component (0-1) 获取蓝色分量 (0-1)
- getBorderColor() - Method in class cloud.opencode.base.pdf.content.PdfCell
- getBorderColor() - Method in class cloud.opencode.base.pdf.content.PdfTable
- getBorderColor() - Method in class cloud.opencode.base.pdf.signature.SignatureAppearance
- getBorderWidth() - Method in class cloud.opencode.base.pdf.content.PdfCell
- getBorderWidth() - Method in class cloud.opencode.base.pdf.content.PdfTable
- getBorderWidth() - Method in class cloud.opencode.base.pdf.signature.SignatureAppearance
- getCellPadding() - Method in class cloud.opencode.base.pdf.content.PdfTable
- getCenter() - Method in class cloud.opencode.base.pdf.document.PdfFooter
-
Gets center-aligned text 获取居中文本
- getCenter() - Method in class cloud.opencode.base.pdf.document.PdfHeader
-
Gets center-aligned text 获取居中文本
- getCenterX() - Method in class cloud.opencode.base.pdf.content.PdfEllipse
- getCenterY() - Method in class cloud.opencode.base.pdf.content.PdfEllipse
- getCharacterSpacing() - Method in class cloud.opencode.base.pdf.content.PdfText
-
Gets character spacing 获取字符间距
- getColor() - Method in class cloud.opencode.base.pdf.content.PdfLine
- getColor() - Method in class cloud.opencode.base.pdf.content.PdfParagraph
- getColor() - Method in class cloud.opencode.base.pdf.content.PdfText
-
Gets text color 获取文本颜色
- getColor() - Method in class cloud.opencode.base.pdf.content.PdfWatermark
-
Gets watermark color 获取水印颜色
- getColor() - Method in class cloud.opencode.base.pdf.document.PdfFooter
-
Gets text color 获取文本颜色
- getColor() - Method in class cloud.opencode.base.pdf.document.PdfHeader
-
Gets text color 获取文本颜色
- getColspan() - Method in class cloud.opencode.base.pdf.content.PdfCell
- getColumns() - Method in class cloud.opencode.base.pdf.content.PdfTable
- getColumnWidths() - Method in class cloud.opencode.base.pdf.content.PdfTable
- getContact() - Method in class cloud.opencode.base.pdf.signature.PdfSigner
- getContent() - Method in class cloud.opencode.base.pdf.content.PdfCell
- getContent() - Method in class cloud.opencode.base.pdf.content.PdfParagraph
- getContent() - Method in class cloud.opencode.base.pdf.content.PdfText
-
Gets text content 获取文本内容
- getCornerRadius() - Method in class cloud.opencode.base.pdf.content.PdfRectangle
- getCreator() - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
- getDataRows() - Method in class cloud.opencode.base.pdf.content.PdfTable
- getDefaultFont() - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
- getDescription() - Method in class cloud.opencode.base.pdf.signature.SignatureAppearance
- getElements() - Method in class cloud.opencode.base.pdf.document.PageBuilder
- getEmbeddedFonts() - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
- getEvenRowColor() - Method in class cloud.opencode.base.pdf.content.PdfTable
- getExportValue() - Method in interface cloud.opencode.base.pdf.form.CheckBox
-
Gets export value (value when checked) 获取导出值(选中时的值)
- getField(String) - Method in interface cloud.opencode.base.pdf.form.PdfForm
-
Gets a field by name 根据名称获取字段
- getFieldName() - Method in class cloud.opencode.base.pdf.signature.PdfSigner
- getFieldNames() - Method in interface cloud.opencode.base.pdf.form.PdfForm
-
Gets all field names 获取所有字段名
- getFields() - Method in interface cloud.opencode.base.pdf.form.PdfForm
-
Gets all fields 获取所有字段
- getFields(Class) - Method in interface cloud.opencode.base.pdf.form.PdfForm
-
Gets fields by type 根据类型获取字段
- getFieldValue(String) - Method in interface cloud.opencode.base.pdf.form.PdfForm
-
Gets field value 获取字段值
- getFieldValues() - Method in interface cloud.opencode.base.pdf.form.PdfForm
-
Gets all field values 获取所有字段值
- getFillColor() - Method in class cloud.opencode.base.pdf.content.PdfEllipse
- getFillColor() - Method in class cloud.opencode.base.pdf.content.PdfRectangle
- getFirstLineIndent() - Method in class cloud.opencode.base.pdf.content.PdfParagraph
- getFont() - Method in class cloud.opencode.base.pdf.content.PdfCell
- getFont() - Method in class cloud.opencode.base.pdf.content.PdfParagraph
- getFont() - Method in class cloud.opencode.base.pdf.content.PdfText
-
Gets font 获取字体
- getFont() - Method in class cloud.opencode.base.pdf.content.PdfWatermark
-
Gets font 获取字体
- getFont() - Method in class cloud.opencode.base.pdf.document.PdfFooter
-
Gets font 获取字体
- getFont() - Method in class cloud.opencode.base.pdf.document.PdfHeader
-
Gets font 获取字体
- getFont() - Method in class cloud.opencode.base.pdf.signature.SignatureAppearance
- getFontData() - Method in class cloud.opencode.base.pdf.font.EmbeddedFont
-
Gets font data 获取字体数据
- getFontPath() - Method in class cloud.opencode.base.pdf.font.EmbeddedFont
-
Gets font file path 获取字体文件路径
- getFontSize() - Method in class cloud.opencode.base.pdf.content.PdfCell
- getFontSize() - Method in class cloud.opencode.base.pdf.content.PdfParagraph
- getFontSize() - Method in class cloud.opencode.base.pdf.content.PdfText
-
Gets font size 获取字体大小
- getFontSize() - Method in class cloud.opencode.base.pdf.content.PdfWatermark
-
Gets font size 获取字号
- getFontSize() - Method in class cloud.opencode.base.pdf.document.PdfFooter
-
Gets font size 获取字号
- getFontSize() - Method in class cloud.opencode.base.pdf.document.PdfHeader
-
Gets font size 获取字号
- getFontSize() - Method in class cloud.opencode.base.pdf.signature.SignatureAppearance
- getFooter() - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
- getForm() - Method in interface cloud.opencode.base.pdf.PdfDocument
-
Gets the interactive form 获取交互表单
- getFormat() - Method in class cloud.opencode.base.pdf.content.PdfImage
- getGreen() - Method in record class cloud.opencode.base.pdf.content.PdfColor
-
Gets green component (0-1) 获取绿色分量 (0-1)
- getHeader() - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
- getHeaderBackground() - Method in class cloud.opencode.base.pdf.content.PdfTable
- getHeaderRows() - Method in class cloud.opencode.base.pdf.content.PdfTable
- getHeight() - Method in class cloud.opencode.base.pdf.content.PdfImage
- getHeight() - Method in class cloud.opencode.base.pdf.content.PdfRectangle
- getHeight() - Method in class cloud.opencode.base.pdf.document.PageBuilder
-
Gets page height in points.
- getHeight() - Method in enum class cloud.opencode.base.pdf.document.PageSize
-
Gets height in points 获取高度(点)
- getHeight() - Method in interface cloud.opencode.base.pdf.PdfPage
-
Gets page height in points 获取页面高度(点)
- getHeight() - Method in class cloud.opencode.base.pdf.signature.PdfSigner
- getHeightInches() - Method in enum class cloud.opencode.base.pdf.document.PageSize
-
Gets height in inches 获取高度(英寸)
- getHeightMm() - Method in enum class cloud.opencode.base.pdf.document.PageSize
-
Gets height in millimeters 获取高度(毫米)
- getHorizontalAlignment() - Method in class cloud.opencode.base.pdf.content.PdfCell
- getImageBytes() - Method in class cloud.opencode.base.pdf.signature.SignatureAppearance
- getImagePath() - Method in class cloud.opencode.base.pdf.signature.SignatureAppearance
- getKeyStorePath() - Method in class cloud.opencode.base.pdf.signature.PdfSigner
- getKeyStoreType() - Method in class cloud.opencode.base.pdf.signature.PdfSigner
- getKeywords() - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
- getLeft() - Method in class cloud.opencode.base.pdf.document.PdfFooter
-
Gets left-aligned text 获取左对齐文本
- getLeft() - Method in class cloud.opencode.base.pdf.document.PdfHeader
-
Gets left-aligned text 获取左对齐文本
- getLineSpacing() - Method in class cloud.opencode.base.pdf.content.PdfParagraph
- getLineWidth() - Method in class cloud.opencode.base.pdf.content.PdfLine
- getLocation() - Method in interface cloud.opencode.base.pdf.form.SignatureField
-
Gets signing location 获取签名位置
- getLocation() - Method in class cloud.opencode.base.pdf.signature.PdfSigner
- getMarginBottom() - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
- getMarginLeft() - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
- getMarginRight() - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
- getMarginTop() - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
- getMaxLength() - Method in interface cloud.opencode.base.pdf.form.TextField
-
Gets maximum length 获取最大长度
- getMetadata() - Method in interface cloud.opencode.base.pdf.PdfDocument
-
Gets document metadata 获取文档元数据
- getMetadata(Path) - Static method in class cloud.opencode.base.pdf.OpenPdf
-
Gets PDF metadata.
- getModel() - Method in record class cloud.opencode.base.pdf.content.PdfColor
-
Gets color model 获取颜色模型
- getName() - Method in class cloud.opencode.base.pdf.font.EmbeddedFont
- getName() - Method in interface cloud.opencode.base.pdf.font.PdfFont
-
Gets font name 获取字体名称
- getName() - Method in enum class cloud.opencode.base.pdf.font.StandardFont
- getName() - Method in interface cloud.opencode.base.pdf.form.FormField
-
Gets field name 获取字段名
- getOddRowColor() - Method in class cloud.opencode.base.pdf.content.PdfTable
- getOpacity() - Method in class cloud.opencode.base.pdf.content.PdfImage
- getOpacity() - Method in class cloud.opencode.base.pdf.content.PdfWatermark
-
Gets opacity 获取透明度
- getOptions() - Method in interface cloud.opencode.base.pdf.form.ComboBox
-
Gets available options 获取可用选项
- getOptions() - Method in interface cloud.opencode.base.pdf.form.ListBox
-
Gets available options 获取可用选项
- getOptions() - Method in interface cloud.opencode.base.pdf.form.RadioButton
-
Gets available options 获取可用选项
- getOrientation() - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
- getOrientation() - Method in class cloud.opencode.base.pdf.document.PageBuilder
- getOrientation() - Method in interface cloud.opencode.base.pdf.PdfPage
-
Gets page orientation 获取页面方向
- getPadding() - Method in class cloud.opencode.base.pdf.content.PdfCell
- getPage(int) - Method in interface cloud.opencode.base.pdf.PdfDocument
-
Gets a specific page (1-based index) 获取指定页面(从1开始)
- getPageCount() - Method in interface cloud.opencode.base.pdf.PdfDocument
-
Gets the total page count 获取总页数
- getPageCount(Path) - Static method in class cloud.opencode.base.pdf.OpenPdf
-
Gets the page count of a PDF.
- getPageNumber() - Method in interface cloud.opencode.base.pdf.PdfPage
-
Gets page number (1-based) 获取页码(从1开始)
- getPageNumber() - Method in class cloud.opencode.base.pdf.signature.PdfSigner
- getPages() - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
- getPages() - Method in interface cloud.opencode.base.pdf.PdfDocument
-
Gets all pages 获取所有页面
- getPageSize() - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
- getPageSize() - Method in class cloud.opencode.base.pdf.document.PageBuilder
- getPageSize() - Method in interface cloud.opencode.base.pdf.PdfPage
-
Gets page size 获取页面大小
- getPdfName() - Method in class cloud.opencode.base.pdf.font.EmbeddedFont
- getPdfName() - Method in interface cloud.opencode.base.pdf.font.PdfFont
-
Gets PDF font name (internal name) 获取 PDF 字体名称(内部名称)
- getPdfName() - Method in enum class cloud.opencode.base.pdf.font.StandardFont
- getRadiusX() - Method in class cloud.opencode.base.pdf.content.PdfEllipse
- getRadiusY() - Method in class cloud.opencode.base.pdf.content.PdfEllipse
- getReason() - Method in interface cloud.opencode.base.pdf.form.SignatureField
-
Gets signing reason 获取签名原因
- getReason() - Method in class cloud.opencode.base.pdf.signature.PdfSigner
- getRectangle() - Method in interface cloud.opencode.base.pdf.form.FormField
-
Gets field rectangle (position and size) 获取字段矩形(位置和大小)
- getRed() - Method in record class cloud.opencode.base.pdf.content.PdfColor
-
Gets red component (0-1) 获取红色分量 (0-1)
- getRight() - Method in class cloud.opencode.base.pdf.document.PdfFooter
-
Gets right-aligned text 获取右对齐文本
- getRight() - Method in class cloud.opencode.base.pdf.document.PdfHeader
-
Gets right-aligned text 获取右对齐文本
- getRotation() - Method in class cloud.opencode.base.pdf.content.PdfImage
- getRotation() - Method in class cloud.opencode.base.pdf.content.PdfText
-
Gets rotation 获取旋转角度
- getRotation() - Method in class cloud.opencode.base.pdf.content.PdfWatermark
-
Gets rotation angle in degrees 获取旋转角度
- getRotation() - Method in interface cloud.opencode.base.pdf.PdfPage
-
Gets page rotation 获取页面旋转
- getRowspan() - Method in class cloud.opencode.base.pdf.content.PdfCell
- getSelectedOption() - Method in interface cloud.opencode.base.pdf.form.RadioButton
-
Gets selected option 获取选中的选项
- getSelectedOptions() - Method in interface cloud.opencode.base.pdf.form.ListBox
-
Gets selected options 获取选中的选项
- getSignDate() - Method in interface cloud.opencode.base.pdf.form.SignatureField
-
Gets sign date as string 获取签名日期字符串
- getSignerCertificate() - Method in record class cloud.opencode.base.pdf.signature.SignatureInfo
-
Gets the signer certificate.
- getSignerName() - Method in interface cloud.opencode.base.pdf.form.SignatureField
-
Gets signer name 获取签名者名称
- getSignerName() - Method in record class cloud.opencode.base.pdf.signature.SignatureInfo
-
Gets signer name from certificate.
- getSourceBytes() - Method in class cloud.opencode.base.pdf.content.PdfImage
- getSourceDocument() - Method in class cloud.opencode.base.pdf.operation.PdfExtractor
- getSourceDocument() - Method in class cloud.opencode.base.pdf.operation.PdfSplitter
- getSourcePath() - Method in class cloud.opencode.base.pdf.content.PdfImage
- getSourcePath() - Method in class cloud.opencode.base.pdf.operation.PdfExtractor
- getSourcePath() - Method in class cloud.opencode.base.pdf.operation.PdfSplitter
- getSources() - Method in class cloud.opencode.base.pdf.operation.PdfMerger
- getStrokeColor() - Method in class cloud.opencode.base.pdf.content.PdfEllipse
- getStrokeColor() - Method in class cloud.opencode.base.pdf.content.PdfRectangle
- getStrokeWidth() - Method in class cloud.opencode.base.pdf.content.PdfEllipse
- getStrokeWidth() - Method in class cloud.opencode.base.pdf.content.PdfRectangle
- getStyle() - Method in class cloud.opencode.base.pdf.content.PdfLine
- getSubject() - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
- getText() - Method in class cloud.opencode.base.pdf.content.PdfWatermark
-
Gets watermark text 获取水印文本
- getTextColor() - Method in class cloud.opencode.base.pdf.content.PdfCell
- getTextColor() - Method in class cloud.opencode.base.pdf.signature.SignatureAppearance
- getTitle() - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
- getTooltip() - Method in interface cloud.opencode.base.pdf.form.FormField
-
Gets field tooltip 获取字段工具提示
- getTrustedCertificates() - Method in class cloud.opencode.base.pdf.signature.SignatureValidator
- getTrustStorePath() - Method in class cloud.opencode.base.pdf.signature.SignatureValidator
- getTsaName() - Method in record class cloud.opencode.base.pdf.signature.TimestampInfo
-
Gets TSA name from certificate.
- getTsaUrl() - Method in class cloud.opencode.base.pdf.signature.PdfSigner
- getType() - Method in class cloud.opencode.base.pdf.font.EmbeddedFont
-
Gets font type 获取字体类型
- getType() - Method in interface cloud.opencode.base.pdf.form.CheckBox
- getType() - Method in interface cloud.opencode.base.pdf.form.ComboBox
- getType() - Method in interface cloud.opencode.base.pdf.form.FormField
-
Gets field type 获取字段类型
- getType() - Method in interface cloud.opencode.base.pdf.form.ListBox
- getType() - Method in interface cloud.opencode.base.pdf.form.RadioButton
- getType() - Method in interface cloud.opencode.base.pdf.form.SignatureField
- getType() - Method in interface cloud.opencode.base.pdf.form.TextField
- getValue() - Method in interface cloud.opencode.base.pdf.form.FormField
-
Gets field value 获取字段值
- getVerticalAlignment() - Method in class cloud.opencode.base.pdf.content.PdfCell
- getWatermark() - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
- getWidth() - Method in class cloud.opencode.base.pdf.content.PdfImage
- getWidth() - Method in class cloud.opencode.base.pdf.content.PdfParagraph
- getWidth() - Method in class cloud.opencode.base.pdf.content.PdfRectangle
- getWidth() - Method in class cloud.opencode.base.pdf.content.PdfTable
- getWidth() - Method in class cloud.opencode.base.pdf.document.PageBuilder
-
Gets page width in points.
- getWidth() - Method in enum class cloud.opencode.base.pdf.document.PageSize
-
Gets width in points 获取宽度(点)
- getWidth() - Method in interface cloud.opencode.base.pdf.PdfPage
-
Gets page width in points 获取页面宽度(点)
- getWidth() - Method in class cloud.opencode.base.pdf.signature.PdfSigner
- getWidthInches() - Method in enum class cloud.opencode.base.pdf.document.PageSize
-
Gets width in inches 获取宽度(英寸)
- getWidthMm() - Method in enum class cloud.opencode.base.pdf.document.PageSize
-
Gets width in millimeters 获取宽度(毫米)
- getWordSpacing() - Method in class cloud.opencode.base.pdf.content.PdfText
-
Gets word spacing 获取单词间距
- getX() - Method in interface cloud.opencode.base.pdf.content.PdfElement
-
Gets the x coordinate of this element 获取元素的 x 坐标
- getX() - Method in class cloud.opencode.base.pdf.content.PdfEllipse
- getX() - Method in class cloud.opencode.base.pdf.content.PdfImage
- getX() - Method in class cloud.opencode.base.pdf.content.PdfLine
- getX() - Method in class cloud.opencode.base.pdf.content.PdfParagraph
- getX() - Method in class cloud.opencode.base.pdf.content.PdfRectangle
- getX() - Method in class cloud.opencode.base.pdf.content.PdfTable
- getX() - Method in class cloud.opencode.base.pdf.content.PdfText
- getX() - Method in class cloud.opencode.base.pdf.signature.PdfSigner
- getX1() - Method in class cloud.opencode.base.pdf.content.PdfLine
- getX2() - Method in class cloud.opencode.base.pdf.content.PdfLine
- getY() - Method in interface cloud.opencode.base.pdf.content.PdfElement
-
Gets the y coordinate of this element 获取元素的 y 坐标
- getY() - Method in class cloud.opencode.base.pdf.content.PdfEllipse
- getY() - Method in class cloud.opencode.base.pdf.content.PdfImage
- getY() - Method in class cloud.opencode.base.pdf.content.PdfLine
- getY() - Method in class cloud.opencode.base.pdf.content.PdfParagraph
- getY() - Method in class cloud.opencode.base.pdf.content.PdfRectangle
- getY() - Method in class cloud.opencode.base.pdf.content.PdfTable
- getY() - Method in class cloud.opencode.base.pdf.content.PdfText
- getY() - Method in class cloud.opencode.base.pdf.signature.PdfSigner
- getY1() - Method in class cloud.opencode.base.pdf.content.PdfLine
- getY2() - Method in class cloud.opencode.base.pdf.content.PdfLine
- GIF - Enum constant in enum class cloud.opencode.base.pdf.content.PdfImage.ImageFormat
-
GIF format | GIF 格式
- gray(float) - Static method in record class cloud.opencode.base.pdf.content.PdfColor
-
Creates grayscale color from 0-1 value 从 0-1 值创建灰度颜色
- gray(int) - Static method in record class cloud.opencode.base.pdf.content.PdfColor
-
Creates grayscale color 创建灰度颜色
- GRAY - Static variable in record class cloud.opencode.base.pdf.content.PdfColor
-
Gray color | 灰色
- GRAYSCALE - Enum constant in enum class cloud.opencode.base.pdf.content.PdfColor.ColorModel
-
Grayscale color model | 灰度颜色模型
- green() - Method in record class cloud.opencode.base.pdf.content.PdfColor
-
Returns the value of the
greenrecord component. - GREEN - Static variable in record class cloud.opencode.base.pdf.content.PdfColor
-
Green color | 绿色
H
- hasForm() - Method in interface cloud.opencode.base.pdf.PdfDocument
-
Checks if document has interactive form 检查文档是否有交互表单
- hasForm(Path) - Static method in class cloud.opencode.base.pdf.OpenPdf
-
Checks if a PDF contains forms.
- hashAlgorithm() - Method in record class cloud.opencode.base.pdf.signature.TimestampInfo
-
Returns the value of the
hashAlgorithmrecord component. - hashCode() - Method in record class cloud.opencode.base.pdf.content.PdfColor
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.pdf.document.DocumentBuilder.EmbeddedFontEntry
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.pdf.document.Metadata
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.pdf.operation.PdfExtractor.ExtractedImage
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.pdf.operation.PdfMerger.MergeSource
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.pdf.signature.SignatureInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.pdf.signature.SignatureValidator.ValidationResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.pdf.signature.TimestampInfo
-
Returns a hash code value for this object.
- hasPageRanges() - Method in record class cloud.opencode.base.pdf.operation.PdfMerger.MergeSource
-
Checks if this source has page ranges.
- hasTimestamp() - Method in record class cloud.opencode.base.pdf.signature.SignatureInfo
-
Checks if signature has timestamp.
- header(PdfCell...) - Method in class cloud.opencode.base.pdf.content.PdfTable.Builder
- header(PdfCell...) - Method in class cloud.opencode.base.pdf.content.PdfTable
-
Adds a header row with PdfCell elements 添加包含 PdfCell 元素的表头行
- header(PdfHeader) - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
-
Sets document header.
- header(String) - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
-
Sets document header with centered text (convenience method).
- header(String...) - Method in class cloud.opencode.base.pdf.content.PdfTable.Builder
- header(String...) - Method in class cloud.opencode.base.pdf.content.PdfTable
-
Adds a header row 添加表头行
- headerBackground(PdfColor) - Method in class cloud.opencode.base.pdf.content.PdfTable.Builder
- headerBackground(PdfColor) - Method in class cloud.opencode.base.pdf.content.PdfTable
-
Sets header background color 设置表头背景颜色
- height() - Method in record class cloud.opencode.base.pdf.operation.PdfExtractor.ExtractedImage
-
Returns the value of the
heightrecord component. - helvetica() - Static method in interface cloud.opencode.base.pdf.font.PdfFont
-
Returns Helvetica font (sans-serif) 返回 Helvetica 字体(无衬线)
- HELVETICA - Enum constant in enum class cloud.opencode.base.pdf.font.StandardFont
-
Helvetica (sans-serif) | Helvetica(无衬线)
- HELVETICA_BOLD - Enum constant in enum class cloud.opencode.base.pdf.font.StandardFont
-
Helvetica Bold | Helvetica 粗体
- HELVETICA_BOLD_OBLIQUE - Enum constant in enum class cloud.opencode.base.pdf.font.StandardFont
-
Helvetica Bold Oblique | Helvetica 粗斜体
- HELVETICA_OBLIQUE - Enum constant in enum class cloud.opencode.base.pdf.font.StandardFont
-
Helvetica Oblique (Italic) | Helvetica 斜体
- helveticaBold() - Static method in interface cloud.opencode.base.pdf.font.PdfFont
-
Returns Helvetica Bold font 返回 Helvetica Bold 字体
- helveticaItalic() - Static method in interface cloud.opencode.base.pdf.font.PdfFont
-
Returns Helvetica Italic font 返回 Helvetica Italic 字体
- hex(String) - Static method in record class cloud.opencode.base.pdf.content.PdfColor
-
Creates color from hex string 从十六进制字符串创建颜色
I
- image(byte[]) - Method in class cloud.opencode.base.pdf.signature.SignatureAppearance
-
Sets signature image from bytes.
- image(PdfImage) - Method in class cloud.opencode.base.pdf.document.PageBuilder
-
Adds a PdfImage element.
- image(Path) - Method in class cloud.opencode.base.pdf.signature.SignatureAppearance
-
Sets signature image from file.
- image(Path, float, float) - Method in class cloud.opencode.base.pdf.document.PageBuilder
-
Adds an image from file.
- image(Path, float, float, float, float) - Method in class cloud.opencode.base.pdf.document.PageBuilder
-
Adds an image with size.
- imageOnly(Path) - Static method in class cloud.opencode.base.pdf.signature.SignatureAppearance
-
Creates image-only appearance.
- insertPage(int, PdfPage) - Method in interface cloud.opencode.base.pdf.PdfDocument
-
Inserts a page at specified position 在指定位置插入页面
- integrityValid() - Method in record class cloud.opencode.base.pdf.signature.SignatureValidator.ValidationResult
-
Returns the value of the
integrityValidrecord component. - invalid(SignatureInfo, String) - Static method in record class cloud.opencode.base.pdf.signature.SignatureValidator.ValidationResult
-
Creates an invalid result.
- invalidFormat(String) - Static method in exception class cloud.opencode.base.pdf.exception.OpenPdfException
-
Creates exception for invalid PDF format 创建无效 PDF 格式异常
- invalidPageNumber(int, int) - Static method in exception class cloud.opencode.base.pdf.exception.OpenPdfException
-
Creates exception for invalid page number 创建无效页码异常
- isAddOutlines() - Method in class cloud.opencode.base.pdf.operation.PdfMerger
- isBold() - Method in class cloud.opencode.base.pdf.content.PdfText
-
Checks if bold 检查是否粗体
- isBold() - Method in enum class cloud.opencode.base.pdf.font.StandardFont
-
Checks if this is a bold variant 检查是否为粗体变体
- isChecked() - Method in interface cloud.opencode.base.pdf.form.CheckBox
-
Checks if checkbox is checked 检查复选框是否选中
- isCheckOcsp() - Method in class cloud.opencode.base.pdf.signature.SignatureValidator
- isCheckRevocation() - Method in class cloud.opencode.base.pdf.signature.SignatureValidator
- isCircle() - Method in class cloud.opencode.base.pdf.content.PdfEllipse
- isCourier() - Method in enum class cloud.opencode.base.pdf.font.StandardFont
-
Checks if this is a Courier variant 检查是否为 Courier 变体
- isEditable() - Method in interface cloud.opencode.base.pdf.form.ComboBox
-
Checks if editable (allows custom input) 检查是否可编辑(允许自定义输入)
- isEmbedded() - Method in class cloud.opencode.base.pdf.font.EmbeddedFont
- isEmbedded() - Method in interface cloud.opencode.base.pdf.font.PdfFont
-
Checks if font is embedded 检查字体是否嵌入
- isEmbedded() - Method in enum class cloud.opencode.base.pdf.font.StandardFont
- isEncrypted() - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
- isEncrypted() - Method in interface cloud.opencode.base.pdf.PdfDocument
-
Checks if document is encrypted 检查文档是否加密
- isEncrypted(Path) - Static method in class cloud.opencode.base.pdf.OpenPdf
-
Checks if a PDF is encrypted.
- isFilled() - Method in class cloud.opencode.base.pdf.content.PdfEllipse
- isFilled() - Method in class cloud.opencode.base.pdf.content.PdfRectangle
- isFullyValid() - Method in record class cloud.opencode.base.pdf.signature.SignatureValidator.ValidationResult
-
Checks if signature is fully valid.
- isHelvetica() - Method in enum class cloud.opencode.base.pdf.font.StandardFont
-
Checks if this is a Helvetica variant 检查是否为 Helvetica 变体
- isItalic() - Method in class cloud.opencode.base.pdf.content.PdfText
-
Checks if italic 检查是否斜体
- isItalic() - Method in enum class cloud.opencode.base.pdf.font.StandardFont
-
Checks if this is an italic/oblique variant 检查是否为斜体变体
- isKeepAnnotations() - Method in class cloud.opencode.base.pdf.operation.PdfMerger
- isKeepBookmarks() - Method in class cloud.opencode.base.pdf.operation.PdfMerger
- isLandscape() - Method in enum class cloud.opencode.base.pdf.document.Orientation
-
Checks if this is landscape orientation 检查是否为横向
- isMonospace() - Method in enum class cloud.opencode.base.pdf.font.StandardFont
-
Checks if this is a monospace font 检查是否为等宽字体
- isMultiline() - Method in interface cloud.opencode.base.pdf.form.TextField
-
Checks if multiline 检查是否多行
- isMultiSelect() - Method in interface cloud.opencode.base.pdf.form.ListBox
-
Checks if multiple selection is allowed 检查是否允许多选
- isPassword() - Method in interface cloud.opencode.base.pdf.form.TextField
-
Checks if password field 检查是否密码字段
- isPortrait() - Method in enum class cloud.opencode.base.pdf.document.Orientation
-
Checks if this is portrait orientation 检查是否为纵向
- isReadOnly() - Method in interface cloud.opencode.base.pdf.form.FormField
-
Checks if field is read-only 检查字段是否只读
- isRequired() - Method in interface cloud.opencode.base.pdf.form.FormField
-
Checks if field is required 检查字段是否必填
- isShowDate() - Method in class cloud.opencode.base.pdf.signature.SignatureAppearance
- isShowLine() - Method in class cloud.opencode.base.pdf.document.PdfFooter
-
Checks if separator line is shown 检查是否显示分隔线
- isShowLine() - Method in class cloud.opencode.base.pdf.document.PdfHeader
-
Checks if separator line is shown 检查是否显示分隔线
- isShowLocation() - Method in class cloud.opencode.base.pdf.signature.SignatureAppearance
- isShowReason() - Method in class cloud.opencode.base.pdf.signature.SignatureAppearance
- isShowSignerName() - Method in class cloud.opencode.base.pdf.signature.SignatureAppearance
- isSigned() - Method in interface cloud.opencode.base.pdf.form.SignatureField
-
Checks if signed 检查是否已签名
- isSigned(Path) - Static method in class cloud.opencode.base.pdf.OpenPdf
-
Checks if a PDF is signed.
- isTimes() - Method in enum class cloud.opencode.base.pdf.font.StandardFont
-
Checks if this is a Times variant 检查是否为 Times 变体
- isUnderline() - Method in class cloud.opencode.base.pdf.content.PdfText
-
Checks if underlined 检查是否下划线
- isValid() - Method in record class cloud.opencode.base.pdf.signature.SignatureInfo
-
Returns the value of the
isValidrecord component. - isValid() - Method in record class cloud.opencode.base.pdf.signature.TimestampInfo
-
Returns the value of the
isValidrecord component. - italic(boolean) - Method in class cloud.opencode.base.pdf.content.PdfText
-
Sets italic style 设置斜体样式
J
- JPEG - Enum constant in enum class cloud.opencode.base.pdf.content.PdfImage.ImageFormat
-
JPEG format | JPEG 格式
- JUSTIFY - Enum constant in enum class cloud.opencode.base.pdf.content.PdfParagraph.Alignment
-
Justified alignment | 两端对齐
K
- keepAnnotations(boolean) - Method in class cloud.opencode.base.pdf.operation.PdfMerger
-
Keeps annotations from source documents.
- keepBookmarks(boolean) - Method in class cloud.opencode.base.pdf.operation.PdfMerger
-
Keeps bookmarks from source documents.
- keyPassword(char[]) - Method in class cloud.opencode.base.pdf.signature.PdfSigner
-
Sets private key password (if different from keystore).
- keyStore(InputStream, char[], String) - Method in class cloud.opencode.base.pdf.signature.PdfSigner
-
Sets the key store from input stream.
- keyStore(Path, char[], String) - Method in class cloud.opencode.base.pdf.signature.PdfSigner
-
Sets the key store for signing.
- keywords() - Method in record class cloud.opencode.base.pdf.document.Metadata
-
Returns the value of the
keywordsrecord component. - keywords(String...) - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
-
Sets document keywords.
- keywords(String...) - Method in class cloud.opencode.base.pdf.document.Metadata.Builder
-
Sets document keywords 设置文档关键词
- keywords(List) - Method in class cloud.opencode.base.pdf.document.Metadata.Builder
-
Sets document keywords from list 从列表设置文档关键词
L
- LANDSCAPE - Enum constant in enum class cloud.opencode.base.pdf.document.Orientation
-
Landscape orientation (width > height) 横向(宽度 > 高度)
- left(String) - Method in class cloud.opencode.base.pdf.document.PdfFooter
-
Sets left-aligned text 设置左对齐文本
- left(String) - Method in class cloud.opencode.base.pdf.document.PdfHeader
-
Sets left-aligned text 设置左对齐文本
- LEFT - Enum constant in enum class cloud.opencode.base.pdf.content.PdfCell.Alignment
- LEFT - Enum constant in enum class cloud.opencode.base.pdf.content.PdfParagraph.Alignment
-
Left alignment | 左对齐
- LEGAL - Enum constant in enum class cloud.opencode.base.pdf.document.PageSize
-
Legal: 8.5 x 14 inches
- LETTER - Enum constant in enum class cloud.opencode.base.pdf.document.PageSize
-
Letter: 8.5 x 11 inches
- LIGHT_GRAY - Static variable in record class cloud.opencode.base.pdf.content.PdfColor
-
Light gray color | 浅灰色
- lighter(float) - Method in record class cloud.opencode.base.pdf.content.PdfColor
-
Creates a lighter version of this color 创建当前颜色的浅色版本
- line(float, float, float, float) - Method in class cloud.opencode.base.pdf.document.PageBuilder
-
Draws a line.
- line(PdfLine) - Method in class cloud.opencode.base.pdf.document.PageBuilder
-
Draws a line with style.
- lineSpacing(float) - Method in class cloud.opencode.base.pdf.content.PdfParagraph
-
Sets line spacing multiplier 设置行间距倍数
- lineWidth(float) - Method in class cloud.opencode.base.pdf.content.PdfLine
- LIST - Enum constant in enum class cloud.opencode.base.pdf.form.FormField.FieldType
-
List box field | 列表框字段
- ListBox - Interface in cloud.opencode.base.pdf.form
-
List Box Form Field 列表框表单字段
- location() - Method in record class cloud.opencode.base.pdf.signature.SignatureInfo
-
Returns the value of the
locationrecord component. - location(String) - Method in class cloud.opencode.base.pdf.signature.PdfSigner
-
Sets signature location.
- location(String) - Method in class cloud.opencode.base.pdf.signature.SignatureInfo.Builder
M
- MAGENTA - Static variable in record class cloud.opencode.base.pdf.content.PdfColor
-
Magenta color | 品红色
- margins(float) - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
-
Sets uniform margins.
- margins(float, float, float, float) - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
-
Sets default margins.
- merge() - Method in class cloud.opencode.base.pdf.operation.PdfMerger
-
Merges and returns document.
- merge(List) - Static method in class cloud.opencode.base.pdf.OpenPdf
-
Merges multiple PDF documents into one.
- merge(List, Path) - Static method in class cloud.opencode.base.pdf.OpenPdf
-
Merges multiple PDF files into one.
- mergeFailed(String, Throwable) - Static method in exception class cloud.opencode.base.pdf.exception.OpenPdfException
-
Creates exception for merge failure 创建合并失败异常
- merger() - Static method in class cloud.opencode.base.pdf.OpenPdf
-
Creates a PDF merger.
- MergeSource(Path, PdfDocument, InputStream, List) - Constructor for record class cloud.opencode.base.pdf.operation.PdfMerger.MergeSource
-
Creates an instance of a
MergeSourcerecord class. - mergeTo(OutputStream) - Method in class cloud.opencode.base.pdf.operation.PdfMerger
-
Merges and writes to stream.
- mergeTo(Path) - Method in class cloud.opencode.base.pdf.operation.PdfMerger
-
Merges and saves to file.
- Metadata - Record Class in cloud.opencode.base.pdf.document
-
PDF Document Metadata - Document information dictionary PDF 文档元数据 - 文档信息字典
- Metadata(String, String, String, List, String, String, Instant, Instant) - Constructor for record class cloud.opencode.base.pdf.document.Metadata
-
Creates an instance of a
Metadatarecord class. - Metadata.Builder - Class in cloud.opencode.base.pdf.document
-
Metadata Builder 元数据构建器
- MIDDLE - Enum constant in enum class cloud.opencode.base.pdf.content.PdfCell.VerticalAlignment
- modDate() - Method in record class cloud.opencode.base.pdf.document.Metadata
-
Returns the value of the
modDaterecord component. - modDate(Instant) - Method in class cloud.opencode.base.pdf.document.Metadata.Builder
-
Sets modification date 设置修改日期
- model() - Method in record class cloud.opencode.base.pdf.content.PdfColor
-
Returns the value of the
modelrecord component.
N
- name() - Method in record class cloud.opencode.base.pdf.document.DocumentBuilder.EmbeddedFontEntry
-
Returns the value of the
namerecord component. - name() - Method in record class cloud.opencode.base.pdf.signature.SignatureInfo
-
Returns the value of the
namerecord component. - name(String) - Method in class cloud.opencode.base.pdf.signature.SignatureInfo.Builder
- needsAppearances() - Method in interface cloud.opencode.base.pdf.form.PdfForm
-
Checks if form needs appearances 检查表单是否需要外观
- nextPage() - Method in class cloud.opencode.base.pdf.document.PageBuilder
-
Adds another page.
- nextPage(PageSize) - Method in class cloud.opencode.base.pdf.document.PageBuilder
-
Adds another page with specific size.
O
- of(float, float, float, float) - Static method in class cloud.opencode.base.pdf.content.PdfEllipse
-
Creates an ellipse 创建椭圆
- of(float, float, float, float) - Static method in class cloud.opencode.base.pdf.content.PdfLine
-
Creates a line from point to point 从一点到另一点创建线条
- of(float, float, float, float) - Static method in class cloud.opencode.base.pdf.content.PdfRectangle
-
Creates a rectangle 创建矩形
- of(int) - Static method in class cloud.opencode.base.pdf.content.PdfTable
-
Creates a table with specified columns 创建指定列数的表格
- of(PdfDocument) - Static method in class cloud.opencode.base.pdf.operation.PdfExtractor
-
Creates extractor for document.
- of(PdfDocument) - Static method in class cloud.opencode.base.pdf.operation.PdfSplitter
-
Creates splitter for document.
- of(String) - Static method in class cloud.opencode.base.pdf.content.PdfCell
-
Creates cell with content 创建带内容的单元格
- of(String) - Static method in class cloud.opencode.base.pdf.document.PdfFooter
-
Creates a footer with centered text 创建居中文本的页脚
- of(String) - Static method in class cloud.opencode.base.pdf.document.PdfHeader
-
Creates a header with centered text 创建居中文本的页眉
- of(String, float, float) - Static method in class cloud.opencode.base.pdf.content.PdfText
-
Creates text at position 在指定位置创建文本
- of(String, float, float, float) - Static method in class cloud.opencode.base.pdf.content.PdfParagraph
-
Creates paragraph at position with width 在指定位置创建指定宽度的段落
- of(Path) - Static method in class cloud.opencode.base.pdf.operation.PdfExtractor
-
Creates extractor for file.
- of(Path) - Static method in class cloud.opencode.base.pdf.operation.PdfSplitter
-
Creates splitter for file.
- of(Instant) - Static method in record class cloud.opencode.base.pdf.signature.TimestampInfo
-
Creates a timestamp info with only time.
- of(Instant, X509Certificate, String, String) - Static method in record class cloud.opencode.base.pdf.signature.TimestampInfo
-
Creates a valid timestamp info.
- ofTitle(String) - Static method in record class cloud.opencode.base.pdf.document.Metadata
-
Creates metadata with title only 仅创建带标题的元数据
- opacity(float) - Method in class cloud.opencode.base.pdf.content.PdfImage
-
Sets opacity 设置不透明度
- opacity(float) - Method in class cloud.opencode.base.pdf.content.PdfWatermark
-
Sets opacity level 设置透明度
- open(byte[]) - Static method in class cloud.opencode.base.pdf.OpenPdf
-
Opens an existing PDF document from byte array.
- open(InputStream) - Static method in class cloud.opencode.base.pdf.OpenPdf
-
Opens an existing PDF document from input stream.
- open(Path) - Static method in class cloud.opencode.base.pdf.OpenPdf
-
Opens an existing PDF document from file path.
- open(Path, String) - Static method in class cloud.opencode.base.pdf.OpenPdf
-
Opens a password-protected PDF document.
- OpenPdf - Class in cloud.opencode.base.pdf
-
PDF Utility Entry Class PDF 工具入口类
- OpenPdfException - Exception Class in cloud.opencode.base.pdf.exception
-
PDF Exception - Base exception for all PDF operations PDF 异常 - 所有 PDF 操作的基础异常
- OpenPdfException(String) - Constructor for exception class cloud.opencode.base.pdf.exception.OpenPdfException
-
Creates exception with message 创建带消息的异常
- OpenPdfException(String, int, String) - Constructor for exception class cloud.opencode.base.pdf.exception.OpenPdfException
-
Creates exception with operation, page number and message 创建带操作、页码和消息的异常
- OpenPdfException(String, String) - Constructor for exception class cloud.opencode.base.pdf.exception.OpenPdfException
-
Creates exception with operation and message 创建带操作和消息的异常
- OpenPdfException(String, String, Throwable) - Constructor for exception class cloud.opencode.base.pdf.exception.OpenPdfException
-
Creates exception with operation, message and cause 创建带操作、消息和原因的异常
- OpenPdfException(String, Throwable) - Constructor for exception class cloud.opencode.base.pdf.exception.OpenPdfException
-
Creates exception with message and cause 创建带消息和原因的异常
- OPENTYPE - Enum constant in enum class cloud.opencode.base.pdf.font.EmbeddedFont.FontType
-
OpenType font (.otf) | OpenType 字体
- operation() - Method in exception class cloud.opencode.base.pdf.exception.OpenPdfException
-
Gets the operation type 获取操作类型
- ORANGE - Static variable in record class cloud.opencode.base.pdf.content.PdfColor
-
Orange color | 橙色
- orientation(Orientation) - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
-
Sets default page orientation.
- Orientation - Enum Class in cloud.opencode.base.pdf.document
-
Page Orientation - Portrait or Landscape 页面方向 - 纵向或横向
P
- padding(float) - Method in class cloud.opencode.base.pdf.content.PdfCell
-
Sets padding 设置内边距
- PageBuilder - Class in cloud.opencode.base.pdf.document
-
PDF Page Builder PDF 页面构建器
- pageNumber() - Method in exception class cloud.opencode.base.pdf.exception.OpenPdfException
-
Gets the page number 获取页码
- pageNumber() - Method in record class cloud.opencode.base.pdf.operation.PdfExtractor.ExtractedImage
-
Returns the value of the
pageNumberrecord component. - pageRanges() - Method in record class cloud.opencode.base.pdf.operation.PdfMerger.MergeSource
-
Returns the value of the
pageRangesrecord component. - pageSize(PageSize) - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
-
Sets default page size.
- PageSize - Enum Class in cloud.opencode.base.pdf.document
-
PDF Page Size - Standard page dimensions PDF 页面大小 - 标准页面尺寸
- paragraph(PdfParagraph) - Method in class cloud.opencode.base.pdf.document.PageBuilder
-
Adds a paragraph.
- passwordRequired() - Static method in exception class cloud.opencode.base.pdf.exception.OpenPdfException
-
Creates exception for password required 创建需要密码异常
- path() - Method in record class cloud.opencode.base.pdf.document.DocumentBuilder.EmbeddedFontEntry
-
Returns the value of the
pathrecord component. - path() - Method in record class cloud.opencode.base.pdf.operation.PdfMerger.MergeSource
-
Returns the value of the
pathrecord component. - PdfCell - Class in cloud.opencode.base.pdf.content
-
PDF Table Cell - Single cell in a PDF table PDF 表格单元格 - PDF 表格中的单个单元格
- PdfCell.Alignment - Enum Class in cloud.opencode.base.pdf.content
-
Horizontal Alignment 水平对齐方式
- PdfCell.VerticalAlignment - Enum Class in cloud.opencode.base.pdf.content
-
Vertical Alignment 垂直对齐方式
- PdfColor - Record Class in cloud.opencode.base.pdf.content
-
PDF Color - Color representation for PDF content PDF 颜色 - PDF 内容的颜色表示
- PdfColor(float, float, float, float, PdfColor.ColorModel) - Constructor for record class cloud.opencode.base.pdf.content.PdfColor
-
Creates an instance of a
PdfColorrecord class. - PdfColor.ColorModel - Enum Class in cloud.opencode.base.pdf.content
-
Color Model 颜色模型
- PdfDocument - Interface in cloud.opencode.base.pdf
-
PDF Document - Represents a PDF document with pages and content PDF 文档 - 表示包含页面和内容的 PDF 文档
- PdfElement - Interface in cloud.opencode.base.pdf.content
-
PDF Content Element - Base interface for all PDF content elements PDF 内容元素 - 所有 PDF 内容元素的基础接口
- PdfEllipse - Class in cloud.opencode.base.pdf.content
-
PDF Ellipse Element - Ellipse/Circle graphic PDF 椭圆元素 - 椭圆/圆形图形
- PdfExtractor - Class in cloud.opencode.base.pdf.operation
-
PDF Content Extractor PDF 内容提取器
- PdfExtractor.ExtractedImage - Record Class in cloud.opencode.base.pdf.operation
-
Extracted Image 提取的图像
- PdfFont - Interface in cloud.opencode.base.pdf.font
-
PDF Font - Font representation for PDF content PDF 字体 - PDF 内容的字体表示
- PdfFooter - Class in cloud.opencode.base.pdf.document
-
PDF Footer - Page footer configuration for PDF documents PDF 页脚 - PDF 文档的页脚配置
- PdfForm - Interface in cloud.opencode.base.pdf.form
-
PDF Interactive Form (AcroForm) PDF 交互表单
- PdfHeader - Class in cloud.opencode.base.pdf.document
-
PDF Header - Page header configuration for PDF documents PDF 页眉 - PDF 文档的页眉配置
- PdfImage - Class in cloud.opencode.base.pdf.content
-
PDF Image Element - Embedded image content PDF 图像元素 - 嵌入的图像内容
- PdfImage.ImageFormat - Enum Class in cloud.opencode.base.pdf.content
-
Supported image formats 支持的图像格式
- PdfLine - Class in cloud.opencode.base.pdf.content
-
PDF Line Element - Line graphic PDF 线条元素 - 线条图形
- PdfLine.LineStyle - Enum Class in cloud.opencode.base.pdf.content
-
Line Style 线条样式
- PdfMerger - Class in cloud.opencode.base.pdf.operation
-
PDF Merger PDF 合并器
- PdfMerger.MergeSource - Record Class in cloud.opencode.base.pdf.operation
-
Merge Source 合并源
- PdfPage - Interface in cloud.opencode.base.pdf
-
PDF Page - Represents a single page in a PDF document PDF 页面 - 表示 PDF 文档中的单个页面
- PdfParagraph - Class in cloud.opencode.base.pdf.content
-
PDF Paragraph - Multi-line text block with automatic word wrapping PDF 段落 - 自动换行的多行文本块
- PdfParagraph.Alignment - Enum Class in cloud.opencode.base.pdf.content
-
Text Alignment 文本对齐方式
- PdfRectangle - Class in cloud.opencode.base.pdf.content
-
PDF Rectangle Element - Rectangle graphic PDF 矩形元素 - 矩形图形
- PdfSigner - Class in cloud.opencode.base.pdf.signature
-
PDF Digital Signer PDF 数字签名器
- PdfSplitter - Class in cloud.opencode.base.pdf.operation
-
PDF Splitter PDF 拆分器
- PdfTable - Class in cloud.opencode.base.pdf.content
-
PDF Table Element - Table with rows and cells PDF 表格元素 - 包含行和单元格的表格
- PdfTable.Builder - Class in cloud.opencode.base.pdf.content
-
Table Builder 表格构建器
- PdfText - Class in cloud.opencode.base.pdf.content
-
PDF Text Element - Styled text content for PDF pages PDF 文本元素 - PDF 页面的带样式文本内容
- PdfWatermark - Class in cloud.opencode.base.pdf.content
-
PDF Watermark - Watermark element for PDF documents PDF 水印 - PDF 文档的水印元素
- permissions(boolean, boolean, boolean, boolean) - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
-
Sets document permissions.
- PNG - Enum constant in enum class cloud.opencode.base.pdf.content.PdfImage.ImageFormat
-
PNG format | PNG 格式
- PORTRAIT - Enum constant in enum class cloud.opencode.base.pdf.document.Orientation
-
Portrait orientation (height > width) 纵向(高度 > 宽度)
- position(float, float) - Method in class cloud.opencode.base.pdf.content.PdfImage
-
Sets position 设置位置
- position(float, float) - Method in class cloud.opencode.base.pdf.content.PdfParagraph
-
Sets position 设置位置
- position(float, float) - Method in class cloud.opencode.base.pdf.content.PdfRectangle
- position(float, float) - Method in class cloud.opencode.base.pdf.content.PdfTable
-
Sets position 设置位置
- position(float, float) - Method in class cloud.opencode.base.pdf.content.PdfText
-
Sets position 设置位置
- POSTCARD - Enum constant in enum class cloud.opencode.base.pdf.document.PageSize
-
Postcard: 100 x 148 mm
- producer() - Method in record class cloud.opencode.base.pdf.document.Metadata
-
Returns the value of the
producerrecord component. - producer(String) - Method in class cloud.opencode.base.pdf.document.Metadata.Builder
-
Sets PDF producer 设置 PDF 生成器
R
- RADIO - Enum constant in enum class cloud.opencode.base.pdf.form.FormField.FieldType
-
Radio button field | 单选按钮字段
- RadioButton - Interface in cloud.opencode.base.pdf.form
-
Radio Button Form Field 单选按钮表单字段
- radius(float) - Method in class cloud.opencode.base.pdf.content.PdfEllipse
- radius(float, float) - Method in class cloud.opencode.base.pdf.content.PdfEllipse
- readFailed(String, Throwable) - Static method in exception class cloud.opencode.base.pdf.exception.OpenPdfException
-
Creates exception for read failure 创建读取失败异常
- reason() - Method in record class cloud.opencode.base.pdf.signature.SignatureInfo
-
Returns the value of the
reasonrecord component. - reason(String) - Method in class cloud.opencode.base.pdf.signature.PdfSigner
-
Sets signature reason.
- reason(String) - Method in class cloud.opencode.base.pdf.signature.SignatureInfo.Builder
- rectangle(float, float, float, float) - Method in class cloud.opencode.base.pdf.document.PageBuilder
-
Draws a rectangle.
- rectangle(int, float, float, float, float) - Method in class cloud.opencode.base.pdf.signature.PdfSigner
-
Sets signature rectangle position.
- rectangle(PdfRectangle) - Method in class cloud.opencode.base.pdf.document.PageBuilder
-
Draws a rectangle element.
- red() - Method in record class cloud.opencode.base.pdf.content.PdfColor
-
Returns the value of the
redrecord component. - RED - Static variable in record class cloud.opencode.base.pdf.content.PdfColor
-
Red color | 红色
- removePage(int) - Method in interface cloud.opencode.base.pdf.PdfDocument
-
Removes a page 删除页面
- revisionNumber() - Method in record class cloud.opencode.base.pdf.signature.SignatureInfo
-
Returns the value of the
revisionNumberrecord component. - revisionNumber(int) - Method in class cloud.opencode.base.pdf.signature.SignatureInfo.Builder
- rgb(float, float, float) - Static method in record class cloud.opencode.base.pdf.content.PdfColor
-
Creates RGB color from 0-1 values 从 0-1 值创建 RGB 颜色
- rgb(int, int, int) - Static method in record class cloud.opencode.base.pdf.content.PdfColor
-
Creates RGB color from 0-255 values 从 0-255 值创建 RGB 颜色
- RGB - Enum constant in enum class cloud.opencode.base.pdf.content.PdfColor.ColorModel
-
RGB color model | RGB 颜色模型
- rgba(int, int, int, float) - Static method in record class cloud.opencode.base.pdf.content.PdfColor
-
Creates RGBA color with alpha 创建带透明度的 RGBA 颜色
- right(String) - Method in class cloud.opencode.base.pdf.document.PdfFooter
-
Sets right-aligned text 设置右对齐文本
- right(String) - Method in class cloud.opencode.base.pdf.document.PdfHeader
-
Sets right-aligned text 设置右对齐文本
- RIGHT - Enum constant in enum class cloud.opencode.base.pdf.content.PdfCell.Alignment
- RIGHT - Enum constant in enum class cloud.opencode.base.pdf.content.PdfParagraph.Alignment
-
Right alignment | 右对齐
- rotate() - Method in enum class cloud.opencode.base.pdf.document.PageSize
-
Creates a rotated (landscape) version of this page size 创建旋转(横向)版本的页面大小
- rotation(float) - Method in class cloud.opencode.base.pdf.content.PdfImage
-
Sets rotation 设置旋转
- rotation(float) - Method in class cloud.opencode.base.pdf.content.PdfText
-
Sets rotation angle 设置旋转角度
- rotation(float) - Method in class cloud.opencode.base.pdf.content.PdfWatermark
-
Sets rotation angle in degrees 设置旋转角度(度)
- row(PdfCell...) - Method in class cloud.opencode.base.pdf.content.PdfTable.Builder
- row(PdfCell...) - Method in class cloud.opencode.base.pdf.content.PdfTable
-
Adds a row with PdfCell elements 添加包含 PdfCell 元素的行
- row(String...) - Method in class cloud.opencode.base.pdf.content.PdfTable.Builder
- row(String...) - Method in class cloud.opencode.base.pdf.content.PdfTable
-
Adds a data row 添加数据行
- rowspan(int) - Method in class cloud.opencode.base.pdf.content.PdfCell
-
Sets rowspan 设置跨行数
S
- save(OutputStream) - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
-
Builds and writes to stream.
- save(OutputStream) - Method in interface cloud.opencode.base.pdf.PdfDocument
-
Saves document to output stream 保存文档到输出流
- save(Path) - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
-
Builds and saves to file.
- save(Path) - Method in interface cloud.opencode.base.pdf.PdfDocument
-
Saves document to file 保存文档到文件
- saveImages(Path, String) - Method in class cloud.opencode.base.pdf.operation.PdfExtractor
-
Saves extracted images to directory.
- scaleToHeight(float) - Method in class cloud.opencode.base.pdf.content.PdfImage
-
Scales to fit height (maintains aspect ratio) 缩放以适应高度(保持纵横比)
- scaleToWidth(float) - Method in class cloud.opencode.base.pdf.content.PdfImage
-
Scales to fit width (maintains aspect ratio) 缩放以适应宽度(保持纵横比)
- serialNumber() - Method in record class cloud.opencode.base.pdf.signature.TimestampInfo
-
Returns the value of the
serialNumberrecord component. - setChecked(boolean) - Method in interface cloud.opencode.base.pdf.form.CheckBox
-
Sets checked state 设置选中状态
- setFieldValue(String, String) - Method in interface cloud.opencode.base.pdf.form.PdfForm
-
Sets field value 设置字段值
- setFieldValues(Map) - Method in interface cloud.opencode.base.pdf.form.PdfForm
-
Sets multiple field values 设置多个字段值
- setMetadata(Metadata) - Method in interface cloud.opencode.base.pdf.PdfDocument
-
Sets document metadata 设置文档元数据
- setPassword(String, String) - Method in interface cloud.opencode.base.pdf.PdfDocument
-
Sets document password protection 设置文档密码保护
- setRotation(int) - Method in interface cloud.opencode.base.pdf.PdfPage
-
Sets page rotation 设置页面旋转
- setSelectedOption(String) - Method in interface cloud.opencode.base.pdf.form.RadioButton
-
Sets selected option 设置选中的选项
- setSelectedOptions(List) - Method in interface cloud.opencode.base.pdf.form.ListBox
-
Sets selected options 设置选中的选项
- setValue(String) - Method in interface cloud.opencode.base.pdf.form.FormField
-
Sets field value 设置字段值
- showDate(boolean) - Method in class cloud.opencode.base.pdf.signature.SignatureAppearance
-
Shows signing date.
- showLine(boolean) - Method in class cloud.opencode.base.pdf.document.PdfFooter
-
Sets whether to show separator line above footer 设置是否显示页脚上方分隔线
- showLine(boolean) - Method in class cloud.opencode.base.pdf.document.PdfHeader
-
Sets whether to show separator line below header 设置是否显示页眉下方分隔线
- showLocation(boolean) - Method in class cloud.opencode.base.pdf.signature.SignatureAppearance
-
Shows location.
- showReason(boolean) - Method in class cloud.opencode.base.pdf.signature.SignatureAppearance
-
Shows reason.
- showSignerName(boolean) - Method in class cloud.opencode.base.pdf.signature.SignatureAppearance
-
Shows signer name.
- sign(PdfDocument) - Method in class cloud.opencode.base.pdf.signature.PdfSigner
-
Signs a PDF document object.
- sign(Path) - Method in class cloud.opencode.base.pdf.signature.PdfSigner
-
Signs a PDF document.
- sign(Path, Path) - Method in class cloud.opencode.base.pdf.signature.PdfSigner
-
Signs and saves to file.
- sign(Path, Path, char[], String) - Static method in class cloud.opencode.base.pdf.OpenPdf
-
Signs a PDF document.
- SIGNATURE - Enum constant in enum class cloud.opencode.base.pdf.form.FormField.FieldType
-
Signature field | 签名字段
- SignatureAppearance - Class in cloud.opencode.base.pdf.signature
-
Signature Appearance Builder 签名外观构建器
- signatureFailed(String, Throwable) - Static method in exception class cloud.opencode.base.pdf.exception.OpenPdfException
-
Creates exception for signature failure 创建签名失败异常
- SignatureField - Interface in cloud.opencode.base.pdf.form
-
Signature Form Field 签名表单字段
- signatureInfo() - Method in record class cloud.opencode.base.pdf.signature.SignatureValidator.ValidationResult
-
Returns the value of the
signatureInforecord component. - SignatureInfo - Record Class in cloud.opencode.base.pdf.signature
-
Signature Information 签名信息
- SignatureInfo(String, String, String, String, Instant, List, TimestampInfo, boolean, boolean, int) - Constructor for record class cloud.opencode.base.pdf.signature.SignatureInfo
-
Creates a new signature info.
- SignatureInfo.Builder - Class in cloud.opencode.base.pdf.signature
-
Signature Info Builder 签名信息构建器
- SignatureValidator - Class in cloud.opencode.base.pdf.signature
-
PDF Signature Validator PDF 签名验证器
- SignatureValidator.ValidationResult - Record Class in cloud.opencode.base.pdf.signature
-
Signature Validation Result 签名验证结果
- signDate() - Method in record class cloud.opencode.base.pdf.signature.SignatureInfo
-
Returns the value of the
signDaterecord component. - signDate(Instant) - Method in class cloud.opencode.base.pdf.signature.SignatureInfo.Builder
- signer() - Static method in class cloud.opencode.base.pdf.OpenPdf
-
Creates a PDF signer.
- size(float, float) - Method in class cloud.opencode.base.pdf.content.PdfImage
-
Sets size 设置大小
- size(float, float) - Method in class cloud.opencode.base.pdf.content.PdfRectangle
- SOLID - Enum constant in enum class cloud.opencode.base.pdf.content.PdfLine.LineStyle
-
Solid line | 实线
- source(byte[], PdfImage.ImageFormat) - Method in class cloud.opencode.base.pdf.content.PdfImage
-
Sets image from bytes 从字节设置图像
- source(PdfDocument) - Method in class cloud.opencode.base.pdf.operation.PdfExtractor
-
Sets source PDF document.
- source(PdfDocument) - Method in class cloud.opencode.base.pdf.operation.PdfSplitter
-
Sets source PDF document.
- source(Path) - Method in class cloud.opencode.base.pdf.content.PdfImage
-
Sets image from file 从文件设置图像
- source(Path) - Method in class cloud.opencode.base.pdf.operation.PdfExtractor
-
Sets source PDF file.
- source(Path) - Method in class cloud.opencode.base.pdf.operation.PdfSplitter
-
Sets source PDF file.
- split(Path, String...) - Static method in class cloud.opencode.base.pdf.OpenPdf
-
Splits a PDF by page ranges.
- splitAndSave(Path, String) - Method in class cloud.opencode.base.pdf.operation.PdfSplitter
-
Splits and saves to directory with naming.
- splitAndSave(Path, Function) - Method in class cloud.opencode.base.pdf.operation.PdfSplitter
-
Splits and saves with custom naming function.
- splitByBookmarks(int) - Method in class cloud.opencode.base.pdf.operation.PdfSplitter
-
Splits by bookmarks/outlines.
- splitByPageCount(int) - Method in class cloud.opencode.base.pdf.operation.PdfSplitter
-
Splits by fixed page count per document.
- splitByRanges(String...) - Method in class cloud.opencode.base.pdf.operation.PdfSplitter
-
Splits by page ranges.
- splitBySize(long) - Method in class cloud.opencode.base.pdf.operation.PdfSplitter
-
Splits by file size limit.
- splitFailed(String, Throwable) - Static method in exception class cloud.opencode.base.pdf.exception.OpenPdfException
-
Creates exception for split failure 创建拆分失败异常
- splitter() - Static method in class cloud.opencode.base.pdf.OpenPdf
-
Creates a PDF splitter.
- splitToPages() - Method in class cloud.opencode.base.pdf.operation.PdfSplitter
-
Splits into single pages.
- splitToPages(Path) - Static method in class cloud.opencode.base.pdf.OpenPdf
-
Splits a PDF into single pages.
- StandardFont - Enum Class in cloud.opencode.base.pdf.font
-
Standard PDF Fonts - The 14 standard Type 1 fonts 标准 PDF 字体 - 14 种标准 Type 1 字体
- stream() - Method in record class cloud.opencode.base.pdf.operation.PdfMerger.MergeSource
-
Returns the value of the
streamrecord component. - strokeColor(PdfColor) - Method in class cloud.opencode.base.pdf.content.PdfEllipse
- strokeColor(PdfColor) - Method in class cloud.opencode.base.pdf.content.PdfRectangle
- strokeWidth(float) - Method in class cloud.opencode.base.pdf.content.PdfEllipse
- strokeWidth(float) - Method in class cloud.opencode.base.pdf.content.PdfRectangle
- style(PdfLine.LineStyle) - Method in class cloud.opencode.base.pdf.content.PdfLine
- subject() - Method in record class cloud.opencode.base.pdf.document.Metadata
-
Returns the value of the
subjectrecord component. - subject(String) - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
-
Sets document subject.
- subject(String) - Method in class cloud.opencode.base.pdf.document.Metadata.Builder
-
Sets document subject 设置文档主题
- symbol() - Static method in interface cloud.opencode.base.pdf.font.PdfFont
-
Returns Symbol font 返回 Symbol 字体
- SYMBOL - Enum constant in enum class cloud.opencode.base.pdf.font.StandardFont
-
Symbol font | Symbol 字体
T
- table(PdfTable) - Method in class cloud.opencode.base.pdf.document.PageBuilder
-
Adds a table.
- tableBuilder(int) - Method in class cloud.opencode.base.pdf.document.PageBuilder
-
Creates table builder.
- TABLOID - Enum constant in enum class cloud.opencode.base.pdf.document.PageSize
-
Tabloid/Ledger: 11 x 17 inches
- text(PdfText) - Method in class cloud.opencode.base.pdf.document.PageBuilder
-
Adds a PdfText element.
- text(String) - Static method in class cloud.opencode.base.pdf.content.PdfWatermark
-
Creates a text watermark 创建文本水印
- text(String, float, float) - Method in class cloud.opencode.base.pdf.document.PageBuilder
-
Adds text at position.
- text(String, float, float, PdfFont, float) - Method in class cloud.opencode.base.pdf.document.PageBuilder
-
Adds styled text.
- TEXT - Enum constant in enum class cloud.opencode.base.pdf.form.FormField.FieldType
-
Text field | 文本字段
- textColor(PdfColor) - Method in class cloud.opencode.base.pdf.content.PdfCell
-
Sets text color 设置文本颜色
- textColor(Color) - Method in class cloud.opencode.base.pdf.signature.SignatureAppearance
-
Sets text color.
- TextField - Interface in cloud.opencode.base.pdf.form
-
Text Form Field 文本表单字段
- textOnly() - Static method in class cloud.opencode.base.pdf.signature.SignatureAppearance
-
Creates text-only appearance.
- time() - Method in record class cloud.opencode.base.pdf.signature.TimestampInfo
-
Returns the value of the
timerecord component. - TIMES_BOLD - Enum constant in enum class cloud.opencode.base.pdf.font.StandardFont
-
Times Bold | Times 粗体
- TIMES_BOLD_ITALIC - Enum constant in enum class cloud.opencode.base.pdf.font.StandardFont
-
Times Bold Italic | Times 粗斜体
- TIMES_ITALIC - Enum constant in enum class cloud.opencode.base.pdf.font.StandardFont
-
Times Italic | Times 斜体
- TIMES_ROMAN - Enum constant in enum class cloud.opencode.base.pdf.font.StandardFont
-
Times Roman (serif) | Times Roman(衬线)
- timesBold() - Static method in interface cloud.opencode.base.pdf.font.PdfFont
-
Returns Times Bold font 返回 Times Bold 字体
- timesRoman() - Static method in interface cloud.opencode.base.pdf.font.PdfFont
-
Returns Times Roman font (serif) 返回 Times Roman 字体(衬线)
- timestamp(String) - Method in class cloud.opencode.base.pdf.signature.PdfSigner
-
Enables timestamp.
- timestamp(String, String, String) - Method in class cloud.opencode.base.pdf.signature.PdfSigner
-
Enables timestamp with authentication.
- timestampInfo() - Method in record class cloud.opencode.base.pdf.signature.SignatureInfo
-
Returns the value of the
timestampInforecord component. - timestampInfo(TimestampInfo) - Method in class cloud.opencode.base.pdf.signature.SignatureInfo.Builder
- TimestampInfo - Record Class in cloud.opencode.base.pdf.signature
-
Timestamp Information 时间戳信息
- TimestampInfo(Instant, X509Certificate, String, String, boolean) - Constructor for record class cloud.opencode.base.pdf.signature.TimestampInfo
-
Creates a new timestamp info.
- timestampValid() - Method in record class cloud.opencode.base.pdf.signature.SignatureValidator.ValidationResult
-
Returns the value of the
timestampValidrecord component. - title() - Method in record class cloud.opencode.base.pdf.document.Metadata
-
Returns the value of the
titlerecord component. - title(String) - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
-
Sets document title.
- title(String) - Method in class cloud.opencode.base.pdf.document.Metadata.Builder
-
Sets document title 设置文档标题
- to(float, float) - Method in class cloud.opencode.base.pdf.content.PdfLine
- toAwtColor() - Method in record class cloud.opencode.base.pdf.content.PdfColor
-
Converts to java.awt.Color 转换为 java.awt.Color
- toBytes() - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
-
Builds and returns as bytes.
- toBytes() - Method in interface cloud.opencode.base.pdf.PdfDocument
-
Saves document to byte array 保存文档到字节数组
- toHex() - Method in record class cloud.opencode.base.pdf.content.PdfColor
-
Converts to hex string 转换为十六进制字符串
- TOP - Enum constant in enum class cloud.opencode.base.pdf.content.PdfCell.VerticalAlignment
- toString() - Method in record class cloud.opencode.base.pdf.content.PdfColor
-
Returns a string representation of this record class.
- toString() - Method in class cloud.opencode.base.pdf.content.PdfWatermark
- toString() - Method in record class cloud.opencode.base.pdf.document.DocumentBuilder.EmbeddedFontEntry
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.pdf.document.Metadata
-
Returns a string representation of this record class.
- toString() - Method in class cloud.opencode.base.pdf.document.PdfFooter
- toString() - Method in class cloud.opencode.base.pdf.document.PdfHeader
- toString() - Method in record class cloud.opencode.base.pdf.operation.PdfExtractor.ExtractedImage
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.pdf.operation.PdfMerger.MergeSource
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.pdf.signature.SignatureInfo
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.pdf.signature.SignatureValidator.ValidationResult
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.pdf.signature.TimestampInfo
-
Returns a string representation of this record class.
- TRUETYPE - Enum constant in enum class cloud.opencode.base.pdf.font.EmbeddedFont.FontType
-
TrueType font (.ttf) | TrueType 字体
- TRUETYPE_COLLECTION - Enum constant in enum class cloud.opencode.base.pdf.font.EmbeddedFont.FontType
-
TrueType Collection (.ttc) | TrueType 集合
- trustedCertificates(List) - Method in class cloud.opencode.base.pdf.signature.SignatureValidator
-
Sets trusted certificates for validation.
- trustStore(Path, char[]) - Method in class cloud.opencode.base.pdf.signature.SignatureValidator
-
Sets trust store for validation.
- tsaCertificate() - Method in record class cloud.opencode.base.pdf.signature.TimestampInfo
-
Returns the value of the
tsaCertificaterecord component.
U
- underline(boolean) - Method in class cloud.opencode.base.pdf.content.PdfText
-
Sets underline style 设置下划线样式
- unsupportedFeature(String) - Static method in exception class cloud.opencode.base.pdf.exception.OpenPdfException
-
Creates exception for unsupported feature 创建不支持功能异常
V
- valid(boolean) - Method in class cloud.opencode.base.pdf.signature.SignatureInfo.Builder
- valid(SignatureInfo) - Static method in record class cloud.opencode.base.pdf.signature.SignatureValidator.ValidationResult
-
Creates a valid result.
- validate(PdfDocument) - Method in class cloud.opencode.base.pdf.signature.SignatureValidator
-
Validates all signatures in a PDF document.
- validate(Path) - Method in class cloud.opencode.base.pdf.signature.SignatureValidator
-
Validates all signatures in a PDF.
- validate(Path, String) - Method in class cloud.opencode.base.pdf.signature.SignatureValidator
-
Validates a specific signature.
- ValidationResult(SignatureInfo, boolean, boolean, boolean, boolean, String) - Constructor for record class cloud.opencode.base.pdf.signature.SignatureValidator.ValidationResult
-
Creates an instance of a
ValidationResultrecord class. - valign(PdfCell.VerticalAlignment) - Method in class cloud.opencode.base.pdf.content.PdfCell
-
Sets vertical alignment 设置垂直对齐
- valueOf(String) - Static method in enum class cloud.opencode.base.pdf.content.PdfCell.Alignment
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.pdf.content.PdfCell.VerticalAlignment
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.pdf.content.PdfColor.ColorModel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.pdf.content.PdfImage.ImageFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.pdf.content.PdfLine.LineStyle
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.pdf.content.PdfParagraph.Alignment
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.pdf.document.Orientation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.pdf.document.PageSize
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.pdf.font.EmbeddedFont.FontType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.pdf.font.StandardFont
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.pdf.form.FormField.FieldType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class cloud.opencode.base.pdf.content.PdfCell.Alignment
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.pdf.content.PdfCell.VerticalAlignment
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.pdf.content.PdfColor.ColorModel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.pdf.content.PdfImage.ImageFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.pdf.content.PdfLine.LineStyle
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.pdf.content.PdfParagraph.Alignment
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.pdf.document.Orientation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.pdf.document.PageSize
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.pdf.font.EmbeddedFont.FontType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.pdf.font.StandardFont
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.pdf.form.FormField.FieldType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verifySignatures(Path) - Static method in class cloud.opencode.base.pdf.OpenPdf
-
Verifies PDF signatures.
W
- watermark(PdfWatermark) - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
-
Sets document watermark.
- watermark(String) - Method in class cloud.opencode.base.pdf.document.DocumentBuilder
-
Sets document watermark with text (convenience method).
- WHITE - Static variable in record class cloud.opencode.base.pdf.content.PdfColor
-
White color | 白色
- width() - Method in record class cloud.opencode.base.pdf.operation.PdfExtractor.ExtractedImage
-
Returns the value of the
widthrecord component. - width(float) - Method in class cloud.opencode.base.pdf.content.PdfParagraph
-
Sets width 设置宽度
- width(float) - Method in class cloud.opencode.base.pdf.content.PdfTable
-
Sets table width 设置表格宽度
- withAlpha(float) - Method in record class cloud.opencode.base.pdf.content.PdfColor
-
Creates a color with different alpha 创建具有不同透明度的颜色
- withAuthor(String) - Method in record class cloud.opencode.base.pdf.document.Metadata
-
Creates a copy with updated author 创建更新作者后的副本
- withTitle(String) - Method in record class cloud.opencode.base.pdf.document.Metadata
-
Creates a copy with updated title 创建更新标题后的副本
- wordSpacing(float) - Method in class cloud.opencode.base.pdf.content.PdfText
-
Sets word spacing 设置单词间距
- writeFailed(String, Throwable) - Static method in exception class cloud.opencode.base.pdf.exception.OpenPdfException
-
Creates exception for write failure 创建写入失败异常
- wrongPassword() - Static method in exception class cloud.opencode.base.pdf.exception.OpenPdfException
-
Creates exception for wrong password 创建密码错误异常
Y
Z
- ZAPF_DINGBATS - Enum constant in enum class cloud.opencode.base.pdf.font.StandardFont
-
ZapfDingbats font | ZapfDingbats 字体
- zapfDingbats() - Static method in interface cloud.opencode.base.pdf.font.PdfFont
-
Returns ZapfDingbats font 返回 ZapfDingbats 字体
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form