Skip to content

Commit

Permalink
Fix bug #69332
Browse files Browse the repository at this point in the history
Add toc styles to the list of default styles
  • Loading branch information
KirillovIlya committed Jul 22, 2024
1 parent 6fa8c33 commit e9559b2
Showing 1 changed file with 150 additions and 0 deletions.
150 changes: 150 additions & 0 deletions word/Editor/Styles/default-styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -1049,6 +1049,156 @@
Unifill : AscCommonWord.CreateThemeUnifill(EThemeColor.themecolorFollowedHyperlink, null, null),
Underline : true
}
},
{
StyleId : "Toc1",
Type : AscWord.styletype_Paragraph,
Name : "toc 1",
BasedOn : "Normal",
Next : "Normal",
UiPriority : 39,
UnhideWhenUsed : true,
ParaPr : {
Spacing : {
After : tw2mm(100)
}
}
},
{
StyleId : "Toc2",
Type : AscWord.styletype_Paragraph,
Name : "toc 2",
BasedOn : "Normal",
Next : "Normal",
UiPriority : 39,
UnhideWhenUsed : true,
ParaPr : {
Spacing : {
After : tw2mm(100)
},
Ind : {
Left : tw2mm(220)
}
}
},
{
StyleId : "Toc3",
Type : AscWord.styletype_Paragraph,
Name : "toc 3",
BasedOn : "Normal",
Next : "Normal",
UiPriority : 39,
UnhideWhenUsed : true,
ParaPr : {
Spacing : {
After : tw2mm(100)
},
Ind : {
Left : tw2mm(440)
}
}
},
{
StyleId : "Toc4",
Type : AscWord.styletype_Paragraph,
Name : "toc 4",
BasedOn : "Normal",
Next : "Normal",
UiPriority : 39,
UnhideWhenUsed : true,
ParaPr : {
Spacing : {
After : tw2mm(100)
},
Ind : {
Left : tw2mm(660)
}
}
},
{
StyleId : "Toc5",
Type : AscWord.styletype_Paragraph,
Name : "toc 5",
BasedOn : "Normal",
Next : "Normal",
UiPriority : 39,
UnhideWhenUsed : true,
ParaPr : {
Spacing : {
After : tw2mm(100)
},
Ind : {
Left : tw2mm(880)
}
}
},
{
StyleId : "Toc6",
Type : AscWord.styletype_Paragraph,
Name : "toc 6",
BasedOn : "Normal",
Next : "Normal",
UiPriority : 39,
UnhideWhenUsed : true,
ParaPr : {
Spacing : {
After : tw2mm(100)
},
Ind : {
Left : tw2mm(1100)
}
}
},
{
StyleId : "Toc7",
Type : AscWord.styletype_Paragraph,
Name : "toc 7",
BasedOn : "Normal",
Next : "Normal",
UiPriority : 39,
UnhideWhenUsed : true,
ParaPr : {
Spacing : {
After : tw2mm(100)
},
Ind : {
Left : tw2mm(1320)
}
}
},
{
StyleId : "Toc8",
Type : AscWord.styletype_Paragraph,
Name : "toc 8",
BasedOn : "Normal",
Next : "Normal",
UiPriority : 39,
UnhideWhenUsed : true,
ParaPr : {
Spacing : {
After : tw2mm(100)
},
Ind : {
Left : tw2mm(1540)
}
}
},
{
StyleId : "Toc9",
Type : AscWord.styletype_Paragraph,
Name : "toc 9",
BasedOn : "Normal",
Next : "Normal",
UiPriority : 39,
UnhideWhenUsed : true,
ParaPr : {
Spacing : {
After : tw2mm(100)
},
Ind : {
Left : tw2mm(1760)
}
}
}
];

Expand Down

0 comments on commit e9559b2

Please sign in to comment.