132 Commits

Author SHA1 Message Date
Rich
f1f71e06bf If the current section is a foldout, then make the Link a remote link since the rest of the procedure is not part of the foldout page.
Import Links from the Foldout PDF.
2016-02-25 19:46:34 +00:00
985d7ae384 logic to save word sections with resolved RO values for exporting the approved procedure
logic to print an unlinked RO graphic(ex Tif) when used in a figure substep
2016-02-18 15:32:19 +00:00
3729f6a7b1 Fixed a typo in a FlexibleMessageBox used for the transitions with page numbers 2016-02-01 17:01:37 +00:00
346ab74ed0 Use FlexibleMessageBox for list of transitions with page number problems 2016-01-27 15:04:05 +00:00
Rich
ad1980e434 Added option to Remove Trailing Hard Returns and Manual Page Breaks 2016-01-20 20:19:53 +00:00
1e3324aa7b Enhanced Documents, handle enhanced steps
Enhanced Documents, delete items
Enhanced Documents button disable/enable
Enhanced Documents, tree view support for insert/delete/copy-paste
Move DisplayText.cs to CSLA
Enhanced Documents adding links (method added in docversion)
2016-01-20 16:46:31 +00:00
2fd42cb33b Fixed issue where the first page of a word section was not properly rotated to account for the contents being set to landscape in word (this section is set to use Word margins)
Fixed issue where a couple of default buttons were appearing when they shouldn’t.
2015-11-17 14:44:05 +00:00
8ad203006d Continuous Action Summary logic 2015-10-23 18:21:02 +00:00
9e0b85c5ac Added Express format flag; adjust tabs/indents for section, subsection, step and substeps; flag warnings as separate from notes & make boxes different between Notes/Cautions/Warnings
Proms Express: Adjust PrintLevel (of steps) for tabs
Proms Express: Added Express flag
Proms Express: Put out message when user adds substep that is greater than a level of 4
Proms Express: If a section doesn’t have text & in Proms Express, don’t put out ‘No Section Content’ message
2015-08-05 12:55:50 +00:00
0d65f14619 Fix B2015-097: Auto TOC line spacing for empty titles & space character string length for right justified page numbers. Found during internal testing of Auto TOC for South Texas. 2015-07-15 14:16:13 +00:00
eaa5d49b65 Changed TofCLineSpacing from an INT to a FLOAT to allow for half line spacing
Logic to handle float TofCLineSpacing and to shift the section title to section number starting position if there is no section number
2015-06-17 17:45:31 +00:00
Rich
8546a09674 Added PDF SaveLink parameter to methods
Added PDF SaveLink Logic
2015-06-17 11:32:13 +00:00
Rich
5359e05e77 Page Number for the second pass for transitions to Word Sections were not getting updated properly 2015-06-05 16:29:51 +00:00
dd6d76dff7 Fix page number transition if on first page 2015-06-04 11:25:58 +00:00
Rich
0f7e6962be Added Properties to PromsPrinter 2015-05-06 14:39:37 +00:00
d6557f578a Added MaxWidth property that allows for defining width of PSI data and supports multi-line text (introduced for wstalr)
Adjust top margin for multiline pagelist items (introduced for wstalr)
Support multi-line PSI item, using ‘MaxWidth’ pagelist property (introduced for wstalr)
2015-05-06 12:25:57 +00:00
0ac678ebda AEP: Use Docstyle’s end message flag when printing Word docs.
Adjust location of PSI separator in Number box
2015-04-28 12:56:24 +00:00
45d311bdfe increase PSI labels width
Add argument to fmrPDFStatusForm call for pagenum transition processing (B2015-053)
Add argument for pagenum transition processing (B2015-053)
Add panel/scroll bar for PSI that has many fields (on larger font display, could not access bottommost) (B2015-051)
Add property for tracking of pagenum transitions (B2015-053)
For section list, use section default (procedure steps) if transition format has user interface of ‘SectDefault’. (B2015-052)
Pagenum transition processing – add 3rd pass for fix. (B2015-053)
2015-04-24 13:13:47 +00:00
efd971ffec Set page number on sections for transitions (with page num) to sections
Always print hls boxit steps
2015-04-16 13:05:36 +00:00
Rich
6ceec38e5c Set Special Page Break flag.
Added logic so that the page number transition errors are listed to the clipboard.
Corrected a typo in the message box for errors occuring in the page number transitions.
2015-04-15 14:53:37 +00:00
Rich
0b3ce5147b Fix Logic to properly cleanup data when the processing of a foldout is complete
Removed Debug Output
2015-03-26 18:11:23 +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
810d1124f0 Fixed lettered high level step.
Removed preceding space in PDF file name used for compares
2015-03-19 15:51:54 +00:00
086e73720c missing box
docstyle messages: {par} consistent with code
docstyle messages: {par} consistent with code & missing box
Handle par in endmessage
Allow for more end message text length
Handle asterisk hls draws when steps are compressed
For RNO separator, if aer column is further down on page than rno, print rno separator off of aer (was causing separator to print beyond margin)
2015-03-16 13:54:18 +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
f97433e12a Changed the name of the temporary file used for MSWord PDFs. Gave it a PDF extensison so that it caan be more easily opened.
Add useful information to the PDF file properties so that the verssion of the code used to create the PDF can be identified.
2015-03-06 11:50:27 +00:00
Rich
6732e6c9fc Added suffix to GetParagraphHeight to calculate the height of the Continue Message.
Added ContinueHeight property to calculate tthe height of the Section continue message.
2015-02-26 18:48:29 +00:00
d0b49988e0 fix pdf comparison of 16bit to 32bit 2015-02-23 13:42:28 +00:00
cbc3df3023 logic to support exe switch that will delay when Word will display the newly generated Placekeeper 2015-02-19 03:53:45 +00:00
Rich
5a5502d8fc Added somecode so that profile errors will be recordedd to the Error Log
Added a reference to Log4Net
Fixed Profile Logic when PDF cannot be created because it is already open.
2015-02-16 20:51:34 +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
ce45eab51c Fixed issue of landscape sections set for continuous pagination 2014-11-18 16:17:41 +00:00
85a8a26504 added Docstyle format flag DSS_WordContentLandscaped to flag that Word content is landscaped
don’t change level for steps under sequentials (only under notes/cautions/equipment lists)
use Docstyle format flag DSS_WordContentLandscaped to make End message landscaped
2014-11-18 15:12:23 +00:00
Rich
b89af73735 Made Status Change available to other print objects
Update status when moving through a section with subsections
Update status when moving through a section with subsections
GetSectionInfo use local value rather than using the cache
Used SectionInfo property HasStepCheckOffs to turn-on CheckOff header and narrow text width.
2014-11-05 14:36:17 +00:00
1129cb3431 Adjust landscape word section pagelist item locations & flags for printing pagelist items as landscape
Calvert: Added ‘DSS_PageListAddSectCont’ flag to docstyle->Style to flag continue message in section title
Calvert: Reset svg’s for document styles that have ‘DSS_PageListAddSectCont’ so that pages other than first have continue message
Calvert: Print continue message for “ATTACHTITLECONT” pagelist item (but not on 1st page)
2014-11-04 16:48:26 +00:00
03385f2013 Handle Landscape printing of BGE Valve sections 2014-10-29 14:43:15 +00:00
Rich
a4f0a04c5d Added logic to speed-up printing 2014-10-09 18:22:53 +00:00
Rich
f7e805a745 Added Page Count to Status
Fixed Hanging Indent logic for vlnParagraphs
2014-10-08 20:14:27 +00:00
ea01b9bf71 Logic for more control over indenting and underlining on Auto Table of Contents
Added logic to prevent multiple numbers (on top of each other) from printing on the AutoTableOfContents, added logic to support format defined section continue text, logic to support EndMessageOnEachSubSection, logic to repeat high level step text as part of a continue message
Logic to support DidFirstPageDocStyle flag, logic to support {SECTIONLEVELNUMBER} {SECTIONLEVELTITLE} on the same line of a pagelist item when the section title goes to more than one line.
2014-10-07 19:37:11 +00:00
Rich
8b9a092708 Provide the option to display the PDF before the Page Number Transitions were updated to help the process of correcting pagination.
Fix the inheritance lookup for Transtitions
2014-09-30 20:26:47 +00:00
Rich
8261a6bb55 Change a Property name (Prefix) to (PathPrefix)
Added generic Properties (Prefix and Suffix) for vlnParagraph
Changed Rtf to be lazy-loaded using new method BuildRtf
2014-09-05 14:29:20 +00:00
310fb42c3c Fixed logic that determines when a step is continued on next page so that it uses the phonelist length
Fixed logic that counts the number of lines a phone list takes
Added number of lines an item take up in our debug (micro-print) message
2014-08-22 17:07:14 +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
9fb17c103c Added flag CompressPropSubSup for compressing proportional fonts sub & superscript (used by Calvert)
Use CompressPropSubSup
Use  CompressPropSubSup
2014-06-27 12:16:10 +00:00
76cec2c961 Don’t try to initialize the signoff drop-down if there are no sighoffs
Added logic to support Prerequisite step information and to handle the indent character
Logic to pass font information to the Placekeeper logic
2014-06-26 20:19:58 +00:00
86cac2ae13 BGE: Fix pagination when a phone list exists
BGE: Auto Table Of Contents, multi-line title leader dots
BGE: Auto ToC, save section title length for printing of leader dots on last line of title
BGE: Fix location of bottom continue message when phone list exists
BGE: Auto ToC, save section title length for printing of leader dots on multi-line of title
2014-05-19 13:16:45 +00:00
c29bec4903 BGE – phone list edit support
For BGE
BGE – phone list support
BGE – account for phone list size when paginating
BGE – phone list support & fixes for auto Table of Contents
2014-05-12 15:46:00 +00:00
b4a055327a Generate Placekeeper logic 2014-05-09 19:18:15 +00:00
7579601d79 Support PSNotOnFirst pagelist flag so that pagelist item not printed on first page of section
Adjustments for centerline y-positioning when there is a double box
Add check so that centering single item (note/caution) works for Calvert; fix pagelist Section/metasection titles usage for first metasection; adjust starting y-position if doing a doublebox; if the y location of bottom message would go below bottom margin, reset to bottom margin; do rno bottom continue message
Added Bottom continue message support for RNO column; Draw Horizontal line if no doublehls as first item on page; support pagenumbering GroupedByLevel; Support PSNotFirst pagelist flag; Don’t put out <NO TITLE> as pagelist item if formatflag is not No Title printing; process Procdescriptor for Calvert (only check 1st character of eopnum for ‘@’); handle @@ in pagelist items
2014-04-16 15:19:42 +00:00
59e8e7c6dc Turn off the landscape mode setting in words section after we finish printing them. 2014-04-15 19:57:23 +00:00