45 Commits

Author SHA1 Message Date
cd3d3f15eb Open RO.FST with READ/WRITE instead of just READ 2017-05-26 18:27:49 +00:00
ac47021609 Added a null reference check for selectedDVI on the tc_PanelTabDisplay() function.
Added logic to skip the checks for changed integrated graphics (figures) when the RO database has none.
2016-08-03 18:52:14 +00:00
dc8b52035f Updating ROs in tables (grids) fix. 2015-12-16 19:01:08 +00:00
Rich
8567b1e7bf Bug B2015-126 Fixed
When Referenced Objects are updated, the RO values embedded in Step Text is updated.  Word sections are "flagged" (the temporary PDF records are deleted) which will cause the ROs to be "refreshed" when the procedure is printed.  Unfortunately, the process did not account for changes to RoImage content, with no change to the embedded "value."  PROMs has been changed to identify the Referenced Objects (ROIDs) which have been impacted by changes to the ROImages.
ROFSTs can be updated in one of two ways.  When an RO.FST is created in the ROEditor, this is a "new" RO.FST which can be used to create a unique ROFST record in the PROMS database.  When this happens, any "new" figures are also added to the PROMS database.  So, the first time this RO.FST is associated with PROMS database all of the figures are also created.  If you then associate the this RO.FST PROMS record with other procedure sets, the only change is the addition of an association record.
The important thing to remember is that the temporary PDF files used to improve performance with MS Word sections, have to be deleted when changes are made to the information used to describe the section, which can include RO Values and the RO Image Files.  This change automates the process of refreshing the temporary PDF
2015-09-15 21:41:17 +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
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
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
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
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
90b46d6873 from an rofstinfo, get an rofst object without ro images
added ToString()
2015-01-29 13:46:22 +00:00
Rich
e680e91a64 Modified ROID parameter passed to DRoUsageInfoList method GetAffected to use complete ROID, not a truncated 12 character ROID 2014-07-22 17:47:28 +00:00
Rich
1d760eab81 Fixed Cache for ItemInfo - This was causing steps to not be undated in the editor or the tree.
Unique Key for ROFst Lookup
2014-04-10 20:13:15 +00:00
d41c675f6e Added checkboxes for Placekeepers and Phonelist
Supporting logic to save/retrieve Placekeeper and Phonelist information
Supporting logic to save/retrieve Placekeeper information
Added Placekeeper logic
Null reference fix
Logic to get PrintPhoneList flag
Rearranged the panel and added Placekeeper checkbox
2014-04-08 21:02:43 +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
Rich
a20d109fd3 Removed code added to allow 1-time fix to RO Values for Braidwood 2014-02-10 21:07:13 +00:00
Rich
d3cf9be087 Removed ROFSTLookup property from ROFST class
Removed DocVersionInfo property from ROFST class
Added GetROFSTLookup method to ROFST class with a passed DocVersionInfo object
Removed un-used methods from ROFST class
Changed how ROFSTLookup object was obtained based on correct DocVersion
Added support for passing an override DocVersion ID as a 1-time fix to Braidwood data
Changed IsSetpointB method to add additional DocVersionInfo object parameter
2014-02-07 17:38:22 +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
55f918c150 Added logic to only process RO value updates for the specified DocVersion. 2013-04-08 19:26:16 +00:00
Rich
381fa7361a Added new property NewerRoFst that checks to see if a Newer ROFst is available to DocVersion and DocVersionInfo
Corrected the logic to use the datetime of the ROFST rather than the datetime of it's folder.
Use DocVersionInfo.NewerROFst to determine if the update button is enabled.
2013-03-29 14:22:41 +00:00
Rich
398972fab1 Use GetJustRoDb to reduce unnecessary data loading
Added flag to allow the section to have optional content.
Optional Content flag eliminates message "No Section Content"
Handle RO_Lookup Page Token
2013-02-05 14:58:32 +00:00
Rich
5eeb573a43 Added GetByItemIDAndRevisionNumberAndUnitID method to Revision class
Added GetByItemIDandUnitID method to RevisionInfoList class
Added UnitID property to ItemCriteria class of RevisionInfo class
Added CurrentItemUnitCriteria class implementing ItemCriteria class of RevisionInfo class
Added GetCurrentByItemIDandUnitID method to RevisonInfo class
Added DataPortal_Fetch method using CurrentItemUnitCriteria parameter to RevisionInfo class
Changed how DocVersionInfo was obatained to support multi unit
Changed how ROFstInfo was obtained to support multi unit
Set ROFstInfo objects DocVersion to support multi unit
Changed docVer property of ROFstInfo class to DocVersionInfo class
Changed how docVer property was assigned value in ROFstInfo class
Changed ResolvePathTo method of TransitionInfo class to support multi unit
Changed how thisTab variable value is set in TransitionText class to support multi unit
2012-12-04 22:59:40 +00:00
3f89ac22d7 2012-10-04 11:24:49 +00:00
7bb9f393e8 2012-09-12 13:05:10 +00:00
Rich
7bcfafcc8b Move frmErrors when frmLoader is moved
Shutoff SpellCheck for StepRTB
Use using for temporary StepRTB
Use using for vlnFlexGrid
Added debug output to track StepRTBs and vlnFlexGrids in memory
Limit bottom margin to 0 or above
Dispose of roImage after it is done being used
Dispose of Figure after it is done being used.
Use GetJustRODB so that images are not loaded.
Added ErrorHandler if annotation is deleted after a search
Track create, dispose and finalize
Add static variable to control if SpellCheck is used
Use using for temporary StepRTB
Lazy Load SelectionStack
Clean-up on Dispose
Track create, dispose and finalize
Make MyCopyInfo Lazy Loaded
Use using for temporary StepRTB
Add Dispose method for TableCellEditor
Cleanup on Dispose
Only kill MSWord instances that are invisible
2012-07-13 18:34:57 +00:00
aa628ce3de 2012-04-09 13:35:45 +00:00
23c5e6534d 2012-03-12 11:45:19 +00:00
b955f6e331 2012-03-12 10:42:39 +00:00
65b1e90e0f 2012-02-24 16:29:30 +00:00
7d6d6952df Commented out debug information 2012-02-14 15:48:42 +00:00
Rich
3ba7971ece Save File Last Write UTC as Document.DTS
Eliminate unused variables
Use settings for Format Load
Output status of Formats being loaded
Save File Last Write UTC as Document.DTS
added History_OriginalFileName to DocumentConfig
Use settings rather than local variables
Only use the first 12 characters of a ROID for DROUsage Lookup
2012-01-24 19:57:09 +00:00
Rich
aed6c8740c File Date/Time changed to UTC to eliminate Daylight Savings Time Issue 2011-12-02 16:28:53 +00:00
0f98b74c9a 2011-08-24 11:49:59 +00:00
Rich
14e3e15537 Change Manager 2011-08-01 20:16:23 +00:00
Rich
be814b9743 Improve ROFst Update Performance
Add RoFstLookup Dicitonary Entries for Multiple Return Values
AddByROFstIDImageIDs - Add a list of figures based upon a List of ImageIDs
Fix regular expression to find RO Text to replace
GetDROUsagesByROIDs - get a list of ROUSages for a list of ROIDs
GetJustRODB - Get Just RODB object without children
GetJustROFst - Get Just ROFst or ROFstInfo object without children
Reduce duplicate gets of RODB and ROFst
Improve ROFst Update Performance
GetByRODbIDNoData - Get RoImageInfo objects without graphic data for ROFst Update comparison
GetROUSagesByROIDs - Get a list of ROUSages by ROIDs.  This reduces the number of ROIDs to be checked when updating ROFst.
Use GetJustRoFst and GetJustRoDB to improve the performance to see if the "Update ROFst" button should be active.
2011-07-18 14:57:47 +00:00
Rich
f4a3a969f4 Removed PDF info from Document and Document Config
Added DebugStatus to MSWordToPDF Class
Removed PDF info from Document Config
Moved PDF info from Documents to PDFs Table
Added MSWordPageCount Property
Delete PDFs when RO Value Changes in a related document
2011-04-18 21:29:29 +00:00
5802cfdd10 2011-03-01 13:20:03 +00:00
84732957e3 2011-01-21 15:58:54 +00:00
Rich
c4344f2308 Added UpdateDRoUsages to Update DROUsages when a Document is Saved
Added a list of ROIDs as a parameter to the code that walks through the MSWORD Document text and replaces ROs with their values
Fixed search string in FindRO
Added code to call GetAffectedDROUsages when an RO changes.
This adds annotations to show the changes to RO Values.
Added DROUsages table to capture ROUsages in Documents
2011-01-20 20:22:10 +00:00
f378f30546 2011-01-19 16:08:20 +00:00
Rich
efdd461edf Added method to retrieve ROFst based upon RODBID
Added property to get DocVersion for a ProcedureInfo
Added method to check to see if a particular RO database is a setpoint database
2010-10-15 21:13:52 +00:00
17575c0f69 2009-09-01 14:28:22 +00:00
4dbbcf0478 2009-01-27 15:36:38 +00:00
Jsj
29a180368e 2008-08-22 18:39:59 +00:00
95ab4cea21 2008-03-03 15:07:54 +00:00
b5abf90435 2007-12-05 13:23:54 +00:00