Merge cells in table (RTF template)

Hey, everybody! Is it possible to merge cells at runtime on some condition?
Edited by: user11367404 on 24.08.2009 6:10

Hi,Rumzes, have you resolved your problem ? Could you tell me how to merge cells ? Thanx

Similar Messages

  • Unable to merge cells in Table(WAD)

    HI Gurus,
    I am working on BI7.0,
    I am trying to create Web Templates to display reports in portal for that
    I have selected Table (rows and coloms), When I try to merge first two cells
    (to write descritpion of query) it is not allowing me to merge.
    Can anybody suggest me how to merge two cells in table.
    Thanks in advance.
    Maruthi
    Edited by: maruthi k on Dec 15, 2008 2:04 PM

    If you're talking simply about merging the cells in an HTML table, then you use the COLSPAN or ROWSPAN options in  HTML.
    Check out the following
    <html>
    <body>
        <table border="1" cellpadding="2" cellspacing="0">
            <tr>
                <td>
                    Heading 1</td>
                <td>
                    Heading 2</td>
                <td>
                    Heading 3</td>
            </tr>
            <tr>
                <td colspan="2">
                    Text covering 2 cells</td>
                <td>
                    Last cell</td>
            </tr>
            <tr>
                <td rowspan="2">
                    Text covering 2 cells across 2 rows</td>
                <td>
                    Text in cell 2 row 2</td>
                <td>
                    Text in cell 3 row 2</td>
            </tr>
            <tr>
                <td>
                    Text in cell 2 row 3</td>
                <td>
                    Text in cell 3 row 3</td>
            </tr>
        </table>
    </body>
    </html>
    Take the above code and put it in a simple HTML file and run that file in your browser, you should then be able to see how COLSPAN and ROWSPAN work.
    COLSPAN=2 means that the cell spans 2 columns. Similary, COLSPAN=3 would then span 3 columns.
    Remember though that when you set COLSPAN=2, you will need 1 less TD in that row, otherwise you end up with an extra cell in that row which makes your table look all messy.
    Now, in your template, get into the XHTML view, find the table, and set the COLSPAN / ROWSPAN accordingly.
    Hope this helps.
    Cheers,
    Andrew

  • Help with merged cells in table

    I'm just learning how to use Dreamweaver 8 and tables. I am
    trying to use a table with merged cells filled with graphics --
    only one graphic per cell. I make my jpg the size of my cell, which
    it seems to fill. Then, when I upload it to view in browser, it
    looks as though the graphic doesn't take up the entire cell. At one
    point, it was working both in Dreamweaver and the browser. Now, in
    the browser view, it looks as though there is extra space above the
    graphic and below it. Any suggestions on what is going on???

    It's not the use of tables with your graphics that is
    necessarily the
    problem, it's HOW you are using the tables with your
    graphics. Can we see
    the page you have built so we can examine the code?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "degazon" <[email protected]> wrote in
    message
    news:gasr2p$10m$[email protected]..
    > Thanks! It's now evident that I shouldn't use tables
    with the graphics.

  • How to merge cells in tables if SmartForms like colspan/rowspan in HTML

    Hi!
    Is it possible to merge cells in a tables in SmartForms like colspan/rowspan parameters in HTML?
    Both horisontal and vertical merging needed both in header and in body of the table.
    Thanks!

    No it is not possible.
    For merging purpose we have to create seperate windows for that col or rows.

  • Generating a report from RTF template using WSDL from ADF

    Hi,
    I am a newbie to ADF-BIP integration.
    I am using the wsdl http://<<ip>>:<<port>>/xmlpserver/services/PublicReportService?WSDL for generating a report from RTF Template in ADF.
    We are using Oracle Business Intelligence Publisher Release 11g (11.1.1) and JDeveloper 11g (11.1.1.5.0).
    I have a couple of merge variables in my RTF template and I am passing these variable using Report Request parameters.
    below is code I added for creating the report request.
    First I created publicReportService using webservice proxy.
        public static ReportRequest getReportRequestFromBIPWithTemplate(String reportFolderOnBIP,
                                                            String reportName,
                                                            String outputFileFormat,
                                                            String template,
                                                            HashMap params) {
          String reportAbsolutePath = reportFolderOnBIP + "/" + reportName + ".xdo";
          ReportRequest repRequest = new ReportRequest();
          System.out.println("report path:  " + reportAbsolutePath);
          repRequest.setReportAbsolutePath(reportAbsolutePath);
          repRequest.setAttributeTemplate(template);
          repRequest.setAttributeFormat(outputFileFormat);
          repRequest.setAttributeLocale("en-US");
          repRequest.setSizeOfDataChunkDownload(-1);
          System.out.println(params.size());
          ParamNameValue[] paramNameValue = new ParamNameValue[params.size()];
          ArrayOfParamNameValue arrayOfparamNameValue = new ArrayOfParamNameValue();
          Set set = params.entrySet();
          Iterator iter = set.iterator();
          int i = 0;
          while (iter.hasNext()) {
            Map.Entry me = (Map.Entry)iter.next();
            System.out.println(i + "--->>>" + me.getKey() + " : " + me.getValue());
            paramNameValue[i] = new ParamNameValue();
            paramNameValue.setMultiValuesAllowed(false);
    ArrayOfString values = new ArrayOfString();
    if (me.getValue() == null) {
    values.getItem().add("");
    } else {
    values.getItem().add((me.getValue()).toString());
    paramNameValue[i].setValues(values);
    paramNameValue[i].setName((me.getKey()).toString());
    arrayOfparamNameValue.getItem().add(paramNameValue[i]);
    i++;
    repRequest.setParameterNameValues(arrayOfparamNameValue);
    return repRequest;
    I generated report response bytes using below code
    {code:java}
    repRes = publicReportService.runReport(repReq,userID,password);
    reportStream = repRes.getReportBytes();I could see the generated PDF but the supplied variables are NOT reflected in place of merge variables.
    Ex: In template
    Welcome, <<merge variable, userName>>
    {code}
    Generated PDF should have
    {code:java}
    Welcome, Hello World
    {code}
    Instead of the above I am getting
    {code:java}
    Welcome,
    {code}
    I am looking for a suggestion, Please help me in this regard.
    Thanks,
    Satya
    Edited by: 921138 on May 30, 2012 11:11 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Please let me know if any one has update for this.
    Thanks in advance,
    Satya

  • How to hide rows with merged cells?

    I would like to know how to hide rows on numbers with merged cells, could do it normally at excel but I am not being able to do it at Numbers.
    thanks!

    Felipe,
    To hide a row with Merged Cells, Un-Merge first, then Hide. Select the Merged Cells and Table > Unmerge.
    Note that this is only a problem with vertically merged cells when you want to Hide a Row.
    If you want to Hide a Column, you can't have a Horizontal Merge that involves that Column.
    Jerry

  • ABAP WD: ALV merge cells

    Hello,
    I have a hierarchical ALV. I need to merge some cells in it.
    For instance, there is a column name: Brand Name. There are multiple rows that have same brand name, let's say SONY.
    Is it possible to merge these cells that have same brand name? If so what should I use?
    Thank you.
    Best Regards,
    Georgy Norkin

    Hi,
    Go through the links,
    Merging cells of a table in Webdynpro
    merging cells in table
    Regards,
    Azaz.

  • Nested tables in RTF templates

    Hi,
    I've developed several templates including nested tables(to display parent/child transactions together in a single column group, displaying all the detail transactions but the parent only once), in PDF output this looks fine. However the users want all their output in Excel, this same layout is not picked up by Excel(all column headers for the data in the nested table move to the right, while all the data in the nested table is grouped under a 'merged cell' column header). Output of BI Publisher reports in Excel is generally terrible with a template designed for publishing in PDF, usually I can solve this with a lot of tweaking but haven't found a solution for this issue yet. Has anyone else run into this formatting issue and may have a tip to solve this?
    Regards,
    Arthur

    Hi,
    You need to declare a TYPE object as and then use it in the table structure.
    CREATE TYPE type_emp IS TABLE OF VARCHAR2(15);
    CREATE TABLE Biscuits Company SA
    (company_name COMPANY NOT NULL,
    Company_Owner VARCHAR2(20) NOT NULL)
    NESTED TABLE staff_tab STORE AS type_emp;
    Please see the link for more info.
    http://www.developer.com/db/article.php/10920_3379271_3
    Thanks

  • Best approach -To create RTF template having more than 50 tables.

    Hi All,
    Need your help.I am new to BI publisher. Currently we are using BIP 11g.
    I want to develop.rtf template having lots of layout and images.
    Data is coming from different tables (example : pulling from around 40 tables). When i tried to pull data from 5 tables by joining tables. It takes more time using data model in BI publisher 11g saved in xml and used in word doc.
    Could you please suggest best approach  weather i need to develop .rtf template via data model or query to generate a report.
    Also please suggest / guide me .
    Regards & Thanks in advance.

    it's very specific requirements
    first of all it's relate to logic behind
    as example 50 tables are related ? or 50 independent tables ? or may be 5 related and another independent ?
    based on relation of tables you create sql statement(s)
    how many sql statement(s) you'll have lead to identify ways to get data, as example, by package or trigger etc
    kim size of resulting select statement(s)
    if size say 1mb it's must be fast to get report but for 1000mb it can consume many time
    also kim what time it's not only to select data but to merge data and template
    looks like experimenting and knowing full logic of report is only ways to get needed output in projection of data and time

  • 6575722.994:   ADDITIONAL BLANK TABLE CELLS ADDED IN RTF HEADER

    HI all,
    XML:5.6.3
    APPS:11.5.10.2
    Please advice,
    RTF template associated with PO Output for Communication (tempalte uploaded). When previewed,
    data displays correctly.
    When output is viewed from Application, additional blank table cells are added in header area.
    These blank table cells are unwanted.
    Also :
    If I have multiple pages of output, the application is losing the header and footer after the
    first page.
    If I preview the template from Microsoft Word with the same output, the header and footer shows on
    all pages.
    Customer said:
    'not looking for help designing the template - I have a template that gives
    different output when output is viewed in the template builder and compared against the output from the application.
    I am looking for assistance on which output is incorrect, and what cna be done to ensure both outputs are consistent'
    thxs!

    check if you have any carriage return,or extra space in your tag
    or if you are using 'IF' condition try using @inlines.
    these are the general situations were extra space is created in your output

  • How to Merge Cells in Template in Smartform??

    Hi,
        Can somebody pls tell me how to merge cells vertically in to single cell in a Template in Smartforms..
    Regards,
    Rushikesh

    Hi Rushikesh,
    SAP does not directly provide option of merging the cells intemplate...Check out following
    to do the needful.
    1. Double click on the template node and go to table painter.
    2. say you want to merge two cells C1 & C2
    3. Click on the pencil icon above table painter to get plus type cursor now click on
       any cell from C1 or C2. The cell turns black indicating the selction .
    4. Right click -> Delete -> Cell. C1 is deleted.
    5. Again click on the pencil icon to get back the arrow cursor.
    6. Now take pointer on the boundary of cell C2. You the icon changes indicating
        the cell boundary can adjusted as per req. Do the necessary adjustment .
    7. Save and activating.
    Hope this helps you...
    Enjoy SAP.
    Pankaj Singh..

  • Table cells - Problem with merged cells

    Hi
    I was experiencing very weird behavior with my tables until I realized that it was caused by merged cells
    My script gives a dialog which allows the user to choose from which column to start and from which row.
    As the script iterates through the cells in the selection I was getting weird results
    Through using .select() function I was able to see that depending on the column, some times row 5 could be which seems to be row 3!
    The reason was because of merged cells in that row
    I.e., when some cells are merged together, only the first column of those merged cells is recognized - the others are not
    so it comes out that when merging cells from column 3 to 5, column 3 has a cell in that row, columns 4 and 5 do not, and column 6 does!
    Is there a way to get around this behavior?
    Thanks
    Davey

    I don't understand the point of your post.
    If you're trying to report a problem or "bug" with Pages, that is not the purpose of this user-to-user forum. You should leave feedback for the Pages team on this page.
    I've not had a problem opening Word files with tables in Pages. If you're saying Word can't handle tables with merged cells, then don't use merged cells in files you are going to export as Word. Word & Pages must handle merged table cells differently, as I know both can do that. As far as RTF, Pages can open & export as RTF. Again, if you are going to export as RTF, don't use tables. Neither of these is a fault of Pages, just limitations of the formats/programs.

  • Merge cells between 2 rows in a smart form(template)

    Hi ,
    I need to merge two cells between 2 rows of a template.
    Like the first cell is a big one 10cm height and has two adjacent 5cm cells beside it.
    Can anyone tell me if this is possible.And if Yes ,How?
    Merging cells between columns work,but i am not able to do it betweeen two rows.
    I had some Options that i treid and ruled out are
    Since it is flowing data i cant use multiple windows and so the template needs to be in my mainwindow.
    I cant use multiple main windows also .
    This merging doesnt work in table also.
    Regrads,
    Sai.

    Well I dont know if i am not clear in my question.
    Let me articulate.
    It not the conditional display of rows taht i want to acheive.
    Its  merging cells between two rows.
    Like say first a cell of height 10 cm shoudl filled with text (say 'AB')spanning full 10 cm.
    And then adjacent to this 10cm cell , there shoud be two cells of say 5cm one below each other
    with say 'A' on the top cell and 'B' on the bottom cell.
    So you have one big 'AB' (10cm cell) and then beside this you have ' A' and 'B' one below each other.
    Like shown below the Bold 'AB' spans 10 cm from top to bottom ,beside this AB is A in the top 5cm cell and
    B in the bottom 5 cm cell.
    ABA
            B
    Regards,
    Sai.

  • In Rtf Template ,table is not fit with window after hide columns

    Hi,
    In my RTF template i have table with 5 columns in that 3 colums will display based on condition. During runtime it showing correctly with 5 columns i.e fit to window.
    suppose if any of column is not displayed(hide) and table is shrinking and not fit with window.
    Tried with following option in word doc:
    Right click on table and select Auto Fit--> Auto fit to window. but didn't work. Please let me know is any options to make table to fit with window.
    Thanks..
    Edited by: user9530489 on May 3, 2011 1:09 PM

    Hi,
    I've changed the output device in order to test with the LP01 printer.
    This device is not active in SPAD but if i setup my action with this device I can preview the smartform. It is not possible to preview the smartform with the printer that I'd like to use.
    Any ideas?
    Thanks in advance,
    Stephanie

  • RTF templates and word cell padding.

    Hi.
    I'm having a problem with numbers in an XML Publisher report. Generated RTF templates don't seem to retain the cell padding properties.
    Has anyone got any suggestions on how to get round this?
    Thanks.
    Steve.

    Well there appears to be a bug in the RTF generator.
    It appears that Oracle want to use paragraph left and right indentation properties to pad text in cells away from cell borders. There is a bug in the rtf reader in word that causes problems if cell padding properties are used so paragraph indentation appears a sensible work round.
    By default there appears to be a left hand indentation of 5 applied to all paragraphs in cells. If a left hand cell maring is applied to cells then the left hand cell margin in the report increases in size.
    However, right hand cell margins appear to be ignored and NOT written as attributes to cell paragraph text in the the generated report, and this causes problems when trying to print an RTF report as numbers in cells get clipped by cell borders.
    Edited by: user7137712 on 18-Mar-2010 03:21

Maybe you are looking for