50 Commits

Author SHA1 Message Date
d0c27fcb43 B2020-034 Added logic to adjust the vertical position of the text in a table cell based on the font size. 2020-03-12 18:47:50 +00:00
cb5a88ea6f B2020-013 Added check for second RNO that will fit on the page
Corrected Debug message for Leading so 7lpi is factored in
B2020-014 Corrected 7lpi print of tables so that they shrink properly
2020-01-29 17:46:07 +00:00
Rich
20b41ec7c8 B2019-109 - Barakah HD-0002 Att4 Step 11
Adjust cell Text width so that text prints properly.
Add error handler for outputting table cell text
2019-08-06 20:52:28 +00:00
b45332c5ba B2019-093 – moved the table cell text up a little bit so that it fits better in the table. For South Texas, was causing some cell text not to print (FSG20 step 1) 2019-07-16 17:11:23 +00:00
0ba08ae64d C2019-022 Removed the use of the Arial Unicode font (was in for backward compatibility) when using symbols with a proportional font. We now use FreeSerif (supplied by Volian)
C2019-022 When pre-processing table cells before we print a table, we now replace any Arial Unicode font reference with FreeSerif.
2019-05-16 16:48:55 +00:00
7d7d9cb42b B2019-067 Added check for use of a proportional symbol font in the logic that will replace our symbol character with a WingDing font character (used for the Clock, Check Mark, and Heavy X symbols) 2019-05-07 14:11:39 +00:00
601b4edfb7 Replaced Rtf2Pdf.FixText with TextForBaseline.FixText
Moved the FixText logic to DisplayText.cs
Replaced Rtf2Pdf.FixText with TextForBaseline.FixText
2018-08-01 15:07:31 +00:00
44322ba5bf B2018-107 – Need to convert rtf hard space (\~) to the hard space character when printing tables 2018-07-10 20:13:20 +00:00
Rich
72b5b45ad2 B2018-085 -Table Scrunching Change - Make line-spacing match edit window more closely. Also, allow line-spacing to be adjusted to fit table on the current page if possible and if it is the last table of a step. 2018-06-08 17:55:42 +00:00
Rich
30b837e6b1 B2018-003 - Use Absolute Line Spacing for Tables rather than basing the line spacing on the font size. This corrects a number of table line spacing issues 2018-05-02 15:56:48 +00:00
5cff214b0e C2018-004 logic to print meta file information
C2018-004 pass itemid for use in meta file output
2018-04-12 20:30:30 +00:00
Rich
a41f7e3e3c B2018-033 - This corrects an issue found in the scrunch logic for merged cells. 2018-03-02 20:30:36 +00:00
Rich
75124cd7e4 B2018-033 - Set the default scrunching settings.
B2018-033 - Set the scrunching check box to checked by default
B2018-033 - Base table scrunching on the last row of a range rather than the first row of a range
B2018-033 - Added debug for table scrunching.
B2018-033 - Fix pagination to account for table scrunching
2018-03-02 18:57:57 +00:00
203baaf699 C2017-036 Call method that finds a proportional font that supports the symbol characters we use. 2017-11-13 17:38:22 +00:00
2cbf0d2515 B2017-233, B2017-234 (rework of B2017-105 which caused issue) need to reset the MultipliedLeading if smallest font size (in table cell) is less than 10 and recalculate MulipliedLeading if biggest font size is greater than 12 2017-10-13 16:54:13 +00:00
Rich
96c253ad87 Changed Debug Format for invalid fonts in tables 2017-10-05 14:35:49 +00:00
43dffa55cb B2017-105 – adjust the y position of a symbol character when its size is greater than the normal font size 2017-06-21 18:25:47 +00:00
74898f5e4e Added methods to use common dictionary of fonts part of B2017-117 Out of Window Handles fix
Use method from VE_Font to get a font reference (uses dictionary so redundant Window Handles are not created)  B2017-117
Add a Using statement when we temporarily create a RichTextBox to ensure the Window Handle is free’d. Also use method from VE_Font to get a font reference (uses dictionary so redundant Window Handles are not created)  B2017-117
2017-06-12 17:57:22 +00:00
c6608b8370 Added logic to support the indexed list version of ReplaceSymbolChars 2017-06-01 14:31:51 +00:00
9b881f551e C2017-008 Formats now have a grouping allowing us to change a symbol character’s font family, size, style, and/or the actual character 2017-05-26 15:13:19 +00:00
b8f330718e B2017-046 added a check for a zero selection length when we check a table cell that uses the symbol font 2017-03-16 19:28:38 +00:00
Rich
30c7c16cd0 Fix the RTF for grid cells so that Text is set to use a Text font rather than a Symbol font.
Added some debug code for testing the function above.  After the code was finished, the debug code was commented-out.
2016-08-19 15:31:43 +00:00
0d13585924 Supporting logic to handle the use of the backslash character 2016-06-21 15:16:12 +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
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
1408a43fa8 Fixed use of symbol characters in table cells
Fixed use of the hanging indent in procedure steps
2015-07-24 18:55:31 +00:00
330f36250d If font is not proportional, set default font to VESymbFix to be used in pdf generation code (without this, the default was set to Helvetica)
If 1st character output for chunk, in a table cell, is a hard space (or various other special characters), set font to default (VESymbFix) font. (For HLP)
2015-07-13 11:37:56 +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
Rich
37e2227919 Table shrinking support 2015-05-27 18:48:14 +00:00
03f127279f Fixed the logic were the font would change after a dash (hyphen) in a table cell 2015-03-24 17:40:29 +00:00
Rich
ad300e777a Convert Hard hyphens to soft hyphens so that the PDF can be searched for hyphens.
Use the ISplitCharacter Interface to treat soft hyphens as non-breaking hyphens (only word wrap on spaces)
2015-02-09 16:07:12 +00:00
882c4eb7b9 Replace a space with underline turned off after to a hard space with underline turned off after
Fixed B2014-086: Keystroke combinations in RTB should be not processed such as right align or center text.
2014-12-16 15:26:39 +00:00
741b2608f1 Instead of removing a problematic indent character (while printing), simply don’t do the indent calculations and return an indent value of zero. 2014-10-20 20:15:41 +00:00
7a29281284 Temporary fix to allow V.C. Summer tables (with indent chars) print 2014-10-10 18:23:43 +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
2bd5ad58f1 Changed logic to create a local vlnBorder structure populated from vlnFlexGrid 2014-02-19 21:08:04 +00:00
Rich
bc69a84d33 Changed how Height and Width of grid is calculated
Preprocessed cell data to reduce number of calls to flexgrids
Preprocessed RTF data to reduce calls to rich text boxes
Added IsRangeStyleNull property and TextAlign property to reduce call to flexgrids
Eliminated creation of multiple flexgrids but using a static flexgrid over and over
2014-02-14 20:17:38 +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
Rich
7549f62ba9 Added gap in centerline for grid for processing VCSummer data
Changed how page length was determined when deciding how to paginate a procedure for processing VCSummer data
Utilized FixedMessage property for processing VCSummer data
Utilized DocStyle.LandscapePageList property for processing VCSummer data
Added gap in centerline for boxes for processing VCSummer data
Changed ToPdf method to pass yTopMargin and yBottomMargin by reference
		Chnaged calls to ToPdf method to pass yTopMargin and yBottomMargin by reference
