mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
feat: 增加竖向纸张尺寸(#155)
This commit is contained in:
parent
40778513d9
commit
1e03c658ae
@ -363,6 +363,10 @@ export default () => {
|
|||||||
pptx.defineLayout({ name: 'A3', width: 10, height: 7.0710678 })
|
pptx.defineLayout({ name: 'A3', width: 10, height: 7.0710678 })
|
||||||
pptx.layout = 'A3'
|
pptx.layout = 'A3'
|
||||||
}
|
}
|
||||||
|
else if (viewportRatio.value === 1.41421356) {
|
||||||
|
pptx.defineLayout({ name: 'A3_V', width: 10, height: 14.1421356 })
|
||||||
|
pptx.layout = 'A3_V'
|
||||||
|
}
|
||||||
else pptx.layout = 'LAYOUT_16x9'
|
else pptx.layout = 'LAYOUT_16x9'
|
||||||
|
|
||||||
if (masterOverwrite) {
|
if (masterOverwrite) {
|
||||||
|
@ -113,6 +113,7 @@
|
|||||||
{ label: '宽屏 16 : 10', value: 0.625 },
|
{ label: '宽屏 16 : 10', value: 0.625 },
|
||||||
{ label: '标准 4 : 3', value: 0.75 },
|
{ label: '标准 4 : 3', value: 0.75 },
|
||||||
{ label: '纸张 A3 / A4', value: 0.70710678 },
|
{ label: '纸张 A3 / A4', value: 0.70710678 },
|
||||||
|
{ label: '竖向 A3 / A4', value: 1.41421356 },
|
||||||
]"
|
]"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user