Table-chart selection

Table-chart selection

Hai,

Our application has pdf download.The pdf file has chart and table..Now the problem is user choose only table option but table and chart download..i want table only..the coding was given below..please help me.....

8.5in 1682mm 1189mm 841mm 594mm 420mm 297mm 210mm 148mm 105mm 74mm 52mm 37mm 26mm 1000mm 707mm 500mm 353mm 250mm 176mm 125mm 88mm 62mm 44mm 31mm 917mm 648mm 458mm 324mm 229mm 162mm 114mm 81mm 57mm 40mm 28mm 8.5in 210mm 11in 8.5in 2378mm 1682mm 1189mm 841mm 594mm 420mm 297mm 210mm 148mm 105mm 74mm 52mm 37mm 1414mm 1000mm 707mm 500mm 353mm 250mm 176mm 125mm 88mm 62mm 44mm 1297mm 917mm 648mm 458mm 324mm 229mm 162mm 114mm 81mm 57mm 40mm 11in type="text/xslfo"

      <!-- Change for Logo -->

      <fo:region-before extent="1cm" border="0.1pt solid silver" padding="18pt"  border-bottom-width="2pt" background-color="white" background-image="http://localhost:9002/distil-web1.3/distillogo.png" background-repeat="no-repeat"/>

      <fo:region-after extent="1cm"/>
      <fo:region-body margin-bottom="1.5cm" margin-top="1.5cm"/>
    </fo:simple-page-master>
  </fo:layout-master-set>
  <fo:page-sequence master-reference="simple">
    <!-- Page header -->
    <fo:static-content flow-name="xsl-region-before">
      <fo:block border-bottom-width="0pt" border-bottom-style="solid" border-bottom-color="black" font-weight="bold" font-size="8pt">
        <!-- retrieve current page title -->
        <fo:retrieve-marker retrieve-class-name="page-head"/>



   </fo:block>
    </fo:static-content>
    <!-- Page footer -->
    <fo:static-content flow-name="xsl-region-after">
      <fo:block padding-top="3pt" font-weight="bold" font-size="8pt" text-align="center">
        <fo:inline font-style="italic">
          <!-- <xsl:value-of select="$pageFooterText"/> -->
        </fo:inline>
      </fo:block>
    </fo:static-content>
    <!-- Page content -->
    <fo:flow flow-name="xsl-region-body">
      <fo:block font-size="8pt" font-family="Verdana, Geneva, Arial, Helvetica, sans-serif">
        <fo:block>
          <fo:marker marker-class-name="page-head">
            <!-- FOP compliant implementation, should use fo:leader with later versions -->
            <fo:table table-layout="fixed" width="100%">
              <fo:table-column column-width="proportional-column-width(4)"/>
              <fo:table-column column-width="proportional-column-width(1)"/>
              <fo:table-body>
                <fo:table-row>
                  <fo:table-cell>


                    <!-- <fo:block text-align="left" >

                       <xsl:value-of select="$pageHeaderText"/> 
                    </fo:block> -->

                                        </fo:table-cell>

                  <fo:table-cell>
                    <fo:block text-align="right">                          Page
                      <fo:page-number/>
                      of
                      <fo:page-number-citation ref-id="EndOfDocument"/>
                    </fo:block>
                  </fo:table-cell>
                </fo:table-row>
              </fo:table-body>
            </fo:table>
          </fo:marker>
        </fo:block>
        <!-- report title -->
        <fo:block font-size="12pt" font-weight="bold" text-align="center" space-after="1em">
          <xsl:value-of select="$reportTitle"/>
        </fo:block>

        <!-- chart on first page only -->

        <xsl:if test="$chartimage">
          <fo:block text-align="center" space-after="8em">
            <fo:external-graphic xmlns:fo="http://www.w3.org/1999/XSL/Format" scaling="uniform">
              <xsl:attribute name="content-height">
                <xsl:value-of select="concat($chartheight,'px')"/>
              </xsl:attribute>
              <xsl:attribute name="content-width">
                <xsl:value-of select="concat($chartwidth,'px')"/>
              </xsl:attribute>
              <xsl:attribute name="src">
                <xsl:value-of select="concat(concat('url(',$chartimage),')')"/> 
              </xsl:attribute>

            </fo:external-graphic>
          </fo:block>

          <xsl:if test="$chartPageBreak='true'">
            <fo:block break-after="page"/>
          </xsl:if>
        </xsl:if>


    <fo:block font-size="10pt">
          <fo:table table-layout="fixed">
         <fo:table-body>
              <xsl:apply-templates select="head"/>
              <xsl:apply-templates select="body"/>
            </fo:table-body>  

          <xsl:attribute name="width">
             <xsl:choose>
              <xsl:when test="$tableWidth">
                   <xsl:value-of select="concat($tableWidth,'cm')"/> 
                </xsl:when>  
                <xsl:otherwise>
                  <xsl:value-of select="'100%'"/>
                </xsl:otherwise>
              </xsl:choose>
           </xsl:attribute>   

            <!-- for each corner, create #columns=col-span-->
            <xsl:for-each select="/mdxtable/body/row"> 
              <xsl:sort select="count(cell)" data-type="number" order="ascending"/>
              <xsl:if test="position() = 1">
                <xsl:call-template name="do_columns">
                  <xsl:with-param name="colnum">
                 <!--   if there is a corner, then this works, otherwise need to count row heading-heading colspans  -->
                    <xsl:choose>
                      <xsl:when test="count(/mdxtable/head/row/corner)=0">
                        <xsl:value-of select="sum(/mdxtable/head/row/heading-heading/@colspan)"/>
                      </xsl:when>
                      <xsl:otherwise>
                        <xsl:value-of select="count(cell) + /mdxtable/head/row/corner/@colspan"/>
                      </xsl:otherwise>
                    </xsl:choose>  
                  </xsl:with-param>
                </xsl:call-template>
              </xsl:if>
            </xsl:for-each>

          </fo:table>
        </fo:block>


        <!--<fo:block text-align="center" id="EndOfDocument"/>-->
      </fo:block>
      <fo:block text-align="center" id="EndOfDocument"/>
    </fo:flow>
  </fo:page-sequence>