Changed how vlnParagraph was processed with regards to Notes and Caution boxes to support nuances in VCSummer data
Added code to support macro substitutions in continue messages and end of procedure messages for processing VCSummer data
Added drawing centerline and handling gaps in centerline for processing VCSummer data
Added RomanNumbering of pages for processing VCSummer data
Added classes Gap and Gaps for processing VCSummer data
Utilized MacroTabAdjust property for processing VCSummer data
Changed how vlnText width was calculated for processing VCSummer data
2013-06-11 18:47:47 +00:00
43b06c1abd Use leading to size column heights correctly. 2012-11-13 12:28:33 +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
ea85aeba23 RO table was failing in DoCOlorLink. This does not fix the problem.
More fixes to support 7LPI when printing grids.
2011-09-30 12:52:13 +00:00
e314d24620 Support 7LPI for grids 2011-09-28 13:31:40 +00:00
Rich
27cfd702fb Update DTS for Grid and Content after exiting grid.
Changed property MyItemInfo to method GetMyItemInfo so that it is not saved to XML.
Use new vlnFlexGrid method GetMyItemInfo.
2011-04-30 12:49:09 +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
e439f31c1f 2011-03-30 15:50:40 +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
b43ea73257 2011-03-10 13:32:26 +00:00
a0b15ce884 2011-03-09 12:08:23 +00:00