146 Commits

Author SHA1 Message Date
7b4b6323bf Added better logic to catch null references when PROMS tries to convert an older Word section to use the Docx file format. The real issue was bad data where the tree view looks like it’s a step editor section, but the PROMS editor depicts it as a Word section (with the arrow icon instead of a plus icon). When printed or approved, PROMS tries to process it as Word section but some information in that database record is null. PROMS will now handle these pieces of information that is null and record the issue in the error log and not try to convert it to a Docx, allowing to continue printing or approving. 2023-11-03 09:55:48 -04:00
6d5d87f04d B2023-093 added a Try Catch to the Convert method per suggestion from review 2023-09-13 16:27:13 -04:00
ef3efe2380 B2023-093 Convert PROMS Word sections to the DOCX format if needed before Editing or Printing 2023-09-13 14:27:38 -04:00
eb48009f5c B2023-022, B2023-023 PROMS was prematurely deleting a temporary pdf file. The file will be deleted once the entire procedure is finished printing 2023-03-08 19:07:07 +00:00
e464522163 B2023-006 Get RO values based on the ACCPageID with the child extension instead of the base (default) ACCPageID 2023-01-25 21:23:33 +00:00
928fe33d7f B2022-141 Sometimes, the RoPrintCache dictionary was null. Added a NULL check and initialized the dictionary if needed. 2022-12-02 14:55:32 +00:00
Jake
ac8e8432b7 B2022-098: ROs not being resolved in Word Sections 2022-08-16 15:02:30 +00:00
Jake
f8269a7ac6 B2022-088: Find Doc Ro button not working in Word Sections
B2022-089: Updating RO Crashes
2022-08-08 10:04:21 +00:00
Jake
6dff9463ad B2022-083: Support Conditional RO Values (v2.1) [Part-2] 2022-07-28 10:03:07 +00:00
Jake
d327ab08af B2022-083: Support Conditional RO Values 2022-07-26 20:01:25 +00:00
4f987dc7fc B2022-053 Fix to finding and resolving all of the RO tokens in Word sections. Word is having a problem finding RO tokens when text in the same Word Table row contains a “<” used as the less than symbol. 2022-05-13 12:40:41 +00:00
9098c58ea8 B2022-023 added logic to process <U-Other > tokens that have a space after “Other” 2022-02-09 13:53:43 +00:00
6abc29457f B2021-145: For applicability, the tree view & pdf file name are not getting resolved when using any of the ‘OTHER’ tokens 2021-12-08 14:38:13 +00:00
Rich
9f8d070e34 Limit Right Indent to Ginna 2020-10-06 20:38:30 +00:00
Rich
eb2fe58740 Reset the Right Indent to zero. 2020-09-02 13:13:48 +00:00
Rich
0bc786f46f B2019-161 Timing of Close Word App 2019-10-29 13:16:28 +00:00
Rich
836f143d87 B2019-144 Set the document text color to Red (overlay) or Black (normal) 2019-10-09 15:21:18 +00:00
24015e387f C2019-033 added a method to get the entire list of usages for a library document.
C2019-033 made the messaging clearer when saving a word attachment that is a library document
2019-09-17 19:34:14 +00:00
Rich
9dfcfba521 B2019-138 Word section fails during RO Replacement
Calvert Cliffs/Working Draft Procedures/OI Procedures - Unit 1 - OI-43C.SATTACHMENT 1
2019-09-16 13:58:46 +00:00
Rich
cab40604e0 B2019-123 When Word replaces ROs it was getting to the point where it would hang indefinitely. This only happened for Word -2019. Also, it appears that the data had to have an extra partial RO token. 2019-08-28 19:16:06 +00:00
Rich
ee241103c6 C2018-035 Added error Handling to provide more useful information when a plot fails 2019-08-22 15:26:51 +00:00
ef3d04b4aa B2019-069 – Consider the monitor’s scaling factor when generating an X/Y Plot, B2019-090 – Reset the Word sections printed text color to black after printing with overlay (compare) 2019-06-26 16:57:33 +00:00
37fb880794 C2018-003 corrected use of MyActiveSection vs ActiveSection and added NULL checks 2018-10-08 15:30:05 +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
7a0edda568 C2018-017 Put description of all know symbol characters in the baseline meta file
C2018-018 Put the contents of the Word sections in the baseline meta file
2018-08-01 15:05:22 +00:00
f8256c3ce5 C2018-019 don’t allow for two “.pdf” extensions on a temporary file name. 2018-06-13 18:41:40 +00:00
Rich
4d20d8219b B2018-088 - Corrected logic to handle partially processed ROs so that the code will not crash. Also changed the Error Log message to be more useful.
B2018-089 - Changed the Error Log message to be more useful when Word refuses to adjust Document margins during print.
2018-06-11 14:29:57 +00:00
Rich
71367cf81f B2018-071 PROMs was crashing during automated testing or print all procedures. Error Handling was added to keep the code from crashing.
B2018-070 The MS Word Panel was getting focus when the step editor was active if the PROMS window was resized or if a step with an annotation received focus.  PROMS code was changed so that Word recieves focus when the Word Panel is active.
2018-05-09 13:36:04 +00:00
Rich
a2e0b9aee3 B2018-071 Don't crash when trying to convert an invalid word document to PDF 2018-05-07 16:05:07 +00:00
Rich
92eb33c044 B2017-264 Limit Right Margin and Bottom Margin so that they cannot be negative.This was causing a problem when a Landscape section was added. 2017-11-29 15:35:48 +00:00
Rich
c02b088509 B2017-262 - Use the Word document date-time-stamp for the Document SQL record 2017-11-21 18:17:27 +00:00
Rich
7469b70b06 B2017-260 - Add a prefix to the temporary MSWord section file names including the SQL server name and the database name. 2017-11-20 19:53:54 +00:00
Rich
c1cacb93a4 B2017-255 Get the correct file length before saving the contents to the database 2017-11-08 18:51:54 +00:00
Rich
543a64a4f2 B2017-249 Handle AutoSave feature of MSWord. Handle temporary documents which were not saved when PROMS crashed or was terminated without saving. 2017-11-06 15:25:09 +00:00
Rich
48df3eeee8 Added logic to support ConvertUnderscoreToUnderline flag 2017-09-21 17:37:18 +00:00
79c7332829 B2017-177 – don’t print text ROs in red on Word attachment pages 2017-08-23 14:36:46 +00:00
Rich
26b2576eda B2017-144 If MSWord sections have text in multiple colors or the override color is not red change the text to the override color. 2017-07-17 10:32:13 +00:00
b6713392c6 B2017-140, B2017-142 Right margin was not set properly during the printing of word sections 2017-07-12 14:54:21 +00:00
Rich
537ab3c21c B2017-138 Add error handling for setting Bottom Margin
Removed debug output
2017-07-10 15:40:39 +00:00
Rich
4d5dc34210 When a deleted RO is found in an MSWord section <SP-C.123> for example, the RO had been replaced with the text RO Not Found. If there were mutiple ROs the specific one with the issue could not be found. Now the token will be replaced with RO (SP-C.123) Not Found. This will make it easier to fix problems when they occur. 2017-03-29 18:05:12 +00:00
Rich
bdabdd1c1f Fix XY Plot offset on page if the first line of the page is centered 2017-02-02 18:25:13 +00:00
Rich
e6c65b5139 Fixed logic to properly position XY Plots and Images 2017-01-25 18:41:56 +00:00
Rich
47ddfe2857 Adjustments for Margins, Page Lengths, Page Width and a few Page List Items
Fixed logic for Landscape Margins
2016-10-24 16:27:32 +00:00
537ec8c2fe B2016-204 – needed to pass in the document file extension when we create a new word document in converting a library document to a regular word section. 2016-09-14 17:30:16 +00:00
e7a0a96dae Convert ^ to a delta when used in X/Y Plots 2016-06-03 16:07:02 +00:00
008a1e67eb If the open library document is not referenced, then save changes but don’t generate a PDF. 2016-05-26 15:24:36 +00:00
8cd75c0c14 logic to save word sections with resolved RO values for exporting the approved procedure
logic to create an export file with unlinked RO and Transition
Commented out debug statements to help evaluate memory usage
2016-02-18 15:29:25 +00:00
Rich
98afa51783 Added File extension parameter to Make Document
Handle Error Handling for External Transitions
Insert Enhanced Document Step
2015-10-27 13:29:40 +00:00
Rich
5d2b0bc1b0 Added ( and Page Size) to the section property dialog for the checkbox to use MS Word Margins.
Changed logic for embedding ROs (Tables, Plots and Images) within a MSWord section.  If the Word Section is set to use MSWord Margins (and Page Size) the locations of the embeded ROs will be determined from the physical location on the page rather than the offset from the margins.
2015-03-26 02:20:20 +00:00
e24574e1b0 Fixed issue with RO table in a Word section. If the RO token was spaced over, only the first row of the table would be spaced over. 2015-03-18 12:21:57 +00:00