Setting the page orientation for a report

Hi
Currently, in infoview I have observed that we can set the page orientation for a report in a webi document , i.e. whether the report is to be viewed in landscape mode or portrait mode.
Currently, in the BO SDK, I have come across the classes like Orientation, but am not able to figure out how to use them.
Can you please paste some code snippet, how to use this class for setting the orientation of the document.
Thanks in advance,
Shruti

Hi Shruti,
To retrieve the Reportcontainer for an existing report on a WebI document, you can do the following:
ReportStructure oReportStructure = oDocumentInstance.getStructure();
ReportContainer oReportContainer = (ReportContainer) oReportStructure.getReportElement(0);
Hope this helps.
Regards,
Dan

Similar Messages

  • Setting the page size of a report to 5.5height and 8.5 width(size-inches)

    Hi,
    I want to set the report's page size on a dot matrix printer(for PAYSLIP) to 5.5 inches height * 8.5 inches width. But i'm not able to define my own size through the printer(custom size or user defined size). Some how i cannot see the custom size in the printer settings. Is there any way where i can define the size for the report. The report output is genrated to a pdf format. Will the settings remain same once generated to pdf format. Please let me know if there's any solution for this. Its very urgent.
    Thanx.
    Anu.

    Someone plaese reply to this.

  • How to remove the page break for CSV report

    Hi,
    I'm working on a rdf report and have an issue with page break.
    As usual there exits a page break in the report output. how do I remove it.
    work around: set Page break before/after : NO
    worked on margin re-size, how ever could not resolve the issue.
    Can any one help me on this.
    Thanks in advance.
    Thanks,
    Santhosh

    There are two ways to do this:
    1) If you want to remove and individual dimension from a presentation, you can hide the dimension. This can be performed directly from within QueryBuilder. Within the first section of Query Builder that shows the selected measures selected and associated dimensions, simply remove the required dimensions from the right dialog panel.
    2) To hide all page items within a presentation, simply add the following the property, pagingControlVisible="False", to the presentation tag in your JSP. For example:
    <orabi:Presentation location="Local Computer Sales/Products/KPI Sales Prior Period and Prior Year" id="BIProductKPIs_pres2" pagingControlVisible="False"/>
    Hope this helps
    Business Intelligence Beans Product Management Team
    Oracle Corporation

  • Can we set the Background Image for a Report

    Hi,
    I am generating a report thru the web now i want to give the background image to the report, let me know if any body knows about this.
    Thanx

    hello,
    try the before reports value of your report-level properties. add the BACKGROUND attribute to the BODY tag to reference an image-file for the background.
    regards,
    the oracle reports team

  • How to get the print the page numbers in a report  based on another report

    Hi
    I have a requirement in which i need to print the page number based on another report
    example my request set has 3 reports
    1 report prints 1- 100 pages
    2 report page number should start from 101 - 110
    3 report 111-
    Can anyone please let me how to achieve this?
    Thx in advance
    Kumar

    Hi,
    You can create all the three report queries in one report creating separate query in the data model and then create the layout in proper sequence as required.
    If you want to use separate reports only you might try the following:
    In the first report use the after-report trigger and save the total no of pages in a table as a record.
    In the second report fetch the value stored in the table and add it to the Page No. to obtain the Page No for second report.
    Also in the second report use the after-report trigger and update the record created in first record to total no of pages + total no of pages of the first report.
    In the third report fetch the value stored in the table and add it to the Page No. to obtain the Page No for third report.
    Do remember to delete the record created in the table after-report trigger of the third report.
    Hope this helps.
    Best Regards
    Arif Khadas

  • Help.... trying to set the browser title for reports called from 9i form

    hello all
    I am attempting to call a 9i report from an oracle 9i form .I am using the following code
    repid := find_report_object('report5');
    SET_REPORT_OBJECT_PROPERTY
    SET_REPORT_OBJECT_PROPERTY (repid,REPORT_type,CACHE);
    SET_REPORT_OBJECT_PROPERTY (repid,REPORT_DESFORMAT,pdf);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'sandy4');
    v_rep := RUN_REPORT_OBJECT(repid,p1_id);
    IF rep_status = 'FINISHED' THEN
    /*Display report in the browser*/
    WEB.SHOW_DOCUMENT('http://----.--------.com:8888/reports/rwservlet/getjobid'|| substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=sandy4,'_blank');
    .. and so on
    The reports RUNS FINE AND POPS UP AS A NEAT PDF internet explorer page !!!
    I WAS WONDERING IF THERE IS ANYWAY TO SET THE BROWSER TITLE OF THIS REPORT THAT POPS UP..
    DO I HAVE TO CHANGE SOME PROPERTY AT THE REPORT END
    OR CAN I SET IT DYNAMICALLY BY PASSING AS A PARAMETER
    FROM MY FORM
    I HAVE SEARCHED EVERYWHERE FOR THIS
    PL HELP
    I WILL REALLY APPRECIATE IT IF SOMONE CUD HELP ME WITH
    THIS
    THANK YOU
    SANDY

    Hi,
    It is possible to set the Document title for PDF output. Open the Reports Property Inspector, under PDF Document Taxonomy, you can set the Document title. But this does not show up in the browser when you open the document.
    thanks,
    Senthil

  • Change the Page Title for all the pages when viewing the Reports in Bi Publisher

    Hello ,
    I have a requirement for changing the Page Title for all the report displayed pages on the browser window.

    As far as I know, answer is NO.
    it's very simple answer  Manikandan-S-Oracle
    for 1210326 's requirements there are some places for changes of property "title" and in some pages "title" can be different
    "one place or option for changing" does not exist imho ( may be i'm wrong )
    so you can change places for your needs but not sure what it's adequate
    as example
    ...wls\user_projects\applications\bipdomain\xmlpserver\catalog\navigator.jsp  -->  find <title>
    it changes title in http://somehost:7001/xmlpserver/servlet/catalog
    ... wls\user_projects\applications\bipdomain\xmlpserver\home\home.jsp  -->  find <title>
    it changes title in http://somehost:7001/xmlpserver/servlet/home

  • How to set the working directory for reports in linux

    Hi All,
    Can you anyone help me to set the working directory for oracle application server 10g reports? I am using RHEL4 and AS10g. Actually i want to run my reports from my define
    working directory. How can I do this?
    Thanks in advance
    Arif

    Hi,
    your rep_srv.conf should look like something like
    +<?xml version = '1.0' encoding = 'ISO-8859-1'?>+
    +<!DOCTYPE server PUBLIC "-//Oracle Corp.//DTD Reports Server Configuration //EN" "file:D:\oracle\FRHome_1/reports/dtd/rwserverconf.dtd">+
    +<server version="10.1.2.0.2">+
    +<!--Please do not change the id for reports engine.-->+
    +<!--The class specifies below is subclass of _EngineClassImplBase and implements EngineInterface.-->+
    +<cache class="oracle.reports.cache.RWCache">+
    +<property name="cacheSize" value="50"/>+
    +<!--property name="cacheDir" value="your cache directory"-->+
    +<!--property name="maxCacheFileNumber" value="max number of cache files"-->+
    +<!--property name="ignoreParameters" value="parameter names to be ignored in constructing cache key, separated by comma ','"-->+
    +</cache>+
    +<engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="1" maxEngine="3" minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="90000" jvmOptions="-Xmx512M -Xss512K">+
    +<!--property name="sourceDir" value="your reports source directory"/-->+
    +<!--property name="tempDir" value="your reports temp directory"/-->+
    +<!--property name="keepConnection" value="yes"/-->+
    +</engine>+
    +...+
    some more definitions
    +..+
    +<!--pluginParam name="proxy" type="file">proxyinfo.xml</pluginParam-->+
    +<pluginParam name="xmlpds" type="file">xmlpds.conf</pluginParam>+
    +<pluginParam name="jdbcpds" type="file">jdbcpds.conf</pluginParam>+
    +<pluginParam name="textpds" type="file">textpds.conf</pluginParam>+
    *<environment id="APP1">*
    *+<envVariable name="REPORTS_PATH" value="/application1/reports"/>+*
    *+</environment>+*
    *+<environment id="APP2">+*
    *+<envVariable name="REPORTS_PATH" value="/application2/reports"/>+*
    +</environment>+
    +</server>+
    The environment ids you can choose yourself and you have to put them in there yourself too (here I put two environments for two different applications "1" and "2").
    If you call a report from Forms, then you have to code something like
    ADD_PARAMETER(p_list,'ENVID',TEXT_PARAMETER,'APP1');
    Details depend on how you call your reports, my example is for using a parameter list and calling a report out of application1
    Hope that helps.
    Volker

  • Urgent:How to Speed Up the Response time for PDF Report of  500 pages

    hi all
    i am running the 9ias on Solaris and Generating some reports
    Which fetches around 50,000 records and Display them in pdf format.
    When i am ruuning the Query at Database level Response time is Very fast.
    But when i Run the Report in Web Browser same report takes 7-8 minutes.
    So it seems that the Conversion to pdf and Displaying it takes most of time.
    Does any one has idea What parameter's needs to be changed/Caching ??? /
    or any other ways or methods which can be used to Reduce the Response time.
    (its once a monthly Report and User need to Download all the 500 pages as
    a Single Document).
    Any help / suggestion please
    thanks
    jai

    You aren't by any chance calling a function in your repeating frame that in turn goes back and queries the database, are you? If so ... don't. We regularly do 500+ page PDF-file reports, and one thing we discovered early on was that repeatedly going back to the database while generating the report output (in our case, in calculations that were being done on each line of a report) slowed the output down by an order of magnitude. Instead, we now retrieve all the data needed for each report up front (via functions or views called in the initial SQL for the report), and just use Reports to format the output. MUUUUUUUCH faster -- 200 page reports that used to take 15 minutes to complete now complete in just seconds.
    One way you can visually see if this is part of your problem is to watch the report execute in the Report Queue Manager application. If it spends all its time on the "Opening" stage then breezes through each page, this is not your problem. If instead it seems to take a long time generating each page, I'd suspect that this may be at least part of your delay.
    - Bill

  • How to set the page size and the margins programatically

    Hello,
      I am working with crystal report XI Release2 and asp.net.
    One of my report is having 4 graphs in a single report.In order to display all the graphs in one page i have set  the paper size as A3.(Via Crysta report ->File->Page set up)
    But the page size A3 is not provided by all printers.So problem comes when the application is diployed on a machine which does not support A3 Printer.All the graphs will not be shown on a single page.
    Also Each and Every time ,when the application is diployed on a machine,user has to open the crystal report and adjust the page size accordingly to get all the reports on a single page.
    This is a kind of usability issue also.
    Is it possible to set the page size and the margins programatically say for eg 11 X 17.so that with out doing anything all the 4 graphs will get displayed on a single page ?
    Please let me know if you require more information regarding this issue.
    Thanks in advance.
    smitha.

    Hi Ludek,
    i could solve the issue by using the follwing code.
    report = new ReportDocument();
    PageMargins customPageMargin = report.PrintOptions.PageMargins;
    report.PrintOptions.PaperOrientation = PaperOrientation.Portrait;
    report.PrintOptions.PaperSize = PaperSize.Paper10x14;
    customPageMargin.rightMargin = 1;
    customPageMargin.topMargin = 0;
    customPageMargin.bottomMargin = 0;
    report.PrintOptions.ApplyPageMargins(customPageMargin);
    Thanks for you help.
    Regards,
    smitha.

  • How to set default print orientation in oracle reports 6i?

    Can anyone please help how to set default print orientation of Oracle Reports 6i? Currently document is printed in Portrait orientation, but I need to print it in Landscape orientation. Is this possible?

    It is solved now. Go to Layout Model -> Main Section, Press F4. In the property pallet select the Orientation that is required to be selected when print is taken for that report.

  • 2 Question How to set the page size and  full screen

    I am looking to find out how to set the page to be 1024 by
    768 static and also how to force a browser window to go to full
    screen. Thanks

    Hi Ludek,
    i could solve the issue by using the follwing code.
    report = new ReportDocument();
    PageMargins customPageMargin = report.PrintOptions.PageMargins;
    report.PrintOptions.PaperOrientation = PaperOrientation.Portrait;
    report.PrintOptions.PaperSize = PaperSize.Paper10x14;
    customPageMargin.rightMargin = 1;
    customPageMargin.topMargin = 0;
    customPageMargin.bottomMargin = 0;
    report.PrintOptions.ApplyPageMargins(customPageMargin);
    Thanks for you help.
    Regards,
    smitha.

  • How to set a page template for news detailed view?

    Is there a way to set a page template for the detailed view of the news module?
    I have a page template setup and added the {module_announcement,,,,,} to the page. When the news item is clicked it always opens the default template - is this how it is designed to work or is there a way I can specify it to use a different page template?
    Dave.

    Hey Dave, See the image below:

  • How do I set the delivery policy for a queue in iMQ 2.0?

    The list on page 67 of the 2.0 administration guide appears to be
    incomplete. Specifically, I'm interested in knowing how to set
    the default delivery policy for a Queue through the jmqobjmgr command.
    I need the valid attribute name to pass in to jmqobjmgr.

    The "queueDeliveryPolicy" is an attribute of a queue
    created in the broker - not in the administered object
    destination so that is why you are not seeing that
    attribute on the list on page 67.
    By default, the broker by will use the "single" queue delivery
    policy unless you choose to change the values of the property
    "jmq.queue.defaultdeliveryPolicy" to SINGLE, ROUND-ROBIN, or
    FAILOVER. If you would like to do this, see the Chapter 4
    in the admin guide on "Starting and Configuring the Broker".
    It may be easier to set the delivery policy for just one queue.
    To do this, you can use the following command:
    jmqcmd create dst -n myQueue -t q -o "queueDeliveryPolicy=f"
    where valid values to queueDeliveryPolicy is f, s, r.
    You can do a 'jmqcmd -H' to get more info on queue attributes or
    see Chapter 6 in the admin guide on "Creating and Destroying Destinations".

  • Photos will not allow me to set the key picture for the album or event

    Photos will not allow me to set the key picture for the album or event - it is set to grey !
    Anyone else had this and found why ?
    new PHOTO app replacing iPhoto bugs/ Problems OTHER PROBLEMS :
    - no longer has a five star rating system
    - my keywords for selecting albums are gone.
    - cannot copy location of one photo to another
    - cannot have an album with  keywords AND rating > a value
    - cannot set key photo of album/event
    - multi parameter search feature gone
    Anyone got any ideas how to get around this terrible downgrade of the software ?
    BTW I have just discovered that iPhoto and its' libraries are still there, so I can go back but be left behind and frozen in time on this version if I do.
    Photos now take up 700Gb whereas it was 350Gb  #@!$#@!@#!@#
    Thanks

    That are all good points - but Photos is a completely new application. and it is only version 1.
    Continue to use iPhoto, girraween; the next update to Photos will probably add a few more features.
    iPhoto 9.6.1 is working very well with MacOS X 10.10.3.
    The migration let iPhoto installed and also your iPhoto Library will still work with iPhoto.
    If you did not uninstall iPhoto, it will still be there in your Applications folder.  And if you had updated to the latest version iPhoto 9.6.1 before you upgraded to MacOS X 10.10.3,  you can simply drag iPhoto back to the Dock from your Applications folder and continue to use it. Double click iPhoto and confirm, that you want to open iPhoto and not Photos.   It is not compulsory to use Photos, while it it still the first release. When you launch iPhoto, you will see a warning, that the iPhoto Library has been migrated to Photos, but simply click the "Open iPhoto" button.The library will still work with iPhoto. ()see: If Photos won't open a library that you already migrated - Apple Support
    If your iPhoto version is not iPhoto 9.6.1, you need to update it.
    See this User Tip:
    Usually it will work to reinstall instead of updating:
    Get iPhoto 9.6.1 if you didn't update before OS... | Apple Support Communities
    The main idea is to move the iPhoto app to the Trash, so Spotlight does not see it as installed, reload the AppStore, and then to try to download again from the App Store - from your Purchases tab, not from the main page, since you can neither buy iPhoto nor update it, but you can reinstall, if your AppleID is associated with it.
    Meanwhile you may want to send a feature request to Apple using the feedback form. Apple - Photos - Feedback
    I hope, Apple will listen and add more features to Photos to make it usable for large Photo Libraries.

Maybe you are looking for

  • I am just frustrated

    Upgraded Snow Leopard Server to Lion Server Mailserver VPN Server Opendirectory master Fileserver AFP and SMB --> breaking a lot! 1.) Unable to set up a Opendirectory replica Installed Lion Server from scratch on another system. Any effort to make it

  • Hi All... Simple query gives confusion to me

    Hi all, In oracle table, I have a value for a column as below.The column datatype is VARCHAR2(60). 'BCLCO 126-2002EL-G-19P CHUNIT RABA EIRAMTES' I want to pass the value of column into another variable in the following format. 'BCLCO126-2002EL-G-19PC

  • Forms and reports on Application Express

    Hi: Is it possible to import regular forms and reports( .fmb and .rdf) into the application express and run in the database xe/application express environment?

  • Connect DB through internet

    Hiii i have installed the ODT ... and am trying to connect from MS visual studio2005 to oracle database ... i suceeded to connect through a local network but now am trying to connect Through the Internet ... can any body help me doing that .. i heare

  • Why I can't login at any site?

    Hi, I have very bad problems with my brand new BB. Bluetooth still isn't working, so I have put that aside. My main problem is I can log in anywhere. I have internet connection, I enter valid information and then nothing happens. I tried severals sit