Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 2.78 KB

File metadata and controls

47 lines (32 loc) · 2.78 KB

Aspose.HTML for Java – Supported Features

Aspose.HTML for Java offers powerful tools for working with HTML, SVG, EPUB, and other web formats. Below is a concise overview of the key capabilities.

Document Manipulation

  • Create and modify web documents. Load or create HTML, XHTML, SVG, and Markdown files. Open and convert EPUB and MHTML documents with full support for their internal structure and linked resources.
  • Full DOM control. Insert, edit, clone, replace, or remove elements and attributes at any level.
  • Navigate and inspect documents. Use DOM traversal APIs to move through nodes and retrieve structured data.
  • Environment configuration. Apply custom stylesheets, font folders, sandbox rules, and resource handlers.
  • Save with resources. Export documents along with linked CSS, fonts, scripts, and images.

Data Extraction

  • Flexible navigation. Use DOM traversal, XPath, CSS selectors, or JavaScript to locate content.
  • Extract styling and metadata. Retrieve CSS rules, inline styles, attributes, and other element-level information.
  • Content extraction. Read and extract text, links, tables, forms, images, and any embedded data with precision.

Conversion & Rendering

  • One-line conversion. Convert HTML, XHTML, SVG, MHTML, Markdown, or EPUB into PDF, XPS, DOCX, or images (PNG, JPEG, GIF, BMP, TIFF).
  • Advanced settings. Control page size, resolution, scripting, resource loading, and other rendering parameters.
  • Markdown workflows. Convert HTML to MD and vice versa for documentation, publishing, or content pipelines.
  • Timeout control. Limit rendering time to manage performance in server-side applications.

Merging

  • Combine documents. Merge multiple HTML, XHTML, MHTML, EPUB, or Markdown files into a single output with consistent layout and preserved resources.

HTML Templates

  • Data binding. Inject JSON or XML data into HTML templates to generate dynamic, repeatable documents.
  • Attribute control. Add, modify, or remove attributes during binding for cleaner, more precise output.

Web Accessibility

  • WCAG validation. Analyze documents for accessibility issues using built-in rules.
  • Contrast & ARIA checks. Verify colors, ARIA attributes, and screen-reader compatibility.
  • Reporting. Export detailed accessibility reports for further improvements.

Advanced HTML Features

  • Canvas editing. Draw shapes, text, and graphics on HTML5 Canvas programmatically.
  • Stream output. Render results directly to memory streams, cloud storage, or custom pipelines.
  • DOM monitoring. Track document changes in real time using MutationObserver.
  • Form processing. Inspect, edit, populate, and submit HTML forms.
  • Extended CSS. Use -aspose- CSS features for enhanced styling and rendering control.