Skip to content

Commit

Permalink
Merge pull request #42 from macmillanpublishers/rst-1151-new-tm-styles
Browse files Browse the repository at this point in the history
added new Tm styles, moved old one to legacy, updated ribbon, version
  • Loading branch information
mattretzer authored May 24, 2022
2 parents 4382857 + dcebfeb commit 4d1533f
Show file tree
Hide file tree
Showing 9 changed files with 79 additions and 9 deletions.
Binary file modified RSuite_Word-template.dotm
Binary file not shown.
Binary file modified StyleTemplate_auto-generate/RSuite.dotx
Binary file not shown.
76 changes: 72 additions & 4 deletions StyleTemplate_auto-generate/RSuite.json
Original file line number Diff line number Diff line change
Expand Up @@ -5847,11 +5847,11 @@
"ListLevelNumber": "0",
"NoProofing": "False"
},
"Text-Message (Tmg)": {
"Text-Message1 (Tmg1)": {
"Usage_Notes": "",
"Style_Name": "Text-Message",
"Style_Code": "Tmg",
"NextParagraphStyle": "Text-Message (Tmg)",
"Style_Name": "Text-Message1",
"Style_Code": "Tmg1",
"NextParagraphStyle": "Text-Message1 (Tmg1)",
"Priority": "1",
"QuickStyle": "False",
"Type": "1",
Expand Down Expand Up @@ -5915,6 +5915,74 @@
"ListLevelNumber": "0",
"NoProofing": "False"
},
"Text-Message2 (Tmg2)": {
"Usage_Notes": "",
"Style_Name": "Text-Message2",
"Style_Code": "Tmg2",
"NextParagraphStyle": "Text-Message2 (Tmg2)",
"Priority": "1",
"QuickStyle": "False",
"Type": "1",
"Font.name": "Courier New",
"Font.Size": "11",
"Font.Italic": "False",
"Font.Bold": "False",
"Font.TextColor": "wdColorAutomatic",
"Font.Underline": "False",
"Font.SmallCaps": "False",
"Font.Superscript": "False",
"Font.Subscript": "False",
"Font.StrikeThrough": "False",
"shortcut_keys_enabled_tf": "False",
"shortcut_keys__shift_tf": "False",
"shortcut_keys__control_tf": "False",
"shortcut_keys__alt_tf": "False",
"shortcut_keys__letter": "",
"NoSpaceBetweenParagraphsOfSameStyle": "True",
"Bullet": "False",
"NumberWithDot": "False",
"LowerLetterWithBracket": "False",
"Checklist": "False",
"ParagraphFormat.LeftIndent": "36",
"ParagraphFormat.RightIndent": "0",
"ParagraphFormat.SpaceBefore": "6",
"ParagraphFormat.SpaceAfter": "6",
"ParagraphFormat.LineSpacingRule": "2",
"ParagraphFormat.LineSpacing": "24",
"ParagraphFormat.Alignment": "2",
"ParagraphFormat.FirstLineIndent": "0",
"ParagraphFormat.OutlineLevel": "10",
"ParagraphFormat.PageBreakBefore": "False",
"ParagraphFormat.WidowControl": "False",
"Borders(-1)": "False",
"Borders(-1).Color": "wdColorAutomatic",
"Borders(-1).LineStyle": "0",
"Borders(-1).LineWidth": "6",
"Borders(-2)": "True",
"Borders(-2).Color": "197, 224, 179",
"Borders(-2).LineStyle": "1",
"Borders(-2).LineWidth": "36",
"Borders(-3)": "False",
"Borders(-3).Color": "wdColorAutomatic",
"Borders(-3).LineStyle": "0",
"Borders(-3).LineWidth": "6",
"Borders(-4)": "False",
"Borders(-4).Color": "wdColorAutomatic",
"Borders(-4).LineStyle": "0",
"Borders(-4).LineWidth": "6",
"Borders.DistanceFromLeft": "4",
"Borders.DistanceFromRight": "4",
"Borders.DistanceFromTop": "1",
"Borders.DistanceFromBottom": "1",
"ParagraphFormat.Shading.BackgroundPatternColor": "wdColorAutomatic",
"Font.Borders(1).Color": "",
"Font.Borders(1).LineStyle": "",
"Font.Borders(1).LineWidth": "",
"Font.Shading.BackgroundPatternColor": "",
"BaseStyle": "Normal",
"ListLevelNumber": "0",
"NoProofing": "False"
},
"Computer-Text (Comp)": {
"Usage_Notes": "",
"Style_Name": "Computer-Text",
Expand Down
Binary file modified StyleTemplate_auto-generate/RSuite_NoColor.dotx
Binary file not shown.
3 changes: 2 additions & 1 deletion StyleTemplate_auto-generate/RSuite_styles.txt
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ TABLE (TBL)
Table-Head (Tbhd)
Table-Subhead (Tbsbhd)
Table-Text (Tbtx)
Text-Message (Tmg)
Text-Message1 (Tmg1)
Text-Message2 (Tmg2)
Title (Ttl)
TOC-Backmatter (Tocbm)
TOC-Chapter (Tocch)
Expand Down
Binary file modified StyleTemplate_auto-generate/WordTemplateStyles.xlsm
Binary file not shown.
1 change: 1 addition & 0 deletions StyleTemplate_auto-generate/style_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@
}
},
"legacy": [
".Text-MessageTmg"
],
"footnotetextselector": [
"div.footnote"
Expand Down
6 changes: 3 additions & 3 deletions customUI/RSuiteCustomRibbonPC2007-2013.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<button id="AttachTemplateMacro.zz_AttachBoundMSTemplate" label="Remove Color Guides" image="removefile" size="normal" onAction="RibbonControl.LaunchMacros" />
<!--<button id="PrintStyles.PrintStyles" label="Print Styles in Margin" image="print" size="normal" onAction="RibbonControl.LaunchMacros" />-->
<button id="ViewStyles.StylesViewLaunch" size="normal" image="eye" onAction="RibbonControl.LaunchMacros" label="View Styles"/>
<button id="CIPMacro.Main" label="CIP Application" image="index" size="normal" onAction="RibbonControl.LaunchMacros" />
<button id="CIPMacro.Main" label="CIP Application" image="index" size="normal" onAction="RibbonControl.LaunchMacros" />
</group>

<!--<group id="CustGrp2" label="Manuscript Tools" >
Expand All @@ -37,7 +37,7 @@

<button id="sty1" label="Num" screentip="Number" size="normal" onAction="ApplyStyle.ApplyParaStyle" tag="Number (Num)" />
<button id="sty2" label="Ttl" screentip="Title" size="normal" onAction="ApplyStyle.ApplyParaStyle" tag="Title (Ttl) " />
<button id="sty3" label="Txc" screentip="Body-Text Continued" size="normal" onAction="ApplyStyle.ApplyParaStyle" tag="Body-Text-Continued (Txc)" />
<button id="sty3" label="Txc" screentip="Body-Text Continued" size="normal" onAction="ApplyStyle.ApplyParaStyle" tag="Body-Text-Continued (Txc)" />

<button id="sty4" label="Ahead" screentip="A-Head" size="normal" onAction="ApplyStyle.ApplyParaStyle" tag="A-Head (Ahead)" />
<button id="sty5" label="Bhead" screentip="B-Head" size="normal" onAction="ApplyStyle.ApplyParaStyle" tag="B-Head (Bhead)" />
Expand All @@ -55,7 +55,7 @@
<button id="sty14" label="Epiv" screentip="Epigraph Verse" size="normal" onAction="ApplyStyle.ApplyParaStyle" tag="Epigraph-Verse (Epiv)" />
<button id="sty15" label="Episrc" screentip="Epigraph Source" size="normal" onAction="ApplyStyle.ApplyParaStyle" tag="Epigraph-Source (Episrc)" />

<button id="sty16" label="Tmg" screentip="Text Message" size="normal" onAction="ApplyStyle.ApplyParaStyle" tag="Text-Message (Tmg)" />
<button id="sty16" label="Tmg1" screentip="Text-Message1" size="normal" onAction="ApplyStyle.ApplyParaStyle" tag="Text-Message1 (Tmg1)" />
<button id="sty17" label="Dia1" screentip="Dialogue1" size="normal" onAction="ApplyStyle.ApplyParaStyle" tag="Dialogue1 (Dia1)" />
<button id="sty18" label="Dia2" screentip="Dialogue2" size="normal" onAction="ApplyStyle.ApplyParaStyle" tag="Dialogue2 (Dia2)" />

Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.4.4
6.5.0

0 comments on commit 4d1533f

Please sign in to comment.