1.附录“规范性附录”改为“规范性”
2.封面标题下的“xx”为宋体10.5 3.封面中国重型汽车集团有限公司为黑体22,后面的发布为黑体14
This commit is contained in:
@@ -45,7 +45,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
const plainOptions = ['规范性附录', '资料性附录'];
|
const plainOptions = ['规范性', '资料性附录'];
|
||||||
import InsertImageAppendix from "../components/InsertImageAppendix";
|
import InsertImageAppendix from "../components/InsertImageAppendix";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -98,7 +98,7 @@
|
|||||||
this.visible = true
|
this.visible = true
|
||||||
this.form = {
|
this.form = {
|
||||||
title: '',
|
title: '',
|
||||||
attribute: '规范性附录'
|
attribute: '规范性'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleOk() {
|
handleOk() {
|
||||||
|
|||||||
@@ -376,9 +376,9 @@ export default {
|
|||||||
oInlineLvlSdtStandENName.AddElement(oRunStandENName, 0)
|
oInlineLvlSdtStandENName.AddElement(oRunStandENName, 0)
|
||||||
oParagraph6.AddInlineLvlSdt(oInlineLvlSdtStandENName)
|
oParagraph6.AddInlineLvlSdt(oInlineLvlSdtStandENName)
|
||||||
oParagraph6.SetJc('center')
|
oParagraph6.SetJc('center')
|
||||||
oParagraph6.SetFontSize(28)
|
oParagraph6.SetFontSize(21)
|
||||||
oParagraph6.SetColor(0, 0, 7, false)
|
oParagraph6.SetColor(0, 0, 7, false)
|
||||||
oParagraph6.SetFontFamily('黑体')
|
oParagraph6.SetFontFamily('宋体')
|
||||||
oParagraph6.SetBold(true)
|
oParagraph6.SetBold(true)
|
||||||
oDocContent.AddElement(1, oParagraph6)
|
oDocContent.AddElement(1, oParagraph6)
|
||||||
// oDocument.InsertContent([oParagraph6]);
|
// oDocument.InsertContent([oParagraph6]);
|
||||||
@@ -464,7 +464,7 @@ export default {
|
|||||||
oDocument.InsertContent([oParagraphLine2])
|
oDocument.InsertContent([oParagraphLine2])
|
||||||
const oParagraph10 = Api.CreateParagraph()
|
const oParagraph10 = Api.CreateParagraph()
|
||||||
oParagraph10.AddText('中国重型汽车集团有限公司 发布')
|
oParagraph10.AddText('中国重型汽车集团有限公司 发布')
|
||||||
oParagraph10.SetFontSize(36)
|
oParagraph10.SetFontSize(44)
|
||||||
oParagraph10.SetSpacing(1.4)
|
oParagraph10.SetSpacing(1.4)
|
||||||
oParagraph10.SetFontFamily('黑体')
|
oParagraph10.SetFontFamily('黑体')
|
||||||
oParagraph10.SetJc('center')
|
oParagraph10.SetJc('center')
|
||||||
@@ -472,6 +472,10 @@ export default {
|
|||||||
oParagraph10.SetPosition(0)
|
oParagraph10.SetPosition(0)
|
||||||
oDocument.InsertContent([oParagraph10])
|
oDocument.InsertContent([oParagraph10])
|
||||||
oParagraph10.Search('发布')[0].SetSpacing(3)
|
oParagraph10.Search('发布')[0].SetSpacing(3)
|
||||||
|
oParagraph10.Search('发')[0].SetFontSize(14)
|
||||||
|
oParagraph10.Search('发')[0].SetPosition(1)
|
||||||
|
oParagraph10.Search('布')[0].SetFontSize(14)
|
||||||
|
oParagraph10.Search('布')[0].SetPosition(1)
|
||||||
oDocument.CreateSection(oParagraph10)
|
oDocument.CreateSection(oParagraph10)
|
||||||
let oSection1 = oDocument.GetSections()[0]
|
let oSection1 = oDocument.GetSections()[0]
|
||||||
oSection1.SetTitlePage(true)
|
oSection1.SetTitlePage(true)
|
||||||
|
|||||||
Reference in New Issue
Block a user