49 Commits

Author SHA1 Message Date
d4be18b454 support pasting of step into section and section into procedure; when updating transition text, refresh transinfo 2015-01-29 13:45:25 +00:00
Rich
29ffd0329c Added ability to perform a profile (Determine which sections of code are using the majority of the CPU time.)
Fixed logic that determines if the debug output should be created in the PDF.
Added ability to track DB actions.
Change cursor to a wait curcor when the print button is pressed.
Added Profile debug
Added a time-out for determining if a RO.FST file is newer.
Added a property (PrintAllAtOnce) to the ItemInfo object so that the code can differentiate between objects that are being used for edit or print.
Added logic to improve print performance.  Specifically initialize a number of item properties when the procedure is loaded for printing, rather than waiting for the properties to be lazy-loaded.
Added Profile debug
Changed NextItem property to use GetNextItem method when printing.
2015-01-19 20:49:15 +00:00
003ce41d6b Added a null reference check to the insert before function 2014-12-12 19:15:54 +00:00
Rich
dad37c50a8 Don't use template for Notes and Cautions off of sections 2014-10-30 12:46:58 +00:00
e785302c9e Calvert: copied steps/sections have change ids 2014-09-17 16:44:31 +00:00
Rich
a833185d58 Added code to adjust order of refreshing transitions when deleting item that is part of a transition
B2014-096 fixed
2014-09-16 03:18:32 +00:00
Rich
f9de5305f2 Added code to handle collection was modified error when copying items
Added code to make F5 and Shift-F5 keystrokes in the editor work identical to the right mouse button context menu of the tree view with regards to copy and paste of items
Added code to assure only items of similar type (eg: procedure, section, high level step, etc) can be copied and pasted at similar locations within a procedure or working draft
2014-08-28 02:41:23 +00:00
Rich
ba4f16b7e1 Use ActiveFormat rather than FormatStepData.MyFormat (this works for Steps/Sections and Procedures) 2014-08-21 17:52:11 +00:00
899e58cba0 Fixed a null reference when doing an Insert Before 2014-08-20 19:15:23 +00:00
Rich
f6c6956381 Modified code to fix error where inserting high level steps failed 2014-08-07 21:02:30 +00:00
Rich
a17c27c0a8 Added code to raise an error if trying to paste a step in reference to a step that has been deleted by another user (eg: paste before, paste after or paste replace)
Added handlers for new treeview events of NodeCopy and ClipboardStatus
Added exception handlers to handle the exception of trying to use a deleted step as a reference point for a paste operation (before, after or replace)
Added code to set the MyCopyStep property to the value of the new step added in a paste replace operation
2014-08-06 00:55:41 +00:00
Rich
b5ded05838 Handle new error when a deleted step is attempted to be copied.
Added logic to handle an invalid transition (a transition to a disconnected step.
2014-08-05 19:02:02 +00:00
99a6826772 Added parameter to InsertSiblingBefore to allow us to specify the step/substep type 2014-07-02 14:22:57 +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
62a24592f9 Fixed issue where Cautions and Notes where being inserted at the high level step level when using the template logic. 2014-01-22 15:11:53 +00:00
Rich
c535af5bc2 Changed UpdateTransitionText to support changes to Procedures or Sections.
Update related transition text if content is restored for Procedures or Sections.
Changed code that saves changes to section and procedure titles to update related transition text.
2014-01-17 21:17:47 +00:00
a2f1fb0640 Fixed separator location logic, added Template logic for Prairie Island Alarms
Added ChildIndent for use with Callaway Backgounds
2013-12-06 19:51:59 +00:00
fadac13f82 Various FNP tabbing & template fixes
Get text for template steps
Template improvements & added AlignHLSTabWithSectOvride for FNP
Support for TitleWithTextRight step types
Support PSOnlyFirst docstyle flag for FNP
Printing of FNP’s component lists (templates), PSOnlyFirst docstyle, PrintNoTitle, subsection has own docstyle, and FNP tab locations
Support PSOnlyFirst docstyle, Like6_ButDoesntNeedSubsection numberingsequence & PrintNoTitle, for FNP
2013-10-28 13:58:40 +00:00
062cf39e53 Use template for inserting steps for Callaway Backgrounds
CALBCK format flag
2013-10-02 10:41:04 +00:00
9ac34b5a54 Fixed B2013-145. 2013-08-27 15:52:08 +00:00
2ce0990d62 Handle the deleting of a step marked for copy 2013-08-01 21:41:26 +00:00
c52bda13f3 added a check for a null reference 2012-12-07 18:54:55 +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
6423e592cc Bug fix B2012-297 ProcedureTree not updated when deleting new copied procedure 2012-11-09 20:40:47 +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
1c18837be1 2012-10-04 11:23:39 +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
Rich
b4e85fd3b0 Fix to UpdateTransitionText for bugs B2012-071 and B2012-079 One ContentAudit for all transitions Indentify Automatic Transition renumbering with current user
If the user selects a deleted item from history, a messagebox is displayed Include deleted items in the Change List
Fixed CloseTabItem so that closed DockTab fires events
Added event handler for changes to the procedure content so that updating the Rev Date and Rev Number will refresh the step item change bars
Remove event handler for changes to the procedure content on dispose
Added Section headers for the Annotation portion of the Chronology and Summary reports
2012-04-04 19:08:56 +00:00
Rich
2aeee7fdbc Added MyItemInfo property
Fixed format of ToString for AnnotationAuditInfo
Fixed format of ToString for ContentAuditInfo
Fixed Restore if no next item
Fixed ActiveParent logic after restore
Added Timing logic and then Commented it
Fixed Logic when there is not a NextNode
Timing Debug code
Update UserID when saving annotation
Commented Timing Debug
Created and used FixPath - StepPath
Use MyItemInfo.SearchPath if Content doesn't have path
Refresh Change List from Timer.Tick
Added Timer for Refresh
Added code to refresh ChangeBar
Added and Commented timing debug
Changed logic for saving ROUsages
Added Closed Property that is set when the handle is destroyed
Don't refresh StepRTB if it is closed
2011-08-23 14:14:14 +00:00
Rich
14e3e15537 Change Manager 2011-08-01 20:16:23 +00:00
7d070668db 2011-01-19 16:07:38 +00:00
Rich
bb3844538c - Added tools to find Symbol Characters in Word Documents
- If the range does not have any characters return an empty string
Refresh Most Recent Items when the office button is pressed
Added OrdinalChanged Event
Used OrdinalChanged Event rather than MyContent.Changed Event when Ordinal is updated.
Use OrdinalChanged Event to update Tree Node
Refresh MRU list as items are added
Use OrdinalChanged Event to update Step Tab
- RTBFillIn changed to only update the RTB when the contents change
- AdjustSizeForContents changed to raise the HeightChanged event when the Height changes
Update the treeview tabs even if the step is not open.
2010-12-01 20:03:06 +00:00
Rich
c5f5e692c8 Added logic to remember the status of the TreeView
Added specific file location for ErrorLog
Added logic to refresh ContentParts when Items added or deleted (Error 68)
2010-11-17 17:30:08 +00:00
Rich
e20796dfbf Fixed NextItems logic
Replaced duplicate logic in GetChildren with MyItems
Fixed logic to check for Sections = null
2010-11-15 17:01:36 +00:00
120949de80 2010-11-08 14:33:27 +00:00
2e548621f4 2010-10-25 17:25:23 +00:00
a3208ccff6 2010-03-25 11:20:10 +00:00
edd5793f18 2010-01-22 13:54:09 +00:00
cdf14f6328 Tree node fixes when deleting nodes 2010-01-15 17:05:41 +00:00
Rich
ce4d28e0b9 Refresh ContentInfo objects for any impacted by transition changes
This fixes a bug that if the contentInfo was not refreshed, it was not able to be edited.
This also causes ContentInfo's with Annotations to have the background color changed.
2010-01-11 22:17:52 +00:00
Rich
79b0bf4c1b Fixed code so that Deletes of Procedures and Sections would no cause steps to be resequenced.
Added code to Just Get RODb and not all of it's children.
Added code to create an RoImageFile (Temporary) to be used to view and print images
Additional DEBUG info
2009-12-07 15:55:31 +00:00
dbee9fde6d 2009-11-20 11:38:46 +00:00
236f2b9fe9 2009-11-13 13:30:19 +00:00
391cbaea39 2009-11-03 16:32:28 +00:00
Rich
06c622b5eb - Added RTF command ulnone to StripRtfFormatting
- Fixed ResetParts to also MyContent.RefreshContentParts
 - Removed a using command because it was causing a cached iteminfo to be disposed.
Added DeleteItemAndChildren
2009-10-22 19:05:08 +00:00
Rich
e70ffda937 Inserting New Items, FixTransition Text 2009-07-30 19:00:35 +00:00
Rich
70a79aa07e Added comment to describe ABC abreviation After, Before and Child 2009-04-27 18:32:43 +00:00
Rich
406e8a928c Moved ItemInsert code from ItemExt.cs and now using stored procedures to do all changes within a Transaction. 2009-04-22 13:05:47 +00:00