|
@@ -50,9 +50,8 @@ export const pptInit = (pptx,LayoutType,lang='ch') => {
|
|
let layout = pptLayout,sliderMaster = lang==='ch'?pptSlideMaster:pptSlideMasterEn
|
|
let layout = pptLayout,sliderMaster = lang==='ch'?pptSlideMaster:pptSlideMasterEn
|
|
if(LayoutType!==1){
|
|
if(LayoutType!==1){
|
|
layout = { name: "myppt", width: 10, height: LayoutType===2?5.625:7.5 }
|
|
layout = { name: "myppt", width: 10, height: LayoutType===2?5.625:7.5 }
|
|
- const y = lang==='ch'?0:-0.1
|
|
|
|
const h = LayoutType===2?5.625:7.5
|
|
const h = LayoutType===2?5.625:7.5
|
|
- sliderMaster.objects[1] = {image: {x:0,y:y,w:10,h:lang==='ch'?h:h+0.1,path: lang==='ch'?"/static/pptnextimg.png":"/static/ppt_en_bg.png"}}
|
|
|
|
|
|
+ sliderMaster.objects[1] = {image: {x:0,y:0,w:10,h,path: lang==='ch'?"/static/pptnextimg.png":"/static/ppt_en_bg.png"}}
|
|
sliderMaster.slideNumber = {x:'95%',y:LayoutType===2?'92%':'95%',fontSize:12}
|
|
sliderMaster.slideNumber = {x:'95%',y:LayoutType===2?'92%':'95%',fontSize:12}
|
|
}
|
|
}
|
|
pptx.defineLayout(layout)
|
|
pptx.defineLayout(layout)
|