Skip to main content

office_viewer 0.0.11 copy "office_viewer: ^0.0.11" to clipboard
office_viewer: ^0.0.11 copied to clipboard

Tile-based Flutter viewer for PDF and Office docs with host chrome, fit-width pan/zoom, and soft-fail on corrupt files.

0.0.11 #

  • Pub example/: PDF + Dart OOXML samples, optional ConvertOfficeEngine for legacy DOC (toggle kRegisterConvertEngine).
  • Docs: align example README with published engines.

0.0.10 #

  • Optional legacy DOC / XLS / PPT via office_viewer_engine_convert (Office Oxide FFI → temp OOXML → Dart engine; view-only).
  • Docs: register PDF → Convert (optional) → Dart; support matrix and install snippets updated.

0.0.9 #

  • Shorten pubspec.yaml description to satisfy pub.dev length limits (60–180 chars).

0.0.8 #

  • Remove LibreOfficeKit (office_viewer_engine_lok); Office uses office_viewer_engine_dart only.
  • Breaking: drop LOK-only PartInfo.contentOrigin / PartInfo.lokPartIndex and OfficeViewerLimits.lokLoadOptions.
  • Breaking: legacy binary Office (.doc / .xls / .ppt) and OpenDocument are no longer opened — use OOXML (.docx / .xlsx / .pptx) or PDF.
  • Example host registers PdfOfficeEngine then DartOfficeEngine (no OFFICE_VIEWER_USE_LOK toggle).
  • Export OfficeViewerLimits from the package barrel for host tile/memory caps.
  • Pair with office_viewer_engine_dart 0.1.0 for DOCX / XLSX / PPTX on pub.dev.

Migrating from 0.0.7 #

  1. Remove any dependency on office_viewer_engine_lok and stop registering LokOfficeEngine.
  2. Register PDF first, then Dart: ..register(PdfOfficeEngine())..register(DartOfficeEngine()).
  3. Delete uses of PartInfo.contentOrigin, PartInfo.lokPartIndex, and OfficeViewerLimits.lokLoadOptions (tile requests use part-local coordinates only).
  4. Narrow pickers / allowed extensions to formats the Dart + PDF engines support.

0.0.7 #

  • Fix OfficeDocumentController constructor: restore public viewOptions: named parameter (this._viewOptions is illegal / private_optional_parameter).

0.0.6 #

  • Add a minimal publishable PDF example/ for pub points; move the private LOK host to example_app/.
  • Attempted initializing-formal cleanup (reverted in 0.0.7).

0.0.5 #

  • README: PDF-first expectations, support matrices, size/memory limits, file-open + password sample, license notes; LOK setup moved to CONTRIBUTING.md.
  • Raise Flutter (>=3.47.0) and Dart (>=3.12.0) floors to match office_viewer_engine_pdf / pdfrx ^2.5.
  • Declare platforms: android and ios for pub.dev.

0.0.4 #

  • README: one-row device-width screenshot previews and a Supported / Not supported matrix.

0.0.3 #

  • Use absolute GitHub raw image URLs in the README so screenshots render on pub.dev.

0.0.2 #

  • User-friendly README with device screenshots for Word, Excel, PowerPoint, and PDF.
  • Publish screenshots to the pub.dev package gallery.

0.0.1 #

  • Initial release: tile-based Office document viewer API, controller, and registry.
2
likes
160
points
868
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Tile-based Flutter viewer for PDF and Office docs with host chrome, fit-width pan/zoom, and soft-fail on corrupt files.

Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

flutter

More

Packages that depend on office_viewer