B2017-012 Embedded Figure resizes on Facing Page

B2017-016 Equations and Visio Drawings resizes on Facing Page
Releated issue where Equipment Lists containing Embedded Figures, Equations and Visio Drawings were overlapping with procedure text.
Handle Embedded Figures, Equations and Visio Drawings when the Facing Page resize was occuring
Figures were not being handled properly for Facing Page font resize
This commit is contained in:
Rich
2017-06-12 12:56:18 +00:00
parent f4d9d38e59
commit 2aa7db1c76
3 changed files with 44 additions and 18 deletions

View File

@@ -51,7 +51,10 @@ namespace Volian.Print.Library
public float YOffset
{
get { return _YOffset; }
set { _YOffset = value; }
set
{
_YOffset = value;
}
}
protected vlnParagraph _MyParent;
@@ -435,9 +438,10 @@ namespace Volian.Print.Library
para.FirstLineIndent = fi;
}
// Change the chunks to only split on spaces rather than spaces and hyphens
foreach (Chunk chk in para)
foreach (object obj in para)//Fix the code to check for chunks before assuming chunks
{
if (chk.Attributes==null || !chk.Attributes.ContainsKey("NoSplit"))
Chunk chk = obj as Chunk;
if (chk != null && (chk.Attributes==null || !chk.Attributes.ContainsKey("NoSplit")))
{
if (chk.Attributes == null) chk.Attributes = new System.Collections.Hashtable();
chk.SetSplitCharacter(mySplitter);