Commit Graph
100 Commits
Author SHA1 Message Date
Rich 5302c8a95f Improved getAnnotationAuditsChronologyByItemIDandUnitID execution speed
Improved getContentAuditsChronologyByItemIDandUnitID execution speed
Improved getContentAuditsSummaryByItemIDandUnitID execution speed
2012-12-05 20:57:02 +00:00
Rich 75e4d4767e Fixed code to hanlde empty ProcessOnlyInLocation field. 2012-12-05 12:07:02 +00:00
Rich 80ca2a7109 Add "No Audit Details Available" when entry has no supporting audit details when building Chronology report
Change text in Chronology report to support multi unit text
Added condition to determine when to process content audit info item in Summary report
Added required closing brace
Added condition to determine when to process annotation audit info item in Summary report
Changed how ROFSTLookup value was set to support multi unit
Changed how DocVersionInfo is obtained to support multi unit
Assigns ROFstInfo objects docVer property to support multi unit
2012-12-04 23:12:19 +00:00
Rich 50c04033ac Added DisplayApplicability class to display applicability of individual items
of a procedure in step properties panel
2012-12-04 23:10:38 +00:00
Rich b3c31db10d Added Unit and UnitIndex properties to vlnTreeEventArgs class
Add overloaded constructor to vlnTreeEventArgs class to include unit and unitindex parameters
Add multi unit specific menu items for approving and printing procedures when doc version node is selected
Added required closing brace
Add multi unit specific menu items for approving and printing procedures when procedure node is selected
Added method AddApprovedRevisionsMultiUnit to vlnTreeView class
Added event handler when selecting a unit specific approved revision
Added event handler when selecting a unit specific summary of changes report
Added event handler when selecting a unit specific approval or printing of procedure
2012-12-04 23:10:02 +00:00
Rich d29f45d322 Handles displaying grid this is not enabled
Added MyDisablePanel vlnPanel control
Added ApplDisplayMode property to StepPanel class
Added vlnPanel class
2012-12-04 23:08:43 +00:00
Rich 2549984e63 Added reference to Volian.Base.Library
Provides message to user when creating transition between different applicability steps
2012-12-04 23:05:11 +00:00
Rich 308ccc9eaa Changes CreateRtf method of DisplayText class to handle U_ID and S\u8902?ID text in display text
Returns text changed in CreateRtf method of DisplayText class
Created DoSearchAndReplace method to DisplayText class
Added logging support to FoundMatches class
2012-12-04 23:04:40 +00:00
Rich 3ca571fab4 Added call to SetRevDate in MyProcedureInfo property of DisplayHistory class
Added method SetRevDate to DisplayHistory class
Added ApplDisplayMode property to DisplayHistory class
Removed blank line
Comment out setting selected tab
Managed property ApplDisplayMode on lbChanges visibility changed event handler
Added call to Application.DoEvents in WalkProcedure method of DisplayHistory class to refresh screen changed how ContentAuditInfoList and AnnotationAuditInfoList are populated in
WalkProcedure method of DisplayHistory class
Line Removed, no longer needed
Changes how ContentAuditInfoList items are handled
Changes how AnnotationAuditInfoList items are handled
Utilizes ApplyDisplayMode value when preparing Chronology report
Utilizes ApplyDisplayMode value when preparing Summary report
Changed order of how code works
Preset tabControl1 selected tabindex to 2
Changed parameter value passed to DisplayTabItem method of DisplayTabControl class
Assigns myItemInfo variable to passed parameter
2012-12-04 23:03:32 +00:00
Rich c63d792953 Added reference to System.Collections.Generic
Added PurgeDataCommand class based on CSLA CommandBase class
Added CanTransitionBeCreatedCommand class based on CSLA CommandBase class
Added WillTransitionsBeValidCommand class based on CSLA CommandBase class
Added InvalidTransition class
Added ProposedTransition class
Changed NodeText_Changed method to support multi unit
Added BigNum class to support applicability for multi unit
2012-12-04 23:01:33 +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
Rich 1e2fedc518 Added private property SelectedSlave
Added DocVersionInfo property to ROFSTLookup class
Set DocVersionInfo to DocVersionInfo of ROFstInfo object in ROFSTLookup constructor
Added Reset method to ROFSTLookup class
Changed return values for ROID parameter of GetRoValue method
Changes SectionConfig class to implement IItemConfig interface
Added MasterSlave_Applicability property to IItemConfig
Changes StepConfig class to implement IItemConfig interface
Added MasterSlave_Applicability property to IItemConfig
Changed GetGroup method to support multi units
2012-12-04 22:54:41 +00:00
Rich 201cac2c54 Changes ProcedureConfig class to implement IItemConfig interface
Added SelectedSlave property to ProcedureConfig class
Changed Print_Rev property to support multi units
Changed Print_RevDate property to support multi units
Added Print_ReviewDate property to ProcedureConfig class
Added interface IItemConfig
Added MasterSlave_Applicability property to IItemConfig
Added Applicability_Index property to RevisionConfig class
2012-12-04 22:52:55 +00:00
Rich 4f8e69d232 Added reference to System.Xml to DocVersionConfig class
Added Unit_Count property to DocVersionConfig class
Added SelectedSlave property to DocVersionConfig class
Changed Unit_Number property of DocVersionConfig class to support multi units
Added Old_Index property to DocVersionConfig class
Changed Other_Unit_Number property of DocVersionConfig class to support multi units
Changed Unit_Name property of DocVersionConfig class to support multi units
Changed Other_Unit_Name property of DocVersionConfig class to support 	multi units
Changed Unit_Text property of DocVersionConfig class to support multi units
Changed Other_Unit_Text property of DocVersionConfig class to support multi units
Changed Unit_ID property of DocVersionConfig class to support multi units
Changed Other_Unit_ID property of DocVersionConfig class to support multi units
Changed Unit_ProcedureNumber property of DocVersionConfig class to support multi units
Added Unit_ProcedureSetName property to DocVersionConfig class
Added Unit_ProcedureSetID property to DocVersionConfig class
Added AddSlave method to DocVersionConfig class
2012-12-04 22:52:05 +00:00
Rich ca9e68163e Added btnApplicability ButtonX control
Added tcpApplicability TabControlPanel control
Added tiApplicability TabItem control
Added lbApplicabilities ListBox control
Added panel1 Panel control
Added panel2 Panel control
Added label5 Label control
Added btnDelApple Button control
Added btnNewApple Button control
Added textBox1 TextBox control
Added bsMiniApple BindingSource control
Added textBox11 TextBox control
Added textBox10 TextBox control
Added textBox9 TextBox control
Added textBox8 TextBox control
Added textBox7 TextBox control
Added textBox6 TextBox control
Added textBox5 TextBox control
Added textBox4 TextBox control
Added textBox3 TextBox control
Added textBox2 TextBox control
Added bsApples BindingSource control
Added label24 Label control
Added label23 Label control
Added label16 Label control
Added label8 Label control
Added label7 Label control
Added label28 Label control
Added label27 Label control
Added label26 Label control
Added label25 Label control
2012-12-04 22:50:32 +00:00
Rich 32c8d734fe Added references to System.Xml.Serialization and Volian.Base.Library
Declare local lists of MiniConfig class for tracking multiple unit changes
Added private method AddSlaveNode to frmVersionProperties class
Manages lists of MiniConfig objects when Properties OK button is clicked
Sets up Applicability tab of Properties dialog for multiple units
Unchecks btnApplicability
Adds code to manipulate applicabilites for multi unit data
Defines MiniConfig class
2012-12-04 22:49:29 +00:00
Rich 0db6960130 Wires displayApplicability.ApplicabilityViewModeChanged to displayApplicability_ApplicabilityViewModeChanged event handler
Added method displayApplicability_ApplicabilityViewModeChanged event handler to frmVEPROMS class
When printing procedres, sets doc version docVersionConfig.SelectedSlave to selected unit, approves or prints procedure, and then resets doc version docVersionConfig.SelectedSlave to 0
When printing procedre sets procedure docVersionConfig.SelectedSlave to selected unit, approves or prints procedure, and then resets procedure docVersionConfig.SelectedSlave to 0
Shows DlgPrintProcedure as modal dialog window
Sets displayApplicability display tab item
Sets infotabApplicability to visible
If multi unit, set up infotabApplicability
On first time into method, sets bottomProgBar value and upper limit
On subsequent times into method, increments bottomProgBar value
Sets bottomProgBar.TextVisible to true
Calls Application.DoEvents to refresh screen
Added tcpApplicability TabControlPanel control
Added displayApplicability DisplayApplicability user control
Added infotabApplicability TabItem control
2012-12-04 22:48:58 +00:00
Rich 753e3227ee Added grpDateSelector GroupPanel control
Added calDateSelector MonthCalendarAdv control
Added txtReviewDate TextBoxX control
Added txtRevDate TextBoxX control
Added lblReviewDate LabelX control
Added lblRevdate LabelX control
Added cbxMultiunitPdfLocation ComboBoxEx control
Added lblMultiunitPdfLocation LabelX control
Added muLocNone ComboItem for cbxMultiunitPdfLocation
Added muLocName ComboItem for cbxMultiunitPdfLocation
Added muLocNumber ComboItem for cbxMultiunitPdfLocation
Added muLocText ComboItem for cbxMultiunitPdfLocation
Added muLocID ComboItem for cbxMultiunitPdfLocation
2012-12-04 22:47:10 +00:00
Rich 70200025dd Added RevDate and ReviewDate properties to DlgPrintProcedure class
Set visibility of RevDate label and textbox based on whether one or more procedures are being printed
Set visibility of ReviewDate label and textbox based on whether one or more procedures are being printed
Added UnitNumber and UnitIndex properties to DlgPrintProcedure class
Set property DocVersionConfig to DocVersionConfig of procedure to be printed
If ProcNum is blank use UnitNumber as pdf file name
If ProcNum starts with *, replace * with UnitNumber
Added required opening brace
Set RevDate property to ProcedureConfig Print_RevDate property value
Set ReviewDate property to ProcedureConfig Print_ReviewDate property value
Added required opening brace
Set RevDate property to current date if ProcedureConfig is null
Set ReviewDate property to null if ProcedureConfig is null
Set visibility of ReviewDate label and textbox based on AllProcedures property and hasReviewDate variable
Added SelectedSlave property to DlgPrintProcedure class
Set MultiUnitPdfLocation to empty string
Control creating multiple pdfs for a selected unit
Load item and children for procedure to be printed for selected unit
Overlay PDF creation status form so that cancel button is covered
Code to create PDFs when single unit site
Call Application.DoEvents so that screen refreshes
Added private method GetMultiUnitPDFPath to DlgPrintProcedure class
If creating PDF for one procedure for selected unit, load item and children
Removed no longer required closing brace
Set MultiUnitPDFLocation
Added event handler for cursor entering RevDate textbox
Added event handler for cursor leaving RevDate textbox
Added event handler for cursor leaving ReviewDate textbox
Added event handler for cursor entering ReviewDate textbox
Added event handler for selecting date from DateSelector calendar
2012-12-04 22:46:19 +00:00
Rich 35da7c4274 Added ApplicabilityIndex property to dlgApproveProcedure class
Set ApplicabilityIndex to DocVersionConfig.SelectedSlave
Set DocVersionConfig.SelectedSlave to ApplicabilityIndex for each procedure in DocVersion
Set DocVersionConfig.SelectedSlave to DocVersionConfig.SelectedSlave of first procedure to be approved for each procedure listed in select procedure panel
Set ProcedureConfig.SelectedSlave to DocVersionConfig.SelectedSlave in constructor for ApprovalProcedure class
Retrieve current RevisionInfo for ApprovalProcedure class Approve method
For each procedure to be approved, retreive current RevisionInfo
Set myDTS variable to current RevisonInfo DTS if RevNumber is different and latest version is approved
Populate ContentAuditInfoList and AnnotationAuditInfoList for selected unit
Retrieve Revison object for selected unit
Added required closing brace
Store DocVersionConfig.SelectedSlave value to selectedSlave variable then reset DocVersionConfig.SelectedSlave to 0
Update ProcedureConfig based on selectedSlave variable value based on whether StageInfo is approved or not approved
Reset DocVersionConfig.SelectedSlave to value of selectedSlave variable
Changed UpdateProcedureConfig method to inlcude selectedSlave parameter
Set ProcedureConfig SelectedSlave property to passed selectedSlave parameter value
Comment out updating Item DTS during ProcedureConfig update
2012-12-04 22:44:00 +00:00
Rich 8fd70677fc Removed SUM and VCS from exclude list to support VCSummer data
Added status message when merging formats is completed
Added message box when merging formats is completed
2012-12-04 22:41:55 +00:00
Rich 55bb5f8c95 Added ProcName attribute with value to History node of ConfigInfo xml
For multi unit data, added Applicability attribute with value to MasterSlave node of ConfigInfo xml
2012-12-04 22:41:01 +00:00
Rich f7c9dde072 Added ProcName attribute with value to History node of ConfigInfo xml
For multi unit data, added Applicability attribute with value to MasterSlave node of ConfigInfo xml
Added private method AddApplicability to Loader class
Removed blank line
2012-12-04 22:40:30 +00:00
Rich 31d6e47b51 Added the following Stored Procedures to support master slave data
getAnnotationAuditsChronologyByItemIDandUnitID
	getContentAuditsChronologyByItemIDandUnitID
	getContentAuditsSummaryByItemIDandUnitID
	getCurrentRevisionByItemIDandUnitID
	getDocumentByLibDoc
	getRevisionByItemIDandRevisionNumberAndUnitID
	getRevisionsByItemIDandUnitID
	vesp_CanTransitionBeCreated
	vesp_ListItemAndChildrenByUnit
	vesp_WillTransitionsBeValid
