{"id":182,"date":"2015-12-11T14:47:03","date_gmt":"2015-12-11T14:47:03","guid":{"rendered":"http:\/\/o-calcpro.com\/wiki\/?p=182"},"modified":"2015-12-13T01:23:56","modified_gmt":"2015-12-13T01:23:56","slug":"implementing-a-bulk-summary-report","status":"publish","type":"post","link":"http:\/\/o-calcpro.com\/wiki\/2015\/12\/11\/implementing-a-bulk-summary-report\/","title":{"rendered":"Implementing a Bulk Summary Report"},"content":{"rendered":"<p>In O-Calc Pro there exists the concept of a &#8220;Bulk Summary Report&#8221;.  This is a report where a compact bit of information for each of a collection of poles (as determined through the batch report system) is added to a single report page.  This is as opposed to the normal report where each pole is represented by a single page or pages. <\/p>\n<p><img decoding=\"async\" src=\"http:\/\/o-calcpro.com\/wiki\/wp-content\/uploads\/2015\/12\/121115_1434_Implementin1.png\" alt=\"\"\/><\/p>\n<p>Implementing a Bulk Summary Report is very nearly identical to a normal report.<\/p>\n<p>First change the report&#8217;s &#8220;Type&#8221; property to return &#8220;REPORT_TYPE.BULK_SUMMARY&#8221;.<\/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\">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\">BULK_SUMMARY<\/span><span style=\"color: #008000\">;<\/span> <span style=\"color: #008000\">&#125;<\/span> <span style=\"color: #008000\">&#125;<\/span><\/div><\/li>\n<\/ol>\t<\/div>\n\n<\/div>\n\n<p>Next implement the report as normal.  It is important to remember that unlike a normal report the method &#8220;CreateReport&#8221; will be called once and the method &#8220;AddPole&#8221; will be called MULTIPLE TIMES!<\/p>\n<p>In previous examples we sometimes see that the header (for example) is implemented in the &#8220;AddPole&#8221; section, in a bulk report it must be implemented in the &#8220;CreateReport&#8221; section.<\/p>\n<div id=\"ig-sh-2\" 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\">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; <span style=\"color: #6666cc;font-weight: bold\">string<\/span> groupName <span style=\"color: #008000\">=<\/span> Name<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\">foreach<\/span> <span style=\"color: #008000\">&#040;<\/span>FileInfo finfo <span style=\"color: #0600FF;font-weight: bold\">in<\/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; &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: #6666cc;font-weight: bold\">string<\/span> str <span style=\"color: #008000\">=<\/span> <span style=\"color: #000000\">System.<span style=\"color: #0000FF\">IO<\/span><\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Path<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">GetDirectoryName<\/span><span style=\"color: #008000\">&#040;<\/span>finfo<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">FullName<\/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: #6666cc;font-weight: bold\">int<\/span> idx <span style=\"color: #008000\">=<\/span> str<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">LastIndexOf<\/span><span style=\"color: #008000\">&#040;<\/span><span style=\"color: #666666\">'<span style=\"color: #008080;font-weight: bold\">\\\\<\/span>'<\/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; groupName <span style=\"color: #008000\">=<\/span> str<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Substring<\/span><span style=\"color: #008000\">&#040;<\/span>idx <span style=\"color: #008000\">+<\/span> <span style=\"color: #FF0000\">1<\/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\">break<\/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; 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; cPPLMain<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">BuildStandardGroupReportHeader<\/span><span style=\"color: #008000\">&#040;<\/span>cDocument, <span style=\"color: #666666\">&quot;Capacity Summary Report&quot;<\/span>, groupName<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; 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> 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; &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: #008000\">.<\/span>025, 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; &nbsp; &nbsp; paragraph<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Format<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Alignment<\/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\">ParagraphAlignment<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Center<\/span><span style=\"color: #008000\">;<\/span> &nbsp; &nbsp; &nbsp; &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<\/ol>\t<\/div>\n\n<\/div>\n\n<p>Now we implement a section that adds a new paragraph, table, row, etc. depending on the output we desire.  For example&#8230;<\/p>\n<div id=\"ig-sh-3\" 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\">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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0600FF;font-weight: bold\">while<\/span> <span style=\"color: #008000\">&#040;<\/span>cPPLMain<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">cCapReport<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">poleCapacitySummary1<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">GuyWireStatus<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Text<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">EndsWith<\/span><span style=\"color: #008000\">&#040;<\/span><span style=\"color: #666666\">&quot;...&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; <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: #000000\">System.<span style=\"color: #0000FF\">Threading<\/span><\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Thread<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Sleep<\/span><span style=\"color: #008000\">&#040;<\/span><span style=\"color: #FF0000\">500<\/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; cPPLMain<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">UpdateCapacitySummaryView<\/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; <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: #6666cc;font-weight: bold\">String<\/span> poleName<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\">if<\/span> <span style=\"color: #008000\">&#040;<\/span>pPoleName <span style=\"color: #008000\">==<\/span> <span style=\"color: #0600FF;font-weight: bold\">null<\/span> <span style=\"color: #008000\">||<\/span> pPoleName<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Trim<\/span><span style=\"color: #008000\">&#040;<\/span><span style=\"color: #008000\">&#041;<\/span> <span style=\"color: #008000\">==<\/span> <span style=\"color: #6666cc;font-weight: bold\">String<\/span><span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">Empty<\/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; poleName <span style=\"color: #008000\">=<\/span> <span style=\"color: #666666\">&quot; &quot;<\/span> <span style=\"color: #008000\">+<\/span> pPole<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">GetValueAndConvertToString<\/span><span style=\"color: #008000\">&#040;<\/span><span style=\"color: #666666\">&quot;Pole Number&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; <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; poleName <span style=\"color: #008000\">=<\/span> pPoleName<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; cPPLMain<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">CapacitySummaryViewToMigraDoc<\/span><span style=\"color: #008000\">&#040;<\/span>cDocument<span style=\"color: #008000\">.<\/span><span style=\"color: #0000FF\">LastSection<\/span>, poleName, <span style=\"color: #666666\">&quot;Summary of &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; 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; &nbsp; &nbsp; &nbsp; <span style=\"color: #008000\">&#125;<\/span><\/div><\/li>\n<\/ol>\t<\/div>\n\n<\/div>\n\n<p>Now this report will appear in the &#8220;Bulk Reports&#8221; section of the batch reporting tool but WILL NOT be included in the normal reports tab of the main user interface.  When select all of the poles in a batch report will be included in order on a single report which will be placed at the beginning of a merged report (if one was requested).<\/p>\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%2F182&#038;t=Implementing%20a%20Bulk%20Summary%20Report&#038;s=100&#038;p&#091;url&#093;=http%3A%2F%2Fo-calcpro.com%2Fwiki%2Fwp-json%2Fwp%2Fv2%2Fposts%2F182&#038;p&#091;images&#093;&#091;0&#093;=http%3A%2F%2Fo-calcpro.com%2Fwiki%2Fwp-content%2Fuploads%2F2015%2F12%2F121115_1434_Implementin1.png&#038;p&#091;title&#093;=Implementing%20a%20Bulk%20Summary%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%2F182&#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%2F182&#038;title=Implementing%20a%20Bulk%20Summary%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=Implementing%20a%20Bulk%20Summary%20Report&#038;body=O-Calc%20Pro%20Information:%20http%3A%2F%2Fo-calcpro.com%2Fwiki%2Fwp-json%2Fwp%2Fv2%2Fposts%2F182\" 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>In O-Calc Pro there exists the concept of a &#8220;Bulk Summary Report&#8221;. This is a report where a compact bit of information for each of a collection of poles (as determined through the batch report system) is added to a single report page. This is as opposed to the normal report where each pole is ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"http:\/\/o-calcpro.com\/wiki\/2015\/12\/11\/implementing-a-bulk-summary-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-182","post","type-post","status-publish","format-standard","hentry","category-report-development"],"_links":{"self":[{"href":"http:\/\/o-calcpro.com\/wiki\/wp-json\/wp\/v2\/posts\/182","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=182"}],"version-history":[{"count":3,"href":"http:\/\/o-calcpro.com\/wiki\/wp-json\/wp\/v2\/posts\/182\/revisions"}],"predecessor-version":[{"id":185,"href":"http:\/\/o-calcpro.com\/wiki\/wp-json\/wp\/v2\/posts\/182\/revisions\/185"}],"wp:attachment":[{"href":"http:\/\/o-calcpro.com\/wiki\/wp-json\/wp\/v2\/media?parent=182"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/o-calcpro.com\/wiki\/wp-json\/wp\/v2\/categories?post=182"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/o-calcpro.com\/wiki\/wp-json\/wp\/v2\/tags?post=182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}