274 Commits

Author SHA1 Message Date
c2a6d3b610 2013-01-09 13:31:28 +00:00
c52bda13f3 added a check for a null reference 2012-12-07 18:54:55 +00:00
4516759585 2012-12-05 16:44:14 +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
Rich
3036b5fb7d Added second overloaded method SetParentSectionAnDocVersion to ItemInfo class to support multi unit
Added IsApplicable property to ItemInfo class
Changed DisplayText method to handle <u> in text
Changed DisplayNumber methid to handle <U-ID> and <S\u8209?ID> in number
Added TransistionLookup class to suppport transition updates in multi unit
Added property MyLookup to ProcedureInfo class
Added GetItemAndChildrenByUnit method to ProcedureInfo class
Changed ProcedureConfig property of ProcedureInfo class to support multi unit
Removed AddToCache call in CopyPasteItemInfoFetch of ItemInfo class
Removed AddToCache call in NewItemInfoFetch method of ItemInfo class
2012-12-04 22:58:08 +00:00
Rich
bdf8150326 Assign variable mstr based on unit
Changed return values of Evaluate method for U case to support multi units
Changed return values of Evaluate method for S case to support multi units
Changed return value based on selected unit
Added MultiUnitCount property to DocVersion class
Added UnitNames property to DocVersion class
Removed blank line
2012-12-04 22:56:47 +00:00
Rich
e086c88bb8 Added method GetChronologyByUnit to AnnotationAuditList class returning AnnotationAuditInfoList for multi unit
Removed blank lines
Added method GetChronologyByUnit to ContentAuditInfoList class returning 	ContentAuditInfoList for multi unit
Added method GetSummaryByUnit to ContentAuditInfoList class returning 	ContentAuditInfoList for multi unit
Added FixTransitionText method to ContentInfo class
2012-12-04 22:56:07 +00:00
ac46422ffe 2012-11-27 15:11:16 +00:00
9922a676a6 bug fix B2012-328, fixed an index out of range problem when adding a new folder in the tree view 2012-11-26 21:01:42 +00:00
61fcf17624 B2012-315 – fixed problem approving a new procedure
added a null reference check
2012-11-20 16:07:56 +00:00
Rich
63f535a4d3 Remove unused commented code 2012-11-15 17:25:08 +00:00
Rich
45fc9edcd3 Added logic to create annotations for transitions to un-numbered steps
Moved code to extension
2012-11-15 16:58:57 +00:00
c0d0c3d08e commented out test coding to save for now.
use the ordinal step number instead of the step tab if the transition is to a non-numbered step
added bool to track if the new transition is to a non-numbered step
2012-11-14 19:17:58 +00:00
6423e592cc Bug fix B2012-297 ProcedureTree not updated when deleting new copied procedure 2012-11-09 20:40:47 +00:00
daec29dc9a 2012-11-08 17:05:45 +00:00
Rich
2c78c091bf SetParentSectionAndDocVersion to eliminate lookups when the parent is known.
Use existing ActiveSection rather than "getting" an item from the database.
Add property "LoadAllAtOnce" for printing.
Allow MyProcedure to be set for "LoadAllAtOnce"
Allow MyDocVersion to be set  for "LoadAllAtOnce"
Created GetCachedByPrimaryKey for ProcedureInfo, SectionInfo and StepInfo.
Added Static Method GetItemAndChildren to get an entire procedure at once.
2012-11-05 22:01:59 +00:00
4ed39bda97 Fixed problem using a dash character in the Title field. Bug Fix : B2012-292, fix the saving of the Title field when creating a new Word section
Added a check for the existence of a temporary word file before trying to create it
Part two of fix for bug B2012-292, don’t delete word section if user deletes the Title text in the step editor
2012-11-05 18:58:13 +00:00
Rich
3a861fb555 Print X-Y Plots in the approprate color (Black or Red)
Added logic to keep from failing if an item was not in the sibling list.
2012-10-31 15:55:53 +00:00
5cfc66af52 2012-10-26 10:26:12 +00:00
1081d01da2 2012-10-26 10:21:48 +00:00
Rich
f63b9d3ace Refresh DocVersionInfo objects after the first procedure in a set is deleted. B2012-277 2012-10-25 00:39:57 +00:00
Rich
7f752dfbd3 Fixed logic to use latest DocVersion data when a new Procedure is added as the first procedure. B2012-277
Fixed logic in GetStepLevel to keep from failing on a null value
2012-10-25 00:39:22 +00:00
680eff6638 fixed null reference 2012-10-22 18:35:00 +00:00
96659a8c44 2012-10-04 11:30:16 +00:00
3f89ac22d7 2012-10-04 11:24:49 +00:00
1c18837be1 2012-10-04 11:23:39 +00:00
1f74f7673b 2012-10-04 11:20:03 +00:00
Rich
2d61936fb3 Check Paragraph Types to see if they should get a sequential Paragraph Number.
Increased SQL timeout for search.
2012-09-28 18:41:30 +00:00
c0ae487ce1 2012-09-27 11:09:51 +00:00
bb27c20810 2012-09-27 11:07:06 +00:00
b0df73b670 2012-09-18 13:29:39 +00:00
f39a3dfbaf 2012-09-18 13:28:50 +00:00
80e72fbbb0 variables for RO Reports and for UseOnFirstPageOnly logic 2012-09-13 19:55:06 +00:00
430c44ca41 2012-09-12 13:06:54 +00:00
7bb9f393e8 2012-09-12 13:05:10 +00:00
8a86124826 2012-08-15 13:55:46 +00:00
058c21ba65 2012-08-01 11:22:31 +00:00
8632d6e7e8 2012-08-01 11:19:59 +00:00
Rich
872ce3286e Show processing time from beginning
Hide Section and Step Progress when just processing Procedures
Add a Progress Bar for Formats
Add backup after individual phases
Adjusted status labels to show processed/total counts
Adjusted size of labels to allow for processed/total counts
Use flag to control if Sections and Steps are shown in progress
Reset Step count when going to a new procedure
Eliminate reset of Step by Section
Add a total count to events to setup progress bar
2012-07-16 17:34:32 +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
2c10b3843b When GetProfile(“Replace”,mstr) didn’t find a match, it returned a NULL. Added check so that if it returned a NULL, the “as is” procedure number is used. 2012-07-12 13:08:09 +00:00
0cf5331132 Don't set LPI; set top margin based on data (not = 0) and determine x/y of xyplot BEFORE reset of selection (various WCN plant specific bugs). 2012-07-03 15:57:44 +00:00
Rich
25db26519e Allow approval to work if no existing approved versions
Try too set margins if bottom margin is undefined for MSWord section
Corrected comment
2012-06-15 16:41:39 +00:00
8352358613 Fixed underline tab underline bug (B2012-148) 2012-06-12 15:21:29 +00:00
bd6fbd70c0 2012-06-08 13:12:01 +00:00
Rich
3fc890ab52 Fixed logic for TabTitle that was not identifying Library Documents 2012-06-04 14:59:53 +00:00
Rich
869663b79c Remove Old comments
Remove unnecessary Disposes
2012-06-01 17:08:16 +00:00
Rich
9f45759050 Reduced memory usage
Add Memory Usage summary to the log file.
GetJustFormat to reduce memory use
Fix code so that children are not disposed while they are being used
Added new method GetJustFormat to reduce memory use
Fix logic so that content is not used after it is disposed
Verify that Content object is not disposed before using Text
Dispose of parts when Content object is disposed
Verify that ContentInfo object is not disposed before using Text
Dispose of parts when ContentInfo object is disposed
Place brackets around DB names to support names containing periods.
Dispose of parts when Item object is disposed
Removed inapproriate Dispose in MakeItem
Dispose of parts when ItemInfo object is disposed
Remove event handler when ItemInfoList object is disposed
Dispose of parts when Transtion object is disposed
Dispose of parts when ZTransition object is disposed
2012-05-29 18:02:17 +00:00
12873d9187 2012-05-24 14:57:04 +00:00
Rich
c8de9f8538 Memory Utilities
Reduce Memory Use
Added GetJustFormat method
Added CheckColumnMode method
2012-05-21 13:32:28 +00:00