83 Commits

Author SHA1 Message Date
8601061eef B2020-062 – Fix bug where the date/time prefix/suffix would automatically turn on (after turning it off) when the procedure is printed. Also disabled the Date/Time Prefix/Suffix switch on the print dialog when the prefix/suffix is plain text entered by the user. Original report of bug was that the PDF Links option did not work when there was a PDF file date/time prefix/suffix. 2020-04-29 18:23:35 +00:00
72be053111 B2020-055 – When Microsoft Edge is the default PDF viewer and you do a merge print, PROMS would exit with a null reference error but the PDF will still be displayed in Microsoft Edge. We now handle the null reference. We suspect that it’s because the version of .Net is pre-Microsoft Edge and does not recognize that app. 2020-04-09 19:43:17 +00:00
2234bde5e1 C2020-002 Logic to use either the Letter or A4 paper size
C2020-002 Get the paper size setting from the formats
2020-02-14 17:13:12 +00:00
c9fc5d2085 B2019-128: fixed incorrect watermark on merged & print all procedures 2019-09-05 13:36:31 +00:00
c92737906c C2019-031 Only allow the user to override the change bar text if at the Working Draft or Folder level, the default change bar setting is set to either “No Default – Select Before Printing” or to “Override Change Bar Text Type”. 2019-08-08 15:30:14 +00:00
cba19044d8 Code cleanup – removed un-used code. 2019-06-26 16:56:36 +00:00
389250bad3 B2019-044 Since the watermark switch on the print dialog can turn off the printing of a watermark, created a enum of the watermark options but without the “None’ option for use only on the Print dialog.
B2019-044 The watermark switch on the print dialog will now turn off the printing of a watermark when there is a default set at the working draft level.
2019-03-26 13:58:15 +00:00
76bd61b435 C2019-012: Merge pdfs 2019-03-12 12:56:58 +00:00
e77ff7c98e C2019-004: Allow user to define duplex blank page text (handle approved & baseline output) 2019-01-28 16:45:05 +00:00
d2aadd3045 C2019-004: Allow user to define duplex blank page text (for build only).
C2019-004: Allow user to define duplex blank page text.
2019-01-24 15:51:42 +00:00
204a8591cd C2018-033 added a switch to turn on/off the date/time PDF prefix and suffix. It will be available only if a date/time prefix or suffix is set in the workingdraft property page. Logic also added to not use the date/time prefix or suffix if the user is generating Linked PDFs. B2018-137 added check for Placekeeper format flag when expanding the Additional Settings panel.
C2018-033 added a flag to turn off adding the date/time prefix and suffix when generating automatic baselines.
2018-10-16 16:03:36 +00:00
010aa08668 B2018-124 pass in the text from the listbox for the watermark text 2018-09-10 19:34:36 +00:00
63932cd2c9 C2018-023 added a “/NW” switch for use with the automated print testing (batch file) to turn off the inclusion of Word attachment text in the metafile 2018-08-02 13:10:40 +00:00
03f07f3aeb B2018-099: Print all & Approve all of large set crashes with out of memory error 2018-06-29 13:24:15 +00:00
Rich
86c85bee58 B2018-069 Revert PDF Location to default temporary folder when running baseline testing 2018-05-07 16:04:17 +00:00
aadb3c718a C2018-014 rename Compare PDF checkbox to Overlay PDF, rename Meta File check box to Baseline Testing, added tool tips
C2018-015 add PROMS version number, SQL server name, database name, procedure folder tree info, procedure number and title to meta file.
C2018-015 add debug pagination info to meta file
2018-05-02 19:21:19 +00:00
62028e030c C2018-012 code cleanup and improved design of print dialog 2018-04-20 19:33:38 +00:00
aa7a427dd1 B2018-059 Don’t close the calendar when the month or year button is selected
C2018-009 Added a check box to print the PROMS version number on each page of the PFD
2018-04-12 20:28:06 +00:00
61a31cec22 B2017-188: Toggle off of SAMG facing pages blank pages checkbox on print dialog was still printing blank pages. 2017-09-22 16:03:51 +00:00
68aa1e9aab B2017-091The Checkbox for inserting blank pages for duplex printing was shortened so that it does not run into the Cancel button. It now reads “Add Blank Pages For Duplex Printing”. Also when print a procedure that has facing pages this check box is checked by default.
B2017-090 Commented out a line of code that is no longer needed for printing facing pages, but was causing the main procedure to paginate incorrectly.
Sped up the logic that calculates how small to shrink the font size on the supplemental information facing page.
2017-05-22 15:32:47 +00:00
Rich
19971f3301 B2017-009 - When you printed from the V Button (Non-PC PC) Procedures the code would crash. This has been fixed. 2017-01-19 21:34:06 +00:00
Rich
c837496f24 B2016-255 Non-P/C PC prrocedures should not print in a subfolder. Corrects a problem creeated when Bug B2016-249 was fixed. 2016-11-10 15:52:41 +00:00
Rich
5feabe3a89 Parent/Child - B2016-249 Output PDF to a folder specified for each Child 2016-11-08 18:46:51 +00:00
Rich
9e170362cc Added option to Remove Trailing Hard Returns and Manual Page Breaks
Added Server and Database to Window Caption (Title)
2016-01-20 20:17:16 +00:00
17d4c2b26b Added a hidden check box which is used to generate a Continuous Action Summary
Continuous Action Summary logic
Continuous Action Summary logic – hooks for tree menu and ribbon button
2015-10-23 18:10:31 +00:00
ae7058eb8d C2013-009: Use PDF Location text box on General Tab for setting location and remove PDF Location text box on Settings Tab
B2013-173: Print Shortcut - when multiple tabs are open, Ctrl-P now prints correct procedure
2015-08-06 13:16:46 +00:00
Rich
ee198b5275 Added PDF SaveLink checkbox and methods
Added PDF SaveLink parameter to methods
Added internal tool to select existing user.
2015-06-17 11:30:22 +00:00
Rich
69f77955de Added parameters for PromsPrinter
Added parameter for frmPDFStatusForm
Added parameter for frmPDFStatusForm
Added two properties to DlgPrintProcedure
2015-05-06 14:37:16 +00:00
45d311bdfe increase PSI labels width
Add argument to fmrPDFStatusForm call for pagenum transition processing (B2015-053)
Add argument for pagenum transition processing (B2015-053)
Add panel/scroll bar for PSI that has many fields (on larger font display, could not access bottommost) (B2015-051)
Add property for tracking of pagenum transitions (B2015-053)
For section list, use section default (procedure steps) if transition format has user interface of ‘SectDefault’. (B2015-052)
Pagenum transition processing – add 3rd pass for fix. (B2015-053)
2015-04-24 13:13:47 +00:00
0e9302f206 Replace ‘?’ with ‘_’ for pdf filename so file can be created
Allow for setting of section’s ‘Default Step Section’ property
Fix page numbering for {secondary page} page list token
2015-02-09 14:05:22 +00:00
Rich
29ffd0329c Added ability to perform a profile (Determine which sections of code are using the majority of the CPU time.)
Fixed logic that determines if the debug output should be created in the PDF.
Added ability to track DB actions.
Change cursor to a wait curcor when the print button is pressed.
Added Profile debug
Added a time-out for determining if a RO.FST file is newer.
Added a property (PrintAllAtOnce) to the ItemInfo object so that the code can differentiate between objects that are being used for edit or print.
Added logic to improve print performance.  Specifically initialize a number of item properties when the procedure is loaded for printing, rather than waiting for the properties to be lazy-loaded.
Added Profile debug
Changed NextItem property to use GetNextItem method when printing.
2015-01-19 20:49:15 +00:00
Rich
5e3f6b5e0e Hide Original Page Break check box from print procedure dialog
Changed Harry's MAC domain
2014-08-07 20:10:30 +00:00
9b930ffeda Placekeeper logic
Added Checkbox to generate the Placekeeper
Generate Placekeeper logic
Disable the “include in placekeeper” checkbox on Placekeeper section types
2014-05-09 19:13:15 +00:00
a61dabd52e Process pagenum transitions for BGE
Added unit number config item to user interface for printing pagelist items for BGE
Added Print_UnitNumberForPageList config item
BGE: don’t remove ‘.’ At end of tab when making a section/step tab
Check for pagenum transitions for resolving transition text (the type BGE has)
Added UnitNumber, Level0Big and UseSpecificTransitionModifier flags
2014-04-04 13:13:31 +00:00
Rich
e8453b8648 Reset Selected Slave after processing
Added and Commented-out some debug output
Use GetTranslatedROValue to get the correct RO value when text is restored
Fix logic to attempt to use existing DocVersionInfo rather than creating a new instance
Base lookup on ROFSTID and Selected Slave
2014-03-12 22:01:55 +00:00
622717ba1a Get data into memory for approval generation so that page number transitions resolve
Fixed B2014-025:If not master/slave, load all data into memory for page number transitions. Present dialog if there are errors in page number transitions so that user can resolve.
Added a property to determine if page number transition has incorrect page number caused by length of step’s text/wrapping & pagination
Set property to determine if page number transition has incorrect page number caused by length of step’s text/wrapping & pagination
Add tracking of inconsistent page number transitions; if pdf already open, don’t run 2nd pass for page number transitions (resulting pdf had unresolved page numbers);
2014-03-04 17:36:02 +00:00
dada7102e7 Added a message to indicate the Print All was finished – when doing this in Production or Demo mode. 2014-02-10 20:59:18 +00:00
749b675438 Added check for null PDF file name (happens when there is no procedure number). 2014-01-22 15:11:20 +00:00
cfb0981a22 Page Num Transition
Initial version needed for Page Num Transition
2014-01-22 12:03:00 +00:00
ad0dc4e2ca Logic to support the PDFFilePrefix and PDFFileSuffix settings
Added text boxes for PDFFilePrefix and PDFFileSuffix settings
2014-01-17 22:20:34 +00:00
Rich
067f004170 Fixed Security Logic to work for automatic printing 2013-12-06 20:38:22 +00:00
Rich
b634967817 Added SessionInfo property to dlgApproveProcedure and ApprovalInfo classes.
Added SessionInfo property to DlgPrintProcedure and added checks to print routines to notify user that another user has procedure checked out with a confirmation to continue printing.
Added code to support multiuser and security including initializing security, creating user if user does not exist in database, checking in and out DocVersions, Procedures and Documents and keeping the database notified that user is still active.
Added label to bottom of PROMS main form to indicate who user is and what security they have on open objects.
2013-11-20 23:00:28 +00:00
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