SVN r1084
SVN-Revision: r1084
This commit is contained in:
@@ -106,10 +106,6 @@ namespace Lskj.AutoCreatWord
|
||||
}
|
||||
if (!string.IsNullOrEmpty(menuTempPath) && File.Exists(menuTempPath))
|
||||
{
|
||||
if (hasMainTemp)
|
||||
{
|
||||
document.LastSection.PageSetup.DifferentFirstPageHeaderFooter = true;
|
||||
}
|
||||
Document document3 = new Document();
|
||||
document3.LoadFromFile(menuTempPath);
|
||||
if (!string.IsNullOrEmpty(menuTempArray))
|
||||
@@ -223,6 +219,10 @@ namespace Lskj.AutoCreatWord
|
||||
}
|
||||
}
|
||||
}
|
||||
if (hasMainTemp)
|
||||
{
|
||||
firstSection.PageSetup.DifferentFirstPageHeaderFooter = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
@@ -1675,7 +1675,7 @@ namespace Lskj.AutoCreatWord
|
||||
HeaderFooter headerFooter = sourceSection.HeadersFooters[headerFooterType];
|
||||
if (headerFooter != null && headerFooter.ChildObjects != null && headerFooter.ChildObjects.Count > 0)
|
||||
{
|
||||
//targetSection.HeadersFooters[headerFooterType].LinkToPrevious = false;
|
||||
targetSection.HeadersFooters[headerFooterType].LinkToPrevious = true;
|
||||
targetSection.HeadersFooters[headerFooterType].ChildObjects.Clear();
|
||||
foreach (DocumentObject obj in headerFooter.ChildObjects)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user