B2023-024 added a method to all us to remove a section PDF from the pdf print cache
This commit is contained in:
@@ -831,6 +831,13 @@ namespace Volian.Print.Library
|
||||
int profileDepth = ProfileTimer.Push(">>>> PrintProcedureOrFoldout");
|
||||
Rtf2Pdf.TextAtCounter = 0;
|
||||
bool doingFoldout = myFoldoutSection != null;
|
||||
// B2023-024 PROMS was using old cached PDF data when printing Word sections.
|
||||
if (doingFoldout)
|
||||
{
|
||||
PdfInfo.RemovePDFFromCache((ItemInfo) myFoldoutSection); // remove cached PDF info to force getting of new data
|
||||
if (File.Exists(outputFileName))
|
||||
File.Delete(outputFileName); // delete the temporary FOLDOUT file
|
||||
}
|
||||
// The following line accounts for 16bit OverrideLeftMargin when the 'Absolute' attribute is used in the genmac.
|
||||
// We don't want to use the OverrideLeftMargin when 'Absolute' is used in the genmac.
|
||||
// It's set here because the Volian.Svg.Library cannot call back to Volian.Print.Library to get this value.
|
||||
|
Reference in New Issue
Block a user