Enhanced Documents, handle enhanced steps
Enhanced Documents, delete items Enhanced Documents button disable/enable Enhanced Documents, tree view support for insert/delete/copy-paste Move DisplayText.cs to CSLA Enhanced Documents adding links (method added in docversion)
This commit is contained in:
@@ -1076,11 +1076,11 @@ namespace Volian.Print.Library
|
||||
private string GetRtfToC(string txt, TableOfContentsData tOfCData, VE_Font overrideFont)
|
||||
{
|
||||
StringBuilder _RtfSB = new StringBuilder();
|
||||
Volian.Controls.Library.DisplayText toctxt = new Volian.Controls.Library.DisplayText(txt, tOfCData.Font, false);
|
||||
VEPROMS.CSLA.Library.DisplayText toctxt = new VEPROMS.CSLA.Library.DisplayText(txt, tOfCData.Font, false);
|
||||
System.Drawing.Font myFont = toctxt.TextFont.WindowsFont;
|
||||
if (overrideFont != null)
|
||||
{
|
||||
toctxt = new Volian.Controls.Library.DisplayText(txt, overrideFont, false);
|
||||
toctxt = new VEPROMS.CSLA.Library.DisplayText(txt, overrideFont, false);
|
||||
myFont = overrideFont.WindowsFont;//toctxt.TextFont.WindowsFont;
|
||||
}
|
||||
_RtfSB.Append(vlnPrintObject.AddFontTable(myFont));
|
||||
|
@@ -993,7 +993,7 @@ namespace Volian.Print.Library
|
||||
DVEnhancedDocuments dveds = MyItemInfo.MyDocVersion.DocVersionConfig.MyEnhancedDocuments;
|
||||
foreach (EnhancedDocument ed in sc.MyEnhancedDocuments)
|
||||
{
|
||||
DVEnhancedDocument dved = dveds[ed.Type];
|
||||
DVEnhancedDocument dved = dveds.GetByType(ed.Type);
|
||||
AddLinkToEnhancedDocument(cb, yLocation, ed.ItemID, dved.PdfToken, dved.PdfX);
|
||||
}
|
||||
// MyPageHelper.BottomContent = yLocation - Height;
|
||||
|
Reference in New Issue
Block a user