Adjust landscape word section pagelist item locations & flags for printing pagelist items as landscape

Calvert: Added ‘DSS_PageListAddSectCont’ flag to docstyle->Style to flag continue message in section title
Calvert: Reset svg’s for document styles that have ‘DSS_PageListAddSectCont’ so that pages other than first have continue message
Calvert: Print continue message for “ATTACHTITLECONT” pagelist item (but not on 1st page)
This commit is contained in:
2014-11-04 16:48:26 +00:00
parent 7ea770e9e2
commit 1129cb3431
4 changed files with 22 additions and 1 deletions

View File

@@ -1488,7 +1488,14 @@ namespace Volian.Print.Library
}
if (printsectlevel)
{
plstr = SplitTitle(svgGroup, pageItem, section.DisplayText, section.ActiveFormat.PlantFormat.FormatData.SectData.SectionTitleLength, token, plstr);
string stitle = section.DisplayText;
if (((section.MyDocStyle.StructureStyle.Style & E_DocStructStyle.DSS_PageListAddSectCont) == E_DocStructStyle.DSS_PageListAddSectCont)
&& token.Contains("ATTACHTITLECONT") && DidFirstPageDocStyle)
{
string myMsg = section.MyDocStyle.Continue.Top.Message;
if (myMsg != null && myMsg != "")stitle = stitle + myMsg;
}
plstr = SplitTitle(svgGroup, pageItem, stitle, section.ActiveFormat.PlantFormat.FormatData.SectData.SectionTitleLength, token, plstr);
PrintedSectionPage = (int)pageItem.Row - _sectLevelNumTtlDiff;
}
else