Commit Graph
100 Commits
Author SHA1 Message Date
Rich 21301832e0 Changed code to update image reference to use href instead of bname attribute name
Added header information to xml for image link
Replace bname with xlink:href for image references
Added RNOWidthAdj flag for Braidwood
2014-01-08 20:05:45 +00:00
Rich 6cb0edbf98 Added code to handle fNarrator and Non-Supported vertical tab in ReplaceWords 2014-01-08 20:03:55 +00:00
Rich 5a395ec0d2 Added plant specific format changes for CWE and EXCLN formats
Added RNOWidthAdj flag for Braidwood
2014-01-08 20:03:24 +00:00
Rich dade570a7f Replace Words in RNOs no longer shuts-off bolding 2014-01-08 11:52:35 +00:00
Rich 6dfd259d42 Corrected logic for processing multiple return values for conditional ROs.
Replaced xFF hex value with xA0 hex value in ProcessROReturnValue method.
2014-01-02 22:26:05 +00:00
Rich fd8d8fb70d Fixed bottom margin for RNO Continue Message 2013-12-20 19:07:29 +00:00
Rich 587e614eae Fixed ToPdf so that the RNO doesn't adjust the YPageStart in the middle of printing the AER. 2013-12-20 14:30:56 +00:00
Rich 08b0b27c64 Fixed FlexGrid glitch that was causing the Column Count to be missing. The code has been changed so that the glitch will not cause a failure. 2013-12-19 22:29:02 +00:00
Rich 8f6fae12af Added logic to keep an index from being negative. 2013-12-19 22:28:28 +00:00
Rich 3fb5792a43 added to to handle situation where data loader was trying to add a part to a content where a part already existed with the same fromType. 2013-12-19 17:43:34 +00:00
Rich d058e4b585 Added missing fields ContentID and Config to query. 2013-12-18 22:26:40 +00:00
Rich b030911ef3 Fixed ReplaceWord logic to not add bolding if the step is bolded. 2013-12-17 14:07:23 +00:00
Rich 768890116c Keep pagination code from going into an infinite loop.
Properly handle a Null WidthOverride.
Properly handle a note or caution on a section.
Remove returns from lists of data points.
2013-12-16 20:13:51 +00:00
Rich 1dd61e449d Removed commented code.
Corrected Bottom Margin calc associated with DSS_PrintSectOnFirst
Corrected DrawRuler to support DSS_PrintSectOnFirst
2013-12-11 12:08:06 +00:00
Rich efc5ed84c4 Changed logic to refresh RO Tree when opening a MSWord section 2013-12-09 20:35:17 +00:00
Rich aa652f5b73 Fixed logic so that Point Beach AOP-9C will print. 2013-12-06 20:38:55 +00:00
Rich 067f004170 Fixed Security Logic to work for automatic printing 2013-12-06 20:38:22 +00:00
Rich 7b9a359d06 Fixed bug in program that did not allow user to delete a folder after it was created due to applying security incorrectly. 2013-12-06 04:16:39 +00:00
Rich bfa53bc1d2 Fixed bug identified during functional testting, item #4. 2013-12-06 04:15:35 +00:00
Rich 58c2afa175 Fixed Pagination Logic for FNP
Removed unnecessary Debug printout
2013-12-06 01:09:21 +00:00
Rich b8b34ea0be Add Error Handling for Session Ping 2013-12-06 01:08:26 +00:00
Rich 99961c7ddf When opening an MSWord Section, if the Document Zoom is less than 40% change it to 100% 2013-12-04 18:44:59 +00:00
Rich 4dc6ea49de Added methods to get/set document zoom. 2013-12-04 18:44:28 +00:00
Rich ac725d7332 Properly set SelectedDVI (Working Draft) when a Document is opened. 2013-12-03 20:43:36 +00:00
Rich 15e33d2320 Fixed logic in vefn_GetROTokens to find RO Tokens for testing. 2013-12-02 21:35:11 +00:00
Rich 500c5d224c Fixed logic in vefn_GetROTokens to find RO Tokens for testing. 2013-11-27 21:07:12 +00:00
Rich 6ae55e3780 Fixed logic to properly find RO Tokens in text.
Fixed logic when searching for annotations so that the results can be selected.
2013-11-27 15:43:53 +00:00
Rich eee8ac291f Added code fixes based on comments during demonstrations of 11/25/2013 2013-11-27 03:02:52 +00:00
Rich cc62d25333 Added vefn_GetROTokens to find tokens in Documents.DocAscii
Added vefn_GetVersionNames to get Folder names for DocVersions (Working Drafts)
2013-11-25 14:15:47 +00:00
Rich 36bf0cda84 Multiple return values were check uppercase ROID against a mixed case ROID and returning the wrong selection.
If the return value from rolookup is a Unit RO, convert it to it's value.
2013-11-25 12:36:19 +00:00
Rich 3dcf918262 Changed GroupName column length to 100 as part of validation rules. 2013-11-25 04:43:27 +00:00
Rich 2d612fcd91 Corrected errors in code that cause application to crash during initial testing.
Added code to allow for resetting security for a database.
Added class to Reset Security.
2013-11-25 04:42:53 +00:00
Rich d7da2e454d Added stored procedure vesp_ResetSecurity 2013-11-25 04:41:16 +00:00
Rich 4994f19997 Added getDRoUsagesByROIDsAndVersions and getRoUsagesByROIDsAndVersions to speed-up RO Value Update process.
Added logic to speed up RO Value Update Process.
Added logic to keep SvgImages from failing if the ImagePath is null.
2013-11-22 16:39:32 +00:00
Rich f36317757d Modified when word document tab is closed after user makes change and answers dialog box 2013-11-21 21:17:33 +00:00
Rich 297b89304e Modified Manage Security dialog box based on internal testing by Jessica 2013-11-21 21:17:02 +00:00
Rich 50910d00b8 Add UserInfo property and modified code to assure a person with Reviewer security can only manage annotations created by themself.
Added SessionInfo property to DisplayTabControl class and managed opening and closing DisplayTabItems.
Added OwnerID and UserRole properties to DisplayTabItem class and obtained owner id and setup security based on user role when opening an item.
Added property to allow forced check in of word document to ignore any changes made by user.
Removed debug code
Added methods to setup ribbon control based on user's security role.
Added SessionInfo property and events and methods to setup proper menu items to appear on the right click of a node based on user's role and checked out status of item.
2013-11-20 23:12:47 +00:00
Rich a7562422b2 Added property to store default user group for a given folder. 2013-11-20 23:09:35 +00:00
Rich 831f90c8d6 Generated standard CSLA code. 2013-11-20 23:09:01 +00:00
Rich d1874b6a65 Adds code to extend the methods and properties of the SessionInfoList, SessionInfo, OwnerInfiList, OwnerInfo, UserInfoList and UserInfo classes. 2013-11-20 23:06:43 +00:00
Rich 72acb1e3f2 Resource file for dialog box. 2013-11-20 23:06:00 +00:00
Rich 9074918e25 Added dialog box for entering and updating detailed user information. 2013-11-20 23:05:01 +00:00
Rich eda9858429 Added main dialog for managing security for database including setting up security groups, adding, editing and deleting users, adding and removing users from security groups and defining default security group for new users. 2013-11-20 23:03:46 +00:00
Rich 4b71f7188c Added dialog box so user can get additional information regarding user that has object checked out. In addition, allows administrators to force check in open objects by other users. 2013-11-20 23:03:04 +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
Rich 46a70899bd Add code to stop the process of loading data and notify the user when there is a problem with the 16-bit data, especially proc.ini files.
Added improvements to the code to better handle proc.ini files when they are part of a multi unit site, especially case sensitivity of elements of the proc.ini file.
The changes involve all of the stored procedures, functions and table changes to support multiuser and security configuration of PROMS.
2013-11-20 22:58:38 +00:00
Rich 1f2c18bdf1 For all of the following modules, changed DefaultUserID and DefaultUsrID properties to use vlnSettings value rather than environment variable value. This is needed to support multiuser and security updates but does not affect the non-multiuser and security version of PROMS. 2013-11-20 22:54:15 +00:00
Rich 62c7377c35 For all of the following modules, changed DefaultUserID and DefaultUsrID properties to use vlnSettings value rather than environment variable value. This is needed to support multiuser and security updates but does not affect the non-multiuser and security version of PROMS. 2013-11-20 15:24:24 +00:00
Rich 857bbc6af0 Don't add Unit ROs unless Type is Text or ALL and myDVI has been set.
Added logic to determine AccPageID for Unit ROs.
2013-11-15 19:12:37 +00:00
Rich 0f62a95d88 Add AccPageIDs to the lookup values for Unit ROs 2013-11-15 19:12:03 +00:00
Rich 4765587f4d Added logic to verify that a section number is a valid number rather than crashing on an invalid number. 2013-11-15 18:02:25 +00:00
Rich f646f59965 Remove Debug Output 2013-11-15 14:16:59 +00:00
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