pptx-angular-viewer 4.26.0 → 4.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,87 @@ A release listed with no entries carried no Conventional Commit in this package'
7
7
  scope: scripts/release-plan.mjs releases whenever any published file changes, not only on
8
8
  conventional commits.
9
9
 
10
+ ## [4.29.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-angular-viewer@4.29.0) - 2026-10-08
11
+
12
+ ### Features
13
+
14
+ - **xlsx:** Render imported manual legend layouts ([5173750](https://github.com/ChristopherVR/ooxml/commit/5173750a97a560e50d408d3f2f39df6d162d78d5))
15
+
16
+ ## [4.28.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-angular-viewer@4.28.0) - 2026-10-07
17
+
18
+ ### Features
19
+
20
+ - **xlsx:** Author chart series gradients with shared controls ([a932dbd](https://github.com/ChristopherVR/ooxml/commit/a932dbd724eb5bcf6f34473bd5e6f1fc80c07849))
21
+ - **xlsx:** Edit gradient stop brightness with shared color logic ([a49baa4](https://github.com/ChristopherVR/ooxml/commit/a49baa4d275182dd89bb3bd61fd5b7c9e2e719db))
22
+ - **xlsx:** Add native named gradient preset gallery ([47ec692](https://github.com/ChristopherVR/ooxml/commit/47ec69208803df71d035ba191653134ec475ff26))
23
+ - **xlsx:** Add rectangular gradient geometry controls ([e10c21a](https://github.com/ChristopherVR/ooxml/commit/e10c21a08bf6fdc3238504d7434db3f0b2a8b68f))
24
+ - **xlsx:** Author radial and path fills on chart series ([2d3652a](https://github.com/ChristopherVR/ooxml/commit/2d3652ad10b2422302dbe457bb6899f2e56cb7bb))
25
+ - **xlsx:** Format chart and plot background fills ([9237f7f](https://github.com/ChristopherVR/ooxml/commit/9237f7f2ec5851088a28d2af5ca82d02806f5438))
26
+ - **visio:** Rotate shapes with shared pointer geometry ([407fa61](https://github.com/ChristopherVR/ooxml/commit/407fa614c7f919052d44d9e31f7abfbcfe6df50d))
27
+ - **xlsx:** Render and preserve mixed chart title text ([4f3f87e](https://github.com/ChristopherVR/ooxml/commit/4f3f87ea6eff2802393f24448a1b48931282d012))
28
+ - **xlsx:** Render and preserve chart title paragraph spacing ([4f0d619](https://github.com/ChristopherVR/ooxml/commit/4f0d6198d90ab3befbfa6b9806965f01492bce45))
29
+ - **xlsx:** Wrap chart titles with shared text flow ([14a33ed](https://github.com/ChristopherVR/ooxml/commit/14a33ed2ee58f8469e5d24a0a36923a3922f23c4))
30
+
31
+ ### Bug Fixes
32
+
33
+ - **chart:** Match native scaled linear gradient paint ([8bd1171](https://github.com/ChristopherVR/ooxml/commit/8bd1171809210e886f9a459a5d634b2109ad06e9))
34
+ - **chart:** Paint native rectangular path gradients ([af81015](https://github.com/ChristopherVR/ooxml/commit/af81015bca6823dc505c26c006b2a99eb2e85c8f))
35
+ - **xlsx:** Paint native circular chart backgrounds ([e2bddbf](https://github.com/ChristopherVR/ooxml/commit/e2bddbfdafdfe31792ec9f9e6e5002350e5d2f4f))
36
+ - **xlsx:** Preserve chart axis visibility on export ([da056bb](https://github.com/ChristopherVR/ooxml/commit/da056bb9ebbc70561d63b1dc9e1f558997c0f946))
37
+ - **xlsx:** Preserve direct chart fills on export ([c3b3491](https://github.com/ChristopherVR/ooxml/commit/c3b3491a109720a2e38599b3b5272e9d84964309))
38
+ - **pptx:** Copy owned package parts when duplicating slides ([6940f93](https://github.com/ChristopherVR/ooxml/commit/6940f936cc1f804a498aea941480357ad4236edb))
39
+ - **pptx:** Generate complete native 3d chart axes ([6de35d9](https://github.com/ChristopherVR/ooxml/commit/6de35d96c68b4c7a6118b7bcb2a9ac27fa7f3ecc))
40
+ - **pptx:** Write text properties before paragraph content ([a5fe6e7](https://github.com/ChristopherVR/ooxml/commit/a5fe6e78fe4889804f4a553dcbf4ce4a1c6c92e4))
41
+ - **xlsx:** Preserve native built-in chart text defaults ([f3b9335](https://github.com/ChristopherVR/ooxml/commit/f3b93358bc0fd123c1eb83cfba9237e183ae31e6))
42
+ - **xlsx:** Inherit and preserve chart text formatting ([b292d16](https://github.com/ChristopherVR/ooxml/commit/b292d167b07c6cebaa9168f7a01ab113135d3857))
43
+ - **xlsx:** Align chart title lines with measured font boxes ([8499a58](https://github.com/ChristopherVR/ooxml/commit/8499a584ea11a03cb25517f3d6dad3b16104b375))
44
+ - **pptx:** Project rectangular chart gradients in every binding ([8bc5ee3](https://github.com/ChristopherVR/ooxml/commit/8bc5ee3be9584e37a251ae72701ed9d2d392448f))
45
+ - **ci:** Clear lint errors in chart and drawing checks ([f331e67](https://github.com/ChristopherVR/ooxml/commit/f331e670ca9c52a76e048648e55d0660d925f7c4))
46
+ - **pptx:** Preserve rectangular chart gradient paths ([27c6ddb](https://github.com/ChristopherVR/ooxml/commit/27c6ddbf0b123266a67c794b4bbaa0b7c0d062ef))
47
+
48
+ ### Performance
49
+
50
+ - **pptx:** Share the engine and load metafile conversion lazily ([e00b1d7](https://github.com/ChristopherVR/ooxml/commit/e00b1d748b9adb79dac8579f67db24e75f0a7fe2))
51
+
52
+ ### Testing
53
+
54
+ - **xlsx:** Measure native linear gradient paint profiles ([ccc4ceb](https://github.com/ChristopherVR/ooxml/commit/ccc4cebc6408a47f73e85ce95262ebe61973deda))
55
+
56
+ ## [4.27.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-angular-viewer@4.27.0) - 2026-10-07
57
+
58
+ ### Features
59
+
60
+ - **pptx:** Migrate shared renderer and editing into core and ui ([ba4cd0d](https://github.com/ChristopherVR/ooxml/commit/ba4cd0dc64707ed32d4386c14b80b0ad8a50300a))
61
+ - **pptx:** Move snapshots and cached drawing bounds into core ([f13d837](https://github.com/ChristopherVR/ooxml/commit/f13d83743ce937b5b8c5c66d0abc130d78da8dbb))
62
+ - **chart:** Share Office chart color palettes ([bd436dd](https://github.com/ChristopherVR/ooxml/commit/bd436dd9dc392805f84a2c483c67f09e424b2e5d))
63
+ - **visio:** Preserve page hatch orientation and tile phase ([8b13665](https://github.com/ChristopherVR/ooxml/commit/8b13665ad715f703a983938b47c6b82ba87a6aee))
64
+ - **xlsx:** Add shared Change Colors gallery and native palette edits ([c0e42f0](https://github.com/ChristopherVR/ooxml/commit/c0e42f0b611371ffef7334fa950db5ce9a98cbdd))
65
+ - **chart:** Share native chart style definitions ([f8a6c9e](https://github.com/ChristopherVR/ooxml/commit/f8a6c9eecc12432d91de025b355f8ab1e1e1a673))
66
+ - **xlsx:** Render imported native chart appearance ([c14f42d](https://github.com/ChristopherVR/ooxml/commit/c14f42d99db1aad93ff522a4436aab29606d52d6))
67
+ - **xlsx:** Preserve and render native chart series gradients ([50a9288](https://github.com/ChristopherVR/ooxml/commit/50a928804960c1ab373498a78ef3aab66ff5fbca))
68
+ - **xlsx:** Render imported native chart shadows ([ab83de0](https://github.com/ChristopherVR/ooxml/commit/ab83de0bc39002955cf915922d4b027f13da760e))
69
+ - **xlsx:** Honor native chart gap width and overlap ([42b7d63](https://github.com/ChristopherVR/ooxml/commit/42b7d63d9bd025ca0113b6f84c9f22ea37a986ab))
70
+ - **xlsx:** Add solid chart fill transparency controls ([60f5c51](https://github.com/ChristopherVR/ooxml/commit/60f5c51fcc46e8edd48d0a25c9189113d7e799b1))
71
+
72
+ ### Bug Fixes
73
+
74
+ - **pptx:** Retain grid policy until core exports are released ([82e0fd0](https://github.com/ChristopherVR/ooxml/commit/82e0fd07dddee8e06d8576b1ae017fafa939de57))
75
+ - **pptx:** Wrap text in static svg exports ([ece906e](https://github.com/ChristopherVR/ooxml/commit/ece906e50e8e19d41b062453ed0f898ea18abf77))
76
+ - **pptx:** Preserve rich data label formatting when saving ([0cc1c69](https://github.com/ChristopherVR/ooxml/commit/0cc1c694ff9df5c5b88ce165f1d5602e29dd0da0))
77
+ - **pptx:** Finish migrated package dependency wiring ([ab8d12d](https://github.com/ChristopherVR/ooxml/commit/ab8d12dd241c131409a8ddf33548d2ffd92d3fdb))
78
+ - **ci:** Align binding test harnesses with migrated packages ([e47b0e3](https://github.com/ChristopherVR/ooxml/commit/e47b0e3769340fd36ab7c29a88f26bafdb768b4d))
79
+ - **docx:** Preserve tracked run formatting through text edits ([ecfde3c](https://github.com/ChristopherVR/ooxml/commit/ecfde3c526ce16a41246f1ec26b22fe0a1921463))
80
+ - **pptx:** Preserve combo chart formatting and table subscripts ([7518420](https://github.com/ChristopherVR/ooxml/commit/75184207b96f061a557f675ef061c4c9a838393a))
81
+ - **pptx:** Resolve chart text fonts across runs and scripts ([6d00580](https://github.com/ChristopherVR/ooxml/commit/6d00580398c698e2cf4140ed2f709883b29f475d))
82
+ - **pptx:** Include bullet text runs in paragraph strut sizing ([b10c8cd](https://github.com/ChristopherVR/ooxml/commit/b10c8cd89ae3ed4ee87cf1a38f7892928858bac1))
83
+ - **pptx:** Wrap Korean text at word boundaries ([cfa6b1d](https://github.com/ChristopherVR/ooxml/commit/cfa6b1d9d27b43685b6b5e1a6ef7cf7a63a73229))
84
+
85
+ ### Refactor
86
+
87
+ - **pptx:** Move chart grid editing policy into core ([0d8e23f](https://github.com/ChristopherVR/ooxml/commit/0d8e23f8cf62ed11d01d9ab0417df12d23b9b213))
88
+ - **crypto:** Share Office GUID generation ([7d4ceeb](https://github.com/ChristopherVR/ooxml/commit/7d4ceeb07fcad2f55eef2cba73514f01af7cc2f3))
89
+ - Use extensionless relative typescript imports ([ef81f39](https://github.com/ChristopherVR/ooxml/commit/ef81f394cd2f275bcc9db87830db24b0adb2ec8b))
90
+
10
91
  ## [4.26.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-angular-viewer@4.26.0) - 2026-10-07
11
92
 
12
93
  ### Features
package/README.md CHANGED
@@ -233,6 +233,9 @@ geometry or user zoom. See the [cross-binding defaults](../../docs/guide/viewpor
233
233
  | `theme` | `ViewerTheme` | n/a | Color/radius overrides applied as CSS custom properties. Always wins over the File > Options theme picker. |
234
234
  | `class` | `string` | `''` | Class applied to the root element. |
235
235
  | `canEdit` | `boolean` | `false` | Enables the editor toolbar, inspector, and drag-and-drop editing. |
236
+ | `initialSlide` | `number` | `0` | Zero-based slide shown after each load, clamped into the deck. |
237
+ | `showToolbar` | `boolean` | `true` | Editor chrome: title bar, ribbon, toolbar, banners and status bar. |
238
+ | `showThumbnails` | `boolean` | `true` | Slide thumbnail pane. |
236
239
  | `filePath` | `string` | n/a | Host file path/identifier keying the version-history store. |
237
240
  | `fileName` | `string` | n/a | Display name of the open document, shown in the title bar. |
238
241
  | `fonts` | `ViewerFontSource[]` | `[]` | Licensed font sources supplied by the host application. |
package/ng-package.json CHANGED
@@ -11,7 +11,6 @@
11
11
  "ooxml-ui",
12
12
  "opentype.js",
13
13
  "pptx-viewer-core",
14
- "pptx-viewer-mcp",
15
14
  "zod"
16
15
  ],
17
16
  "assets": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pptx-angular-viewer",
3
- "version": "4.26.0",
3
+ "version": "4.29.0",
4
4
  "description": "pptx-viewer for Angular: a PowerPoint viewer and editor component to render, edit, and export PPTX slides in the browser.",
5
5
  "keywords": [
6
6
  "angular",
@@ -95,10 +95,9 @@
95
95
  "html2canvas-pro": "^2.5.1",
96
96
  "jspdf": "^4.2.1",
97
97
  "jszip": "^3.10.2",
98
- "ooxml-ui": "^0.30.1",
98
+ "ooxml-ui": "^1.1.0",
99
99
  "opentype.js": "^2.0.0",
100
- "pptx-viewer-core": "^4.13.0",
101
- "pptx-viewer-mcp": "^2.7.2",
100
+ "pptx-viewer-core": "^4.13.3",
102
101
  "tslib": "^2.8.1",
103
102
  "zod": "^4.6.5"
104
103
  },
@@ -116,7 +115,7 @@
116
115
  "happy-dom": "^20.14.5",
117
116
  "jsdom": "^30.1.2",
118
117
  "ng-packagr": "^22.2.4",
119
- "pptx-viewer-core": "^4.13.0",
118
+ "pptx-viewer-core": "^4.13.3",
120
119
  "rxjs": "^7.8.2",
121
120
  "tailwindcss": "^4.3.3",
122
121
  "three": "^0.186.1",
@@ -1,33 +1,9 @@
1
- /**
2
- * Inline the internal, non-published `pptx-viewer-shared` package into this
3
- * Angular library before compilation.
4
- *
5
- * ng-packagr externalizes bare-specifier dependencies and cannot reliably
6
- * compile source from outside the package directory. So we copy
7
- * `packages/shared/src` into `packages/angular/src/internal/shared-src` (a
8
- * generated, git-ignored directory) and import it locally. The result is that
9
- * the shared code ships **inlined** in the FESM and `pptx-viewer-shared` never
10
- * appears in the published `package.json`; it stays a private workspace
11
- * package.
12
- *
13
- * Runs before `build`, `typecheck`, and `test`. Test files are excluded.
14
- */
15
- import { cpSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
1
+ // Stamp the binding version; the renderer is imported from ooxml-ui/pptx.
2
+ import { readFileSync, writeFileSync } from 'node:fs';
16
3
  import { dirname, resolve } from 'node:path';
17
4
  import { fileURLToPath } from 'node:url';
18
5
 
19
6
  const here = dirname(fileURLToPath(import.meta.url));
20
- const src = resolve(here, '../../shared/src');
21
- const dest = resolve(here, '../src/internal/shared-src');
22
-
23
- rmSync(dest, { recursive: true, force: true });
24
- cpSync(src, dest, {
25
- recursive: true,
26
- filter: (path) => !path.endsWith('.test.ts'),
27
- });
28
-
29
- console.log(`[inline-shared] copied ${src} -> ${dest}`);
30
-
31
7
  // Also stamp this package's own `package.json` version into a tiny generated
32
8
  // module (`internal/version.ts`), so File > Account's About panel can show a
33
9
  // real version without ng-packagr trying to compile source from outside