Report6 & Patch3: RTF-Output TRUNCATED

Hi,
I'm facing the following problem:
When generating a RTF-report, the rtf output is truncated
when viewed in MS Word97.
The readme.doc (included with the 'patch3' package)
references that kind of problem as follows:
Bugs fixed In REPORTS:
Ver 6_0_5_31_0:
Rptno Subject
927749 RTF OUTPUT TRUNCATES ABOUT 4.5 INCH IN WIDTH
but after installing patch3 (from ftp://oracle-
ftp.oracle.com/dev_tools/patchsets/dev2k/Win95NT/6.0/patch3)
the problem still exists.
A simple report output file looks like this
(the paperw and paperh attributes do not change when changing
the width and height attributes in the
Report Builder Layout Model):
--- rtf file ---
{\rtf\ansi
{\fonttbl{\f1 Courier New}}
{\colortbl;\red0\green0\blue0;}
{\info {\creatim \yr1999 \mo\Sep \dy17 \hr14 \min11 \sec47}
{\author Oracle Reports} {\title r.RTF} }
\viewkind1
\paperw5954\paperh8416
{{\pard \phpg\pvpg\posx0\posy0\absw5000\absh-1\nowrap {This
file was created by Oracle Reports. Please view this document in
Page Layout mode.}\par}
{\pard \pvpg\phpg\posx287\posy1229\absw717 \absh-269 {\f1\fs20
\cf1 X}\par}
{\pard \pvpg\phpg\posx287\posy960\absw717 \absh-269 {\f1\fs20
\cf1 \b Dummy}\par}
--- rtf file ---
My configuration:
=====================
WIN-NT4.0 (service pack3) (German)
Report Builder 6.0.5.31.0 (mixed German & English)
please help!
thank you
null

Which of the three problems mentioned is the
bug? Or is it all of them?
#1 - Could you be more specific about the
margin problem? I haven't had any trouble;
but then I expect a slight (<1/8") variation.
#2 - I think this goes with #3. Since the
Oracle RTF is specifying exact locations of
each text box, modifying the page would mess
that up. But that's a guess. Hmm, I think
I'll try to figure out what in the file is
disabling page setup.
Note that MSWord doesn't like borders around
text boxes - if you save the Oracle RTF from
Word, it ~doubles the text fields but
~quintuples the graphics. For a large file,
eschew and beware graphics as much as you
can. (One of my reports was 78MB _before_
Word got to it, with graphics. With much
reduced graphics, "only" 19MB.)
PDF is all very well as long as you don't
need non-English characters. Our db is
Unicode, and we want to display Cyrillic.
I've managed to convince PDF to do that, but
it wasn't pretty. Oracle RTF doesn't do
Unicode correctly either, but we added a
post-processor to correct it. Voila,
Cyrillic and other non-Latin characters.
-- Allan Plumb

Similar Messages

  • PDF and RTF output differences

    Hi All
    I'm having some issues when previewing labels in PDF and RTF output. I have created a RTF template that outputs labels - 5 address lines per label, 2 X 10 labels per page. Each label is contained in a table and each address line is contained in a table row.
    - When I preview the RTF output long address lines are not being truncated even though I uncheck the wrap option on the table cell properties.
    - When I preview the RTF output I can get 2x10 labels on the page (if no wrapping occurs) but when I preview in PDF I can only get 2x9 labels on the page. I have checked the font size of both the PDF and RTF outputs and they are the same size. It looks like the header and footer is taking up more space on the PDF version compared to the RTF version when I visually inspect the output but I cannot be sure.
    Does anyone have any ideas how to resolve these issues?
    regards
    Brad

    Always its better to use different templates for individual output types as the template designed with perfection for pdf output type dosen't comply with rtf or any other type and vice versa.
    Cheers!
    Vishnu T Ramakrishnan

  • XML Publisher rtf output not consistent with the rtf created

    I am using XML publisher to generate a custom report.
    The approach I folllowed:
    1) AM Class: Write the VO data to XMLNode using vo.writeXML() method
    2) XML Publisher Administrator Responsibility: Create a data template and attach the xml created in step1 as "Preview Data"
    3) XML Publisher Administrator Responsibility: Create a rtf template (contains images and text), attach the data template (step 2) and attach the rtf created.
    4) Controller class: Use TemplateHelper.processTemplate() method, passing the rtf template and the XML data from VO.
    5) Verify the rtf output in application.
    Issues I am having are as follows:
    1) Major issue is page format. I have saved my rtf file with a different page format as below:
         File->Page Setup->Paper->Width:255 pt
                   ->Height:165 pt
         File->Page Setup->Margins->Top: 12 pt
                        ->Bottom: 0.1 pt
                        ->Left: 0.1 pt
                        ->Right: 12 pt
    When I open my document from the application, the margins and page setup rtf output is not retained (as given in teh doc), hence my whole layout is disturbed.
    Thus, I am getting a very weird layout when I open my rtf output from application.      
    How can I retain the page settings?
    2) I added a image, and the size of the image also is not retained as well.
    And if I set the layout wrapping style anything other than "In line with text", the image does not show up in the output.
    Would greatly appreciate if someone can put some light on this.

    RTF & PDF output can't be exact same, we can minimize the difference by eliminating all extra spaces(Ex: from table rows, in between form fields etc.) from RTF while generating RTF output.
    For reference:
    BUG:8662322 - RTF FORMAT DOES NOT SHOWS WITH FIXED HEIGHT OF ROW
    Thanks,
    Sandeep

  • PDF output vs. RTF Output

    I have a few form fields in my template which say only display this line if the data exists. When I output the report as PDF the lines with no data are hidden as I'd expect. When I output as RTF the lines are still there.
    Also, unticking the 'Allow row to break across pages' tickbox in the table properties prevents table rows from splitting between pages in PDF output, but not in RTF output.
    Am I just missing something basic about the difference between what you can do with the two formats? Or do I need to do something else to get the RTF to work as I'd expect.
    Thanks,
    Ben

    I got it
    Thanks.

  • Reports 6.0 Portrait vs Landscape in RTF output

    I am having difficulty with RTF output in Reports 6.0. The print
    preview of a report (with the system parameter orientation =
    PORTRAIT)looks fine when previewing or printing from the
    runtime, however, when I generate to an rtf file and open the
    output in Word the document orientation is landscape and we are
    forced to change the page setup for each report before printing
    from Word. I am using Word 97 on NT 4.0 with service patch 3.0
    and reports 6.0.5.28.0 on an Oracle 7.3.4 database. Can anyone
    offer any suggestions?
    null

    I have this problem with Reports 3.0 too. It seems that it
    has not been solved yet...
    Renee' Villarreal (guest) wrote:
    : I am having difficulty with RTF output in Reports 6.0. The
    print
    : preview of a report (with the system parameter orientation =
    : PORTRAIT)looks fine when previewing or printing from the
    : runtime, however, when I generate to an rtf file and open the
    : output in Word the document orientation is landscape and we are
    : forced to change the page setup for each report before printing
    : from Word. I am using Word 97 on NT 4.0 with service patch 3.0
    : and reports 6.0.5.28.0 on an Oracle 7.3.4 database. Can anyone
    : offer any suggestions?
    null

  • RTF output not consistent with the PDF output

    Hi Experts.
    i would like to know why the code start@last-page works in pdf format but do not works if i generate the report in rtf format.
    Thanks in advance!

    RTF & PDF output can't be exact same, we can minimize the difference by eliminating all extra spaces(Ex: from table rows, in between form fields etc.) from RTF while generating RTF output.
    For reference:
    BUG:8662322 - RTF FORMAT DOES NOT SHOWS WITH FIXED HEIGHT OF ROW
    Thanks,
    Sandeep

  • Nested Tables Repeat Header Row RTF Output Not Working v5.6.2(PDF does)

    All,
    Has anyone used nested tables in heading rows where they are set to repeat nested table header row across page breaks for RTF output ? This seems to work for PDF generation (line breaking enforcement doesn't) but I don't even get RTF Header ROWS indicated in my RTF output document. I have enabled them in my RTF template for the outer table row plus the inner nested table. Is this possible for RTF output or have I not indicated something in my RTF template or grouping clause ??
    Thanks,
    Tom

    All,
    Has anyone used nested tables in heading rows where they are set to repeat nested table header row across page breaks for RTF output ? This seems to work for PDF generation (line breaking enforcement doesn't) but I don't even get RTF Header ROWS indicated in my RTF output document. I have enabled them in my RTF template for the outer table row plus the inner nested table. Is this possible for RTF output or have I not indicated something in my RTF template or grouping clause ??
    Thanks,
    Tom

  • Connected Query no RTF output?

    Hi guys...I've just written my 1st Connected Query linking to an RTF report definition. I cannot seem to get any RTF output after the app engine has completed. I have a custom run control that schedules the app engine which has the peoplcode to call and execute the connected query. All I get is an XML file on the Process Monitor View Trace/Log. No RTF output. Help....what am I missing here? Thanks so much for any help!

    i think you have run the code to generate the XML file from your connected query...
    check the following things
    1. Check the Report definition is defined or not for the file that you want generate.
    2. if its defined check the RTF template is present or not.
    3.Check your code in Appengine whether you have mentioned the Report Definition and template name,

  • CanSplitImage Rule causing pagination issues while creating RTF output

    Hi,
    We are facing spacing/pagination issues when we use CanSplitImage rule for RTF output with NoFrames. It splits the section and prints in next page as expected but leaves the remaining page empty/blank and prints the next consecutive sections in the next page(basically the 3rd page).
    Any suggestions on the solution based on your experience will be highly appreciated.
    Thanks!

    Hi,
    We are facing spacing/pagination issues when we use CanSplitImage rule for RTF output with NoFrames. It splits the section and prints in next page as expected but leaves the remaining page empty/blank and prints the next consecutive sections in the next page(basically the 3rd page).
    Any suggestions on the solution based on your experience will be highly appreciated.
    Thanks!

  • Default font size is different on 1st page of RTF output.

    The default font for the blank lines in the body of my rtf output is Arial 12 pt but in the subsequent pages it it Arial 10. I've set the default font in the xdo.cfg file to Arial:10. It's throwing the formatting off. Can someone help?
    xdo.cfg file entry:
    <property name="rtf-output-default-font">Arial:10</property>

    Hello @mgag,
    Welcome to the HP Support Forums! I understand when you print to your HP Officejet 8610e, the output is much larger then what you initially try to print from your Computer running Windows XP.
    I would first like you to run the HP Print and Scan Doctor > www.hp.com/go/tools
    -- It was designed by HP to provide users with the troubleshooting and problem solving features needed to resolve many common problems experienced with HP print and scan products connected to Windows-based computers.
    Does the PSDR find anything?
    If you make a copy from the front panel, does this print fine, or is the text enlarged as well?
    Which program or Browser are you printing from?
    I hope to hear from you soon.
    Thank you,
    HevnLgh
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • Spool list output truncated after 255 char

    Hi,
       I'm using ALV list(FM: Reuse_alv_list_display) in my report. When it is run in background, the output is sent to spool. The problem is the list is truncated after 255 characters.
    Is there any way to display more than 255 characters in spool? So that it can be downloaded to a spreadsheet from spool.
    Thanks

    Hi,
    in the report-statement you can define the line-size of your list. I expect, you haven set the line-size!
    Try this one:
    REPORT Zxxxxx line-size 300.
    Normaly the program searches the the layout that fits to your selected printer (done by FM 'RSPO_LIST_LAYOUT_FITS').
    Regards,
    Martin

  • Creating .RTF output files - PI7.0  Receiver file adapter

    Hi Experts,
    I am currently facing an issue with the Receiver File adapter where in the output files are required to be of the format of .RTF (Rich Text Format).
    The scenarios is an outbound proxy from SAP ABAP  - >  PI 7.0 ->  .RTF File
    All the data required to be present in the file will be coming in the source structure
    Can the File Receiver Adapter handle this ?
    Is there a way to generate Files with extension .rtf ??
    It is a requriement since the output files will be used as Reports , and so the desired format.
    I am unsure if I will have to use XSLT mapping , in this because i am new to that , Kindly let me know how to go about it ,. any links or pointers on how to achieve the same will be welcome.
    thanks
    Dev
    Edited by: sd on Feb 17, 2010 8:23 AM

    Thanks for your reponse Praveen
    Can you please let me know how can i put the extension as .rtf for the output files i am generating ??
    as far as the formatting is concerned ... it is like ... the header needs to be  of a particular Font , a particular font size , bold etc and  so is the case for line items
    I am unsure if it is possible using an Adapter module  as well
    thanks
    Dev

  • TOC Generation Not Recognizing Style in RTF Output

    I am having a problem generating TOC where my rtf template contains grouping of data. I tried using style TOC1 and Header 1 in my template but this formatting does not get carried through to my output result when I try to PREVIEW on the desktop. Am I making some wrong assumption on the use of the TOC capabilities or do I need to do something different in the rtf template for TOC generation.
    Thanks In Advance,
    Tom

    I fixed the TOC problem on the grouping .... I didn't read the spec with enough detail. When DEFINING the data element to be included in the TOC, it CANNOT BE in a FORM FIELD !!!! I just seemed to miss that little fact. It is now working with grouping/sub grouping
    Tom

  • JSF output truncated when integrating with OpenCms

    Hi all!
    I'm quite new to JSF and am trying to integrate it with OpenCms, a JSP based content management system. In OpenCms all files reside in a virtual filesystem (VFS) and are accessed through the opencms-servlet which is mapped to "/opencms/*".
    While trying to integrate JSF with OpenCms I added another prefix servlet mapping for the faces servlet: "/faces/*". When I now try to access a JSF-page I have to use a URL like this:
    http://myserver:8080/mywebapp/faces/opencms/page1.jsp
    For my understanding the faces servlet now tries to read a file /opencms/page1.jsp from the real filesystem, which does not exist. Is this correct? How could I get faces-servlet to obtain page1.jsp from the VFS? However, I do not get an exception or a message telling me that the resource page1.jsp is missing.
    Instead the faces-servlet seems to do it's work and forwards to the opencms-servlet which in turn forwards to the JSP-servlet and processes the JSP. I'm sure the whole JSP is processed as I added log-statements from the beginning to the end, of which all are executed. However, the output of the JSP is truncated whenever there exists at least one JSF tag in the page.
    Any ideas what's going wrong here?
    Is my understanding of the executing order correct?
    many thanks in advance for your help,
    - martin

    Hi!
    Working with JSF 1.1 works, but now I want to switch to JSF 1.2, which does not work :-(
    I have a simple demo application (webapp 2.4 and webapp 2.5) without OpenCms which works. OpenCms 7.0.2 without JSF works as a 2.4 and as a 2.5 webapp. As soon as I want to access a JSF-page with an URL like http://localhost:8080/opencms-7.0.24/faces/opencms/mypage.jsp I get only truncated output like the following:
    <form id="j_id_jsp_2033902881_1" name="j_id_
    {code}
    Any Ideas what could cause the truncation?
    There are now log messages and no exceptions in any logfile :-(
    tia,
    - martin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Dbms_output.put_line  and sqlplus : output truncated to 100 Characters.

    HI all,
    please see the following script where the variable length is more than a 100 charecters...
    When i run this in sqlplus with SERVEROUTPUT ON, i see the ouput being truncated to 100 charecters.
    sql> ed
    Wrote file afiedt.buf
      1  declare
      2     l_var varchar2(400);
      3  begin
      4     l_var := 'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefgh
      5     dbms_output.put_line(length(l_var));
      6     dbms_output.put_line(l_var);
      7* end;
      8  /
    130
    abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvI think I am looking for a sqlplus "SET XXXX..." command, but my search has been futile so far.
    Please advice.
    Thanks,
    John.

    Thanks for your reply .. Frank.
    Sorry... I Previewed the post but did not notice my code being truncated in my sqlplus sesssion.
    The actual script has the output to 130 charecters. but when i close the edit (afeidt.buf) and execute it, the display only shows 100 charecters...
    My SQLPLUS version is 9.2.0.1.
    I am using the "WE8ISO8859P1" charecter set.
    declare
        l_var varchar2(500) := 'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz';
    begin
        dbms_output.put_line(length(l_var));
        dbms_output.put_line(l_var);
    end;
    130
    abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuv
      1  declare
      2      l_var varchar2(500) ;
      3  begin
      4      for i in 1 .. 5 loop
      5          l_var := l_var || 'abcdefghijklmnopqrstuvwxyz';
      6      end loop;
      7      dbms_output.put_line(length(l_var));
      8      dbms_output.put_line(l_var);
      9* end;
    sql> /
    130
    abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuv

Maybe you are looking for