Commit Graph
100 Commits
Author SHA1 Message Date
Rich 601632f019 Use Timer to close MSWord App about 1 second after it is used.
Check to see if the Bars exist before removing them
Add 1 point to the width of boxed text to get proper Line-Wrapping
2011-04-27 13:13:09 +00:00
Rich 05c97e9aed Changed code to use ActiveSection rather than MyActiveSection 2011-04-19 16:09:33 +00:00
Rich 76bdab0549 Added PDFCount to getLibraryDocuments
Fixed logic to set DebugStatus for PDFs
2011-04-19 15:22:30 +00:00
Rich 6fe40ea9e3 Moved DocPDF from Documents to new PDFs table 2011-04-18 21:32:28 +00:00
Rich 628cfc67de Moved DocPDF from Documents to PDFs table
Moved DocPDF from Documents to new PDFs table
2011-04-18 21:30:48 +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
Rich dd9bc9e0dc Added DebugStatus to MSWordToPDF Class
Moved DocPDF from Documents to new PDFs table
2011-04-18 21:27:02 +00:00
Rich f959f883d3 Removed PDF info from Document and Document Config 2011-04-18 21:26:03 +00:00
Rich c1d863e1ac Changed VlnBorders so that XML is not saved twice
Changed MyBorderDetailString so that XML is saved once
Adjust the vertical location of the Grid to match 16 bit.
2011-04-12 13:49:01 +00:00
Rich 2d16db5bf2 Override the default font for Demo Mode
Check for null MyFlexGrid before using it.
Added Static LineWidth0 method used for drawing borders on the screen
Fixed logic to draw borders on the VlnFlexGrid
Fixed logic to draw grid borders on the pdf output.
2011-04-07 23:35:07 +00:00
Rich a03970cd09 Initialize Borders from FlexGrid selection
Eliminate SelChange funtions during Initialization
Eliminate Moving GridItem to the Left and Right on selection
Fixed a bug where SelectedEditItem was null
Eliminate SelChange funtions during Initialization
Use FlexGrid CellRange (Selection) to Get and Set Range Borders
Added Unknown value to GridLinePattern enum
Set Range Borders based upon CellRange (Selection)
2011-03-22 15:05:22 +00:00
Rich ec9932d93e Initialize BorderListBox based upon current DPI
Changed background for border selection
Draw Background and Borders for empty cells
Set the Borders druing Grid conversion
2011-03-21 16:33:29 +00:00
Rich 6cd97c36ce Added MyBorders - Custom border code
Use MyBorders in Grid_OwnerDrawCell
Added Insert and Delete Row and Column support for custom borders
2011-03-18 14:17:33 +00:00
Rich bf0bae229e Support for Change Manager 2011-03-18 14:17:02 +00:00
Rich 3bb7779e63 Custom Borders for vlnFlexGrid
ListBox for custom borders
Selection panel for custom borders
2011-03-18 14:15:51 +00:00
Rich 6029f6dd8b - Removed Debug
- Don't resize grid when initializing
- Use LoadGrid which adjusts the Grid Font
- Only save contents if in edit mode
Changes to Comments
Added Property MySymbolFontName
- Setup GoTo button to handle ROTable Grids
- Support GoTo for ROTable Grids (MyFlexGrid.IsRoTable)
- Restored code to handle Vertical Alignment
- Added MyItemInfo property
- Removed commented-out debug in DPI property
- Support Font Override
- Use DisplayText to do ReplaceWords
- Set Text Color to Black (Change Links to Black)
Use DebugOutput property rather than _DebugOutput field
- Override Font for printing grids
- Override Font for printing text
2011-03-11 15:49:39 +00:00
Rich ddb2ea162f Changes to Comments 2011-03-11 15:46:51 +00:00
Rich 9a9e57020f Eliminate some properties from the saved XML by using the XmlIgnore Attribute.
Added DPI property to VlnFlexGrid
Added a number of CellRange properties to support printing
Replace \~ (Hard Space) with \u160? before display or editing
Adjust the width of the StepRTB in Grid_OwnerDrawCell
2011-03-03 16:51:59 +00:00
Rich 1b58295cfe Corrected lookup of UserName to use ToUpper
Added code to support Text vs RTF content
2011-02-14 21:54:41 +00:00
Rich 5786528a44 - Restore the selection color after HideCaret
- Only show the pseudo caret if the StepRTB was active for the grid
Add a property to track if the StepRTB was active for a grid
Track if the StepRTB was active for a grid
2011-02-14 19:00:41 +00:00
Rich 4fdc4d4493 Added the pseudo selection code back in 2011-02-14 18:59:30 +00:00
Rich c3cc1f3417 Dispose RTF in OwnerDraw
Added Properties and Methods for UnEven Selection
2011-02-11 21:14:41 +00:00
Rich 2876ad911a Handle MyStepRTB Dispose
Fixed a NullReference Bug
2011-02-11 21:14:08 +00:00
Rich 0ad442ae19 Fixed CopyItemAndChildren to support Grids, Images and DROUsages
Removed completed items from the ToDo List at the top of the file
2011-02-10 22:22:11 +00:00
Rich 41c8a90bdf RichTextBox pseudo caret when it doesn't have focus 2011-02-09 21:52:56 +00:00
Rich c0a822d4f7 support bodine database server 2011-02-09 20:39:15 +00:00
Rich ba9eddd1a1 support x64 location for ultracompare 2011-02-09 20:38:26 +00:00
Rich 9befc92794 - Remove Comment
- Set Forecolor to backcolor on a cell being edited.
- Verify that the Col is within range before accessing cell contents
Support for volian border formats
2011-02-09 15:31:57 +00:00
Rich 24b023c2f7 Allow RO Tab and Transition Tab to remain enabled when switching Tabs 2011-02-09 15:31:09 +00:00
Rich 9631e6773d PROMS2010.SQL had two errors (actually two custom queries were missing a new a field for DROUsageCount). One was used for Library Documents. I believe the other was used for adding ROs. 2011-01-25 21:01:41 +00:00
Rich 52a088a775 Added DROUsages table to capture ROUsages in Documents
Changed lookup to use ROID rather than id when expanding the tree
to show the selected RO.  Previously used GetRoChildFromID which
was not working
2011-01-20 20:23:35 +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
Rich 7cdc7f4994 Added DROUsages table to capture ROUsages in Documents 2011-01-20 20:20:52 +00:00
Rich 5994bf2e4e Removed GetRoChildFromID which was not working properly
Added GetROIDByAccPagID to get ROID from Accessory Page ID
2011-01-20 20:20:10 +00:00
Rich fbe94ed3a0 CRUD Procedures for DROUsage records
getAffectedDROUsages - used when an RO Value is changed
Added "WITH EXECUTE AS OWNER" to a number of Procedures and Functions
Added DROUsages to vesp_SearchROItemAndChildren
2011-01-20 20:19:33 +00:00
Rich b136252ff6 Added Grids and Images 2011-01-18 21:06:41 +00:00
Rich cce75c2497 Added Grids and Images 2011-01-18 21:06:09 +00:00
Rich 2bf3fc3844 Previously checked-in a wrong version.
Previously checked-in the wrong version
2011-01-12 21:49:08 +00:00
Rich ae196cfb5f Removed LogInfo for Annotations 2011-01-12 21:48:08 +00:00
Rich bd99a0f55c - Changed code to use entire (16 Character) ROID to get the Multiple Return Values
- Added code to eliminate duplicate entries for Appedix Page IDs for Multiple Return Values
Trim whitespace from beginning and end of Plot Text.
2011-01-12 21:30:46 +00:00
Rich 41e5e5d523 - Added status message for each image
- B2011-008 Changed code so that RoFst is used from cache rather than being repeatedly created
2011-01-12 21:29:47 +00:00
Rich 54a306f114 Corrected code to delete INF files. These contain invalid Index paths
Added TextBox and Property to Skip Procedures and speed-up debugging
Added TextBox and Property to Skip Processing Procedures and speed-up debugging
Removed duplicate entry
Added Code to Skip Processing Procedures and speed-up debugging
Changed code to use entire (16 Character) ROID to get the Multiple Return Values
2011-01-12 21:28:33 +00:00
Rich 37ffd45792 B2011-030 - ColorConfig.ColorFromString failed on an empty string.
B2010-004 - AdjustLocation should only be called for Visible StepItems
2011-01-07 17:04:43 +00:00
Rich 0096b94fe8 Adjusted layout to work for 96 DPI - B2010-009
Result Style Label - AutoSize
	Result Style ComboBox - Width
	Clear Button Location - X-Location
	Sort Results CheckBox - AutoSize
