diff --git a/src/hooks/useExport.ts b/src/hooks/useExport.ts index a5f52dc2..212da26d 100644 --- a/src/hooks/useExport.ts +++ b/src/hooks/useExport.ts @@ -380,6 +380,10 @@ export default () => { if (viewportRatio.value === 0.625) pptx.layout = 'LAYOUT_16x10' else if (viewportRatio.value === 0.75) pptx.layout = 'LAYOUT_4x3' + else if (viewportRatio.value === 0.70710678) { + pptx.defineLayout({ name: 'A3', width: 10, height: 7.0710678 }) + pptx.layout = 'A3' + } else pptx.layout = 'LAYOUT_16x9' if (masterOverwrite) { diff --git a/src/views/Editor/Toolbar/SlideDesignPanel.vue b/src/views/Editor/Toolbar/SlideDesignPanel.vue index f52f7cef..1dd2a9c3 100644 --- a/src/views/Editor/Toolbar/SlideDesignPanel.vue +++ b/src/views/Editor/Toolbar/SlideDesignPanel.vue @@ -103,6 +103,7 @@ 宽屏 16 : 9 宽屏 16 :10 标准 4 :3 + A3 / A4