B2015- 076: underlining overwrites text below (occurred on compressed steps with larger font)

This commit is contained in:
2015-06-22 14:42:46 +00:00
parent 7bc11c7fb6
commit a038fe06e9
3 changed files with 23 additions and 10 deletions

View File

@@ -72,6 +72,12 @@ namespace Volian.Print.Library
get { return _HasIndent; }
set { _HasIndent = value; }
}
private bool _IsCompressed = false;
public bool IsCompressed
{
get { return _IsCompressed; }
set { _IsCompressed = value; }
}
private string _ImageText; // ro definition, value part of #Link in case of image/figure
public string ImageText
{
@@ -101,7 +107,9 @@ namespace Volian.Print.Library
{
get
{
if (_IParagraph == null)
// If the paragraph iscompressed, it may have been created as not compressed since compression
// is not set when paragraph is initially created, it is set during pagination tests.
if (_IParagraph == null || IsCompressed)
{
int profileDepth = ProfileTimer.Push(">>>> VlnPrintObject.IParagraph");
string myRtf = Rtf;