Commit Graph
100 Commits
Author SHA1 Message Date
Rich 6b959e09cb Fixed logic to eliminate errors when annotation is added 2012-11-16 20:14:51 +00:00
Rich 63f535a4d3 Remove unused commented code 2012-11-15 17:25:08 +00:00
Rich ce52e31138 Added logic to create annotations for transitions to un-numbered steps 2012-11-15 16:59:39 +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
Rich 0c23b73383 Fixed logic to use the maximum height of Caution or Note when determining the height for a Deviation Document step. 2012-11-14 15:37:31 +00:00
Rich e977521519 Added column to indicate that changes need to be merged 2012-11-13 21:29:53 +00:00
Rich fbb5023132 Renamed fntBold to font since it is not necessarily bold.
Two minor corrections
2012-11-13 20:03:54 +00:00
Rich 384a30aa23 Fixed logic to support the clipboard in RTF and Ascii text at the same time. 2012-11-13 16:28:32 +00:00
Rich 4056f5fd96 Added logic to default the History Tab to Change Details rather than Change List.
Added logic to return to Change Details after editing a step.
Added event handler when ChangeList tab is made active (visible).
Removed event handler for the History Panel.
2012-11-13 16:09:46 +00:00
Rich 74c96fb09c Added Code Changes and Manual Changes Headings
Changed Clipboard to support Rich Text as well as ASCII text.
2012-11-13 16:08:48 +00:00
Rich 77338c048d Added vefn_GetMyChronology user function
Fixed getContentAuditsChronologyByItemID stored procedure
Fixed getContentAuditsSummaryByItemID stored procedure
Fixed getAnnotationAuditsChronologyByItemID stored procedure
2012-11-13 16:08:14 +00:00
Rich 06461d264e Fixed syntax error 2012-11-05 23:06:18 +00:00
Rich 1df947bdf8 Restored logic to check cache so that the same item is not added repeatedly
Eliminate AddToCache in the factory constructor.  This was causing the same item to be added to the cache repeatedly.
2012-11-05 22:02:57 +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
Rich 1b0023deb5 Restored RevDate for approval.
Use existing MyProcedure rather than "getting" an item from the database.
2012-11-05 22:00:36 +00:00
Rich 7b5fdd9f74 Use "GetItemAndChildren" to assure that the latest data is used.
Fixed logic if trying to create a PDF while a previous PDF is open.
2012-11-05 21:58:02 +00:00
Rich 127a917e1e Added new property "Process Only In Location" to limit the datasets that are converted when "Only Process this Procedure Set" is false. 2012-11-05 21:56:10 +00:00
Rich 173dd85ccf Added "OPTION (MAXRECURSION 10000) to all recursive queries. Remove Change Manager stored procedure "getItemAuditsByItemID" 2012-11-05 21:55:27 +00:00
Rich 59b765e6d8 Added new property "Process Only In Location" to limit the datasets that are converted when "Only Process this Procedure Set" is false.
Save the RevDate from the SET.DBF file.
2012-11-05 21:54:31 +00:00
Rich ca98dba877 Fixed Layout so that everything is visible. 2012-11-01 17:59:33 +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
Rich bbcb9c6935 Fixed search logic for empty search string. Improves performance.
Fixed logic to restore a deleted step.  If the first step is deleted and restored, the change manager fails.
Fixed numerous queries to give proper values if either the number or the number or the title is null.
Added testing examples to vefn_FixSearchString
2012-10-31 15:54:52 +00:00
Rich 2ae02cce49 Added logic to present a message if the "Load 16Bit Approval" fails due to missing data. 2012-10-31 15:54:02 +00:00
Rich 9ca05aa9e4 The rev number is being brought in as is and the Revision Date is being taken from the procedure set file.
Added limits to the process to Create Approved data, so that errors will not occur when processing a zipped Approved set.
2012-10-31 15:53:31 +00:00
Rich eed947c044 PROMSFixes.Sql - Changed logic in Stored Procedures and functions to Properly format PATH when the Procedure Number includes a Decimal Point
vefn_SiblingAndChildrenItems
	vesp_SearchItemAndChildren
	vesp_GetROUsagesByProcedure
	vesp_SearchROItemAndChildren
	vefn_SiblingAndChildrenItemsByProc
	Removed duplicate vesp_SearchROItemAndChildren
