41 Commits

Author SHA1 Message Date
13a6d8faae Added checkbox for adding blank pages to the PDF if the procedure prints duplex foldouts 2013-08-29 12:56:25 +00:00
Rich
38a1b57144 Fixed code to assure when printing all or some procedures for multiunit doc versions that output PDFs will be stored in sub folder associated with selected unit
Fixed code to prevent visibility of Applicability tab in Step Tools flyout when doc version is not a multiunit doc version
2013-08-07 04:57:47 +00:00
Rich
78add0ccd2 Added a missing MAXRECURSION 10000
Changed Through Transition Format and User Interface
Added Automatic Print Options to shutoff DebugText (/NT), DebugPagination (/NP) and Compare (/NC)
Added logic to allow the use of the default path for PDFs.
Update the Print_PDFLocation property of the Working Draft when the user changes the value on the Working Draft property page.  Fixed Bug B2013-117
Set the date/time stamp for the Document based upon the current time.
Make sure that the output is set to Final without revisions and comments before ROs are replaced.
Added function to restore valid previous version of MSWord document if the current version is not a valid document.
Check for Null to eliminate errors.
Removed Unused field DocPDF
Support MSWord document restore function.
Add check for Transition Node count before updating values.
Restore latest valid MSWord document if the current version is not valid.
Eliminate File Commands so that the user can only close the MSWord section, and then verify if the changes to the document will be saved.
2013-07-01 17:39:15 +00:00
Rich
e9f746a883 Logic to determine if a transition was acceptable was running into a limit. The limit was removed.
Changed logic so that Compare Check Box is visible if the PDF Output folder contains a folder named "Compare".
Pagination within a step was changed to more accurately fill a page taking account for continue messages at the top and bottom of the page.
Logic was added to try to find a place to break a step, if the minimum break location cannot be found using the standard logic.
Added YTopMost output to debug text on compare PDFs.
2013-05-21 15:37:19 +00:00
Rich
ca6c80487c Modified to use newly created ProcedureInfo property PDFNumber
Modified to standardize naming of summary of changes report
Added method to delete existing pdf when creating a new pdf of same name
Created error handler to warn user when trying to view pdf file already open
Created new ProcedureInfo property PDFNumber to handle slashes in procedure number
Corrected error in ResolvePathTo method of TranistionInfo class
2013-04-10 14:21:07 +00:00
Rich
0979a8b178 Added code to handle non-date formatted revision dates (eg: DRAFT)
Utilized newly created procedure config property ChangeBarDate
Modified method to populate ContentAuditInfoList used in summary report
Modified method to populate AnnotationAuditInfoList used in summary report
Fixed code to store correct date in History StartDate
Cleaned up code used to print procedure
Developed method to store ChangeBarDate in procedure config
Fixed code to assure rev and revdate were displayed when printing multi unit procedure
2013-04-08 14:39:08 +00:00
89dd2f72b0 B2013-078 – Add code to automatically separate the RevDate from the RevNumber and put the information in the proper config fields 2013-04-04 13:54:53 +00:00
Rich
9e35e1ec4b Added new SlashReplace format variable to control how Slashes are treated when the procedure number is converted to a pdf name.
Changed formating of Cautions (Not Bold and Heading removed underline)
Corrected RO_Lookup logic for page Header.
2013-02-06 16:36:34 +00:00
611cdce970 B2013-018 - Needed to add logic to check if the DoRevDate RevDateWithForwardSlash flags are both false - in which case only use the Rev Number 2013-02-05 14:45:48 +00:00
e95c0aa52d B2013-002 fixed the logic that uses RevDate.
Added logic to  only show the revision date field if the RevDate flag was set to true in the current format.
2013-01-09 19:09:59 +00:00
Rich
70200025dd Added RevDate and ReviewDate properties to DlgPrintProcedure class
Set visibility of RevDate label and textbox based on whether one or more procedures are being printed
Set visibility of ReviewDate label and textbox based on whether one or more procedures are being printed
Added UnitNumber and UnitIndex properties to DlgPrintProcedure class
Set property DocVersionConfig to DocVersionConfig of procedure to be printed
If ProcNum is blank use UnitNumber as pdf file name
If ProcNum starts with *, replace * with UnitNumber
Added required opening brace
Set RevDate property to ProcedureConfig Print_RevDate property value
Set ReviewDate property to ProcedureConfig Print_ReviewDate property value
Added required opening brace
Set RevDate property to current date if ProcedureConfig is null
Set ReviewDate property to null if ProcedureConfig is null
Set visibility of ReviewDate label and textbox based on AllProcedures property and hasReviewDate variable
Added SelectedSlave property to DlgPrintProcedure class
Set MultiUnitPdfLocation to empty string
Control creating multiple pdfs for a selected unit
Load item and children for procedure to be printed for selected unit
Overlay PDF creation status form so that cancel button is covered
Code to create PDFs when single unit site
Call Application.DoEvents so that screen refreshes
Added private method GetMultiUnitPDFPath to DlgPrintProcedure class
If creating PDF for one procedure for selected unit, load item and children
Removed no longer required closing brace
Set MultiUnitPDFLocation
Added event handler for cursor entering RevDate textbox
Added event handler for cursor leaving RevDate textbox
Added event handler for cursor leaving ReviewDate textbox
Added event handler for cursor entering ReviewDate textbox
Added event handler for selecting date from DateSelector calendar
2012-12-04 22:46:19 +00:00
Rich
7b5fdd9f74 Use "GetItemAndChildren" to assure that the latest data is used.
Fixed logic if trying to create a PDF while a previous PDF is open.
2012-11-05 21:58:02 +00:00
1966e05e01 2012-10-26 10:18:28 +00:00
Rich
747fd76f21 Center dialog over PROMS window
Overlay bottom of dialog with printing status dialog to hide buttons.
Correct spelling of DebugPagination.txt file
Fix table layout - Linespacing and text within borders
Set the yOffset to an integer value after a Table - This was causing some very strange pagination problems.
Output one blank line after a figure.
2012-09-25 21:01:10 +00:00
Rich
41c9f223b0 Show Progress bar when Printing all procedures
Added Cancel button for printing all procedures
Added Timer for automatic processes
2012-09-17 19:14:29 +00:00
Rich
43203c4bdd Remove unused parameter from PromsPrinter constructor
Remove unused parameter from frmPDFStatusForm constructor
Remove event handler for cbxCheckedChanged
Set cbxCmpPRMSpfd to invisible since it is no longer needed
Remove unused parameter from frmPDFStatusForm constructor
Remove unused parameter from PromsPrinter constructor
Rename log static field to _MyLog
Set the Error Log file name to the Database name and the date of the previous Sunday - This will create a new error log file for each database each week
2012-07-25 21:43:09 +00:00
ed2fcf39e1 changes for comparing PROMS generated PDFs with PROMS generated PDFs
Added checkbox to compare PROMS generated PDFs with PROMS generated PDFs
Logic to support the comparing of PROMS generated PDFs with PROMS generated PDFs
2012-06-20 16:06:55 +00:00
8cc07a788f show “Compare PDF” checkbox only if “compare” folder exists OR if in Debug Mode. Rename “Debug” checkbox label to “Compare PDF” (B2012-149) 2012-06-12 15:19:57 +00:00
4b4734b1ba 2012-05-08 12:54:05 +00:00
641dbeb593 2012-02-21 17:04:22 +00:00
e4789594bf Fixed bug B2011-056, where the watermarks could not be turned off from the print dialog 2011-12-15 18:37:08 +00:00
0d9e131849 Pre-selected the Create button when the print dialog is first opened.
Updated the list to include <CTRL><P> for creating a PDF
Assigned “P” to the KeyTips for the Create PDF ribbon button and <Ctrl><P> to the ShortCut and updated the Tool Tips
2011-12-08 16:44:34 +00:00
Rich
f1af6e9d6c • Add ability to print all procedures from the command-line.
•	Position frmPDFStatusForm below this form.
•	Close the dialog when all procedures are printed.
Position this form at a specific location.
Command-Line Print all procedures for a specified DocVersionID
2011-12-02 16:42:32 +00:00
12a9006816 Don't open all PDFs if printing All Procedures
Fixed logic so that Single RO Values don't fail in MSWord
2011-09-30 12:53:13 +00:00
001a3873cb Don't set parent lookup for DocVersion config 2011-09-28 13:21:09 +00:00
bf8ee98a53 now reads the value for the Always Create PDF check box (from the property pages) 2011-09-22 19:51:57 +00:00
Rich
d24109fe19 QUOTED_IDENTIFIER ON
Show how long it takes to print all procedures
For Null values use Arial as a default font.
Added Try/Catch to PDFDocument.Close (In case page is empty)
Only output End Message if it exists
Pagination Fixes
2011-09-22 17:44:01 +00:00
e718d93ea5 2011-09-22 11:53:01 +00:00
Rich
15d7ab597c Create and Show Debug Files 2011-08-23 18:39:25 +00:00
Rich
a9882ad357 Added Print All Procedures 2011-08-18 11:18:16 +00:00
2e40ad7e8f 2011-05-19 13:28:00 +00:00
Rich
ed8b4d11ee - Replace slashes and backslashes with underscores in the pdf file name
- Use pdf name specified in the dialog
Fixed properties so that procedures and sections can be open in the propertygrid without error
2011-05-06 13:59:06 +00:00
6a472a288e 2011-01-19 16:11:00 +00:00
81ebd622d4 2010-10-13 17:05:04 +00:00
7a957dfc35 2010-08-27 20:21:56 +00:00
b744086cbb 2010-08-24 15:17:27 +00:00
3045458050 2010-08-24 13:44:55 +00:00
0849b002b4 2010-08-12 16:05:52 +00:00
eaa0dd1ada 2010-07-23 19:18:12 +00:00
3a49176ee3 2010-07-23 15:56:27 +00:00
de1c6dd937 2010-07-20 14:19:20 +00:00