Fix to the TagPanel not to fail if it is expanded
Only refresh list if visible Removed debugging Fixed report to work with MSWord Section changes
This commit is contained in:
@@ -205,7 +205,7 @@ namespace Volian.Print.Library
|
||||
foreach (ContentAuditInfo cai in AuditList)
|
||||
{
|
||||
//raw path
|
||||
string[] NewPath = Regex.Replace(cai.Path, "^..+?\\u0007.", "").Split("\x7".ToCharArray());
|
||||
string[] NewPath = Regex.Replace(cai.Path + "\x7\x7\x7", "^..+?\\u0007.", "").Split("\x7".ToCharArray());
|
||||
if (NewPath[0] != section)
|
||||
{
|
||||
section = NewPath[0];
|
||||
@@ -536,14 +536,14 @@ namespace Volian.Print.Library
|
||||
foreach (ContentAuditInfo cai in AuditList)
|
||||
{
|
||||
if(cai.ContentID == contentID)
|
||||
return Regex.Replace(cai.Path, "^..+?\\u0007.", "").Split("\x7".ToCharArray());
|
||||
return Regex.Replace(cai.Path + "\x7\x7\x7", "^..+?\\u0007.", "").Split("\x7".ToCharArray());
|
||||
}
|
||||
ItemInfoList iil = ItemInfoList.GetByContentID(contentID);
|
||||
if (iil.Count > 0)
|
||||
{
|
||||
return Regex.Replace(iil[0].SearchPath, "^..+?\\u0007.", "").Split("\x7".ToCharArray());
|
||||
return Regex.Replace(iil[0].SearchPath + "\x7\x7\x7", "^..+?\\u0007.", "").Split("\x7".ToCharArray());
|
||||
}
|
||||
return "obozo\x7obiden".Split("\x7".ToCharArray());
|
||||
return "Section\x7Step".Split("\x7".ToCharArray());
|
||||
}
|
||||
private void BuildSummaryReport2(iTextSharp.text.Document doc)
|
||||
{
|
||||
@@ -555,7 +555,7 @@ namespace Volian.Print.Library
|
||||
List<ContentAuditInfo> auditList = new List<ContentAuditInfo>();
|
||||
foreach (ContentAuditInfo cai in AuditList)
|
||||
{
|
||||
string[] NewPath = Regex.Replace(cai.Path, "^..+?\\u0007.", "").Split("\x7".ToCharArray());
|
||||
string[] NewPath = Regex.Replace(cai.Path + "\x7\x7\x7", "^..+?\\u0007.", "").Split("\x7".ToCharArray());
|
||||
if (NewPath[1] != stepnum)
|
||||
{
|
||||
stepnum = NewPath[1];
|
||||
@@ -680,7 +680,7 @@ namespace Volian.Print.Library
|
||||
foreach (ContentAuditInfo cai in auditList)
|
||||
{
|
||||
//raw path
|
||||
string[] NewPath = Regex.Replace(cai.Path, "^..+?\\u0007.", "").Split("\x7".ToCharArray());
|
||||
string[] NewPath = Regex.Replace(cai.Path + "\x7\x7\x7", "^..+?\\u0007.", "").Split("\x7".ToCharArray());
|
||||
if (NewPath[0] != section)
|
||||
{
|
||||
section = NewPath[0];
|
||||
@@ -787,7 +787,7 @@ namespace Volian.Print.Library
|
||||
{
|
||||
if (cai.ContentID == aai.IContentID)
|
||||
{
|
||||
string[] NewPath = Regex.Replace(cai.Path, "^..+?\\u0007.", "").Split("\x7".ToCharArray());
|
||||
string[] NewPath = Regex.Replace(cai.Path + "\x7\x7\x7", "^..+?\\u0007.", "").Split("\x7".ToCharArray());
|
||||
if (NewPath[1] != stepnum)
|
||||
{
|
||||
stepnum = NewPath[1];
|
||||
@@ -1017,7 +1017,7 @@ namespace Volian.Print.Library
|
||||
foreach (ContentAuditInfo cai in auditList)
|
||||
{
|
||||
//raw path
|
||||
string[] NewPath = Regex.Replace(cai.Path, "^..+?\\u0007.", "").Split("\x7".ToCharArray());
|
||||
string[] NewPath = Regex.Replace(cai.Path + "\x7\x7\x7", "^..+?\\u0007.", "").Split("\x7".ToCharArray());
|
||||
if (NewPath[0] != section)
|
||||
{
|
||||
section = NewPath[0];
|
||||
|
Reference in New Issue
Block a user