32 Commits

Author SHA1 Message Date
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