Adjusted layout to work for 96 DPI - B2010-009
	Manual Page Break CheckBox - AutoSize
	Continuous Action Summary CheckBox - AutoSize
2011-01-04 21:14:40 +00:00
Rich d376368c20 Adjusted layout to work for 96 DPI - B2010-009
Change Bar Combo - Width
Added code to adjust the location and width of the results style combobox - B2010-009
2011-01-04 21:13:34 +00:00
Rich 0a60b9139c Adjusted layout to work for 96 DPI - B2010-009
Number TextBox Width
	Default CheckBox - Y Location
	Default Label - Y Location
2011-01-04 21:12:40 +00:00
Rich 752f30361e Adjusted layout to work for 96 DPI - B2010-009
Number TextBox Width
	Default CheckBox - AutoSize
2011-01-04 21:12:01 +00:00
Rich 5648ec2bc4 Adjusted layout to work for 96 DPI - B2010-009
Default CheckBox - Y Location
	Default Label - Y Location
	Change Bar Combo - Width
2011-01-04 21:11:23 +00:00
Rich 41a4e5bac6 Set Tooltip when tab loses focus B2010-008 2011-01-03 21:46:20 +00:00
Rich e89eb5bc27 Set the tooltip when a tab is created, and then reset it if the mouse is moved over the tab. B2010-008 2011-01-03 21:30:56 +00:00
Rich 5915380402 Added HasWorkingDraft property - B2010-007
Don't allow a WorkingDraft to be created if one exists - B2010-007
2011-01-03 20:34:51 +00:00
Rich 01c4a1e468 Using Limit of 10 MSWord Sections - More than 10 was causing problems for DSO Framer. B2010-005 & B2010-006 2011-01-03 19:56:29 +00:00
Rich a6c0dcddd0 A number of fixes so the selector for RichTextBoxes will work properly.
* If you press a left arrow when a link starts a line, the cursor will go to the end of the previous line.
* If you press the END key, the cursor will not go beyond the end of the line.
* If you place the cursor at the beginning of a line, and then click beyond the end of the previous line, the cursor will go to the end of the previous line
2010-12-21 20:33:24 +00:00
Rich f49aae2e7c Added Comments
Change NotVisibleRTB (Current RTB when the DisplayTag is not visible) to use a property rather than a member
Added IsVisible property that sets the Visible property if it needs to change.
Previously Visible was being set prior to the current RTB being set, and so the Tag was not being updated properly.
Change CurItemInfo to use a property rather than a member
2010-12-21 20:32:29 +00:00
Rich a3b9bc73ab Use Argument to set SelectedStepTabPanel
Set IsVisible rather than Visible for DisplayTags
Only lookup ROs if MyRTB.SelectedText contains text
Dock lbFound above the RO TreeView
2010-12-21 20:31:54 +00:00
Rich 6618b1f51e When a StepTabPanel is Disposed, if it is associated with the SelectedDisplayTabItem, set the SelectedDisplayTabItem to null. This was causing an error where a deleted Procedure was the last SelectedDisplayTabItem. When anything was opened, the code tried to find the MyProcedure of the last SelectedDisplayTabItem. Since the last one had been deleted, it had no MyProcedure. 2010-12-17 23:54:52 +00:00
Rich de7194e3cb Use DBConnection.XML if it exists in the executable folder. 2010-12-17 15:12:42 +00:00
Rich dd802ce319 Debug - Split a line into multiple lines to determine the cause of an error.
Debug - Added logic so that focus is not given to an object that is being disposed.
2010-12-17 12:12:53 +00:00
Rich 1757d238d5 Added a IsBeingDeleted flag to the event arguments for closing a Word Document
Added a IsBeingDeleted argument to the CloseWordItem method
Added a IsBeingDeleted Property to the DSOTabPanel so that it does not ask if	it should save changes if the section is being deleted.
2010-12-16 22:16:49 +00:00
Rich 580ace24ad Added logic so that when a link appears at the beginning of a line, and the cursor is moved to the beginning of the line, the link is selected rather than positioning the cursor at the end of the previous line. 2010-12-16 20:43:20 +00:00
Rich 10f06a5e9c Update underlying data field when related object is updated.
If the selected Library Document is out-of-range throw a specific error
Don't fail if the user clicks on open space in the BookMark list
Added property to provide a right margin (RTBMargin) between the RichTextBox and the StepItem
2010-12-16 20:42:44 +00:00
Rich abd26062f6 Don't use the Edit Window to Copy a Procedure 2010-12-14 19:56:54 +00:00
Rich 3a6be9a4f5 Don't give DSOFramer focus if it is null 2010-12-14 11:53:00 +00:00
Rich db051f8ff8 Updated Generated Code to Use IDs rather than Objects for internal Updates 2010-12-13 15:47:02 +00:00
Rich f2ba882506 Fixed problem where symbols were not showing properly. 2010-12-10 10:51:03 +00:00
Rich 3e135d8deb Specified a different location for the Log File.
Changed code to use log Info
Changed code to append error messages rather than replace text
Added/Changed code to use Log4Net.
Changed logic for Updates to Use IDs rather than Objects for internal Updates
Added a FormatColumn token to handle DTS, Added comments to describe tokens
Added methods ParentRefU and ParentRefU2 to support otther changes
2010-12-09 22:27:22 +00:00
Rich 1569e1e0f5 Generic Color Configuration Support 2010-12-06 12:49:49 +00:00
Rich a73713e333 Convert INI format colors to standard System.Drawing.Color
Use Generic Color Configuration Support
2010-12-06 12:47:02 +00:00
Rich 5b70652cb4 Use the TreeView timer to select the newly created step when a step is added from the TreeView. This assures that it will get focus.
Changed OnChange to be called for a specific instance
Don't select newly created Step if it was created from the TreeView
Adjust the locations of steps properly if a caution or note is deleted
Reduce repeated setup of the RTF data in a step
Add an event that fires after the Step is added from the TreeView so that the newly created step can get focus
2010-12-02 22:23:50 +00:00
Rich 926d99cfdc Fixed BackColor logic so only one RTB has the active BackColor for a StepPanel 2010-12-01 22:18:56 +00:00
Rich 71fb86effb No need to set the SelectedFont since it is no longer used
Use Font instead of SelectedFont which can be null if there are more than one font within the selected text
2010-12-01 21:06:25 +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 9de2eb9d9a Added other symbol font names (Symbol, VESymb) to IsSymbolFont.
Check for null mySection before checking details on a new node.
Error 177 - Hidden property added to use for collapse rather than Visible.
Error 173 - Use DeleteItemInfoAndChildren on Cancel of a new ItemInfo.
2010-11-29 16:31:41 +00:00
Rich 05b8809608 Adjusted Tab Label width for DPI
Corrected RightMargin initialization
2010-11-22 21:15:11 +00:00
Rich f208c98202 Copy all fields from Library Document when converting a Library Document to a Stand-alone Document
Added code to update the Procedure Panel when a Word Section is added.
Created a method to find a ProcedureDisplayTabItem for a specific item
Added code to Reset the Tab when a Section's Number is changed.
Added code to Reset a Procedures Parts when a Panel is Reset
Added an event for a Node being added.
2010-11-17 22:29:54 +00:00
Rich c57078a7cb Refresh Entry when ContentInfo refreshed (Error 159) 2010-11-17 17:30:48 +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
Rich ba85df568a Changed my default database settings
Embedded VEPROMS.ICO
2010-11-15 17:00:03 +00:00
Rich 0188c05d23 Fixed logic to not add annotation if transition format is the same. 2010-10-25 17:28:43 +00:00
Rich 1e0564f35a Corrected Logic in ProcessRoTanChanges to save transitions
Fixed logic in AddSubStep to show menu if no current substeps exist, even if the step has a table
2010-10-20 14:45:12 +00:00
Rich 8f110a10e3 Properly Save Text from DisplayText
Fixed logic to support single character in a stepRTB
(Fixed 127) Corrected code to deal with null AERStepItem
Added code to respond to a Right Arrow for steps that don't have RNOs
Changed KeyDown (Keys.Down) logic to support a Hard-Return at the end of a StepRTB
2010-10-19 15:55:08 +00:00
Rich 4e8b7932bd Changed Property - CalledFrom - Returns Method that called the current Method 2010-10-19 15:53:44 +00:00
Rich ecb9f7f872 Save Item only once when text is updated
Adjust AER to reflect changes in the RNO column
Added AnnotationColor property
Set Active or Inactive BackColor for StepRTB
2010-10-18 15:40:29 +00:00
Rich b39ee1b05b Added code to limit when Replace Words are replaced within ROs.
ReplaceWords are only replaced when the flag is set and when the RO is not a setpoint
2010-10-15 21:14:34 +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
Rich 043995b4b4 Fix Caution and Note layout after delete. 2010-10-13 21:09:59 +00:00
Rich c9ab8919f0 Fixed code to correctly position Tables
Fixed code that inserts a table to point to existing substeps
2010-10-12 19:54:48 +00:00
Rich a62793b1d5 Delete PDF after placing the contents into the Document SQL record 2010-10-12 16:01:59 +00:00
Rich c6d2003414 Make sure that SearchResults.pdf donot cause a failure.
Calculate Table Location
2010-10-12 15:01:54 +00:00
Rich e278a2ca37 Fixed Invalid message for DSOPanel (MSWord)
Comment-out unused varaible
Calculate Table Width and Location
Fixed Arrow-Up and Arrow-Down to account for Tables
Adjust Table location based upon the width of the Table
2010-10-12 15:01:09 +00:00
Rich dc6721f54c Added option to check RTF with StepRTB
Use Temporary Folder for SearchResults
Remove override of Equals - return to default
Comment-out Debug
Remove PDFs that are older than one hour
Added a ShowLocalStack that takes a format and a list of parameters
2010-10-12 14:59:23 +00:00
Rich 9f869343cd Faster method of moving objects from a temporary cache list to indexed cache lists 2010-09-29 17:21:30 +00:00
Rich f3782ea2a2 Updates to MyGeneration Templates 2010-09-29 17:01:42 +00:00
Rich a4e94054d2 Use inheritance to get Format 2010-09-27 16:23:11 +00:00
Rich dc7eb108cb Correct cursor position after RO Insert
Correct dispose logic for transition destination ITEMs
Correct cursor position after Transition Insert
Correct logic to parse Transition Link Token
Correct Save Config to dispose of ITEM
Removed debug vlnStackTrace
2010-09-27 16:12:46 +00:00
Rich fb3ed8d053 Changed TODO comment to CSLATODO
Corrected logic for IsValidList to use IsValidList rather than IsValid
2010-09-27 16:10:01 +00:00
Rich fe23fd84e3 Changed TODO comment to CSLATODO 2010-09-27 16:07:23 +00:00
Rich 3086c7ec5a Added Volian Comment Annotation Type
Support having a transition at the beginning of the text
2010-09-17 19:39:26 +00:00
Rich d739a72c7b - Put RO Adjustment code prior to Replace Words - Match 16 Bit
- Replaced logic for Replace Words so that they are replaced sequentially through  the text rather than sequentially through the word list.
- Added DoTransitionAdjustments that adds hardspaces to Transitions.
- Changed the NextUnicode module to ignore Hard Spaces
- Added logic to find 'real' spaces in ROs and replace only them.  Spaces are  also used to terminate RTF commands.
Added code to handle "AND Range" Transitions
- Use new ToolTip property
- Use new MyStepSectionLayoutData
- Remove Debug
Remove unused code
Renamed TwipsPerPage to PointsPerPage
Adjusted Superscript offset to match 16-Bit
- Added Debug Code to compare 16-Bit and 32-Bit text
- Added Debug Code forr Pagination
- Added optional code to match 16-Bit pagination
Added Ruler for 6 and 7 lines per inch.
2010-09-06 19:39:44 +00:00