105 Commits

Author SHA1 Message Date
Rich
ad1980e434 Added option to Remove Trailing Hard Returns and Manual Page Breaks 2016-01-20 20:19:53 +00:00
Rich
406ec0f036 Added Format Flag to account for Sub-sections levels in the Sequential Numbering
B2015-162 Bug was able to be fixed with data.  Attachment 7 and 8 in Shared AOP 79 were incorrectly set to print Number and Title.
2015-10-13 13:56:32 +00:00
30059881f0 increase pagelen of the Procedure step section & set footerlength = 12 if docstyle has bottom messages
set footerlength = 12 for Purpose sections
Allow a single line HLS that is last in section to print into footer
2015-07-10 15:36:32 +00:00
85ca5e1f1d Account for extra lines in End message of section when determining pagination (AEP) 2015-06-03 16:13:11 +00:00
06ba7bf825 Improved accounting for bottom continue messages for pagination
Bottom Message (below text) fix and pagination improvements
Include RNO separator in ‘BottomContent’ calculation
Reset ‘BottomContent’ for each page & added ruler for bottom of page
2015-06-02 15:09:57 +00:00
Rich
37e2227919 Table shrinking support 2015-05-27 18:48:14 +00:00
06944c6503 Initial Wolf Creek Training Format
Initial Wolf Creek Training macros
Added WCNTraining flag
Use WCNTraining flag to always paginate on subsection
Don’t do docstyle reset if in WCNTraining format
Do centerline if in WCNTraining format
2015-05-26 13:59:39 +00:00
Rich
2d6f5f443e Use new PromsPrinter Method (NewPage) to set the page size properly before outputing the page Break.
Added a New Object (ReaderHelper) which provides the necessary support to allow MSWord documents to use various page sizes.  MSWord has a limit of 22 inches for the largest width or height.
Use new PromsPrinter Method (NewPage) to set the page size properly before outputing the page break.
Use new PromsPrinter Method (NewPage) to set the page size properly before outputing the page break.
Updated vlnParagraph constructors to use parameter MyPromsPrinter since it is used to create page breaks.
2015-03-26 02:21:52 +00:00
48a03c1c48 Fix forced pagination errors for backgrounds 2015-03-25 12:03:15 +00:00
Rich
adcf098de0 Shutoff some logic used for Comanche Peak which was causing problems for IP3 2015-03-19 16:09:54 +00:00
Rich
a600afd472 Support compressed foldout pages 2015-03-19 13:13:57 +00:00
Rich
4508324826 Limit Partial Step Compression to formats that use it. 2015-03-19 12:01:41 +00:00
a66144e181 For compressed step printing, include bottom message size when determining if it can compress 2015-03-18 15:28:02 +00:00
77da149ce7 pagination fixes for IP3 asterisk box & rno separator 2015-03-17 15:01:56 +00:00
Rich
5c49d94a1a Account for the footer length when deciding if a continuous section header will fit on the page or not.
Added large comments to identify important locations in the code.
2015-03-12 01:59:29 +00:00
Rich
c65d3e8cdf Fixed logic when ParaBreak is null
Fixed logic when PDF is open
2015-03-09 13:13:45 +00:00
Rich
66044a2a71 Fixed logic for partial step compress 2015-03-06 19:36:39 +00:00
Rich
f908b2ad02 Added logic to handle compression of partial steps 2015-03-06 12:57:11 +00:00
8b8176510f include footnote size when pagination within step section logic
get max of bottom most of table for steps in table that have sibling steps
use ‘ParagraphToPdf’ (not ‘ToPdf’) for footnotes so that associated paragraphs don’t get referenced
2015-03-03 17:28:22 +00:00
Rich
ce70e4aad1 Pagination now accounts for the size of the section title continue message. 2015-03-02 13:17:52 +00:00
Rich
0477c09d03 If a blank paragraph is followed by a large table and both will not fit on a page, but the table will fit by itself, move the break directl in front of the table. 2015-02-27 10:51:13 +00:00
Rich
6d94bfb5f4 Added code to resolve issue with printing RNP document
Added code to resolve issue with printing BGE document
2015-02-27 03:56:28 +00:00
Rich
5d227213c5 Determine the height of the Section Continue message at the top of a page, so that the steps paginate properly. 2015-02-26 18:47:30 +00:00
Rich
d761df73cd Added logic to keep section headers with their steps. 2015-02-24 19:45:12 +00:00
Rich
d84f9b2e64 If the first step of a section starts at less that three inches from the top of a page (after the section header) and the step is longer than a page, allow the step to break to keep the section header with the step. 2015-02-23 15:47:48 +00:00
Rich
a8b50ef929 Only account for the Section Number and Title if they are printed
Print the top continue message if the Section Continue is not printed
2015-02-18 18:13:11 +00:00
Rich
86bdecd367 A number of pagination improvements. 2015-02-16 21:55:54 +00:00
Rich
ca0d2d3843 Fixes logic for copy step
Fixes logic for 7 LPI to account for the End Message
2015-01-22 01:36:29 +00:00
Rich
389c6575d0 Changed NextItem property to use GetNextItem method when printing
Added Profile debug
Added Command-line parameters (/X= and /Y=) to specify the offset used for Compare.
Changed NextItem property to use GetNextItem method when printing.
Remove PrintTimer which has been replaced with ProfileTimer
Added Profile debug
Added code to handle special characters when printing,
Added Profile debug
Changed NextItem property to use GetNextItem method when printing
2015-01-19 20:56:35 +00:00
e8f9bfe49b The last pagination change cause more problems. Backed out the last pagination change. 2014-12-12 20:59:58 +00:00
763223fdd0 Fixed pagination bug for calvert OI unit one procedure OI-8A section 6.2.B.3 2014-12-12 17:05:57 +00:00
6c2d8eec26 Fixed a forced pagination issue 2014-12-05 20:23:09 +00:00
27c8d89bed For tab comparison, trim strings before doing comparison in code that determines whether subsection number is derived from section number (IsSubsectionNumber)
If parent was continuous & this is separate, need to paginate to get subsection on its own page
For sections/subsections: if parent was continuous & this is separate, don’t reset docstyle until after separate section pagebreak; if separator location is ‘0’, x-offset should be at tab not text of step
2014-12-04 16:03:06 +00:00
4ba00691c2 Use vlnParagraph for footnotes so that Change Bars will print (rather than vlnText)
Fixed change bar message writing on top of each other (for ‘ChangeIds’ change bar messages)
2014-12-02 15:22:54 +00:00
f93f1059fb StepLevel for AND substeps within a NOTE should be same level so that the ANDs stay together for pagination
Don’t paginate (page break) in the middle of a Note box
2014-11-24 16:19:00 +00:00
5c399e029d Adjust for size of section continue header so that forced pagination does not occur. 2014-11-14 16:15:05 +00:00
89cf100425 Fixed logic where a section that was set to print continuous started on its own page 2014-11-10 20:11:44 +00:00
3daa13f4b6 Fixed background document pagination
adjusted sub-step text width when they have a tab (background documents)
2014-11-04 21:14:16 +00:00
bffb924c2e BGEVL: added NotesToFootnotes flag
Paginate BGE Valve sections
2014-10-29 14:42:40 +00:00
Rich
6098140d26 Support the impact of the Section Continue Message on Pagination
Added logic to determine if the Section Continue Message would be printed.
2014-10-22 15:29:21 +00:00
4ebc193d09 Eliminate Forced pagination problems in IP2 Bck
Resize figures when figure is bigger than page
Remove {NULLDOCCURPAGE} when processing page numbers
2014-10-14 13:39:52 +00:00
8c806ccd97 IP2 Background: Fixes for bad pagination within Step Description table 2014-10-08 16:36:50 +00:00
f9d0c363f7 Support for ‘PaginateOnLowerStepLevel’ pagination flag (for IP2BCK)
IP2BCK: Step Description table’s title (Cont) support and various xoffset & margin fixes
IP2BCK: Support Step Descriptions table’s title (Cont) message
IP2BCK: Implement ‘NoTabAlign’ flag so that tab aligning won’t occur for EquipmentOpt step types
2014-10-03 13:44:46 +00:00
Rich
08f2a9f631 Fixed logic so that if the high-level step has an end message and the end message would excede the bottom margin, then the step is placed on the next page. 2014-10-02 13:13:20 +00:00
Rich
183bdf015a The logic was changed to keep the first continuuous subsection on the same page as its header. 2014-10-01 15:16:34 +00:00
Rich
b2aa854328 Check for a null value if a page break cannot be found in a step.
Fixed logic for steps with End Messages.
2014-09-26 20:05:45 +00:00
84f4153900 Add logic to determine if a section has one high level step and an end message to include the height of the end message when a section will not fit on a page.
When determining the Page Break location in a step, verify that the item before the page break will fit on the page
Add Error Log output if text is low on the page,
2014-09-26 15:39:31 +00:00
eac2037172 Consider whether an ‘End’ message is printed when determining page breaks
Added error log message ‘End Message LOW on page’, if the end message locates on the bottom line of page list box.
2014-09-25 16:38:03 +00:00
881cbe5bdd Adjust HLS width (checklist header) and DocStyle:page length for pagination
Display message box after formats/genmacs are copied
Improve checklist pagination
Improve checklist pagination & right checklist box line alignment
2014-09-24 14:47:36 +00:00
Rich
4069371056 Added output to the DebugPagination file.
Changed the oage break logic to keep a substep with its cautions and notes.
2014-09-12 20:39:29 +00:00