visualpdf 1.8.3 copy "visualpdf: ^1.8.3" to clipboard
visualpdf: ^1.8.3 copied to clipboard

A visual Flutter PDF report designer and runtime for JSON-driven invoices, templates, tables, barcodes, headers, footers, and printing.

1.8.3 #

  • Added support for moving selected elements with the keyboard arrow keys (1px precision).
  • Added Support for moving selected elements with Shift + Arrow keys (5px precision).

1.8.2 #

  • Added ElementType.pageBreak which forces a page break in body pagination and stops printing on the remaining page.
  • Visualised the pageBreak element in the designer canvas as a orange dashed line saying "Seitenumbruch".

1.8.1 #

  • Fix dynamic text-flow pagination loops: automatically push down and align elements (like lines and labels) below flowing text elements.
  • Clean up unused imports and warnings.

1.8.0 #

  • Added custom template upload/saving support via onSave callback parameter in Designer constructor.
  • Added direct PDF download / saving feature to VisualPdfRuntime toolbar.
  • Made string numeric aggregate parsing robust using RegExp to extract the first decimal group (safely handling trailing abbreviations like "Std.").
  • Set isExpanded: true on the table functions dialog dropdown fields to eliminate visual layout overflows.
  • Added explicit right/left textAlign properties to SummaryRow text elements to guarantee mathematical alignment under different font weights.

1.7.1 #

  • Fix table subtotal and total summary labels truncation by rendering a full-width row instead of a narrow table cell column.
  • Support preloading initialTemplate and initialJson parameters in Designer constructor.

1.7.0 #

  • Added layer ordering, locking, hiding, and a dedicated layer list.
  • Added multi-selection with alignment, equal-size, and distribution tools.
  • Added visual alignment guides and magnetic snapping to the grid, element edges, centers, and report bands.
  • Added named report sections and keep-together settings to VPS elements.
  • Added sequential pagination for multiple independently bound tables with repeated headers, automatic page breaks, and final-page summaries.
  • Replaced custom polynomial sin/cos approximations with native dart:math functions for better accuracy and lower complexity.
  • Added localization (i18n) for default table summary and group footer labels ("Subtotal", "Discount", "Total Amount", "Sum", "VAT") based on report locale.
  • Refactored _paginateReport logic to improve code readability and maintainability.
  • VPS schema version 6 persists the new layout and section settings.

1.6.1 #

  • Added font-outline validation for embedded TTF and OTF resources.
  • CFF/PostScript OTF fonts are no longer passed to the TrueType-only PDF renderer, preventing overlapping glyphs and black squares in PDF output.
  • Existing templates safely fall back to Helvetica for incompatible fonts, while new imports explain that a TTF or TrueType-outline OTF is required.

1.6.0 #

  • Added embedded TTF and OTF font resources to VPS templates.
  • Added custom-font management and per-element font selection in the editor.
  • Embedded fonts are registered for the canvas preview and included in PDF output for Unicode text, international alphabets, and special characters.
  • VPS schema version 5 stores font family metadata and Base64 font data while remaining compatible with older templates.

1.5.0 #

  • Added German and English editor and runtime interfaces.
  • Added per-report locales with localized date and number formatting.
  • Added configurable EUR, USD, CHF, GBP, and JPY currency formatting.
  • Locale and currency settings are persisted in VPS templates, with backward- compatible German and EUR defaults.
  • Added conditional element printing using data comparisons and empty/present checks.
  • Elements can now be restricted to the first or last physical report page.

1.4.0 #

  • Added Web to the officially supported package platforms.
  • Removed the unconditional dart:io dependency from the public runtime.
  • VPS and JSON browser uploads, browser-compatible saves, PDF preview, and printing remain available through the existing editor and runtime APIs.
  • Added Web integration and build documentation.

1.3.0 #

  • Added selectable A5, A4, A3, and A2 paper formats.
  • Added portrait and landscape page orientation in the visual editor.
  • Canvas dimensions, element bounds, header/footer controls, table pagination, and generated PDFs now follow the selected page layout.
  • Paper settings are persisted in VPS schema version 4.
  • Older VPS files remain compatible; landscape pages without an explicit orientation are inferred from their stored dimensions.

1.2.0 #

  • Added automatic multi-page pagination for JSON-backed tables.
  • Table column headers repeat on continuation pages.
  • Template header and footer elements repeat on every physical PDF page.
  • PageNumber and PageCount now resolve to the actual generated PDF page.
  • Table aggregates, discounts, taxes, and totals are emitted only on the final table page and still use the complete data set.
  • Added a ready-to-open VPS template and JSON data file with 100 invoice items.
  • Added calculateReportPageCount for previews, validation, and tests.

1.1.0 #

  • Added Android and iOS as supported package platforms.
  • Added a responsive phone and tablet editor with slide-out element and property drawers.
  • Added a compact mobile runtime toolbar for loading VPS/JSON files and printing.
  • The A4 editor canvas now fits both the available width and height and keeps pinch-to-zoom and panning enabled on touch devices.
  • Added mobile integration documentation and widget coverage for compact layouts.

1.0.2 #

  • Added full-size screenshots directly to the README so they remain visible on narrow pub.dev layouts where the screenshot sidebar is hidden.

1.0.1 #

  • Removed unsupported relative image embeds from the Pub.dev README.
  • Kept the official Pub.dev screenshot gallery and package thumbnail metadata.

1.0.0 #

Initial public release.

  • Visual A4 report and invoice designer.
  • JSON data binding with automatically discovered fields.
  • Portable .vps template format.
  • Text, data fields, rectangles, horizontal and vertical lines.
  • Configurable tables with headers, formatting, totals, taxes, discounts, and SUM, COUNT, AVERAGE, MIN, and MAX aggregate functions.
  • PNG, JPEG, and WebP image embedding.
  • QR, EAN-13, and EAN-8 code elements.
  • Header and footer regions with adjustable heights.
  • Page number, page count, date, and time system fields.
  • Print colors, text alignment, and PDF-safe fonts.
  • Dedicated read-only runtime and print mode.
  • macOS printing and user-selected file entitlements.
1
likes
0
points
538
downloads

Publisher

unverified uploader

Weekly Downloads

A visual Flutter PDF report designer and runtime for JSON-driven invoices, templates, tables, barcodes, headers, footers, and printing.

Homepage

Topics

#pdf #reports #invoices #templates #printing

License

unknown (license)

Dependencies

barcode, file_picker, flutter, flutter_localizations, pdf, printing

More

Packages that depend on visualpdf