| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 5.22.7_ Numerical Object Positioning _ Sizing (Dimensions) source code.tar.gz | 2026-11-17 | 123.3 MB | |
| 5.22.7_ Numerical Object Positioning _ Sizing (Dimensions) source code.zip | 2026-11-17 | 123.8 MB | |
| README.md | 2026-11-17 | 7.4 kB | |
| OpenPublisher5-i386-windowsXP.exe | 2026-11-17 | 56.5 MB | |
| openpublisher5g_amd64-windows.exe | 2026-11-17 | 81.1 MB | |
| openpublisher5_amd64-windows-portable.exe | 2026-11-17 | 183.2 MB | |
| openpublisher5_amd64-windows.exe | 2026-11-17 | 165.2 MB | |
| openpublisher5_amd64-macos.dmg | 2026-11-17 | 233.1 MB | |
| openpublisher5_amd64-linux.run | 2026-11-17 | 193.4 MB | |
| openpublisher5_amd64-linux.rpm | 2026-11-17 | 215.4 MB | |
| openpublisher5_amd64-linux.flatpak | 2026-11-17 | 153.6 MB | |
| openpublisher5_amd64-linux.deb | 2026-11-17 | 156.2 MB | |
| openpublisher5_amd64-linux.AppImage | 2026-11-17 | 166.4 MB | |
| openpublisher5_amd64-freebsd.pkg | 2026-11-17 | 185.5 MB | |
| Totals: 14 Items | 2.0 GB | 0 | |
π Summary
Version 5.22.7 implements GitHub Issue [#12], adding numerical positioning (X, Y) and sizing (W, H) controls for text boxes, pictures, shapes, WordArt, tables, and other canvas objects via the Ribbon, a dedicated Size and Position dialog, a Dimensions properties sidebar, and the right-click context menu without relying on rulers:
- Unified Dimension Engine (
ui/modals/size-position-modal.js,DimensionControlService): Addedwindow.DimensionControlServiceon top ofUnitConversionServiceto convert between canvas pixels and physical units (cm,mm,in,pt,px), parse both.and,decimal separators as well as inline unit overrides (such as8.4 cm,2.5 in, or120 px), enforce Lock aspect ratio, and keep all UI inputs synchronized two-way with canvas interactions (extensions/system-patches.js,renderSelectionOverlays). - Ribbon Size & Position Controls (
ui/ui.js,index.html,style.css): Upgraded the contextual ribbonsizeGroupto includeX,Y,W, andHnumerical spinners, active unit display, Lock Ratio, and a Dialog launcher across Text Box Tools, WordArt Tools, Table Design, Picture Tools, and Drawing Tools. Added a Size & Position button in Home -> Arrange and a Dimensions sidebar toggle in View -> Show. - Size and Position Dialog, Dimensions Sidebar & Context Menu (
ui/modals/size-position-modal.js,ui/menus.js): Addedwindow.showSizePositionModal()(with Position, Dimensions & Scale, Rotation, Page Centering, Reset Size, Apply/OK/Cancel, Undo history push, and?Help modal),window.toggleDimensionsPane()(an acrylic glass#op-dimensions-sidebarpanel withX,Y,W,H, unit selector, Apply/Edit, and nudge buttons), and Size and Position... right-click context menu items.
π οΈ Key Improvements
1. Numerical Ribbon Controls Across All Object Types (ui/ui.js, index.html, style.css)
- Full
X,Y,W,HRibbon Spinners (sizeGroup): - Replaced the pixel-only
W/Hinputs inContextRibbonSystem.init()with.ribbon-dim-inputfields and.dim-spinnersteppers for horizontal position (X), vertical position (Y), width (W), and height (H) in the active document unit (state.unit, defaulting tocm). - Added
${sizeGroup}to Text Box Tools (#ribbon-format-text), WordArt Tools (#ribbon-format-wordart), and Table Design (#ribbon-table-design), alongside Picture Tools (#ribbon-format-pic) and Drawing Tools (#ribbon-format-shape). - Supports Enter to commit, Arrow Up / Down (plus
Shiftfor larger increments), and click-and-hold continuous spinning (holdSpinRibbon/stopSpinRibbon, matching the font size spinner with a 400ms initial delay and 75ms repeat interval) to move or resize smoothly, whileContextRibbonSystem.updateTabsandhideAllTabssync or clear the ribbon inputs cleanly. - Home & View Ribbon Launchers (
index.html): - Added Size & Position inside Home -> Arrange (
window.showSizePositionModal()) and Dimensions inside View -> Show (#ribbon-view-dim-panecallingwindow.toggleDimensionsPane()).
2. Size and Position Modal Dialog & Context Menu (ui/modals/size-position-modal.js, ui/menus.js)
- Dedicated Precision Dialog (
window.showSizePositionModal): - Displays Object Position (
#sp-input-x,#sp-input-yfrom page top-left), Dimensions & Scale (#sp-input-w,#sp-input-h,#sp-input-lock), Rotation & Page Centering (#sp-input-rot, horizontal/vertical center buttons), Reset Size (for images with natural dimensions), and live Apply / OK / Cancel with snapshot revert on Cancel andpushHistory()on commit. - Includes a
.sp-help-icon-btnHelp button (window.showSizePositionHelp) styled with the standard translucent white hover highlight. - Right-Click Context Menu (
ui/menus.js): - Added Size and Position... to the Picture, Text Box, and Universal Object context menus so any selected canvas object can open the dialog directly.
3. Dimensions Properties Sidebar & Two-Way Canvas Sync (ui/modals/size-position-modal.js, extensions/system-patches.js)
- Acrylic Dimensions Sidebar (
#op-dimensions-sidebar): - Provides a compact
X,Y,W,Hgrid (#sidebar-dim-x,#sidebar-dim-y,#sidebar-dim-w,#sidebar-dim-h), unit selector (cm,in,mm,pt,px), Lock aspect ratio toggle, Apply and Edit... buttons, and directional Move / Width+ / Height+ nudge controls. - Real-Time Canvas Synchronization (
extensions/system-patches.js): - Hooked
window.DimensionControlService.sync()intowindow.renderSelectionOverlays()so dragging, resizing, or rotating an object on#paperupdates the Ribbon, Dimensions Sidebar, and open Dialog values automatically without overwriting an actively focused input.
π Version Synchronization (v5.22.7)
| Component | Target Version | Updated Reference |
|---|---|---|
| Size & Position Engine, Dialog & Sidebar | v5.22.7 |
ui/modals/size-position-modal.js, style.css |
| Ribbon Dimensions & Context Menus | v5.22.7 |
ui/ui.js, ui/menus.js |
| Canvas Overlay Two-Way Sync | v5.22.7 |
extensions/system-patches.js |
| Application Assets & Cache Busting | v5.22.7 |
index.html |
| Service Worker & Cache Store | open-publisher-v5-22-7-1 |
sw.js |
| Watermark & Print Engines | v5.22.7 |
extensions/watermark-engine.js, extensions/print-engine.js |
| AI Assistant & UI Interactions | v5.22.7 |
extensions/ai-assistant.js, extensions/ui-interactions.js |
| PWA Registration & Templates | v5.22.7 |
extensions/pwa-install.js, elements/templates/templates.js |
| Dashboard, 404 Router, & Badges | v5.22.7 |
ui/dashboard.js, 404.html, README.md |
β Checklist Completed
- [x] Create
DimensionControlService,window.showSizePositionModal(), andwindow.toggleDimensionsPane()inui/modals/size-position-modal.jswith physical unit conversions (cm,in,mm,pt,px), comma/dot decimal parsing, aspect ratio lock, and Undo/Redo history support - [x] Upgrade
sizeGroupinui/ui.jsto includeX,Y,W,Hspinners, active unit badge, Lock Ratio, and Dialog button across Text Box Tools, WordArt Tools, Table Design, Picture Tools, and Drawing Tools - [x] Add Size & Position to Home -> Arrange, Dimensions to View -> Show, and
size-position-modal.jsscript include inindex.html - [x] Add Size and Position... to object right-click context menus in
ui/menus.jsand live two-way sync insidewindow.renderSelectionOverlays()(extensions/system-patches.js) - [x] Add
.dim-spinner,.sp-help-icon-btn, and#op-dimensions-sidebarstyles instyle.css - [x] Synchronize version strings and cachebusters from
5.22.6to5.22.7acrossindex.html,sw.js,404.html,README.md,ui/dashboard.js,elements/templates/templates.js, andextensions/*.js
π Version 5.22.7 - Open Publisher