XfaForm

Overview

XfaForm là một lớp trong Aspose.PDF FOSS cho Java.

Nó đại diện cho một biểu mẫu XFA (XML Forms Architecture) được tích hợp trong tài liệu PDF.

Khóa học này cung cấp 12 phương pháp để làm việc với các đối tượng XfaForm trong các chương trình Java. Các phương pháp có sẵn bao gồm: XfaForm, get, getConfig, getDatasets, getFieldNames, getFieldTemplate, getForm, getNamespaceManager, getTemplate, getXDP, set, setFieldImage. Tất cả các thành viên công cộng đều có thể truy cập bất kỳ ứng dụng Java nào sau khi cài đặt Aspose.PDF FOSS cho gói Java. Tài sản : config, datasets, fieldNames, form, namespaceManager, template,Và 1 thêm.

Properties

NameTypeAccessDescription
templateorg.w3c.dom.DocumentReadTrả lại gói mẫu XFA như một tài liệu DOM.
datasetsorg.w3c.dom.DocumentReadTrả lại gói dữ liệu XFA như một tài liệu DOM.
configorg.w3c.dom.DocumentReadTrả lại gói XFA Config như một DOM Document.
xDPorg.w3c.dom.DocumentReadTrả lại tài liệu XDP được lắp ráp chứa tất cả các gói.
formorg.w3c.dom.DocumentReadTrả lại gói biểu mẫu XFA như một tài liệu DOM (bằng cách chạy thời gian DOM).
namespaceManagerXfaNamespaceContextReadTrở lại bối cảnh namespace cho truy vấn XPath trên XFA XML.
fieldNamesString[]ReadTrả lại tất cả tên miền từ mẫu XFA.

Methods

SignatureDescription
XfaForm(acroFormDict: PdfDictionary)Tạo một XfaForm từ các từ điển AcroForm.
getTemplate()org.w3c.dom.DocumentTrả lại gói mẫu XFA như một tài liệu DOM.
getDatasets()org.w3c.dom.DocumentTrả lại gói dữ liệu XFA như một tài liệu DOM.
getConfig()org.w3c.dom.DocumentTrả lại gói XFA Config như một DOM Document.
getXDP()org.w3c.dom.DocumentTrả lại tài liệu XDP được lắp ráp chứa tất cả các gói.
getForm()org.w3c.dom.DocumentTrả lại gói biểu mẫu XFA như một tài liệu DOM (bằng cách chạy thời gian DOM).
getNamespaceManager()XfaNamespaceContextTrở lại bối cảnh namespace cho truy vấn XPath trên XFA XML.
get(fieldName: String)StringNhận giá trị của một trường XFA bằng cách đi theo con đường SOM.
set(fieldName: String, value: String)Đặt giá trị của một trường XFA theo con đường SOM-like.
getFieldNames()String[]Trả lại tất cả tên miền từ mẫu XFA.
getFieldTemplate(fieldName: String)org.w3c.dom.NodeTrả lại nút mẫu cho một lĩnh vực cụ thể.
setFieldImage(fieldName: String, imageStream: InputStream)Thiết lập giá trị hình ảnh cho một trường hình dạng XFA.

See Also

 Tiếng Việt