2012-10-25 17:04:23 +00:00
Rich f81483df52 Deviation Document 3 Column Format (Dev_Format) support.
B2012-265
2012-10-25 00:43:40 +00:00
Rich 6e65ec7cd0 Limit refresh of items during expansion of a item for the first time to improve performance.
Use the top EditItem to determine absolute location of items on the Step Panel.
2012-10-25 00:43:02 +00:00
Rich 4885cfd881 Adjust default size of StepRTB in RTBItem. This corrected a problem with the Deviation Document format. 2012-10-25 00:42:14 +00:00
Rich f685efbf5c Use VerticalScroll.Value to determine absolute location of RTBItem on the Step Panel.
Deviation Document 3 Column Format (Dev_Format) support.
	Auto-expand HLS for Deviation Document format.
	B2012-265
2012-10-25 00:41:39 +00:00
Rich 762f1a9916 Deviation Document 3 Column Format (Dev_Format) support.
Auto-expand HLS for Deviation Document format.
	Corrected width of notes and cautions.
	B2012-265
Reduced updates to the location of an item that do not move the item.
2012-10-25 00:40:46 +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
Rich 6d7413de52 Fixed logic to handle a Windows Handle error during refresh. 2012-10-16 16:36:04 +00:00
Rich 240265e070 Added logic to allow a timer to refresh items which were not being positioned properly. 2012-10-16 14:46:35 +00:00
Rich 2a585b7ac5 Added additional Error Log output to follow what is happening.
Added logic to attempt to fix layout issues when steps are expanded or collapsed.
2012-10-16 14:46:03 +00:00
Rich 537213ee7a Kill the process after closing the main app window. The process was remaining in memory for an extended period of time after it was closed. This removes it from memory immediately.
Added "Fix Symbol Font" button
Don't open a DSOFramer if it fails - Fixed B2012-267.
Replace an automatic function with a manual function to fix Symbol fonts. Fixed B2012-259.
2012-10-10 19:12:59 +00:00
Rich 6e082b3076 Fixed MSWord Symbol fonts 2012-10-10 19:10:45 +00:00
Rich 4b5b7b8200 Added code to remove handled tokens
DraftPage, ReferencePage, MasterPage, SamplePage, ProcTitle, ProcTitle2
2012-10-09 00:00:20 +00:00
Rich ca1c51f5df When printing from the command line, the program remains in memory for a very long time after it is done executing. It appears to be associated with garbage collection. I added code so that the process will be killed immediately after the window is closed. This fixes bug B2012-261.
Remove unnecessary line.
2012-10-08 19:13:00 +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
Rich d1e10d79c2 Improved RO Search Performance
Improved Annotation Search Performance
Changed SQL to always do a drop and create rather than an ALTER
Changed SQL to always give a status after a CREATE
2012-09-28 18:40:57 +00:00
Rich 747fd76f21 Center dialog over PROMS window
Overlay bottom of dialog with printing status dialog to hide buttons.
Correct spelling of DebugPagination.txt file
Fix table layout - Linespacing and text within borders
Set the yOffset to an integer value after a Table - This was causing some very strange pagination problems.
Output one blank line after a figure.
2012-09-25 21:01:10 +00:00
Rich 17d0839e6c Keep headers with related text
Break a page if the item will not fit on the current page
Created ToString method for vlnParagraph
Created ToString method for ParagraphLocation
Changed Between logic for overlap to exclude exact match
2012-09-21 15:30:59 +00:00
Rich a3fcf2a0bb Added TotalPages count to DebugPagination
Added logic to close output file on Dispose
Output TotalPages count when closed
Added Manual Page Break output to DebugPagination.txt
Added preliminary pagination logic for KeepStepsOnPages
Fixed Pagination Logic for HLP EOPs and WCN EMGs
Update TotalPages on completing print of procedure
Added YTop to Debug Output on Paragraphs
Added preliminary logic for KeepStepsOnPage
Correct logic for word-wrap issue
2012-09-17 19:16:27 +00:00
Rich 41c9f223b0 Show Progress bar when Printing all procedures
Added Cancel button for printing all procedures
Added Timer for automatic processes
2012-09-17 19:14:29 +00:00
Rich ffcffcc5ba Added two additional context menu items
* Compare source safe
* Compare mailbox
2012-09-13 22:03:04 +00:00
Rich 9ca49944e3 Cache ROImages so they only have to be read once.
Added Page Number to DebugText.txt when printing.
2012-08-14 16:23:06 +00:00
Rich 32e9b47dae Use threading to keep MSWord hangs from hanging the conversion process
Fix logic where RichTextBox 4.1 is used to convert RTF text to a word document
2012-08-07 17:44:46 +00:00
Rich 0e66393289 RichTextBox Processing
Output Config Info for Steps
2012-08-07 17:44:03 +00:00
Rich 46385cfa07 Fixed relative location logic to work with absolute locations 2012-07-26 14:15:15 +00:00
Rich dbdb1d6f7d Remove unused parameter from PromsPrinter constructor
Set the offset of the BackGround (Overlay) depending on the source of the background.  If the background source is 32 Bit set the offset to zero.
Add DebugPagination output for blank pages
Add DebugPagination output for MSWord Sections
Add DbeugPagination output for Foldout pages
Only adjust wordwrap if background is not 32Bit output
Added Back32BitPROMS boolean property to determine if the background is 32 Bit output
2012-07-25 21:46:29 +00:00
Rich 66f9ef6f23 Sort the RO values / Groups alphabetically
Don't sort the Multiple return values
Added logic to set the name of the error log file
2012-07-25 21:45:04 +00:00
Rich fab1e8935e The check to see if the iteminfo was already in the cache was using a rediculous amount of time. I removed the check and added erro handling. 2012-07-25 21:43:42 +00:00
Rich 43203c4bdd Remove unused parameter from PromsPrinter constructor
Remove unused parameter from frmPDFStatusForm constructor
Remove event handler for cbxCheckedChanged
Set cbxCmpPRMSpfd to invisible since it is no longer needed
Remove unused parameter from frmPDFStatusForm constructor
Remove unused parameter from PromsPrinter constructor
Rename log static field to _MyLog
Set the Error Log file name to the Database name and the date of the previous Sunday - This will create a new error log file for each database each week
2012-07-25 21:43:09 +00:00
Rich 68d862f71f Set the Error Log file name to include the name of the database and the current date and time
Save and Restore the setting to create Red PDFs from MSWORD
Show the total Process Time for the Complete Process
For individual Phases allow the user to decide if they want backups to be created
Set the Database connection string from the settings for individual phases
Handle null condition so that the code doesn't bomb
Handle relative RO paths in the Proc.INI file
Correct the total Step Count by subtracting the number of Sections
2012-07-25 21:40:56 +00:00
Rich bf9985110a Read and Save MSWord documents with RichTextBox before they are opened in word to reduce manual fixes to accessory pages
Added logic to replace sbkpage, sect, and sectd RTF tokens.
Use one RichTextBox to process text since RichTextBoxes are not released if the RTF value is set
2012-07-25 21:39:01 +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
Rich 0e9a7efdae Fixed so that a passed-in parameter can specify the database to open 2012-06-15 17:18:03 +00:00
Rich 51312b4b38 When opening the RO Editor the program was failing due to a SQL timeout. This was because all of the ROIMages were needlessly being loaded into memory. 2012-06-15 16:42:18 +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
Rich 0046c61c34 Eliminate an unnecessary save to the clipboard
Name Working Draft DocVersion "Working Draft"
Add XML files to comparison
2012-06-13 15:14:28 +00:00
Rich dc7ed2ea5c Moved from Volian.Utils.Library directly into DataLoader
Added WCN CAP folder
2012-06-13 14:25:22 +00:00
Rich 7383c7680c Removed vlnControl.XML from project file 2012-06-13 14:00:08 +00:00
Rich 82a899730e Removed vlnControl.XML from Project File 2012-06-13 13:58:22 +00:00
Rich c9d962d01d Move pagination code to pagination.cs
Add error handler if _MyStepRTB is null
2012-06-08 18:13:08 +00:00
Rich 9b7a8ee6fa Show Memory use to before and after LibDocs
Remove unnecessary debug output
2012-06-08 18:11:54 +00:00
Rich 3fc890ab52 Fixed logic for TabTitle that was not identifying Library Documents 2012-06-04 14:59:53 +00:00
Rich 7f5702698a Fix logic that looks at symbol characters in non-symbol fonts 2012-06-04 14:58:37 +00:00
Rich 869663b79c Remove Old comments
Remove unnecessary Disposes
2012-06-01 17:08:16 +00:00
Rich af5f3056d9 Remove unnecessary Disposes
Remove Old comments
2012-06-01 17:04:37 +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 58cb0f1c77 Added a fix not to check for font if the paragraph is not a step. 2012-05-29 10:54:03 +00:00
Rich 604c39a5c0 Added Headings to clipboard for PROMS QA process
Limit Word-Wrap fix to paragraphs that have Prestige Elite Tall font
2012-05-29 10:42:33 +00:00
Rich 3e73bdb664 Reduce Memory Use 2012-05-21 13:35:26 +00:00
Rich a9fed3b80d Added new Stack Method 2012-05-21 13:34:54 +00:00
Rich ab1cd8af42 Added Memory Tracking Code 2012-05-21 13:34:22 +00:00
Rich c8de9f8538 Memory Utilities
Reduce Memory Use
Added GetJustFormat method
Added CheckColumnMode method
2012-05-21 13:32:28 +00:00
Rich 683bf51ef8 Generic changes to generated code. 2012-05-21 13:30:53 +00:00
Rich f5544b7053 Add separate counts for Errors, Warnings and Information
Cleanup memory after transition processing
Adjusted width of Error Count
Added memory usage to output
Added Stored Procedure GetJustFormat
Reduce Memory Use
Removed extra using statement
2012-05-21 13:30:21 +00:00
Rich 508a86a8ac Added memory usage to output
Add separate counts for Errors, Warnings and Information
2012-05-21 13:27:44 +00:00
Rich 640d2f7313 Set the DTS to the Date of the Format.XML File when saving the Format record. 2012-05-10 18:22:05 +00:00
Rich 3b54c091c9 Added logic to eliminate WordWrap differences that occur due to 16-Bit issues where the last line in a paragraph wraps at one character wider than the rest of the paragraph. For 32-bit this is only done when printing in Debug mode.
Add PromsPrinter to constructor for VlnPageHelper
2012-05-10 15:45:34 +00:00
Rich b0a8ee1625 Added Email & UpdateSettings flags
Keep code from failing if _LinkLocations is null
Add PromsPrinter to constructor for VlnPageHelper
2012-05-10 15:44:27 +00:00
Rich c5b790bbb0 Upgrade Settings from previous revision
Save config changes once
2012-05-03 21:45:49 +00:00
Rich c93b4b2edc 2012-05-01 13:28:12 +00:00
Rich 313aee57b4 Use DocVersion change bars for Approval 2012-04-27 21:13:51 +00:00
Rich 4172f24455 Update RevDate to Today when RevNumber is changed
Handle using a TreeView that does not have a node selected
2012-04-27 20:03:40 +00:00
Rich d6b7a34d3b Added logic to assure that edits are saved before printing or approval 2012-04-27 17:14:45 +00:00
Rich ea3770fcb8 Added logic to allow the following edit features when not is edit mode:
Copy, Cut (Select all text)
   Set Text to Bold, Italics, Underline, Subscript and Superscript (Select all text)
   Paste (Paste at End)
   Change Case (Select all text)
   Insert ROs and Transitions (Position at the beginning)
   Hardspaces, Indents and Symbols can be added (Position at the beginning)
