Problem with Cell size in Excel output of XML report

Dear all,
I am facing a problem with cell size when i run my XML report in Excel output. I found that it imitates the cell size of whatever i gave in the RTF. I cannot increase the cell size in RTF as my report contains 60 columns and max width of MS Word table is 22 inches.
Can any one suggest a way of doing this which shows full data in Excel sheet depending on the column data size with out any word wrap.
Thanks
RAJ

Hi ,
You can try with
<xsl:attribute xdofo:ctx="block" name="wrap-option">no-wrap</xsl:attribute>
may be helpful to you
Thanks,
Ananth
http://bintelligencegroup.wordpress.com/

Similar Messages

  • Problems with Adapter module converting Excel file to XML

    Hi All,
    I have created an adapter moduel to convert the input excel file to XML and have deployed it. While testing we found that there is an extra empty record with empty elements added additionally. Can anyone help on this?
    Below is the convert function used for it.
    public byte[] convert(byte src[],String msgType,String nameSpace) throws Exception
                        String xmldata = "";
                        try
                               ByteArrayInputStream byteArr= new ByteArrayInputStream(src);
                               Workbook wb = Workbook.getWorkbook(byteArr);
                               Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS,"AO: Conversion Started.");
                               xmldata ="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n"+ "<ns0:"+msgType+" "+"xmlns:ns0=\""+nameSpace+"\">";
                               Cell[] cells ;
                               Cell[] cellNames ;
                               cellNames = wb.getSheet(0).getRow(4);
                               for(int j=5;j<wb.getSheet(0).getRows();j++)
                                       xmldata = xmldata+"<Record>";
                                       cells = wb.getSheet(0).getRow(j);
                                       for(int i=1;i<wb.getSheet(0).getColumns();i++)
                                            xmldata = xmldata+"<"+cellNames<i>.getContents().replaceAll(" ","")+">"+cells<i>.getContents()+"</"+cellNames<i>.getContents().replaceAll(" ","")+">";
                                       xmldata = xmldata+"</Record>";
                                xmldata = xmldata + "</ns0:"+msgType+">";     
                                                            wb.close();
                         catch (Exception e)
                             Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS,"AO: Exception in Convert Method.");
                         return xmldata.getBytes();
    Regards,
    Malini
    Edited by: malini balasubramaniam on Mar 5, 2010 7:28 AM

    Hi,
    xmldata = xmldata+"<Record>";
    cells = wb.getSheet(0).getRow(j);
    for(int i=1;i<wb.getSheet(0).getColumns();i++)
    xmldata = xmldata"<"cellNames<i>.getContents().replaceAll(" ","")">"cells<i>.getContents()"</" ","")">";
    xmldata = xmldata+"</Record>";
    Can u please change this part of code as
    Hi,
    cells = wb.getSheet(0).getRow(j);
    if(cells.size()>0)  
    xmldata = xmldata+"<Record>";
    for(int i=1;i<wb.getSheet(0).getColumns();i++)
    xmldata = xmldata"<"cellNames<i>.getContents().replaceAll(" ","")">"cells<i>.getContents()"</" ","")">";
    xmldata = xmldata+"</Record>";
    Check first if the row is empty...
    im nt sure it is cells.size() or cells.length.. please try both
    Thanks & Regards
    Babu

  • Problems with the xsl element ---- xsl:output method="xml"/ ----

    Hy, my problem is the next, I am trying to read a xml file and transform it in itself but when I do with XSLT, Internet Explorer doesnt show a xml file, just show me the text nodes of the xml file. I have the element <xsl:output method="xml"/>" in the xsl file but I dont Know what Iam doing wrong.
    The next code is from the xsl file:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="xml"/>
    <xsl:template match="/">
    <xsl:copy-of select="catalog"/>
    </xsl:template>
    </xsl:stylesheet>
    The next code is from the xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Edited with XML Spy v2007 (http://www.altova.com) -->
    <?xml-stylesheet type="text/xsl" href="PlantillaXSL.xml"?>
    <catalog dni="4546545">
         <cd numero="2" id="5" color="red">
              <title>Empire Burlesque</title>
              <artist>Bob Dylan</artist>
              <country>USA</country>
              <company>Columbia</company>
              <price>10.90</price>
              <year>1985</year>
         </cd>
    </catalog>
    The result in internet explorer is:
    Bob Dylan USA Columbia 10.90 1985

    All right. I asked because it's unusual to use the ".xml" extension for an XSL file, so I thought it might be an error. But there's nothing wrong with that.
    Next debugging step: is that XSL file actually being used? Insert some debugging code in it so that you can tell.

  • Unable to see EXCEL output for xml report--browser issues?

    hi i have created and registered an xml publisher report.
    i want to see the out put in Excel format.When i run the report i get junk data as output.
    is there any profile setting or viewer profiles that i need to change to view the output in excel.
    i can see excel output on standalone version when i load the data into template and look for the excel output.
    i cant see the same when i run the program through apps.
    Can any one help me regarding this.
    Thansk in advance

    I got the solution for this issue i am closing the thread..
    i had to change the system profiles to browser
    sysadmin>system>profile>query %Viewer%>set Viewer Text:browser
    and Text:browser
    Thanks.

  • Add image in excel ourput of xml report

    HI ,
    I want to add logo(image) in my excel output of xml report. I have created rtf template for this and put the logo in the template but it is not showing in my excel output. Can any one please advise on the same.
    Thanks in advance!!

    Hi,
    if are bursting the report with RTF Template and Excel Out Put image will not come that is an enhancement Request. that will be avilabel in future release.
    if u are not bursting the report then image will come
    copy the image directly into RTF Template or insert using insert option in Template. there is no specific condition that image has to be on top. that is left for u only.
    cheers,
    chintu

  • Problem with controlling Annotations from Excel VBA

    Hi,
    I have a PDF document that has plenty of sticky notes attached to it. These sticky notes have been added by multiple authors on all pages of the document. I am trying to import the contents of these sticky notes, their author and the page number to an excel spreadsheet.  I am using Excel 2007 and Acrobat Professional 9.0.
    This is the code that I am currently using to import the sticky notes, but the problem that I am facing is that when I run the macro -
    Same sticky note contents, author and page numbers are imported multiple times
    Not all sticky notes are imported, only some of them appear in the final excel spreadsheet
    When I compare the number of sticky notes to that in the original PDF file, the number is correct. But the content is repeated content and that is the reason why only some of the sticky notes are imported.
    This is an activity that I need to do on regular basis and the number of sticky notes that I need to import to excel may range between 100 to 200. It is really difficult to do this task manually, so an excel VBA macro could prove really helpful.
    Sub ImportComments_Click()
    Dim Fpath As String
    Dim WordObj As Object
    Dim wbkOutput As Excel.Workbook
    Dim iRow As Integer
    Dim i, j, k As Integer
    Dim lRet As Long
    Dim objAcroAVDoc As New Acrobat.acroAVDoc
    Dim objAcroPDDoc As Acrobat.AcroPDDoc
    Dim numPages As Long
    Dim lAnnotscnt As Long
    Dim Subtype As String
    Dim NumComments As Long
    Dim AcroApp As Acrobat.AcroApp
    Dim objAcroPDPage As Acrobat.AcroPDPage
    Dim annot As Acrobat.AcroPDAnnot
    Sheets("Defect Log").Select
    Range("L3").Activate
    Fpath = ActiveCell.Value
    Sheets("Defect Log").Select
    Range("A1").Activate
    i = 0
    Do While (Not (IsEmpty(ActiveCell.Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 1).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 2).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 3).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 4).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 5).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 6).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 7).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 8).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 9).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 10).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 11).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 12).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 13).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 14).Value)))
    i = i + 1
    ActiveCell.Offset(1, 0).Select
    Loop
    iRow = i + 1
    Set wbkOutput = ActiveWorkbook
    lRet = objAcroAVDoc.Open(Fpath, "")
    Set objAcroPDDoc = objAcroAVDoc.GetPDDoc
    numPages = objAcroPDDoc.GetNumPages()
    Set objAcroPDPage = objAcroPDDoc.AcquirePage(0)
    For k = 1 To numPages
    lAnnotscnt = objAcroPDPage.GetNumAnnots()
    For m = 0 To lAnnotscnt - 1
    If lAnnotscnt = 0 Then Exit For
    Set objAcroPDAnnot = objAcroPDPage.GetAnnot(m)
    If (objAcroPDAnnot.GetContents <> "" And objAcroPDAnnot.GetSubtype = "Text") Then
    Cells(iRow, 5).Value = k
    Cells(iRow, 2).Value = objAcroPDAnnot.GetContents()
    Cells(iRow, 11).Value = objAcroPDAnnot.GetTitle()
    iRow = iRow + 1
    End If
    Next m
    Set objAcroPDPage = objAcroPDDoc.AcquirePage(k)
    Next k
    lRet = objAcroAVDoc.Close(1)
    Set objAcroAVDoc = Nothing
    Set objAcroPDAnnot = Nothing
    Set objAcroPDPage = Nothing
    Set objAcroPDDoc = Nothing
    End Sub

    Make sure you are current with 9.x patches, just on general principles.
    The code seems fine – nothing jumping out at me.
    You can also look at using the JSObject methods and trying this via the JavaScript stuff – that will give you more access to the Annotation information…
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Thu, 24 Nov 2011 04:25:12 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Problem with controlling Annotations from Excel VBA
    Problem with controlling Annotations from Excel VBA
    created by apreeti<http://forums.adobe.com/people/apreeti> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4044740#4044740

  • T.code FBL5N: a problem with the print of the output list

    Hi All,
    with reference to the t.code FBL5N, I have  a problem with the print of the output list of the report.
    When I execute the print, I obtain one customer for each page printed.
    I wonder if is possible to obtain more customers for each page printed.
    Could anyone help me?
    Thanks
    Gandalf
    Edited by: Umberto Gandalf on Dec 21, 2008 10:36 PM

    Hi,
    Though personally i havent tried this option, check the same
    Go to Menu: Settings >> Switch List
    This will make the value displayed in ALV format and then try taking print outs.
    Regards,
    Sridevi

  • Problem with font size, not showing up as expected.

    I've been wrestling with this for a few weeks now, but surely must be getting closer to having it resolved. It's just a problem with font size on just this one page.
    http://www.kgngroup.net/logos_and_packaging.html
    I want the body text to be 10px, but after two weeks, have played with every conceivable way, altering body font size in CSS and in the document itself. I've viewing it in Safari but others on Windows machines tell me that it is out of whack also.
    My main problem is that I can change the font size to extremes but it still shows up as the same size in the browser (about 12px.) I know changes can be made because I can modify the wording and that does change online. It's just a problem with the font size. Oh, and in the third column, the one to the right, in Dreamweaver, the font looks like it is miniscule, cannot even be read, but in the browser, since the style11 is applied, all three columns look equal size.
    Not sure where to go from here. I just want to get the body font down to 10 pixels.
    TIA,
    Ken

    John Waller wrote:
    I guess this a follow up to your earlier thread
    http://forums.adobe.com/message/3627681
    What would really help you in diagnosing issues such as this is to install the Firebug add-in for Firefox (as suggested in the earlier thread).
    Firebug shows you visually what CSS rules apply to whatever element you click on the screen.
    In this case, you have a confusion of CSS font sizes cascading on top of each other and that's confused again by mixing units for no real reason. .style11 is unnecessarily applied to lots of individual <p> tags. Remove those classes and delete the rule.
    e.g.
    The tiny font in the RHS column is affected first by
    .style8 {
    font-size: 0.5em;
    affecting the <td> then by
    .style11 {font-size: 75%}
    affecting the <p> tag.
    End result = tiny text (approx 2px).
    In these cases of mass confusion, my approach is to strip out all font sizing from the CSS and start over.
    Avoid %. Use px.
    Apply font sizing rules logically starting from the <body> tag downwards.
    That'll give you a solid baseline without weird effects.
    Ah, I find your answer worth repeating.
    Very cool that you have diagnosed so well and spelled it out here.
    I will get the Firefox add-on you mention, plus, print out this response and follow it like a recipe.
    It makes perfect sense and you have saved me from the 'clutter' of being wound up in too many directions with this because I could not make all of the connections that you have done here. I appreciate your help very much.
    Thank You,
    Ken

  • Premiere Pro CS5: please help problem with importing a file error output "there was an error decompressing audio or video"

    please help problem with importing a file error output "there was an error decompressing audio or video"

    this is related to what adobe program/version?

  • Report VS Excel output using XML Publisher tool (DBMS_XMLGEN)

    Hi All,
    Currently I am working on report generation in MRP module with Excel output using XML Publisher tool.
    XML tool works based on query.
    I have developed PLSQL block by using DBMS_XMLGEN – database package, to generate XML output of query.
    My question is how we can put generated xml on above PLSQL block into OUT file (APPS).
    Because DBMS_OUTPUT.PUT_LINE( ) has limitation, it allow 255 character string only.
    But I do not know, Is FND_FILE.PUT_LINE (FND_FILE.OUTPUT,’’) allow for large data?
    If it does not allow what will be the other solution in oracle application to resolve above problem.
    Let me know any queries regarding to this problem.
    Thanks and Regards,
    Sai Krishna @cavaya.com

    Hi Prakash,
    Thanks for the reply. We did apply the one-off patch and got rid of the problem of not viewing 'Excel' output using XMLP.
    Now we are looking at a different perspective:
    Basically our client is looking for the following:
    1. Mathematical functions in the resulting XLS (like SUM, AVG etc..) ouput
    2. Use of macros if possible.
    And to do this i am looking out for a sample template that gives me output in excel format I have a TAR with Oracle for this purpose, but the TAR has so far been unsuccessful in providing us with any material in the direction.
    Our client remembers seeing this as a demo at the Oracle Conference this yr at San Fransisco, but does not have a sample to provide us. We are looking for such a sample.
    Thx,
    Nitin

  • Excel Output For Standard Report In R12

    Hi Experts,
    My Client wants Excel Output for Standard Reports ( ex:-Open Purchase Order Report (by cost center)_xml)
    I changed the default output to Excel in Template of xml publisher administrator Responsibility.
    Now it is showing the Excel output, but The layout of report is not same as layout which in text output of standard report.
    Please guide me is there any solution to develop the reports layout in ms-excel using xml file rather than rtf template.
    Thanks
    Durga.

    Hi Alex,
    Thanks for your replay.
    Generating the new rtf template which is same as standard layout is difficult task for us. Actually we have 120 reports which have same requirement.
    Is there any other solution for this . please guide me
    Thanks
    Durga
    Edited by: 805567 on Jan 23, 2012 12:33 PM

  • Problem with data size in XML Publisher report

    Hi Experts,
    I am working on EBS11i and database 9i. I working on XML Publisher reports, i have one XML Publisher report with generating output in EXCEL format. If i submit the report, if the data is huge (like 2.3 million records), it's ending up with warning, but if data is less, it's completing normal. Could somebody help me why it's behaving like this, is it because the report is XML Report, the xml file it's generating not have enough memory in server side if the data is huge.
    Could somebody help me how to solve this issue.
    Note: I need output in EXCEL format only.

    Pl identify the version of XMLP you are using.
    Pl post the complete warning message from the concurrent log file. Are there any additional error messages in the Output Post Processor log file ? Have you specified enough temp space using the XML Publisher Administrator responsibility ?
    How to Determine the Version of Oracle XML Publisher for Oracle E-Business Suite 11i and Release 12 (Doc ID 362496.1)
    Troubleshooting Oracle XML Publisher For The Oracle E-Business Suite (Doc ID 364547.1)
    How to set the Temp Directory for BI Publisher ? (Doc ID 1166024.1)
    Output Post Processor (OPP) Log Contains Error "java.lang.OutOfMemoryError: Java heap space" (Doc ID 1268217.1)
    HTH
    Srini

  • Problem with CR exporting and Excel formatting/merging

    I'm currently running Visual Studio 2008 (Version 10 of CR).  We have a Winforms application that runs various crystal reports  I can't say there's anything particularly sophisticated about it.  Just slap the report in a viewer, pass in the parameters, and run.  As I've mentioned elsewhere I have not done much with CR (or Excel for that matter).
    The problem is this.  Our client is exporting certain reports to Excel, the 'full' version if that's the right term, not the data only option.  The first field on every line of the detail is a text object consisting of several fields, concatenated.  These fields combined form an ID number that we want to sort by.  Unfortunately, so they tell me, this is currently impossible because in the export, the number occupies two columns and they are not merged.  (Actually it doesn't look like any of the report columns bear any relation to any of the Excel columns.)
    I always thought Excel export was one of those black box extras. 
    Now I have to ask, is there any way to customize it, programmatically or otherwise?  (Am I overlooking any options?)
    (Digging a bit deeper, could there be something in the CrystalDecisions API that I could use?  Not sure I see anything useful in the ExcelExportOptions object yet.)
    Edited by: BChernick on Jul 8, 2011 3:09 PM

    [SAP Crystal Reports Design|SAP Crystal Reports; forum.
    - Ludek
    Edited by: Don Williams on Jul 8, 2011 11:05 AM

  • Printing Problem with custom size paper in Illustrator

    Hi having problems with my custom sized paper print using my canon printers it's the same on both the ip100 and the pro-100s,  it was printing fine until i've updated my illustrator and mac os Yosemite, it prints the image at a reduced size on the paper to what it should be does anyone have any understanding of this? I've tried everything i know, is this a driver or system problem?

    Hi there wasn't an option to set the default printer to pdf where would I do this?
    I've done a bit of a work around that seems to be working. I've put the page set up as A4 and then clicked on the printer utility custom settings and then unticked detect paper width, so I can put through the paper I want just got to tweak the x and y to get it right, its not the best but sitting here for four hours trying to figure it out, it will have to do for now. Thanks Jacob for your help, no doubt I'll be back in the morning, I'm burnt out now!

  • Having problem with "artwork size & resolution exceeds the max that can be rasterized"

    Hi all,
    Ok, I created a 162.7" x 90.6" document (artboard) for an exhibition display I'm designing. The document was created using all the defaults - i think this is where i went wrong. Illustrator is now telling me that "the combination of artwork size and resolution exceeds the maximum that can be rasterized" after i open the document and when i try to add a drop shadow to anything.
    Other than some vector graphics i created in illustrator, I only have 3 180ppi and 4 300ppi photos tranfered right off the photograpers camera.
    I selected :
    1. "Print Document" from the initial splash window.
    2. I entered the artboard size, bleed and left the "Raster Effects" setting to "High (300ppi)"
    I think leaving the Raster Effects setting at 300ppi is where the problem is.
    Do i have to create a new document or can i fix the existing one?

    nados you are a little confused that's all I think things are ll right and you are probably set to go with out going to Photoshop.
    1. Your file is probably fine as is
    2. Make certain you images are linked and not embedded
    3. Your Images are probably ok as far as they are for the the specs required do not lower the resolution just make certain they are linked.
    You may have to reimport them and in the place dialog make certain link is checked.
    4. The Raster Image Effects setting is fine leave it as is.
    5. The jpegs are fine lee your images as is if that was what was supplied to you and they look clean.
    6. When saving the file save as .AI format and in the AI save as option dialog uncheck include linked files
    (you will send them the jpegs as well as the AI file.)
    7. Send the images in what ever format they are now since that is jpeg leave it be just make certain the dimensions are the same as is being used in the document at 100%.
    8 Make Certain you select the text and got Type> Create Outlines before saving the file.
    9 Do not export the file to any other format.
    10 Send the printer production house the AI file and the Jpegs you will be fine.
    You should not have a problem with this file.

Maybe you are looking for

  • I want to copy 2-sided to 2-sided on my 6500A Plus E710n on Windows 7 64-bit

    I have a duplex unit on my 6500A Plus and can PRINT 2-sided with no problems.  I also have the ADF installed.  My question is how do I COPY 2-sided to 2-sided.  When I touch copy on the printer and go into setup, I don't have the option for 2 to 2, I

  • TS3276 sent items are no longer indexed, how to solve it?

    Sent messages are put in the map "sent" but are not displayed well. Only expeditor and subject are shown correctly. The content of mail or discussion is not correct, it comes from former emails related to another subject... quite ennoying. I guess th

  • Control FLV playback with button on different timeline

    I have an FLVPlayback instance on my stage within a movie clip within a movie clip eg. _root.showreel_mc.showreelHolder.showreel (where showreel is the instance name given to the FLV component itself) I already have a button that fades out showreel_m

  • Slow ATV when downloading YouTube vids, Podcasts, etc.

    Loved my ATV in version 1. After software update to 2.02 ATV now takes a considerable amount of time to download or view any YouTube video, Video podcasts or rented movies from iTunes. Was wondering if anyone had a solution. Here is what I have done:

  • How easy for a FCE user to adapt to Final Cut Pro X

    Hi Folks, I use Final Cut Express for some years and although far from being an expert I use it relatively easy and well. As I am planning to move to the new iMac and Mountain Lion, I wonder about usage similarilies and easiness adaptation to Final C