125 Commits

Author SHA1 Message Date
bbce2ad0a6 Commit for development environment setup 2023-06-19 16:12:33 -04:00
0cfa497f09 2016-04-06 15:57:03 +00:00
df37f61cb5 Made some regx usages static to help with memory usage
Logic to support clipboard paste of screen shot into a table cell
2015-11-24 18:28:59 +00:00
10c11b9f36 When there is a bold and underline command remove the space between the two commands.
Logic to consider underline and bold command between a hard space a word when determining if replace words should be done.
2015-11-10 15:40:24 +00:00
11d58df488 Fixed a bug where the page number was not being resolved in page number transitions to sections that have a hard return.
Better handling of hard returns
2015-08-31 20:47:24 +00:00
a58add8937 B2015-103: indents (strip out rtf indent commands)
B2015-103:  indents (handle rtf indent commands)
B2015-103:  indents (set/clear ribbon button for indents)
B2015-103: setup rtf string for indents; display small identifying marks for indents
B2015-103: remove page break from ribbon; move indent; support new indent; support for table grid indent
B2015-103: Print for new indents in tables
B2015-103: Print for new indents in paragraphs
2015-08-19 12:18:39 +00:00
1c07d2d503 Fixed logic for printing using the UnderlineAfterDashSpace format flag 2015-08-07 14:31:50 +00:00
Rich
1463ec8853 Remove Unnecessary debug message
Fixed logic to find external transition when attempting to delete a procedure
Turn-on Table Shrinking Generically
2015-05-29 00:09:39 +00:00
804da7a3ca Fixed B2015-072, replace words crashing on ‘ [‘ where space is part of bold rtf command.
Allow for a step transition to go to another procedure
2015-05-28 13:16:43 +00:00
Rich
2b47b33ba2 Use RegexOption.SingleLine to handle transitions to sections which have embedded carriage returns in the section title. 2015-04-28 16:09:26 +00:00
Rich
75f8bd9584 Mulitple ROs with No Units trying to eliminate duplicate Units 2015-02-16 19:28:11 +00:00
Rich
fc95275902 Hyphen immediately following an RTF token should add a space to terminate the RTF Token
Added Error Location to Error Log
2015-02-16 18:42:05 +00:00
Rich
93043d7fd4 Convert Hard hyphens to soft hyphens so that the PDF can be searched for hyphens. 2015-02-09 16:06:00 +00:00
Rich
4e1eff4c4f Added code to support conversion to text of invalid referenced objects
Added code to support the searching for transitions
Added code to support refreshing of referenced objects and transitions
Added interface code to support refreshing of referenced objects and transitions
Added code to store the xml representation of the approved version of the procedure in the database for future support of temp mods, etc.
2015-02-05 03:56:30 +00:00
Rich
85771b0dda Fix DoROReplaceWords So that parts of words are not affected 2015-01-24 23:13:55 +00:00
Rich
42ba094c03 Fix Logic to replace a Hard-Hyphen with a Hyphen 2015-01-24 20:37:11 +00:00
Rich
638fea272e Replace Hard Hyphens with normal hyphen so the PDF search for hyphens will work properly
Support using regular hyphens as hard-hyphens
2015-01-24 19:09:08 +00:00
Rich
d501a39a7b Added a Command Line parameter (/NoChgID) which will allow the user to skip entering a ChgID.
Added Profile debug
Improved Performance for ReplaceWords
A wait cursor was set when a right-mouse click occurs on a treeview.  This gives instant feedback that something is happening.
2015-01-19 20:54:28 +00:00
Rich
d578f95922 Fixed Replace Word logic with respect to hardspaces and rtf bold and underline commands 2014-11-20 16:33:11 +00:00
Rich
a711691ff6 Removed Debug output 2014-11-10 13:06:32 +00:00
73ca054fa2 Added logic so that Prerequisite Steps (transition type) would be removed only when printing 2014-10-23 18:00:16 +00:00
Rich
5e33d7ec2a Fix ReplaceWords so that it doesn't replace link tokens. 2014-10-21 04:43:55 +00:00
Rich
cb355b71aa Command Line switch to skip ReplaceWords function (Edit and Print)
Added Hanging Indent Logic for Grids.
2014-10-08 20:13:15 +00:00
Rich
033b3514f8 Added some error handling to keep from crashing
Added code to support Opposite Unit replace words with and without ROs.
Added logic to limit UpcaseAllRoUnits to only work for setpoints.
2014-09-15 21:10:27 +00:00
aa264a4e5d WCNCKL: added length of smart template HLS (for wrapping)
WCNCKL: Set length of smart template HLS (for wrapping)
Moved ‘SplitText’ from vlnSvgPageHelper so that it can be accessible from DisplayText (Volian.Controls.Library) and VlnSvgPageHelper (print)
Calvert: use item’s format to determine if change id tab should be visible rather than top folder (top folder was used when user was prompted to enter change id for session).
WCNCKL: use ‘SplitText’ to handle split/wrap of HLS checklist text
2014-09-09 13:10:34 +00:00
003ca74e2c Fixed replace words underline logic 2014-08-25 14:49:29 +00:00
580ca5f63c Don’t turn off Bold or Underline during Replace Words if entire text is manually Bold and/or Underlined
Fix the RNO continue message so that it does not use a bullet character when building the tab for the continue message
2014-08-22 20:20:06 +00:00
Rich
35bed5b381 Added Error Handler to keep code from crashing when a partial replace word is not correctly formated. 2014-08-18 18:37:00 +00:00
a33347b22a Replace words for bolding [Bxxx], i.e. support for regular expression text in replaceword/with
Added TextAt counter for debug
Added debug of TextAt by allowing specifying of ItemIds
2014-08-18 13:34:09 +00:00
Rich
a16ea8a6ac Fixed CopyItemAndChildren so that change bars are not changed for copied procedures.
Changed logic so that VE-PROMS source code can be located in either 16Bit or 16-Bit folders
This strips prerequisite step references from procedure text when printing
Recursive transitions cannot be added to procedure text.  If you try to add a transition to a step that contains the text of the step, you will be told that this is not permitted.
Default Change IDs were not being properly updated.
Added footer line to the debug rulers when creating a PDF.
Removed Prerequisite Step references in the PDF bookmarks
2014-07-22 00:05:06 +00:00
Rich
d194f751d9 When mulitple ROs appear within a step that have the same units, the units will be excluded from the RO value. In edit mode, the units are displayed. In Print or Display mode, the units are excluded. Thus the phrase "between 25 GPM and 35 GPM" becomes "between 25 and 35 GPM". 2014-06-20 20:13:10 +00:00
Rich
1a3ef465bf Added logic to ReplaceWord logic so that if the ReplaceWord inserts a hard return the hard return will not be added at the beginning of a step. The includes RTF formatting of underline and bold and also an asterisk at the beginning of a step. 2014-06-05 18:46:51 +00:00
Rich
ee2ff97295 Fixed logic to process ROs and Transitions containing curly braces 2014-05-28 17:45:44 +00:00
Rich
7f7e3085ab Fixed how DoROAdjustments handles curly braces
Fixed how DoTransitionAdjustments handles curly braces
Fixed how SaveContents handles curly braces
2014-05-28 02:15:00 +00:00
Rich
da6cc6ac3e Updated code of FixTransitionText and FixContentText of the Content and ContentInfo classes to fix problem with Prerequisite Steps. 2014-05-22 00:40:15 +00:00
f332618227 BGE: Handle {} around ro values
BGE: Added an x-Location of end message for a section
Use x-location of end message for a section; tab format for sequential tabs at 4th level; hls tab spaces; indent in transition format 9
BGE: Use x-location of end message for a section
BGE: support for top continue messages that contain tab for continued step
resolve {Step Text} token in transition; modify code that processes transition format to use collection matches rather than search for ‘{‘
support AllUnits ro flag
support ‘{‘ and ‘}’ around ro value
top continue message with tab; location of top continue message in both AER/RNO columns for dual column; support indent in transition format during print
support two top continue messages (aer/rno) that can have different text; fix bug in splitting procedure title text if it contains hard spaces
2014-04-29 13:12:10 +00:00
Rich
122407a40c Fixed logic to uppercase ROs after Dash in text to exclude other RO text 2014-04-24 11:36:49 +00:00
d7407d60fa Fixed Replace words logic to handle underline better. 2014-04-17 16:25:41 +00:00
Rich
00b6045076 Fixed logic to properly handle curly braces next to links (Transitions or Referenced Objects) 2014-03-27 14:07:15 +00:00
7530ca00f3 For range transitions, don’t put ‘, Step’ in text twice if there is an optional section number
Added underline flag for transition text
Added support for underline flag for transition text and fixed bug where replace words that had underline on/off for ‘OR’ turned off underlining in transition text
If selectedindex for section list was -1, set to 0 and refresh the section list
2014-03-10 12:44:48 +00:00
156d4b32ba Fixed issue in Braidwood data that was underlining after a dash space when that dash space was in a transition 2014-02-27 17:31:51 +00:00
Rich
cdc4dcd66d Changed the logic to remove the return if it occurs at the beginning of the text, rather not not replacing the word. 2014-02-12 19:07:39 +00:00
b904c19005 Added logic to support the UnderlineAfterDashSpace flag
beefed up logic to better handle a Note/Caution off of a High Level Step and off of a High Level RNO (all on the same step)
2014-02-12 18:32:10 +00:00
Rich
b94fd1d833 Added logic to override bolding of tables when the font has a bold setting. 2014-02-11 15:05:33 +00:00
Rich
2cf8e67bd7 Changed how ROFSTLookup object was obtained based on correct DocVersion
Added code to support other variations of how unit information is entered into text
2014-02-07 17:41:59 +00:00
Rich
9de2e84909 Removed debug handler
Added error handler for unprocessed ROs in Content text.
2014-02-06 18:37:35 +00:00
5ccdd9d3d7 Improved error message when image data is not found during a ‘preview’ request
Use UpRoImmAftrDashSpace to upper case RO units (flag was introduced for WCN)
2014-02-05 13:46:15 +00:00
fff0233bf3 Fix B2014-003: parsing of rtf was incorrect for link with symbol and text after link 2014-01-23 14:25:12 +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
Rich
750c8df895 Revised code to assure setpoint ro's were underlined and non-setpoint ro's were not underlined during printing
Revised code to assure ro's in grids are not colored red during printing
Added code to override Height property of vlnPrintObject class in vlnBox class
Added code to utilize BoxLeftAdj property
Removed blank lines and previous debug code
Added code to assure spaces between note and caution boxes are added when separate box format flag is used
Added code to implement %c token in continue message of Byron/Braidwood formats
Added code to utilize BoxLeftAdj property
Added code to correct underline termination issue involving reference objects and transitions
Changed Height property to virtual to allow overriding in inherited classes
2014-01-17 16:12:20 +00:00