Commit Graph
100 Commits
Author SHA1 Message Date
Rich 0b3ce5147b Fix Logic to properly cleanup data when the processing of a foldout is complete
Removed Debug Output
2015-03-26 18:11:23 +00:00
Rich a367581307 Removed Debug Output 2015-03-26 18:10:48 +00:00
Rich 2d6f5f443e Use new PromsPrinter Method (NewPage) to set the page size properly before outputing the page Break.
Added a New Object (ReaderHelper) which provides the necessary support to allow MSWord documents to use various page sizes.  MSWord has a limit of 22 inches for the largest width or height.
Use new PromsPrinter Method (NewPage) to set the page size properly before outputing the page break.
Use new PromsPrinter Method (NewPage) to set the page size properly before outputing the page break.
Updated vlnParagraph constructors to use parameter MyPromsPrinter since it is used to create page breaks.
2015-03-26 02:21:52 +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
Rich adcf098de0 Shutoff some logic used for Comanche Peak which was causing problems for IP3 2015-03-19 16:09:54 +00:00
Rich a600afd472 Support compressed foldout pages 2015-03-19 13:13:57 +00:00
Rich 4508324826 Limit Partial Step Compression to formats that use it. 2015-03-19 12:01:41 +00:00
Rich 6211f03118 Westinghouse Footer for Purpose and Symptoms set to 42 to align at 6 Lines per inch 2015-03-12 14:48:17 +00:00
Rich 5c49d94a1a Account for the footer length when deciding if a continuous section header will fit on the page or not.
Added large comments to identify important locations in the code.
2015-03-12 01:59:29 +00:00
Rich 95874bd501 Handle rtf token "\bullet" within Grid.
Handle the various formats used for analog alarm points (High# and Low#) so that the ROs will be correctly replaced on the cover page.  The various formats include either a space or a dash or a underscore followed by High, HI, Low or LO followed by a number.  The code will treat all of the formats consistently.
2015-03-11 12:38:18 +00:00
Rich a533c8fc71 Handle the various formats used for analog alarm points (High# and Low#) so that the ROs will be correctly replaced on the cover page. The various formats include either a space or a dash or a underscore followed by High, HI, Low or LO followed by a number. The code will treat all of the formats consistently. 2015-03-11 12:37:12 +00:00
Rich 79adb37f12 Adjusted the horizontal location of the checkbox by one character (6 points) so that the box surrounding the note will not overlap the checkbox. 2015-03-11 12:36:27 +00:00
Rich 7e10163760 Handle exception if external transition to a procedure. 2015-03-10 10:10:56 +00:00
Rich 3ef663d7e3 Add exception if any external transitions to a procedure. 2015-03-10 10:09:53 +00:00
Rich c65d3e8cdf Fixed logic when ParaBreak is null
Fixed logic when PDF is open
2015-03-09 13:13:45 +00:00
Rich 66044a2a71 Fixed logic for partial step compress 2015-03-06 19:36:39 +00:00
Rich 98736263e0 Added the command line parater to specify the PromsFonts to speed-up printing. 2015-03-06 14:16:37 +00:00
Rich f908b2ad02 Added logic to handle compression of partial steps 2015-03-06 12:57:11 +00:00
Rich f97433e12a Changed the name of the temporary file used for MSWord PDFs. Gave it a PDF extensison so that it caan be more easily opened.
Add useful information to the PDF file properties so that the verssion of the code used to create the PDF can be identified.
2015-03-06 11:50:27 +00:00
Rich 7bafcc6fe9 Fix the EditItem button in debug mode so that it tells the user to select an item before pressing the button, consistent with the ItemInfo button. 2015-03-03 10:34:41 +00:00
Rich 5a21d906c1 Fixed logic to determine the height of the continue message. 2015-03-02 13:18:32 +00:00
Rich ce70e4aad1 Pagination now accounts for the size of the section title continue message. 2015-03-02 13:17:52 +00:00
Rich e66f44a8d9 Had to reduce the Page Length to 612 from 636 points (72/inch) so that OP-3 Would paginate properly. 2015-02-27 20:51:59 +00:00
Rich e8ab373008 Word Section Replace ROs Results in an error if there are not any ROs 2015-02-27 15:13:59 +00:00
Rich 0477c09d03 If a blank paragraph is followed by a large table and both will not fit on a page, but the table will fit by itself, move the break directl in front of the table. 2015-02-27 10:51:13 +00:00
Rich 6d94bfb5f4 Added code to resolve issue with printing RNP document
Added code to resolve issue with printing BGE document
2015-02-27 03:56:28 +00:00
Rich 8168d2f708 Added code to handle importing a procedure with different RO folder 2015-02-27 03:55:31 +00:00
Rich de51192fc0 Added code to handle importing a procedure with different RO folder
Added code to sort Administrative Tools
Added code to improve how the controls align when using a lower DPI screen resolution
Added code to refresh progress bar when updating RO's
2015-02-27 03:54:35 +00:00
Rich f73ab7c3a7 Added code to improve how the ROEditor responds when a 2nd instance is opened. 2015-02-27 03:51:53 +00:00
Rich 6732e6c9fc Added suffix to GetParagraphHeight to calculate the height of the Continue Message.
Added ContinueHeight property to calculate tthe height of the Section continue message.
2015-02-26 18:48:29 +00:00
Rich 5d227213c5 Determine the height of the Section Continue message at the top of a page, so that the steps paginate properly. 2015-02-26 18:47:30 +00:00
Rich d761df73cd Added logic to keep section headers with their steps. 2015-02-24 19:45:12 +00:00
Rich 7f923ff0c5 Added logic so that the code works even if the location in the data is not specified. 2015-02-24 15:56:58 +00:00
Rich 52c6e61b6a Use code that finds the ROImage file based upon filename. 2015-02-24 15:43:40 +00:00
Rich d84f9b2e64 If the first step of a section starts at less that three inches from the top of a page (after the section header) and the step is longer than a page, allow the step to break to keep the section header with the step. 2015-02-23 15:47:48 +00:00
Rich f8b9d03669 Changed administrative tools drop down to DevComponents control
Added administrative tools of Identifying Disconnected Items and NonEditable Items
Removed administrative tools CSLA methods since they were moved to AdminToolsExt.
Added new module to handle administrative tools CSLA methods
Added methods for administrative tools of Identifying Disconnected Items and NonEditable Items
2015-02-20 22:31:01 +00:00
Rich 8a2224a95b Added stored procedures for GetDisconnectedItemsCount and GetNonEditableItems
Revised SearchTransitions to prevent recursion error
2015-02-20 22:29:13 +00:00
Rich a2d8712b83 Add location information to the error log for RO Image problems 2015-02-20 17:45:34 +00:00
Rich a54c2eaa09 Changed logic to find ROs or XY Plots. VEPROMS_BGE/OI-34 has the text
<<<--Isolators-->>> which was being identified as an XY Plot and then as an RO.
Add location information to the error log for RO Image problems
Reduce duplicated error log messages for RO Value update
2015-02-20 17:39:13 +00:00
Rich 18827f4bca Added code to handle "other procedure" transition format type of Byron 2015-02-20 02:59:54 +00:00
Rich c8618a23d4 Added step path data to resulting search items
Added code to handle when content audit that has 0 for delete status and a null action date
Added code to handle content audit that does not contain any config information
2015-02-20 02:58:50 +00:00
Rich ea8c38cd28 Revised vesp_SearchTransitions to include step path field 2015-02-20 02:57:16 +00:00
Rich 0e50de5f44 Transition User interface for {Step}{Other Procedure} 2015-02-19 22:15:59 +00:00
Rich 7ff6a6a80e Added code to handle a transition where the item the transition is going to does not have an active section
Added code to handle the condition where no email address has been defined for a user.
2015-02-19 17:43:23 +00:00
Rich a6ed94d8c6 Revised code to only allow Administrator to access Administrative Tools 2015-02-18 18:51:00 +00:00
Rich a8b50ef929 Only account for the Section Number and Title if they are printed
Print the top continue message if the Section Continue is not printed
2015-02-18 18:13:11 +00:00
Rich 14a0b600fd Added method RofstInfo.GetROImageByFilename to find image files by name.
Added method RoImageInforList GetByRODbIDFilename to find image files by name.
Find ROImages if not attached to the current ROFST.  The Export/Import code was not saving ROImage usages properly
2015-02-18 14:43:00 +00:00
Rich 8d46574ec2 Added stored procedure getROImageByRODbID_FileName to find image files by name. 2015-02-18 14:41:38 +00:00
Rich 08bbb82714 Fixes Index out of range when a Referenced Object is missing from the RO.FST. This will output an error message since it reflects an error in the plant data. 2015-02-18 12:04:26 +00:00
Rich c68412fd81 Added code to prevent adding user with duplicate UserID's 2015-02-18 03:24:36 +00:00
Rich cb52bad3e9 Improved conversion ot Referenced Objects and Transitions to text
Added code to implement deleting pdfs
Fixed problems with searching by Textm Annotations, Referenced Objects and Transitions
2015-02-18 02:36:42 +00:00
Rich f16fcf1470 Added code to add figures and roimages to export and import processes
Revised user interface and added improvements to overall process
Added code to change Batch Refresh to Administrative Tools
2015-02-18 02:35:11 +00:00
Rich 24e3a9d7f5 Added stored procedure to delete pdfs 2015-02-18 02:32:39 +00:00
Rich 86bdecd367 A number of pagination improvements. 2015-02-16 21:55:54 +00:00
Rich 5a5502d8fc Added somecode so that profile errors will be recordedd to the Error Log
Added a reference to Log4Net
Fixed Profile Logic when PDF cannot be created because it is already open.
2015-02-16 20:51:34 +00:00
Rich 3e413b0f17 Changed SubSection.Edit Section Config property to correctly be defaulted to "No"
Base MyConfig on the type of item (Procedure, Section or Step)
Keep the code from crashing iff the user selects a result in the search window that points to non-editable text
2015-02-16 20:22:57 +00:00
Rich 75f8bd9584 Mulitple ROs with No Units trying to eliminate duplicate Units 2015-02-16 19:28:11 +00:00
Rich fc95275902 Hyphen immediately following an RTF token should add a space to terminate the RTF Token
Added Error Location to Error Log
2015-02-16 18:42:05 +00:00
Rich 5cd3f11451 Added code to improve the results text of batch processes 2015-02-12 03:25:06 +00:00
Rich f24b475f7c Added code to support Updating RO Values for multiple working drafts as a batch process
Added code to support feedback on updating of RO values during the batch process
2015-02-12 03:24:02 +00:00
Rich bcfd5578c1 Added how SubSection_Edit property value is determined
Added code to delete ro usages and transitions that are converted to text.  Added code to handle "dashes" and "unicode dashes"
Added code to support converting to text transitions to external destinations with internal style transition
Added wait cursor for log running processes so application shows it is busy and added code to to fix searches that should return results but are not returning results when doiing transitions searches.
Added code to make Refresh Referenced Objects and Refresh Transitions button under Review tab of StepTabRibbon not visible
2015-02-11 20:32:43 +00:00
Rich 481589c028 Added code to support converting to text transitions to external destinations with internal style transition
Added wait cursor for log running processes so application shows it is busy
Added stubs for adding Update RO Values to batch process.  Not functional yet
2015-02-11 20:30:08 +00:00
Rich 313cb28327 Added Progress Bar output 2015-02-10 15:51:38 +00:00
Rich 2cfc430128 Removed debug output
Added Progress Bar output
Improved RO Value Update Performance
Fix Ro Update Logic
2015-02-10 15:51:04 +00:00
Rich 7d2273d0d1 Added Progress Bar output 2015-02-10 15:50:12 +00:00
Rich ea42dd8795 Command Line setting to create a inch-based vertical ruler rather than a line-based vertical ruler. 2015-02-09 16:47:33 +00:00
Rich ad300e777a Convert Hard hyphens to soft hyphens so that the PDF can be searched for hyphens.
Use the ISplitCharacter Interface to treat soft hyphens as non-breaking hyphens (only word wrap on spaces)
2015-02-09 16:07:12 +00:00
Rich 93043d7fd4 Convert Hard hyphens to soft hyphens so that the PDF can be searched for hyphens. 2015-02-09 16:06:00 +00:00
Rich 4e1eff4c4f Added code to support conversion to text of invalid referenced objects
Added code to support the searching for transitions
Added code to support refreshing of referenced objects and transitions
Added interface code to support refreshing of referenced objects and transitions
Added code to store the xml representation of the approved version of the procedure in the database for future support of temp mods, etc.
2015-02-05 03:56:30 +00:00
Rich 34bfdba7b2 Added code to store the xml representation of the approved version of the procedure in the database for future support of temp mods, etc. 2015-02-05 03:53:29 +00:00
Rich e3b5351b30 Added code to support conversion to text of invalid referenced objects and invalid transitions
Added command line switch NOUPDATERO to prevent updating referenced objects
Added code to support conversion to text of invalid transitions
2015-02-05 03:52:57 +00:00
Rich af0e36b6c6 Added code to support storage of email addresses and cell phone numbers of users which are used as part of the batch refresh process. 2015-02-05 03:51:18 +00:00
Rich d6544c0025 New form to handle Batch Refresh of Referenced Objects and Transitions 2015-02-05 03:50:47 +00:00
Rich 0303f4780d Added Batch Refresh interface code to handle Batch Refresh of Referenced Objects and Transitions 2015-02-05 03:48:55 +00:00
Rich 4ea2dbbe1d Added code to store the xml representation of the approved version of the procedure in the database for future support of temp mods, etc.
Added code to support handling of Floating Foldouts, implement inclusion of audit reocords and converting invalid referenced objects and invalid transitions to text during import/export operations
Added code to support storage of email addresses and cell phone numbers of users which are used as part of the batch refresh process.
2015-02-05 03:48:21 +00:00
Rich 3f945b04c5 Added code to replace the repetitive message box popups when an orphaned records are identified during the creation of a rofst with a single message box at the end of creating a rofst directing the user to a file that contains all of the orphaned records 2015-02-05 03:47:04 +00:00
Rich ef9e32b9d6 Added stored procedures, functions and alter table commands to support converting invalid referenced objects and invalid transitions to text using the batch refresh dialog, import of procedures, copy/pasting of steps and deleting/restoring of steps. 2015-02-05 03:45:48 +00:00
Rich e500ec710f If a subsections number included the parent section’s number, don’t prepend the parents tab to the subsection 2015-02-04 21:58:31 +00:00
Rich 26ba8bf51b Don't refresh ROs if there is no RO Asssociation for this Working Draft. 2015-02-03 17:41:16 +00:00
Rich 1e7ee2d784 Added error handling to GetROFst so that the code will not crash, but messages will be added to the error log.
Added specific messages to the error log.
2015-02-03 17:40:45 +00:00
Rich 9c62cc93eb Changed report format to increase font size, switch to landscape, add page numbers, add colum headings and add date generated. 2015-01-25 13:18:02 +00:00
Rich 85771b0dda Fix DoROReplaceWords So that parts of words are not affected 2015-01-24 23:13:55 +00:00
Rich 42ba094c03 Fix Logic to replace a Hard-Hyphen with a Hyphen 2015-01-24 20:37:11 +00:00
Rich 59bc89e4f2 Replace Hard Hyphens with normal hyphen so the PDF search for hyphens will work properly
Support using regular hyphens as hard-hyphens
2015-01-24 19:09:45 +00:00
Rich 638fea272e Replace Hard Hyphens with normal hyphen so the PDF search for hyphens will work properly
Support using regular hyphens as hard-hyphens
2015-01-24 19:09:08 +00:00
Rich 24fac1b04c Changed a variable to get a fresh SectionInfo rather than to use the value in memory. For some reason the value in memory was giving incorect results.
Added bookmarks for Word Subsections.
2015-01-24 17:42:51 +00:00
Rich fe2c4a5e14 Added methods to support transition report functionality 2015-01-23 00:46:08 +00:00
Rich ad060b5efd Transition Report processing module 2015-01-22 22:29:58 +00:00
Rich c1fcb88627 Add right click menu item for a procedure and a folder with a working draft to process transition report. 2015-01-22 22:29:23 +00:00
Rich 688c286296 Added methods to support transition report functionality 2015-01-22 22:28:14 +00:00
Rich 9fd18c177d dialog box to provide status of transition report preparation 2015-01-22 22:27:25 +00:00
Rich a3ca919a57 Add right click menu item for a procedure and a folder with a working draft to process transition report. changed how enter button was handled on the item id and content id search textbox on bottom debug bar to eliminate beep 2015-01-22 22:25:50 +00:00
Rich 746ac8f35d Added stored procedures and function to support transition report functionality 2015-01-22 22:25:13 +00:00
Rich ca0d2d3843 Fixes logic for copy step
Fixes logic for 7 LPI to account for the End Message
2015-01-22 01:36:29 +00:00
Rich d991c5c9e3 Added Profile debug for Debug Output (details printed at each paragraph) 2015-01-20 19:22:37 +00:00
Rich e66cc71db9 Removed debug code
Fixed format logic
Removed unnecessary logic
2015-01-20 19:21:52 +00:00
Rich 8df668c5e2 Added Profile debug
Changed NextItem property to use GetNextItem method when printing
Changed RegisterFont to improve print performance
2015-01-19 20:58:05 +00:00
Rich 389c6575d0 Changed NextItem property to use GetNextItem method when printing
Added Profile debug
Added Command-line parameters (/X= and /Y=) to specify the offset used for Compare.
Changed NextItem property to use GetNextItem method when printing.
Remove PrintTimer which has been replaced with ProfileTimer
Added Profile debug
Added code to handle special characters when printing,
Added Profile debug
Changed NextItem property to use GetNextItem method when printing
2015-01-19 20:56:35 +00:00
Rich d501a39a7b Added a Command Line parameter (/NoChgID) which will allow the user to skip entering a ChgID.
Added Profile debug
Improved Performance for ReplaceWords
A wait cursor was set when a right-mouse click occurs on a treeview.  This gives instant feedback that something is happening.
2015-01-19 20:54:28 +00:00
Rich 6a973a288b Added Objects DebugProfile and DebugDBTrack for command-line parameters /Profile and /DBTrack
Added code to retrieve command-line parameters.
Added property CalledFromCSLA to retrieve the CSLA object and method used by DBTracking.
Added ProfileTimer object to track CPU using by methods
2015-01-19 20:52:32 +00:00