</fo:root>

1

View Answers

Ads









Related Tutorials/Questions & Answers:
Table-chart selection
Table-chart selection  Hai, Our application has pdf download.The pdf file has chart and table..Now the problem is user choose only table option but table and chart download..i want table only..the coding was given below
Selection based on other selection in jsp
Selection based on other selection in jsp  I am trying to create... category there are products which are taken from a ms access table using a java... selection on same jsp page such that when someone select a category only the products
Advertisements
insert multiple selection - Java
insert multiple selection - Java  how to insert multiple selection values from html into database using servlets
ModuleNotFoundError: No module named 'selection'
ModuleNotFoundError: No module named 'selection'  Hi, My Python... 'selection' How to remove the ModuleNotFoundError: No module named 'selection' error? Thanks   Hi, In your python environment you
Help With Costructing Selection sort?
Help With Costructing Selection sort?  Using a selection sort, for each entry in the array, display the original index of the first dimension... in advance!   Please visit the following link: Java Selection Sort
interrelated two selection box
interrelated two selection box  hi i need two selection box .in 1 box all designation like manager, ceo etc , onclick on manager i should get list of managers names in second selection box.. like wise so on. from database
Selection Using JoptionPane
Selection Using JoptionPane  Help, can someone provide me the code using JOptionPane for the following:- Part A 1) Prompt user to make 3 selection... Modify the above application so that if user makes a selection that the user has
highlight uitableviewcell on selection
the UITableViewCell on selection in my application.   UITableViewCell... highlight it or use the default selection for the cell in UITableView. Also you can disable the the stye by setting StyleNone to cell selection. But in case
checkbox selection in jsp
checkbox selection in jsp  hey guys i am working on a web based project using jsp. In my project i am having 9 check boxes in 3 rows in the same form. I want to select i check box from each row and also i want to avoid many
ModuleNotFoundError: No module named 'blacken-selection'
ModuleNotFoundError: No module named 'blacken-selection'  Hi, My... named 'blacken-selection' How to remove the ModuleNotFoundError: No module named 'blacken-selection' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'causal-selection'
ModuleNotFoundError: No module named 'causal-selection'  Hi, My... named 'causal-selection' How to remove the ModuleNotFoundError: No module named 'causal-selection' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'causal-selection'
ModuleNotFoundError: No module named 'causal-selection'  Hi, My... named 'causal-selection' How to remove the ModuleNotFoundError: No module named 'causal-selection' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'model-selection'
ModuleNotFoundError: No module named 'model-selection'  Hi, My... named 'model-selection' How to remove the ModuleNotFoundError: No module named 'model-selection' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'model-selection'
ModuleNotFoundError: No module named 'model-selection'  Hi, My... named 'model-selection' How to remove the ModuleNotFoundError: No module named 'model-selection' error? Thanks   Hi, In your python
changing selection color of <button>
changing selection color of   dear all, i have loaded image in border less button tag when button is selected with tab key i get brown color rectangle around image. how do i change color of that rectangle from brown to white
selection box linked with textarea
selection box linked with textarea    function get_val(tot_val1...); } <Table width="767" border="1" height="150... detals i have in db with all fields .. like wise i have names in selection box sham
Displaying files on selection of date.
Displaying files on selection of date.  Hi, I am developing a GUI, where i select from and to date. On selection of from and to date the GUI should...); JButton b = new JButton("Search File"); final JTable table=new JTable
Selection With Ajax and JSP
Selection With Ajax and JSP  I am working at a jsp page using ajax for country , state, city selection. so if he select country it will populate the state and city selection (both). After selecting country if he select city
single selection of chechbox among multiple selection when in a loop.
single selection of chechbox among multiple selection when in a loop.  i am using cmd prompt to run and execute the java pgm. here i need your help... but here am getting multiple selection(previous selected item also coming again
enable text box and label on selection
enable text box and label on selection  hello, Please tell me how to enable label and text box on selection of drop down list box. in drop down list box all values come from database. please reply
ModuleNotFoundError: No module named 'colcon-package-selection'
ModuleNotFoundError: No module named 'colcon-package-selection'  Hi...: No module named 'colcon-package-selection' How to remove the ModuleNotFoundError: No module named 'colcon-package-selection' error? Thanks  
ModuleNotFoundError: No module named 'feature-selection-fdr'
ModuleNotFoundError: No module named 'feature-selection-fdr'  Hi...: No module named 'feature-selection-fdr' How to remove the ModuleNotFoundError: No module named 'feature-selection-fdr' error? Thanks   Hi
ModuleNotFoundError: No module named 'odoo10-addon-pos-lot-selection'
ModuleNotFoundError: No module named 'odoo10-addon-pos-lot-selection' ...: No module named 'odoo10-addon-pos-lot-selection' How to remove the ModuleNotFoundError: No module named 'odoo10-addon-pos-lot-selection' error
ModuleNotFoundError: No module named 'rpi-feature-selection-toolbox'
ModuleNotFoundError: No module named 'rpi-feature-selection-toolbox'  ...: No module named 'rpi-feature-selection-toolbox' How to remove the ModuleNotFoundError: No module named 'rpi-feature-selection-toolbox' error
ModuleNotFoundError: No module named 'branch-and-bound-feature-selection'
ModuleNotFoundError: No module named 'branch-and-bound-feature-selection' ...: ModuleNotFoundError: No module named 'branch-and-bound-feature-selection' How to remove the ModuleNotFoundError: No module named 'branch-and-bound-feature-selection
ModuleNotFoundError: No module named 'colcon-package-selection'
ModuleNotFoundError: No module named 'colcon-package-selection'  Hi...: No module named 'colcon-package-selection' How to remove the ModuleNotFoundError: No module named 'colcon-package-selection' error? Thanks  
ModuleNotFoundError: No module named 'ecg-feature-selection'
ModuleNotFoundError: No module named 'ecg-feature-selection'  Hi...: No module named 'ecg-feature-selection' How to remove the ModuleNotFoundError: No module named 'ecg-feature-selection' error? Thanks   Hi
ModuleNotFoundError: No module named 'ecg-feature-selection'
ModuleNotFoundError: No module named 'ecg-feature-selection'  Hi...: No module named 'ecg-feature-selection' How to remove the ModuleNotFoundError: No module named 'ecg-feature-selection' error? Thanks   Hi
ModuleNotFoundError: No module named 'knock-feature-selection'
ModuleNotFoundError: No module named 'knock-feature-selection'  Hi...: No module named 'knock-feature-selection' How to remove the ModuleNotFoundError: No module named 'knock-feature-selection' error? Thanks   
ModuleNotFoundError: No module named 'naive-feature-selection'
ModuleNotFoundError: No module named 'naive-feature-selection'  Hi...: No module named 'naive-feature-selection' How to remove the ModuleNotFoundError: No module named 'naive-feature-selection' error? Thanks   
ModuleNotFoundError: No module named 'odoo10-addon-pos-lot-selection'
ModuleNotFoundError: No module named 'odoo10-addon-pos-lot-selection' ...: No module named 'odoo10-addon-pos-lot-selection' How to remove the ModuleNotFoundError: No module named 'odoo10-addon-pos-lot-selection' error

Ads