added access to MSWord’s ShowRevisionsAndComments as well as
RevisionView When we generate the PDFs for Word Attachments, we now for Word to print with ShowRevisionsAndComments set to False, and RevisionView set to ViewFinal (instead ViewFinalWithMarkups)
This commit is contained in:
1 parent
33688179ea
commit
06990b5c13
2 files changed
+61
-43
No files matched your search
@@ -796,6 +796,9 @@ namespace VEPROMS.CSLA.Library
|
||||
//sel.Range.Font.Color = (LBWdColor)WordColor(PrintOverride.OverrideTextColor(System.Drawing.Color.Black));
|
||||
sel.Range.Font.Color = (LBWdColor)WordColor(OverrideColor == System.Drawing.Color.Transparent ? System.Drawing.Color.Black : OverrideColor);
|
||||
sect.MSWordPageCount = myDoc.Length;
|
||||
// force Print of MS Word Attachment to Final without revisions and comments
|
||||
myDoc.ActiveWindow.View.ShowRevisionsAndComments = false;
|
||||
myDoc.ActiveWindow.View.RevisionsView = LBWdRevisionsView.wdRevisionsViewFinal;
|
||||
fileName = CreatePDF(fileName, openPdf);
|
||||
MyApp.ActiveDocument.Close(false);
|
||||
if (CloseWordWhenDone)
|
||||
|
||||
Reference in new issue
Block a user