NativeElixirPdfUtilities.Validators.EmbeddedFormValidator (native_elixir_pdf_utilities v1.1.0)
View SourceValidator-owned issued child fields and their real clipped PDF appearance geometry.
Summary
Types
An opaque field descriptor issued from canonical HtmlFormValidator.prepare fields within the active document scope.
Functions
Composes canonical issued field rectangles and real appearance paint into a validated axis-aligned clipped parent group.
Projects canonical fields through a PDF Form's validated affine placement and actual visible clip geometry.
Issues internal canonical child fields. The field list comes exclusively from HtmlFormValidator.prepare/2, after its input, state and appearance policy succeeds.
Issues distinct physical widget slices throughout one validated native source drawing, retaining each original field and AP graph.
Issues another physical page slice of the same canonical source fields and appearance graph.
Returns genuine issued widget rectangles under the same validated composition and clip as their appearances.
Resolves only a validator-issued child field descriptor within its immutable live document scope.
Returns the validator-issued source identity shared by genuine physical slices only.
Removes raw control transport from validated source artwork, preserving real appearance paint and omitting nonpainting hosts.
Checks issued field projection bounds before the writer allocates normalized group appearances.
Types
@type descriptor() :: %{ context: NativeElixirPdfUtilities.HtmlToPdf.ResourceContext.t(), token: reference() }
An opaque field descriptor issued from canonical HtmlFormValidator.prepare fields within the active document scope.
Functions
@spec compose( descriptor(), term() ) :: {:ok, [map()]} | {:error, {atom(), NativeElixirPdfUtilities.Diagnostics.diagnostic()}}
Composes canonical issued field rectangles and real appearance paint into a validated axis-aligned clipped parent group.
@spec compose_affine(descriptor(), tuple(), tuple(), term()) :: {:ok, [map()]} | {:error, {atom(), NativeElixirPdfUtilities.Diagnostics.diagnostic()}}
Projects canonical fields through a PDF Form's validated affine placement and actual visible clip geometry.
@spec issue(NativeElixirPdfUtilities.HtmlToPdf.ResourceContext.t(), [map()]) :: {:ok, descriptor()} | {:error, {atom(), NativeElixirPdfUtilities.Diagnostics.diagnostic()}}
Issues internal canonical child fields. The field list comes exclusively from HtmlFormValidator.prepare/2, after its input, state and appearance policy succeeds.
@spec issue_drawing_slice(term()) :: {:ok, map()} | {:error, NativeElixirPdfUtilities.Diagnostics.detailed_error()}
Issues distinct physical widget slices throughout one validated native source drawing, retaining each original field and AP graph.
@spec issue_slice(descriptor()) :: {:ok, descriptor()} | {:error, {atom(), NativeElixirPdfUtilities.Diagnostics.diagnostic()}}
Issues another physical page slice of the same canonical source fields and appearance graph.
@spec projection_bounds(descriptor(), term()) :: {:ok, [tuple()]} | {:error, NativeElixirPdfUtilities.Diagnostics.detailed_error()}
Returns genuine issued widget rectangles under the same validated composition and clip as their appearances.
@spec resolve(term()) :: {:ok, [map()]} | {:error, {atom(), NativeElixirPdfUtilities.Diagnostics.diagnostic()}}
Resolves only a validator-issued child field descriptor within its immutable live document scope.
@spec source_identity(descriptor()) :: {:ok, reference()} | {:error, {atom(), NativeElixirPdfUtilities.Diagnostics.diagnostic()}}
Returns the validator-issued source identity shared by genuine physical slices only.
@spec source_paint(term()) :: {:ok, [map()]} | {:error, NativeElixirPdfUtilities.Diagnostics.detailed_error()}
Removes raw control transport from validated source artwork, preserving real appearance paint and omitting nonpainting hosts.
@spec validate_composition(descriptor(), term()) :: :ok | {:error, {atom(), NativeElixirPdfUtilities.Diagnostics.diagnostic()}}
Checks issued field projection bounds before the writer allocates normalized group appearances.