LumeDocs 0.4.9 — Local First
============================

Open. Write. Export.

This build runs primarily in the browser. Documents, inserted images, settings and optional custom fonts are stored locally in IndexedDB on each user's device.

Highlights
----------
- Visual multi-page document view with automatic pagination
- A4, Letter and Legal paper, portrait or landscape
- Draggable horizontal and vertical rulers for page margins
- Editable repeated headers and footers with page/date/title tokens
- Manual image insertion inside headers and footers
- Import of common embedded images from DOCX body, headers and footers
- Styled page numbers with position, format, font, size, color and bold controls
- Contextual right-click menu for text, links, images, tables, headers and footers
- Manual page breaks, checklists and generated table of contents
- Images by file picker, paste and drag/drop
- Image resize, alignment, replacement and alternative text
- DOCX export with images, page setup, styled numbering, header and footer
- Direct multi-page PDF generation with a compatibility renderer fallback
- Clean direct print command without editing controls
- Four appearance choices: System, Light, Dark interface with light paper, Fully dark
- Preset and custom palettes for text, highlighting and quote styles
- Real toolbar icons, format painter, text case and paragraph spacing commands
- Built-in common font list plus local TTF, OTF, WOFF and WOFF2 font loading
- File, Insert, Format, View, Tools, Table and Help menus
- Local backup and restore, including custom settings and fonts
- PWA installation guidance and native install prompt support
- Searchable, sortable and paginated local document manager
- English-first interface with complete Portuguese and Spanish translations
- External language catalog and English fallback for future translation files
- About LumeDocs links to lumeos.org without displaying the internal build number

Important notes
---------------
- Automatic pagination is block-aware. Extremely large tables or single unsplittable elements may need a manual page break.
- PDF pages are rendered visually. This preserves appearance, but text selection inside the PDF can be limited.
- DOCX is a complex format. Common text, tables, inline images, margins, headers and footers are supported. Floating shapes, legacy VML objects and advanced Word features may still differ.
- Browser clipboard permissions may restrict programmatic paste or image copy. The context menu provides a translated fallback message when the browser blocks an action.
- Custom fonts are stored in the browser and may increase local storage usage.
- Clearing browser site data removes local documents. Use File > Back up local data regularly.
- Private browsing may discard IndexedDB data.

Upgrade
-------
The installer can update previous LumeDocs installations. Server files are replaced, while browser IndexedDB documents remain untouched when the domain and path stay the same.

0.4.0 contextual editing and document chrome
- Adds a context-sensitive right-click menu for the main editing areas.
- Adds manual header and footer images and preserves common DOCX header/footer images.
- Adds page-number typography and color controls.
- Makes the custom quote-color command functional and preserves the current selection.
- Replaces the About build number with the official lumeos.org website.
- Keeps previous responsive menu, decimal-margin, pagination, PDF and autosave fixes.


0.4.1 favicon compatibility
- Adds ICO, 16 px, 32 px and Apple touch icons.
- Adds cache-busting icon URLs and refreshes the PWA cache.

0.4.3 mobile navigation and PWA installation
- Adds a dedicated touch-friendly mobile menu drawer.
- Captures the Chrome installation event before asynchronous startup work.
- Adds an in-app installation banner and clearer HTTPS/manual installation guidance.
- Improves phone layout, safe-area spacing and touch targets.

0.4.3 installer repair and ruler alignment
- Keeps horizontal and vertical rulers attached to the actual paper edges at every zoom level.
- Adds a repair/reinstall action to the installer when the current version is already installed.
- Improves small-screen spacing and PWA install visibility.

0.4.4 editing command and find improvements
- Fixes special character, link, table and manual page-break insertion after menus or dialogs take focus.
- Splits the large Format menu into Format and Paragraph menus.
- Adds Insert table as the first command in the Table menu.
- Replaces the blocking find dialog with a compact responsive side panel, previous/next navigation and match-case option.

0.4.9 custom undo and redo history
- Restores Undo and Redo toolbar buttons.
- Adds Ctrl+Z, Ctrl+Y and Ctrl+Shift+Z support.
- Uses a document snapshot history that survives automatic repagination.
- Keeps undo/redo controls synchronized with available history states.

0.4.9 bug reporting and stable save indicator
- Adds Help > Report a bug with technical information ready to copy, an email link to bugs@lumeos.org and the official form at lumeos.org/bugs.
- Adds CSRF, honeypot, rate limiting, attachment validation and privacy-safe diagnostics.
- Reserves a fixed-width save-status area so toolbar actions no longer shift.

0.4.9 external bug reporting and persistent table of contents
- Removes the server-side mail dependency from bug reports.
- Keeps generated tables of contents styled after saving and reopening.
- Prevents duplicate tables of contents and excludes the table title from its own entries.

0.4.9 table of contents and paragraph style fixes
- Prevents duplicate insertion when a browser reports insertHTML failure after already inserting content.
- Keeps the paragraph-style selector synchronized with the block under the cursor.
- Allows Heading 1, Heading 2, Heading 3, Paragraph and Quote to be applied reliably to another block.

0.4.9 editing safety fixes
- Fixes manual page breaks so a deliberately blank following page is preserved.
- Clear formatting now also converts headings and quotes back to normal paragraphs.
- Find is search-first; replacement controls are collapsed and empty replacement requires explicit opt-in.
