oxipdf-html 0.1.0

HTML+CSS → StyledTree adapter for the oxipdf PDF engine
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! HTML DOM → StyledTree conversion.
//!
//! Walks the parsed DOM tree, resolves CSS styles from `<style>` blocks
//! and inline `style=""` attributes, and builds a `StyledTree`.

mod cascade;
mod core;
mod stylesheets;
mod table;
mod uri;

pub use core::{ConvertOptions, html_to_tree, html_to_tree_with_css, html_to_tree_with_options};