Commit Graph
100 Commits
Author SHA1 Message Date
Rich 650aa8aa17 Logic changed to support very long RNO with unrelated long AER. If the RNO will fit on a page by itself, and it will not fit if it starts where it is, it breaks the pagebefore the AER step. 2013-11-15 14:10:24 +00:00
Rich 925f18d7fb Handle transitions to Dummy Steps (Created when errors are found during migration.)
Added ErrorLog output for invalid transitions when printing.
Invalid transitions include transitions from generic steps (Applicable to All) with a destination step which is not applicable to all.  Invalid transitions also include transitions from steps with one applicability to destination step with different applicability.
Valid transitions include generic to generic or between steps with the same applicabilty, or from a specific applicability to a generic step.
2013-11-15 14:09:45 +00:00
Rich 99792ab13e Added code to allow storing approved pdf's into database for multiunit sites. 2013-11-14 21:28:25 +00:00
Rich 3f87a0e39d Handle long complicated RNO in pagination. 2013-11-14 16:20:54 +00:00
Rich d056362081 Added logic to support reading a 64 bit registry from 32 bit code.
Fixed logic to check to see if MSWord 2007 has the addin installed for PDF Export
Added Unit RO support for MSWord Sections for U-Name, U-ID, U-Other Text, U-Other Number, U-Other Name, and U-OtherID
Fixed code to handle Library Documents being remove from a list.
Removed Debug Output
2013-11-14 16:20:08 +00:00
Rich fde6d2f4c2 Removed Maximize button and Minimize button from form,
Corrected how transition text was being resolved for multi unit printing.
2013-11-13 22:21:09 +00:00
Rich 736608b71d Fixed typo 2013-11-12 20:14:12 +00:00
Rich d9a10aca59 Handle Unit RO <UNIT-Number> in MS Word Documents
Comment-out a change that was made to raise the location of the "END" message.
Fixed logic to account for borders on figures.
2013-11-12 19:53:15 +00:00
Rich 30facbbec0 Added code to warn user that Unit Information RO values are not editable in the RO Editor
Fixed logic for undo to verifiy what is being undone will not cause a crash of application
2013-11-11 18:49:12 +00:00
Rich 869861a6dc Added code to support Unit Information RO values to be displayed in RO tab of step properties and adding selected unit information RO to procedure steps. 2013-11-11 18:48:39 +00:00
Rich 8cbe003054 Added code to fix error when restoring a deleted procedure from either a previous or next procedure. 2013-11-11 18:48:03 +00:00
Rich 21d018181d Added code to support Unit Information RO values to be displayed in RO tab of step properties and adding selected unit information RO to procedure steps. 2013-11-11 18:47:31 +00:00
Rich 60dbbb6269 Set the plot background to white if not doing compare and transparent if doing a compare.
Add logic to exclude high level steps from those items included in the Replace Words list for substeps.
Removed event handlers for DSOFramer.  It appears that these no longer work for MSWord 2013.
New Watermark Logic
2013-11-07 21:45:56 +00:00
Rich f9ba96fdd8 Use Selected Slave to create a specific version of the PDFs for MSWord sections.
Replace <U-Text> with DocVersionConfig.Unit_Text
Added logic to handle setting UseISO19005_1 when creating a PDF from an MSWord Section.
Set the plot background to white if not doing compare and transparent if doing a compare.
Use Selected Slave (Unit) to create a specific version of the PDFs for MSWord sections.
2013-11-07 21:43:47 +00:00
Rich b19ce7c128 Changed generic ExportAsFixedFormat back to be generic and use the default value of UseISO19005_1.
Created a new version of ExportAsFixedFormat that takes a parameter DebugStatus to set UseISO19005_1.
Added logic to handle setting UseISO19005_1 when creating a PDF from an MSWord Section.
2013-11-07 21:42:56 +00:00
Rich 5271561b84 Erase the existing background (including any lines) before drawing a box. This allows boxes to be placed over curves and lines.
Change the order of lines being drawn to support boxes being able to be placed on top of curves and lines.
2013-10-24 21:47:01 +00:00
Rich 24dfe73886 Added handler for Byron / Braidwood PageList tokens {TITLE&UNIT} and {SPLITEOPNUM}
Fixed the logic that leaves gaps in the Grid for Text Blocks and Boxes.  If the Text Blocks or the Boxes are outside the range of the plot.
2013-10-23 18:18:09 +00:00
Rich 1fceb38e61 Improve location of AER tables & Foldout note spacing 2013-10-17 16:43:54 +00:00
Rich 741196f035 Tabs using ‘.’ Versus ‘)’ in reference sections.
Format flag for Foldout Note spacing
2013-10-17 16:43:17 +00:00
Rich 3029c35edf Added Error Log output when generating PDF from MSWord 2007.
Changed logic to do an integer rather than a float comparison to determine when the version is MSWord 2007 (12.0).
2013-10-17 16:42:08 +00:00
Rich 883392a51a Search was failing when searching for a space, if the data contained a hardspace.
Added Version into ErrorLog for the Session Begin
Fix transition text in Background Documents to say "5" rather than "EOP STEP 5:"
2013-10-14 15:46:25 +00:00
Rich 25b5e4ad2a Turn-off PDFA1B Compatibility. 2013-10-07 13:15:40 +00:00
Rich 69a8470a47 Set PDF fonts to be embedded. 2013-10-07 13:13:11 +00:00
Rich 48960152ac Set PDF fonts to be embedded. 2013-10-04 20:30:14 +00:00
Rich 4abeb80fb4 When an MSWord section is edited, the PDF created should embed all fonts that are used.
When formats are updated, the Date/Time stamp for the Format record should be set to the Date/Time stamp of the format file.
2013-10-04 20:29:22 +00:00
Rich 135c3f76a0 Utilized NoSpaceMultipleRNOs property when printing Comanche Peak data 2013-09-30 18:30:01 +00:00
Rich 0e272b7513 Added definition of NoSpaceMultipleRNOs property 2013-09-30 18:29:24 +00:00
Rich 70a6e7f571 Added xsl code to process NoSpaceMultipleRNOs 2013-09-30 18:28:44 +00:00
Rich 982c0b54de Use Hex format for the RO DB ID for RO Searches. 2013-09-30 18:26:58 +00:00
Rich 49ef77939a Use Hex format for the RO DB ID for RO Searches. 2013-09-25 21:23:13 +00:00
Rich 18ca100f95 Set annotation id to "Migration" for Migration Errors. 2013-09-25 21:22:40 +00:00
Rich 3363a94037 When a hardspace was added before or after a "Replace Word" (IF, THEN, WHEN, AND, OR, NOT) in a table, the word was still underlined. The issue was that there was some RTF formatting which occured between the hardspace and the "Replace Word". Logic was added to check for Hardspaces preceding or following a "Replace Word". 2013-09-25 15:57:24 +00:00
Rich 928c390c42 Change code that documents when a SQL script is run to record it as info rather than error.
When a PDF is created from MSWord, PROMS checks to see if an addin is loaded for MSWord 2007.  The registry key has been changed to be generically applicable to multiple operating systems.  Specifically this will now work for MSWord 2007 on Windows 7.
2013-09-25 15:56:53 +00:00
Rich e4698b5bc3 Removed code to test the Error Handler. 2013-09-18 18:04:07 +00:00
Rich 3e1d22674c Added logic so that MSWord 2010 and beyond uses the internal export to PDF function.
Added logic to handle errors when a document is closed.  The code will attempt to do a close 10 times.  If it fails ten times, it will document the exception and continue.
If an exception occurs when an MSWord section is being saved, a message will be displayed that will document the error.
2013-09-18 16:42:30 +00:00
Rich 54db0e1e81 Added code to make Summary of Changes report the same as the 16-bit Summary of Changes Report 2013-09-12 19:24:59 +00:00
Rich d413a5a7ee Initialize bookmarks after initializing the Database connection. 2013-09-10 14:36:55 +00:00
Rich 9c8cfe9920 Save the UserID when a Grid is changed.
Disable Drag and Drop for Steps, since this code was not working properly.
Changed logic to handle folders with identical names.  The user is informed, and the code no longer crashes.
2013-09-09 15:54:50 +00:00
Rich eb92e89186 Added event code to the tab for a procedure, so that the tab is updated if the number or title of a procedure is changed. 2013-09-09 15:53:07 +00:00
Rich 0945b75d11 Added error handling when a folder is moved to a location which would cause there to be two sub-folders with the same name. 2013-09-09 15:52:35 +00:00
Rich 03e42a9288 Fixed applicability logic so that a section applicability can be set to all. 2013-08-30 20:35:36 +00:00
Rich d1e86aeb60 Added code to support changing applicability on procedure sections 2013-08-30 02:31:26 +00:00
Rich 779670e70d Added logic to handle errors if the Range location cannot be found from the To location. This corrects range type transitions (AND type) which extend to the last sibling of the To location. 2013-08-27 17:20:31 +00:00
Rich 891615bbc1 Added Logic to handle and report Transition Conversion errors.
Corrected logic to translate TranType 2 transitions when Range location is less than the To location.
Corrected logic for translating dates.
2013-08-27 17:14:24 +00:00
Rich 8602e12ea6 Modified code to assure conditional RO values are properly displayed and printed 2013-08-12 21:45:47 +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 6c56658451 If the RO Image file has an extension of "PCX" use an extension of "TIF" instead.
PCX is no longer supported and the 32-Bit RO Conversion code converts PCX files to TIF.
If a Text entry is placed above the grid, ignore it for the Grid lines and adjust the Top margin to allow the Plot title to print properly.
2013-07-31 14:51:07 +00:00
Rich f459efa513 Enhanced Background - Simplified handling of Enhanced Background Document. {LNK Step Num} is converted to the current step number. {LNK C/N Num} is converted to the Ordinal of the current Caution or Note. This approach will work for Background Documents, but will not work for Deviation Documents since the internal Links for Background match one for one with the Background structure. This is not the case with Deviation Documents since they have to account for deleted and added steps. 2013-07-26 16:15:34 +00:00
Rich 01a3907a2c Added "Applicability" heading to Sync output
Bug Fix - Added logic to check if there is a non-null SelectedEditItem, before using the property of the SelectedEditItem.
DSO Framer Save - Close DSO Framer window when PROMS closes.
2013-07-26 16:15:03 +00:00
Rich 98d8a174fb Changed how DoBeforeTransFlagSupport located replace words string in step text from first location to last location
Added and used new method IncludesParentToHLS to PDFReport to correct how step tab data is displayed in PDF report
2013-07-25 03:38:16 +00:00
Rich 2ef2f898b1 Added code to apply selected applicability when expanding steps while steps are being setup in SetupEditItem method
Added additonal condition to check for null value for section steps when no steps exist due to applicability settings
2013-07-23 04:06:09 +00:00
Rich 681d94d304 Modified vesp_ListItemAndChildrenByUnit to fix content parts count when no content parts exist due to applicability settings 2013-07-23 04:05:10 +00:00
Rich 73c32910d4 Added code to prevent multiunit pdf location label and combobox from showing up under settings tab of print dialog box when printing a single unit site from the create pdf button of step tab ribbon 2013-07-19 03:11:09 +00:00
Rich 823e6c04f2 Added code to support disabling create pdf button when multiunit until user selects a unit
Made btnPdfCreate public
2013-07-18 19:17:35 +00:00
Rich db93956df7 Added code to support enabling/diabling create pdf button until user selects a unit 2013-07-18 19:16:33 +00:00
Rich 60fc6bbd18 Changed code to correctly handle the location of check-offs and sign-offs. 2013-07-16 18:12:37 +00:00
Rich 8ccdecf244 Changed Highlighting logic for range transition to only include steps or sections 2013-07-08 19:21:39 +00:00
Rich aace632c9b Added logic to protect against failures when an invalid transition text is removed.
Added logic to protect against failures when an invalid transition text is selected.
2013-07-03 15:58:12 +00:00
Rich 2067a6f212 Added IsTransition, AdjustStepTransitionText and BoldTransitionExceptHLS properties to PlantFormat class for VCSummer data
Added code to utilize BoldTransitionExceptHLS property for VCSummer data
Added code to reset MyGaps when changing sections for drawing centerline for VCSummer data
Added code to handle Transition Caution and Transiton Note when printing PDF for VCSummer data
Added code to handle proper incrementing for lower case roman numeral page numbering for VCSummer data
Added code to handle hard new lines in Procedure title for VCSummer data
2013-07-03 03:40:09 +00:00
Rich 2160e20c16 Added SetHeader method to ItemInfo class for VCSummer data
Added code to handle Tab formatting of Caution and Note steps for VCSummer data
Added code to support hard new lines in Procedure title for VCSummer data
Added code to properly display transition for non Procedure step section to Procedure step for VCSummer data
2013-07-03 03:38:01 +00:00
Rich dedb3ac1ff Added property IsTransition to Tab structure for VCSummer data
Added properties AdjustStepTransitionText and BoldTransitionExceptHLS to Trans structure for VCSummer data
Added and modified formatting data for VCSummer data
Added XSL processing for IsTransition, AdjustStepTransitionText and BoldTransitionExceptHLS properties for VCSummer data
2013-07-03 03:37:10 +00:00
Rich 5d7d23f292 Added code to use ShowSectionTitles property 2013-07-02 15:33:57 +00:00
Rich 54bae90bfb Added new property to DocStyle named ShowSectionTitles 2013-07-02 15:33:03 +00:00
Rich 4080ac83a5 Added new property to DocStyle named ShowSectionTitles
Format changes including Purpose/Symptom/Entry Conditions PageStyle and DocStyle
Added xsl to match ShowSectionTitles
2013-07-02 15:32:11 +00:00
Rich 7bc0e8846e Added Property yVeryBottom
Changed the format of the Verical Ruler in the Debug PDF Layer to start at the top margin and extend to the bottom margin.
Partial fix of the logic to display an XY Plot.
2013-07-01 17:41:04 +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 baae8c057f Add additional condition when determing expansion of steps to verify parent item is a step 2013-06-25 21:23:55 +00:00
Rich 7dc3c88231 Add Transition format for VCSummer based on conversation with client which allows for transition to procedure steps section from another section in the format of "Step {n} of this procedure". 2013-06-21 20:28:34 +00:00
Rich 3c479b08ba Added button btnAnnoTypeApply to annotations section of folder properties.
Added button btnRevisionStageApply to revision stage section of folder properties.
2013-06-21 03:21:42 +00:00
Rich 8a14d2a043 A code when drawing boxes involving 2 notes or 2 cautions such that VCSummer data and Sharon Harris data created PDFs correctly 2013-06-17 05:39:46 +00:00
Rich ae2922e976 Added call to AddPlantSpecificOverrideInheritance in LoadFormatFile method
Added formatting properties to support VCSummer data
2013-06-17 05:39:12 +00:00
Rich dc06b22811 Added method AddPlantSpecificOverrideInheritance to support VCSummer data 2013-06-17 05:38:17 +00:00
Rich 4847cf0f4b Added code to support automatic updating of formats at start-up via command line parameter 2013-06-14 22:36:34 +00:00
Rich 9c98f8bb48 Changed how XYPlot data is handled for processing VCSummer data 2013-06-11 18:48:58 +00:00
Rich bf9a9bcc9e Added IsLandscape property to SvgPageHelper class
Added code to process landscape pagelist for processing VCSummer data
2013-06-11 18:48:26 +00:00
Rich 7549f62ba9 Added gap in centerline for grid for processing VCSummer data
Changed how page length was determined when deciding how to paginate a procedure for processing VCSummer data
Utilized FixedMessage property for processing VCSummer data
Utilized DocStyle.LandscapePageList property for processing VCSummer data
Added gap in centerline for boxes for processing VCSummer data
Changed ToPdf method to pass yTopMargin and yBottomMargin by reference
		Chnaged calls to ToPdf method to pass yTopMargin and yBottomMargin by reference