Connected Click event for Paste Step Text menu item
2012-04-27 15:00:50 +00:00
Rich b3c9d8791c Eliminate Annotation changes from Change Reports
Dialog for Email Error Log
2012-04-26 22:06:37 +00:00
Rich 3baf4f6fe9 Bitmap for Email Error Log
Settings for Email Error Log
2012-04-26 22:05:33 +00:00
Rich f40cd6817b Added Menu Item under help to Create Error Log Email
Put approved PDF in temporary folder for viewing
2012-04-26 22:04:39 +00:00
Rich c16424e008 Automatically 7Zip mailbox
Edit/Select All/Select None Menu items
7Zip Library
7Zip Library - Accessible for c# (Add reference to this)
2012-04-26 22:03:44 +00:00
Rich 1f9f65ae18 Don't create audit if only DTS changes for an item
Outlook Library
2012-04-26 22:01:40 +00:00
Rich 9f0e986c7d Added logic to warn the user if they are going to revert from an approved stage to an unapproved stage.
Added code to assure that consistency checks and versions have the same DTS.
2012-04-24 22:51:14 +00:00
Rich 31b5ba8c7b Added logic so that FormatUpdate doesn’t work in production mode
Added Folder Browser to select Format Folder
Added FormatFolder setting to update formats
2012-04-20 15:17:38 +00:00
Rich b223a1937e Fix report to support multiple procedure sets 2012-04-19 18:24:18 +00:00
Rich bcc0cfca48 Use the UnitPrefix directly from the DocVersion Config for searches 2012-04-19 18:23:39 +00:00
Rich 729fa6e2dc Reduced duplicated Audits
Added comments
Added and used calculated IsDirty Property
2012-04-18 19:38:42 +00:00