{"id":111,"date":"2015-12-02T14:51:53","date_gmt":"2015-12-02T14:51:53","guid":{"rendered":"http:\/\/o-calcpro.com\/wiki\/?p=111"},"modified":"2015-12-02T17:23:10","modified_gmt":"2015-12-02T17:23:10","slug":"creating-a-real-report","status":"publish","type":"post","link":"http:\/\/o-calcpro.com\/wiki\/2015\/12\/02\/creating-a-real-report\/","title":{"rendered":"Creating a real report"},"content":{"rendered":"<p>A report was requested that would show all of the applied loads (source loads) applied to a pole.  This excludes reactions to the loads so applied by guying are excluded as are the loads generated by the pole itself (wind load, self weight, load from tilt, etc.).<\/p>\n<p>The following video shows in real-time the creation of this report and describes the processes and concepts involved.<\/p>\n<p><iframe width=\"420\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/jf6y_qYu5_g\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<p>Here is the complete source code of the report for those interested in examining it further.<\/p>\n<div id=\"ig-sh-1\" class=\"syntax_hilite\">\n\n\t\t<div class=\"toolbar\">\n\n\t\t<div class=\"view-different-container\">\n\t\t\t\t\t\t<a href=\"#\" class=\"view-different\">&lt; View <span>plain text<\/span> &gt;<\/a>\n\t\t\t\t\t<\/div>\n\n\t\t<div class=\"language-name\">C#<\/div>\n\n\t\t\n\t\t<br clear=\"both\">\n\n\t<\/div>\n\t\n\t<div class=\"code\">\n\t\t<ol class=\"csharp\" style=\"font-family:monospace\"><li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"><span style=\"color: #0600FF;font-weight: bold\">using<\/span> <span style=\"color: #008080\">System<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"><span style=\"color: #0600FF;font-weight: bold\">using<\/span> <span style=\"color: #008080\">System.Drawing<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"><span style=\"color: #0600FF;font-weight: bold\">using<\/span> <span style=\"color: #008080\">System.Collections.Generic<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"><span style=\"color: #0600FF;font-weight: bold\">using<\/span> <span style=\"color: #008080\">System.Collections<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"><span style=\"color: #0600FF;font-weight: bold\">using<\/span> <span style=\"color: #008080\">System.Collections.Specialized<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"><span style=\"color: #0600FF;font-weight: bold\">using<\/span> <span style=\"color: #008080\">System.Data<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"><span style=\"color: #0600FF;font-weight: bold\">using<\/span> <span style=\"color: #008080\">System.Data.SqlClient<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"><span style=\"color: #0600FF;font-weight: bold\">using<\/span> <span style=\"color: #008080\">System.Data.Common<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"><span style=\"color: #0600FF;font-weight: bold\">using<\/span> <span style=\"color: #008080\">System.Linq.Expressions<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"><span style=\"color: #0600FF;font-weight: bold\">using<\/span> <span style=\"color: #008080\">System.Linq<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"><span style=\"color: #0600FF;font-weight: bold\">using<\/span> <span style=\"color: #008080\">System.Text<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"><span style=\"color: #0600FF;font-weight: bold\">using<\/span> <span style=\"color: #008080\">System.Threading.Tasks<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"><span style=\"color: #0600FF;font-weight: bold\">using<\/span> <span style=\"color: #008080\">System.Windows.Forms<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"><span style=\"color: #0600FF;font-weight: bold\">using<\/span> <span style=\"color: #008080\">System.IO<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"><span style=\"color: #0600FF;font-weight: bold\">using<\/span> <span style=\"color: #008080\">System.Xml<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"><span style=\"color: #0600FF;font-weight: bold\">using<\/span> <span style=\"color: #008080\">WeifenLuo.WinFormsUI.Docking<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"><span style=\"color: #0600FF;font-weight: bold\">using<\/span> <span style=\"color: #008080\">PPL_Lib<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"><span style=\"color: #0600FF;font-weight: bold\">using<\/span> <span style=\"color: #008080\">MigraDoc<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"><span style=\"color: #0600FF;font-weight: bold\">using<\/span> <span style=\"color: #008080\">MD <\/span><span style=\"color: #008000\">=<\/span> MigraDoc<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">DocumentObjectModel<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"><span style=\"color: #0600FF;font-weight: bold\">using<\/span> <span style=\"color: #008080\">MDT <\/span><span style=\"color: #008000\">=<\/span> MigraDoc<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">DocumentObjectModel<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Tables<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"><span style=\"color: #0600FF;font-weight: bold\">namespace<\/span> OCalcProReporting<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"><span style=\"color: #008000\">&#123;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">public<\/span> <span style=\"color: #0600FF;font-weight: bold\">static<\/span> <span style=\"color: #6666cc;font-weight: bold\">class<\/span> ReportFont<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; <span style=\"color: #008000\">&#123;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">public<\/span> <span style=\"color: #0600FF;font-weight: bold\">static<\/span> <span style=\"color: #6666cc;font-weight: bold\">double<\/span> cPageWidth <span style=\"color: #008000\">=<\/span> <span style=\"color: #FF0000\">6.25<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">public<\/span> <span style=\"color: #0600FF;font-weight: bold\">static<\/span> <span style=\"color: #6666cc;font-weight: bold\">string<\/span> cFontName <span style=\"color: #008000\">=<\/span> <span style=\"color: #666666\">&quot;Arial&quot;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">public<\/span> <span style=\"color: #0600FF;font-weight: bold\">static<\/span> MD<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Unit<\/span> cFontSizeLarge <span style=\"color: #008000\">=<\/span> MD<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Unit<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">FromPoint<\/span><span style=\"color: #008000\">&#040;<\/span><span style=\"color: #FF0000\">9.75<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">public<\/span> <span style=\"color: #0600FF;font-weight: bold\">static<\/span> MD<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Unit<\/span> cFontSizeSmall <span style=\"color: #008000\">=<\/span> MD<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Unit<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">FromPoint<\/span><span style=\"color: #008000\">&#040;<\/span><span style=\"color: #FF0000\">7.85<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; <span style=\"color: #008000\">&#125;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">public<\/span> <span style=\"color: #0600FF;font-weight: bold\">partial<\/span> <span style=\"color: #6666cc;font-weight: bold\">class<\/span> Report <span style=\"color: #008000\">:<\/span> PPL_Lib<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">ReportTemplate<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; <span style=\"color: #008000\">&#123;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008080;font-style: italic\">\/\/globally defined colors and fonts<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; MD<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Color<\/span> Yellow <span style=\"color: #008000\">=<\/span> MD<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Colors<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">LightYellow<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; MD<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Color<\/span> White <span style=\"color: #008000\">=<\/span> MD<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Colors<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">White<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; MD<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">ParagraphAlignment<\/span> JustifyRight <span style=\"color: #008000\">=<\/span> MD<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">ParagraphAlignment<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Right<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; MD<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">ParagraphAlignment<\/span> JustifyLeft <span style=\"color: #008000\">=<\/span> MD<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">ParagraphAlignment<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Left<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; MD<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">ParagraphAlignment<\/span> JustifyCenter <span style=\"color: #008000\">=<\/span> MD<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">ParagraphAlignment<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Center<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; MD<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Font<\/span> SmallFont <span style=\"color: #008000\">=<\/span> <span style=\"color: #008000\">new<\/span> MD<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Font<\/span><span style=\"color: #008000\">&#040;<\/span>ReportFont<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">cFontName<\/span>, ReportFont<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">cFontSizeSmall<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; MD<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Font<\/span> StandardFont <span style=\"color: #008000\">=<\/span> <span style=\"color: #008000\">new<\/span> MD<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Font<\/span><span style=\"color: #008000\">&#040;<\/span>ReportFont<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">cFontName<\/span>, ReportFont<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">cFontSizeLarge<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; FontModifier Bold <span style=\"color: #008000\">=<\/span> <span style=\"color: #008000\">new<\/span> FontModifier<span style=\"color: #008000\">&#040;<\/span><span style=\"color: #0600FF;font-weight: bold\">true<\/span>, <span style=\"color: #0600FF;font-weight: bold\">false<\/span>, <span style=\"color: #0600FF;font-weight: bold\">false<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008080;font-style: italic\">\/\/implement more than one additional report subtype (total will be this number plus the master)<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">public<\/span> <span style=\"color: #0600FF;font-weight: bold\">override<\/span> <span style=\"color: #6666cc;font-weight: bold\">int<\/span> SubtypesCount <span style=\"color: #008000\">&#123;<\/span> <span style=\"color: #0600FF;font-weight: bold\">get<\/span> <span style=\"color: #008000\">&#123;<\/span> <span style=\"color: #0600FF;font-weight: bold\">return<\/span> <span style=\"color: #FF0000\">0<\/span><span style=\"color: #008000\">;<\/span> <span style=\"color: #008000\">&#125;<\/span> <span style=\"color: #008000\">&#125;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">public<\/span> <span style=\"color: #0600FF;font-weight: bold\">override<\/span> REPORT_TYPE Type <span style=\"color: #008000\">&#123;<\/span> <span style=\"color: #0600FF;font-weight: bold\">get<\/span> <span style=\"color: #008000\">&#123;<\/span> <span style=\"color: #0600FF;font-weight: bold\">return<\/span> REPORT_TYPE<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">INTEGRATED<\/span><span style=\"color: #008000\">;<\/span> <span style=\"color: #008000\">&#125;<\/span> <span style=\"color: #008000\">&#125;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">public<\/span> <span style=\"color: #0600FF;font-weight: bold\">override<\/span> <span style=\"color: #6666cc;font-weight: bold\">String<\/span> Name <span style=\"color: #008000\">&#123;<\/span> <span style=\"color: #0600FF;font-weight: bold\">get<\/span> <span style=\"color: #008000\">&#123;<\/span> <span style=\"color: #0600FF;font-weight: bold\">return<\/span> <span style=\"color: #666666\">&quot;Applied Loads Summary&quot;<\/span><span style=\"color: #008000\">;<\/span> <span style=\"color: #008000\">&#125;<\/span> <span style=\"color: #008000\">&#125;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">public<\/span> <span style=\"color: #0600FF;font-weight: bold\">override<\/span> <span style=\"color: #6666cc;font-weight: bold\">String<\/span> Description <span style=\"color: #008000\">&#123;<\/span> <span style=\"color: #0600FF;font-weight: bold\">get<\/span> <span style=\"color: #008000\">&#123;<\/span> <span style=\"color: #0600FF;font-weight: bold\">return<\/span> Name<span style=\"color: #008000\">;<\/span> <span style=\"color: #008000\">&#125;<\/span> <span style=\"color: #008000\">&#125;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008080;font-style: italic\">\/\/make sure to implement ToString to show report name<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">public<\/span> <span style=\"color: #0600FF;font-weight: bold\">override<\/span> <span style=\"color: #6666cc;font-weight: bold\">String<\/span> ToString<span style=\"color: #008000\">&#040;<\/span><span style=\"color: #008000\">&#041;<\/span> <span style=\"color: #008000\">&#123;<\/span> <span style=\"color: #0600FF;font-weight: bold\">return<\/span> Name<span style=\"color: #008000\">;<\/span> <span style=\"color: #008000\">&#125;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008080;font-style: italic\">\/\/determine if this report is applicable for a structure<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">public<\/span> <span style=\"color: #0600FF;font-weight: bold\">override<\/span> <span style=\"color: #6666cc;font-weight: bold\">bool<\/span> IsApplicable<span style=\"color: #008000\">&#040;<\/span>PPLMain pPPLMain, PPLPole pPole<span style=\"color: #008000\">&#041;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#123;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">if<\/span> <span style=\"color: #008000\">&#040;<\/span>Filtered<span style=\"color: #008000\">&#041;<\/span> <span style=\"color: #0600FF;font-weight: bold\">return<\/span> <span style=\"color: #0600FF;font-weight: bold\">false<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">return<\/span> <span style=\"color: #0600FF;font-weight: bold\">true<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#125;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">public<\/span> <span style=\"color: #0600FF;font-weight: bold\">override<\/span> <span style=\"color: #6666cc;font-weight: bold\">bool<\/span> IsApplicableForType<span style=\"color: #008000\">&#040;<\/span>PPLMain<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">POLE_TYPE<\/span> pType<span style=\"color: #008000\">&#041;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#123;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">if<\/span> <span style=\"color: #008000\">&#040;<\/span>Filtered<span style=\"color: #008000\">&#041;<\/span> <span style=\"color: #0600FF;font-weight: bold\">return<\/span> <span style=\"color: #0600FF;font-weight: bold\">false<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">return<\/span> <span style=\"color: #0600FF;font-weight: bold\">true<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#125;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; MigraDoc<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">DocumentObjectModel<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Document<\/span> cDocument <span style=\"color: #008000\">=<\/span> <span style=\"color: #0600FF;font-weight: bold\">null<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; PPLMain cPPLMain <span style=\"color: #008000\">=<\/span> <span style=\"color: #0600FF;font-weight: bold\">null<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; MDT<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Table<\/span> cCurrentTable <span style=\"color: #008000\">=<\/span> <span style=\"color: #0600FF;font-weight: bold\">null<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; MDT<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Row<\/span> cCurrentRow <span style=\"color: #008000\">=<\/span> <span style=\"color: #0600FF;font-weight: bold\">null<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; MD<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Unit<\/span> cMaxRowHeight <span style=\"color: #008000\">=<\/span> <span style=\"color: #FF0000\">0<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008080;font-style: italic\">\/\/methods to create integrated report<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">public<\/span> <span style=\"color: #0600FF;font-weight: bold\">override<\/span> <span style=\"color: #6666cc;font-weight: bold\">void<\/span> CreateReport<span style=\"color: #008000\">&#040;<\/span>PPLMain pPPLMain, List<span style=\"color: #008000\">&lt;<\/span>FileInfo<span style=\"color: #008000\">&gt;<\/span> pSelectedFiles<span style=\"color: #008000\">&#041;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#123;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cPPLMain <span style=\"color: #008000\">=<\/span> pPPLMain<span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cDocument <span style=\"color: #008000\">=<\/span> <span style=\"color: #008000\">new<\/span> MigraDoc<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">DocumentObjectModel<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Document<\/span><span style=\"color: #008000\">&#040;<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MD<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Section<\/span> section <span style=\"color: #008000\">=<\/span> cPPLMain<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">BuildStandardReportHeader<\/span><span style=\"color: #008000\">&#040;<\/span>cDocument, Name, <span style=\"color: #0600FF;font-weight: bold\">true<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cDocument<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">DefaultPageSetup<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Orientation<\/span> <span style=\"color: #008000\">=<\/span> MD<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Orientation<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Portrait<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cDocument<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">LastSection<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">PageSetup<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Orientation<\/span> <span style=\"color: #008000\">=<\/span> MigraDoc<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">DocumentObjectModel<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Orientation<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Portrait<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MigraDoc<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">DocumentObjectModel<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Paragraph<\/span> paragraph <span style=\"color: #008000\">=<\/span> <span style=\"color: #0600FF;font-weight: bold\">null<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; paragraph <span style=\"color: #008000\">=<\/span> section<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">AddParagraph<\/span><span style=\"color: #008000\">&#040;<\/span><span style=\"color: #666666\">&quot;<span style=\"color: #008080;font-weight: bold\">\\n<\/span>&quot;<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; paragraph<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Format<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Borders<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Top<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Color<\/span> <span style=\"color: #008000\">=<\/span> MigraDoc<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">DocumentObjectModel<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Colors<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Blue<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; paragraph<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Format<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Borders<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Top<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Width<\/span> <span style=\"color: #008000\">=<\/span> <span style=\"color: #008000\">new<\/span> MigraDoc<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">DocumentObjectModel<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Unit<\/span><span style=\"color: #008000\">&#040;<\/span><span style=\"color: #FF0000\">0.025<\/span>, MigraDoc<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">DocumentObjectModel<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">UnitType<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Inch<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#125;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">public<\/span> <span style=\"color: #0600FF;font-weight: bold\">override<\/span> <span style=\"color: #6666cc;font-weight: bold\">void<\/span> AddPole<span style=\"color: #008000\">&#040;<\/span>PPLPole pPole, <span style=\"color: #6666cc;font-weight: bold\">String<\/span> pPoleName<span style=\"color: #008000\">&#041;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#123;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PoleLoadInfo poleInfoMaster <span style=\"color: #008000\">=<\/span> cPPLMain<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">CurrentPoleLoadInfo<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CreateTable<span style=\"color: #008000\">&#040;<\/span>ReportFont<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">cPageWidth<\/span>, <span style=\"color: #FF0000\">4<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cCurrentTable<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Format<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Font<\/span> <span style=\"color: #008000\">=<\/span> SmallFont<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Clone<\/span><span style=\"color: #008000\">&#040;<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cCurrentTable<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Borders<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Visible<\/span> <span style=\"color: #008000\">=<\/span> <span style=\"color: #0600FF;font-weight: bold\">true<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PPLPole pole <span style=\"color: #008000\">=<\/span> cPPLMain<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">GetPole<\/span><span style=\"color: #008000\">&#040;<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; List<span style=\"color: #008000\">&lt;<\/span>ForceSummary<span style=\"color: #008000\">&gt;<\/span> loads <span style=\"color: #008000\">=<\/span> <span style=\"color: #008000\">new<\/span> List<span style=\"color: #008000\">&lt;<\/span>ForceSummary<span style=\"color: #008000\">&gt;<\/span><span style=\"color: #008000\">&#040;<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">foreach<\/span> <span style=\"color: #008000\">&#040;<\/span>PPLElement elem <span style=\"color: #0600FF;font-weight: bold\">in<\/span> pole<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Children<\/span><span style=\"color: #008000\">&#041;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#123;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ForceSummary fs <span style=\"color: #008000\">=<\/span> elem<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">BuildForceSummaryIncludingChildren<\/span><span style=\"color: #008000\">&#040;<\/span>poleInfoMaster<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">cLAC<\/span>, PPLElement<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">FORCE_SUMMARY_MODE<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">MAX_PRECISION<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">if<\/span> <span style=\"color: #008000\">&#040;<\/span>fs<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">ForceAxisA<\/span> <span style=\"color: #008000\">==<\/span> <span style=\"color: #FF0000\">0<\/span> <span style=\"color: #008000\">&amp;&amp;<\/span> fs<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">ForceAxisB<\/span> <span style=\"color: #008000\">==<\/span> <span style=\"color: #FF0000\">0<\/span><span style=\"color: #008000\">&#041;<\/span> <span style=\"color: #0600FF;font-weight: bold\">continue<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; loads<span style=\"color: #008000\">.<\/span><span style=\"color: #0600FF;font-weight: bold\">Add<\/span><span style=\"color: #008000\">&#040;<\/span>fs<span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#125;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; loads<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Sort<\/span><span style=\"color: #008000\">&#040;<\/span><span style=\"color: #6666cc;font-weight: bold\">delegate<\/span><span style=\"color: #008000\">&#040;<\/span>ForceSummary f1, ForceSummary f2<span style=\"color: #008000\">&#041;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#123;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">return<\/span> f2<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">cHeightOfForceApplicationAboveGLinInches<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">CompareTo<\/span><span style=\"color: #008000\">&#040;<\/span>f1<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">cHeightOfForceApplicationAboveGLinInches<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#125;<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">if<\/span> <span style=\"color: #008000\">&#040;<\/span>PPLGridModel<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Attribute<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">UnitsConvention<\/span> <span style=\"color: #008000\">==<\/span> PPLGridModel<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Attribute<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">UNITS_CONVENTION<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">METRIC<\/span><span style=\"color: #008000\">&#041;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#123;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AddRow<span style=\"color: #008000\">&#040;<\/span>Cell<span style=\"color: #008000\">&#040;<\/span><span style=\"color: #666666\">&quot;Height (M)&quot;<\/span><span style=\"color: #008000\">&#041;<\/span>, Cell<span style=\"color: #008000\">&#040;<\/span><span style=\"color: #666666\">&quot;Force A (N)&quot;<\/span><span style=\"color: #008000\">&#041;<\/span>, Cell<span style=\"color: #008000\">&#040;<\/span><span style=\"color: #666666\">&quot;Force B (N)&quot;<\/span><span style=\"color: #008000\">&#041;<\/span>, Cell<span style=\"color: #008000\">&#040;<\/span><span style=\"color: #666666\">&quot;Force V (N)&quot;<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">foreach<\/span> <span style=\"color: #008000\">&#040;<\/span>ForceSummary fs <span style=\"color: #0600FF;font-weight: bold\">in<\/span> loads<span style=\"color: #008000\">&#041;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#123;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AddRow<span style=\"color: #008000\">&#040;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Cell<span style=\"color: #008000\">&#040;<\/span>PPLGridModel<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Attribute<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">InchesToMeters<\/span><span style=\"color: #008000\">&#040;<\/span>fs<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">cHeightOfForceApplicationAboveGLinInches<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">ToString<\/span><span style=\"color: #008000\">&#040;<\/span><span style=\"color: #666666\">&quot;0.##&quot;<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">&#041;<\/span>,<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Cell<span style=\"color: #008000\">&#040;<\/span>PPLGridModel<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Attribute<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">PoundsToNewtons<\/span><span style=\"color: #008000\">&#040;<\/span>fs<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">ForceAxisA<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">ToString<\/span><span style=\"color: #008000\">&#040;<\/span><span style=\"color: #666666\">&quot;0.##&quot;<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">&#041;<\/span>,<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Cell<span style=\"color: #008000\">&#040;<\/span>PPLGridModel<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Attribute<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">PoundsToNewtons<\/span><span style=\"color: #008000\">&#040;<\/span>fs<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">ForceAxisB<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">ToString<\/span><span style=\"color: #008000\">&#040;<\/span><span style=\"color: #666666\">&quot;0.##&quot;<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">&#041;<\/span>,<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Cell<span style=\"color: #008000\">&#040;<\/span>PPLGridModel<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Attribute<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">PoundsToNewtons<\/span><span style=\"color: #008000\">&#040;<\/span>fs<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">ForceVertical<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">ToString<\/span><span style=\"color: #008000\">&#040;<\/span><span style=\"color: #666666\">&quot;0.##&quot;<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#125;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#125;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">else<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#123;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AddRow<span style=\"color: #008000\">&#040;<\/span>Cell<span style=\"color: #008000\">&#040;<\/span><span style=\"color: #666666\">&quot;Height (ft)&quot;<\/span><span style=\"color: #008000\">&#041;<\/span>, Cell<span style=\"color: #008000\">&#040;<\/span><span style=\"color: #666666\">&quot;Force A (lbs)&quot;<\/span><span style=\"color: #008000\">&#041;<\/span>, Cell<span style=\"color: #008000\">&#040;<\/span><span style=\"color: #666666\">&quot;Force B (lbs)&quot;<\/span><span style=\"color: #008000\">&#041;<\/span>, Cell<span style=\"color: #008000\">&#040;<\/span><span style=\"color: #666666\">&quot;Force V (lbs)&quot;<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">foreach<\/span> <span style=\"color: #008000\">&#040;<\/span>ForceSummary fs <span style=\"color: #0600FF;font-weight: bold\">in<\/span> loads<span style=\"color: #008000\">&#041;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#123;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AddRow<span style=\"color: #008000\">&#040;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Cell<span style=\"color: #008000\">&#040;<\/span>PPLGridModel<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Attribute<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">InchesToFeet<\/span><span style=\"color: #008000\">&#040;<\/span>fs<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">cHeightOfForceApplicationAboveGLinInches<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">ToString<\/span><span style=\"color: #008000\">&#040;<\/span><span style=\"color: #666666\">&quot;0.##&quot;<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">&#041;<\/span>,<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Cell<span style=\"color: #008000\">&#040;<\/span>fs<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">ForceAxisA<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">ToString<\/span><span style=\"color: #008000\">&#040;<\/span><span style=\"color: #666666\">&quot;0.##&quot;<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">&#041;<\/span>,<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Cell<span style=\"color: #008000\">&#040;<\/span>fs<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">ForceAxisB<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">ToString<\/span><span style=\"color: #008000\">&#040;<\/span><span style=\"color: #666666\">&quot;0.##&quot;<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">&#041;<\/span>,<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Cell<span style=\"color: #008000\">&#040;<\/span>fs<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">ForceVertical<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">ToString<\/span><span style=\"color: #008000\">&#040;<\/span><span style=\"color: #666666\">&quot;0.##&quot;<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#125;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#125;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cCurrentTable<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">BottomPadding<\/span> <span style=\"color: #008000\">=<\/span> MD<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Unit<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">FromInch<\/span><span style=\"color: #008000\">&#040;<\/span><span style=\"color: #FF0000\">0.03<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cCurrentTable<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">TopPadding<\/span> <span style=\"color: #008000\">=<\/span> MD<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Unit<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">FromInch<\/span><span style=\"color: #008000\">&#040;<\/span><span style=\"color: #FF0000\">0.03<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FinalizeTable<span style=\"color: #008000\">&#040;<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cDocument<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">LastSection<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">AddParagraph<\/span><span style=\"color: #008000\">&#040;<\/span><span style=\"color: #666666\">&quot;<span style=\"color: #008080;font-weight: bold\">\\n<\/span>&quot;<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#125;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">public<\/span> <span style=\"color: #0600FF;font-weight: bold\">override<\/span> MigraDoc<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">DocumentObjectModel<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Document<\/span> GetReport<span style=\"color: #008000\">&#040;<\/span><span style=\"color: #008000\">&#041;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#123;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000\">System.<span style=\"color: #0000FF\">Diagnostics<\/span><\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Debug<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Assert<\/span><span style=\"color: #008000\">&#040;<\/span>Type <span style=\"color: #008000\">==<\/span> REPORT_TYPE<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">INTEGRATED<\/span> <span style=\"color: #008000\">||<\/span> Type <span style=\"color: #008000\">==<\/span> REPORT_TYPE<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">BULK_SUMMARY<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">return<\/span> cDocument<span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#125;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008080;font-style: italic\">\/\/display standalone report<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">public<\/span> <span style=\"color: #0600FF;font-weight: bold\">override<\/span> <span style=\"color: #6666cc;font-weight: bold\">void<\/span> ShowReport<span style=\"color: #008000\">&#040;<\/span>PPLMain pPPLMain, PPLPole pPole<span style=\"color: #008000\">&#041;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#123;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000\">System.<span style=\"color: #0000FF\">Diagnostics<\/span><\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Debug<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Assert<\/span><span style=\"color: #008000\">&#040;<\/span>Type <span style=\"color: #008000\">==<\/span> REPORT_TYPE<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">STANDALONE<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">throw<\/span> <span style=\"color: #008000\">new<\/span> NotImplementedException<span style=\"color: #008000\">&#040;<\/span><span style=\"color: #666666\">&quot;Report is not REPORT_TYPE.STANDALONE&quot;<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#125;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008080;font-style: italic\">\/\/housekeeping<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">public<\/span> <span style=\"color: #0600FF;font-weight: bold\">override<\/span> <span style=\"color: #6666cc;font-weight: bold\">void<\/span> Reset<span style=\"color: #008000\">&#040;<\/span><span style=\"color: #008000\">&#041;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#123;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cPPLMain <span style=\"color: #008000\">=<\/span> <span style=\"color: #0600FF;font-weight: bold\">null<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cDocument <span style=\"color: #008000\">=<\/span> <span style=\"color: #0600FF;font-weight: bold\">null<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#125;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">private<\/span> <span style=\"color: #6666cc;font-weight: bold\">int<\/span> cIndentStore <span style=\"color: #008000\">=<\/span> <span style=\"color: #FF0000\">0<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">private<\/span> <span style=\"color: #6666cc;font-weight: bold\">int<\/span> cIndent<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#123;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">set<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#123;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cIndentStore <span style=\"color: #008000\">=<\/span> Math<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Max<\/span><span style=\"color: #008000\">&#040;<\/span><span style=\"color: #FF0000\">0<\/span>, <span style=\"color: #0600FF;font-weight: bold\">value<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#125;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">get<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#123;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">return<\/span> cIndentStore<span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#125;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#125;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">private<\/span> <span style=\"color: #6666cc;font-weight: bold\">String<\/span> Indent<span style=\"color: #008000\">&#040;<\/span><span style=\"color: #008000\">&#041;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#123;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">return<\/span> <span style=\"color: #008000\">new<\/span> <span style=\"color: #6666cc;font-weight: bold\">String<\/span><span style=\"color: #008000\">&#040;<\/span><span style=\"color: #666666\">'<span style=\"color: #008080;font-weight: bold\">\\x<\/span>A0'<\/span>, cIndentStore <span style=\"color: #008000\">*<\/span> <span style=\"color: #FF0000\">3<\/span><span style=\"color: #008000\">&#041;<\/span><span style=\"color: #008000\">;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#125;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp;<\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">&nbsp; &nbsp; <span style=\"color: #008000\">&#125;<\/span><\/div><\/li>\n<li><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"><span style=\"color: #008000\">&#125;<\/span><\/div><\/li>\n<\/ol>\t<\/div>\n\n<\/div>\n\n<a class=\"synved-social-button synved-social-button-share synved-social-size-48 synved-social-resolution-single synved-social-provider-facebook nolightbox\" data-provider=\"facebook\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Facebook\" href=\"https:\/\/www.facebook.com\/sharer.php?u=http%3A%2F%2Fo-calcpro.com%2Fwiki%2Fwp-json%2Fwp%2Fv2%2Fposts%2F111&#038;t=Creating%20a%20real%20report&#038;s=100&#038;p&#091;url&#093;=http%3A%2F%2Fo-calcpro.com%2Fwiki%2Fwp-json%2Fwp%2Fv2%2Fposts%2F111&#038;p&#091;images&#093;&#091;0&#093;=&#038;p&#091;title&#093;=Creating%20a%20real%20report\" style=\"font-size: 0px;width:48px;height:48px;margin:0;margin-bottom:5px;margin-right:5px\"><img decoding=\"async\" alt=\"Facebook\" title=\"Share on Facebook\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"48\" height=\"48\" style=\"display: inline;width:48px;height:48px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"http:\/\/o-calcpro.com\/wiki\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/96x96\/facebook.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-48 synved-social-resolution-single synved-social-provider-twitter nolightbox\" data-provider=\"twitter\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Twitter\" href=\"https:\/\/twitter.com\/intent\/tweet?url=http%3A%2F%2Fo-calcpro.com%2Fwiki%2Fwp-json%2Fwp%2Fv2%2Fposts%2F111&#038;text=O-Calc%20Pro%20Information\" style=\"font-size: 0px;width:48px;height:48px;margin:0;margin-bottom:5px;margin-right:5px\"><img decoding=\"async\" alt=\"twitter\" title=\"Share on Twitter\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"48\" height=\"48\" style=\"display: inline;width:48px;height:48px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"http:\/\/o-calcpro.com\/wiki\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/96x96\/twitter.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-48 synved-social-resolution-single synved-social-provider-linkedin nolightbox\" data-provider=\"linkedin\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Linkedin\" href=\"https:\/\/www.linkedin.com\/shareArticle?mini=true&#038;url=http%3A%2F%2Fo-calcpro.com%2Fwiki%2Fwp-json%2Fwp%2Fv2%2Fposts%2F111&#038;title=Creating%20a%20real%20report\" style=\"font-size: 0px;width:48px;height:48px;margin:0;margin-bottom:5px;margin-right:5px\"><img decoding=\"async\" alt=\"linkedin\" title=\"Share on Linkedin\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"48\" height=\"48\" style=\"display: inline;width:48px;height:48px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"http:\/\/o-calcpro.com\/wiki\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/96x96\/linkedin.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-48 synved-social-resolution-single synved-social-provider-mail nolightbox\" data-provider=\"mail\" rel=\"nofollow\" title=\"Share by email\" href=\"mailto:?subject=Creating%20a%20real%20report&#038;body=O-Calc%20Pro%20Information:%20http%3A%2F%2Fo-calcpro.com%2Fwiki%2Fwp-json%2Fwp%2Fv2%2Fposts%2F111\" style=\"font-size: 0px;width:48px;height:48px;margin:0;margin-bottom:5px\"><img decoding=\"async\" alt=\"mail\" title=\"Share by email\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"48\" height=\"48\" style=\"display: inline;width:48px;height:48px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"http:\/\/o-calcpro.com\/wiki\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/96x96\/mail.png\" \/><\/a>","protected":false},"excerpt":{"rendered":"<p>A report was requested that would show all of the applied loads (source loads) applied to a pole. This excludes reactions to the loads so applied by guying are excluded as are the loads generated by the pole itself (wind load, self weight, load from tilt, etc.). The following video shows in real-time the creation ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"http:\/\/o-calcpro.com\/wiki\/2015\/12\/02\/creating-a-real-report\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-111","post","type-post","status-publish","format-standard","hentry","category-report-development"],"_links":{"self":[{"href":"http:\/\/o-calcpro.com\/wiki\/wp-json\/wp\/v2\/posts\/111","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/o-calcpro.com\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/o-calcpro.com\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/o-calcpro.com\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/o-calcpro.com\/wiki\/wp-json\/wp\/v2\/comments?post=111"}],"version-history":[{"count":3,"href":"http:\/\/o-calcpro.com\/wiki\/wp-json\/wp\/v2\/posts\/111\/revisions"}],"predecessor-version":[{"id":114,"href":"http:\/\/o-calcpro.com\/wiki\/wp-json\/wp\/v2\/posts\/111\/revisions\/114"}],"wp:attachment":[{"href":"http:\/\/o-calcpro.com\/wiki\/wp-json\/wp\/v2\/media?parent=111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/o-calcpro.com\/wiki\/wp-json\/wp\/v2\/categories?post=111"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/o-calcpro.com\/wiki\/wp-json\/wp\/v2\/tags?post=111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}