Changed how vlnParagraph was processed with regards to Notes and Caution boxes to support nuances in VCSummer data
Added code to support macro substitutions in continue messages and end of procedure messages for processing VCSummer data
Added drawing centerline and handling gaps in centerline for processing VCSummer data
Added RomanNumbering of pages for processing VCSummer data
Added classes Gap and Gaps for processing VCSummer data
Utilized MacroTabAdjust property for processing VCSummer data
Changed how vlnText width was calculated for processing VCSummer data
2013-06-11 18:47:47 +00:00
Rich 8f962bc778 Added LandscapePageList property for processing VCSummer data
Added CenterLineX, CenterLineYTop and CenterLineYBottom properties for processing VCSummer data
Added FixedMessage property to support end message with CRLF characters
Added RelXLocation, RNOWidthSameAsHighParent, SingleColumnRNOIndent, RNOExcludeMacros and MacroTabAdjust properties for processing VCSummer data
2013-06-11 18:44:03 +00:00
Rich de21ab4c8f Set DlgPrintProcedure.SelectedSlave property to -1 to support RunAutomatic method when processing single unit data
Added code to set orientation to landscape when width > length of document
Utilized new FormatStepData.TabData property RNOExcludeMacros in SetTabText method to support VCSummer format
Added new method ReplaceStepToken and utilized method for processing VCSummer data
Changed RomanPart and RomanNumbering properties to static
Added new property SectionConfigCheckOffIndex for processing VCSummer data
Added new property stpCheckOff for processing VCSummer data
Modified code in SectionDefaultEnabledCheckOff method for processing VCSummer data
Added new property SectionDefaultEnabled for processing VCSummer data
Added new property IsLowestLevelStep for processing VCSummer data
Made Text property of MetaTag class public for processing VCSummer data
2013-06-11 18:43:03 +00:00
Rich 924e5c024e Added support for VCSDEV and SUM format files for VCSummer 2013-06-11 18:41:32 +00:00
Rich f03615dd7d Added IsLandscape property to WordDocument class
Utilized IsLandscape property to set WordDocument orientation
2013-06-11 18:40:11 +00:00
Rich 4885c21734 Used landscape parameter in call to SaveWordDoc in MigrateLibDoc method
Added new table function vefn_GetVersionFormatItems
Used comparison of DocStyle PageWidth to PageLength to determine value for landscape parameter in call to SaveSectionDocument
Added ability to disable checkoffs for a section based on 16-bit data
2013-06-11 18:39:39 +00:00
Rich d099c1a881 Added boolean parameter to SaveSectionDocument and SaveWordDoc methods to support landscape word documents 2013-06-11 18:38:13 +00:00
Rich ebccc32e4e Fixed logic to find ROs in procedure text. 2013-05-23 20:40:09 +00:00
Rich 2a54e9c632 If there is no compare PDF file, treat compare as if it were being done against 32-Bit. This keeps the output the same as output without compare. When compare is being done with 16-Bit output, special word-wrap logic sometimes removes the last character of a paragraph so that the 16-Bit output more closely matches the 32-Bit output/ 2013-05-21 15:37:50 +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 60ed4a9e31 When rev date in proc config file is not a date, use change bar date
Changed casting iteminfo to procedure info to just using procedureinfo object to get pdfnumber for printing pdf
2013-05-21 14:18:38 +00:00
Rich 7f1cfd3b88 Validate iteminfo parts have counts > 0 prior to accessing elements 2013-05-21 14:15:41 +00:00
Rich 53123154fc When restoring content or item changes in change manager, make sure update both ro values and transitions 2013-05-21 14:14:45 +00:00
Rich d09eac44b8 If no value found with 12 character ROID, try 16 character ROID 2013-05-21 14:14:12 +00:00
Rich 11fe928774 Changed an Error Message to provide the location where the error occured.
Added logic to keep un-numbered child steps together.
Changed the space on the first page to be yWithinMargins.
Changed an Error Message to provide the location where the error occured.
Changed the format of the Pagination Debug file to make comparison easier.
Used YTopMost to correctly determine how much space is left on a page.
Changed an Error Message to provide the location where the error occured.
Changed logic to keep from breaking in a caution or a note.
2013-05-13 10:44:25 +00:00
Rich dbf3129866 Changed a comment to match the code. 2013-05-13 10:42:23 +00:00
Rich 944868a0b4 Changed an Error Message to provide the location where the error occured.
Changed StepLevel property for Cautions and Notes to reduce the probability that notes or cautions will be split over a page break.
Added IsNumbered Property to aid in pagination.
2013-05-13 10:41:52 +00:00
Rich 4ca9a34c07 I added some RTF logic to indent the change description. This will make it easier for me to copy text into source safe from this document.
Corrected logic for returning the RO Value when the ROs do not have multiple return values.  This fixes Bug B2013-080.
Added logic to the code that looks for a newer version of the RO.FST file, when the DocVersion (Folder) does not have an assocated RO Database.
Added Caption, Button and Icon to Warning Message when DocVersion (Folder) does not have an assocated RO Database.
Added logic to support ROs that do not have Multiple return values.
Fixed logic to support ROST lookup when the DocVersion (Folder) does not have an assocated RO Database
Added Caption, Button and Icon to Warning Message when DocVersion (Folder) does not have an assocated RO Database.
Shut-off the RO Edit feature when DocVersion (Folder) does not have an assocated RO Database.
2013-04-19 15:01:11 +00:00
Rich f77a704f6c Added getJustFormat, vesp_TurnChangeManagerOFF and vesp_TurnChangeManagerON stored procedures 2013-04-19 13:53:39 +00:00
Rich c24fd83bdf Added overloaded method RunScript to allow for executing a sql command from DataLoader
Made call to vesp_TurnChangeManagerOFF prior to converting a database and a call to vesp_TurnChangeManagerON after converting a database to improve adding 16-bit data to an existing 32-bit database
Made call to vesp_TurnChangeManagerOFF prior to fixing transitions and a call to vesp_TurnChangeManagerON after fixing transitions to improve adding 16-bit data to an existing 32-bit database
Modified PartialMatch method to handle cases when XTSETID.DBF entry for abbyproc does not have the .prc extension
Modified ExactMatch method to handle cases when XTSETID.DBF entry for abbyproc does not have the .prc extension
Added stored procedure stubs for vesp_TurnChangeManagerOFF and vesp_TurnChangeManagerON
2013-04-19 13:53:08 +00:00
Rich 462a93f53d Fixed logic so that Recently Used List is not cleared when the connection string uses a specific database rather than {MENU}. 2013-04-10 15:14:50 +00:00
Rich a1e91b689d Fixed error that caused file names to be in lower case when creating pdf
Created error handler to warn user when trying to view pdf file already open
2013-04-10 14:23:14 +00:00
Rich 1ad17cb080 Modified to use newly created ProcedureInfo property PDFNumber
Fixed how new folder was created to assure ManualOrder value is not overwritten with null value and UserID column is populated with user id instead of “test”
2013-04-10 14:22:21 +00:00
Rich 493faf5f09 Added annotations back into Chronology report per bug C2012-022
Added annotations back into Summary report per bug C2012-022
2013-04-10 14:21:42 +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