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