Changed generic ExportAsFixedFormat back to be generic and use the default value of UseISO19005_1.

Created a new version of ExportAsFixedFormat that takes a parameter DebugStatus to set UseISO19005_1.
Added logic to handle setting UseISO19005_1 when creating a PDF from an MSWord Section.
This commit is contained in:
Rich
2013-11-07 21:42:56 +00:00
parent fc371c5c82
commit b19ce7c128
2 changed files with 33 additions and 29 deletions

View File

@@ -339,9 +339,7 @@ namespace LBWordLibrary
}
public void ExportAsFixedFormat(string OutputFileName, LBWdExportFormat ExportFormat)
{
// iso 19005-1 compliant (PDF/A) should be set to false. setting it to true causes the background
// for x/y plots to be set to black rather than transparent. (2nd to last parameter (field is: UseISO19005_1) in next line)
InvokeMethod("ExportAsFixedFormat", OutputFileName, ExportFormat, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, false, Missing.Value);
InvokeMethod("ExportAsFixedFormat", OutputFileName, ExportFormat, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value);
}
public void ExportAsFixedFormat(string OutputFileName, LBWdExportFormat ExportFormat, Boolean OpenAfterExport, LBWdExportOptimizeFor OptimizeFor, LBWdExportRange Range, int From, int To, LBWdExportItem Item, Boolean IncludeDocProps, Boolean KeepIRM, LBWdExportCreateBookmarks CreateBookmarks, Boolean DocStructureTags, Boolean BitmapMissingFonts, Boolean UseISO19005_1, object FixedFormatExtClassPtr)
{