Added the following Functions to support master slave data
	ve_GetItemApplicability
	ve_GetItemDerivedApplicability
	ve_GetParentItem
	vefn_CanTransitionBeCreated
	vefn_GetVersionIDByItemID
	vefn_WillTransitionBeValidFrom
	vefn_WillTransitionBeValidTo
2012-12-04 22:39:47 +00:00
Rich 4a7496482a Added ProcName attribute with value to History node of ConfigInfo xml
Added RevDate attribute with value to Procedure node of ConfigInfo xml
Added ReviewDate attribute with value to Procedure node of ConfigInfo xml
Changed how procedure applicability obtained from procedure APL file
For multi unit data added slave node to ConfigInfo xml
For multi unit data added Rev attribute with value, RevDate attribute with value and ReviewDate attribute with value to selected slave node of ConfigInfo xml
2012-12-04 22:38:19 +00:00
Rich de08f24053 Added code to assure consistent case of node names of xml generated in AddNode method of PrivateProfile class
Added code to assure consistent case of attribute names of xml generated in AddParam method of PrivateProfile class
2012-12-04 22:37:17 +00:00
Rich cd3e0af534 Added call to AddSlaveUnits method of ConfigInfo class when processing proc.ini file in Loader class
Added private methods AddSlaveUnits, GetUnitNames and GetMasterDir to Loader	class
2012-12-04 22:35:48 +00:00
Rich 7d1f4f4200 Added RevDate and ReviewDate properties to FixItem class
Added applicability and procedureset elements to ConfigFile class when
processing proc.ini file
Added masterdir attribute to ConfigFile class when processing proc.ini file
Replaced direct call to database with CSLA Command object in ClearData method of Loader class
2012-12-04 22:35:07 +00:00
Rich 81a2ad1267 Added public properties MultiUnitCount, Old2NewApple and New2OldApple to Loader class
Added relating slave index to specific unit
2012-12-04 22:33:38 +00:00
Rich 03d49ce2df Changed how Loader class processes 16-bit APL files
Added ReviewDate property to ProcInfo class
Changed how RevDate and ReviewDate values obtained from 16-bit data
Added AddSlaveNode and AddSlaveItem methods to ConfigInfo class
Added validity check to verify Procedure Set Path and Process Only In Location are in synch
2012-12-04 22:32:34 +00:00
Rich 44396a7200 Fixed ScrollToCenter logic for EditItems
Use ScrollToCenter logic when text is changed or textbox is resized.
2012-12-04 19:56:34 +00:00
Rich 3b0062bc7e Added Paste Plain Text and Paste No Returns options to System Options 2012-12-01 00:23:41 +00:00
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