SVN r1075
SVN-Revision: r1075
This commit is contained in:
@@ -74,7 +74,7 @@ namespace Lskj.AutoCreatWord
|
||||
if (!string.IsNullOrEmpty(mainTempPath) && File.Exists(mainTempPath))
|
||||
{
|
||||
Section mainSection = new Section(document);
|
||||
mainSection.PageSetup.DifferentFirstPageHeaderFooter = false;
|
||||
//mainSection.PageSetup.DifferentFirstPageHeaderFooter = false;
|
||||
document.Sections.Add(mainSection);
|
||||
hasMainTemp = true;
|
||||
Document document2 = new Document();
|
||||
@@ -186,10 +186,10 @@ namespace Lskj.AutoCreatWord
|
||||
Section mainSection = document.LastSection;
|
||||
if (!moduleId.Equals("yw", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
CpoyHeaderFooter(section, mainSection, HeaderFooterType.FooterEven);
|
||||
CpoyHeaderFooter(section, mainSection, HeaderFooterType.FooterOdd);
|
||||
CpoyHeaderFooter(section, mainSection, HeaderFooterType.HeaderEven);
|
||||
CpoyHeaderFooter(section, mainSection, HeaderFooterType.HeaderOdd);
|
||||
//CpoyHeaderFooter(section, mainSection, HeaderFooterType.FooterEven);
|
||||
//CpoyHeaderFooter(section, mainSection, HeaderFooterType.FooterOdd);
|
||||
//CpoyHeaderFooter(section, mainSection, HeaderFooterType.HeaderEven);
|
||||
//CpoyHeaderFooter(section, mainSection, HeaderFooterType.HeaderOdd);
|
||||
}
|
||||
bool isCopying = false;
|
||||
foreach (DocumentObject obj in section.Body.ChildObjects)
|
||||
|
||||
Reference in New Issue
Block a user