Show rtf file with header and footer  in Editor

hi
I want to open an rtf file which contains header and footer.The file i got is opened but the header and footer are not there.these all done with Editor.Please kindly go thru this and give me a solution.

Hello,
when you do yourEditorPane.getStyledDocument().dump(System.out), if you don't see and footer or header, you must write your own RTFEditorKit, but you must know how an RTF file is coded (but i don't know this coding...)

Similar Messages

  • After applying full scroll bar to the page including header and footer, Text editor ribbon actions cause page to automatically scroll down (while applying formatting)

    After applying full scroll bar to the page including header and footer, I have provided content to
    the page more than 100 lines and try to format the text from ribbon actions(format text area). On mouse over of font or fore color, the control jumps to the highlighted content area and not able to select the color. The page scrolls down and not able to click
    on any action.
    Consider this scenario also.
    A content editor web part is added toward the bottom of the page.
    Text is added to this (direct in the web part, not via a 'content link')
    You highlight some text and go to the Markup Style dropdown...
    Everything is fine until you hover over the "Paragraph" markup style, and suddenly the page scrolls to the web part you are editing, and you didn't have a chance
    to click and apply the "Paragraph" formatting
    I have tried testing this with text typed directly into the Content Editor, text pasted in from somewhere else, and text pasted in from somewhere else using "Paste as
    Plaintext" option in the ribbon.  In each scenario, I get the same results.
    Furthermore, I have also tested this in both IE8 and IE9 and get the same results.
    I can get it to occur most regularly with trying to apply the Paragraph "Markup Style" but
    I've also seen this happen with Font Size (any font size).  It's very frustrating since you aren't able to actually apply the formatting you need because the page jumps before you can click.  Has anyone experienced this before. Any feedback would
    help.

    Hi,
    According to your post, my understanding is that after applying full scroll bar to the page including header and footer, Text editor ribbon actions cause page to automatically scroll down (while applying formatting).
    I try to apply full scroll bar to the page including header and footer, the ribbon is missing after I scroll down to the web part. And I cannot apply the "Paragraph" markup style to the content.
    I recommend to use the SharePoint core styles to preserve the native functionality and GUI.
    By design in SharePoint, the ribbon is always at the top. When you select the content, you can apply the "Paragraph" markup style in the ribbon.
    Thanks,
    Linda Li
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • InDesign CS6 ePub Export : Tables with header and footer in HTML

    Hey there,
    does anyone know, whether InDesign CS6 also exports Table Headers and footers correctly into the XHTML-File of the ePub.
    What I mean, is whether the elements <thead> and <tfoot> are created?
    Or is it only possible to steer this via the CSS-Classnames which can be given in the tableformats?
    Generally I think it would be better if the user had the chance to map other exporttags to its elements than just p, em, strong, h1-h6.
    it would be useful to also put in other elements by hand.
    Best regrads.

    Magnolee2 wrote:
    does anyone know, whether InDesign CS6 also exports Table Headers and footers correctly into the XHTML-File of the ePub.
    What I mean, is whether the elements <thead> and <tfoot> are created?
    By "also", do you mean the behavior is changed with respect to CS5/CS5.5? In those, thead and tfoot are created correctly. (Although, quite disconcerting, in the order "thead / tfoot / tbody". ePub renderers based on Webkit display them correctly nevertheless, but others do not. An extremely annoying free interpretation of the W3C rules.)

  • Problem in Consistent Header and Footer with Sub Templates in BI publisher

    Hi All,
    I have recently started working with OBI and used Sub templates for getting Consistent Header and Footer in all of our reports. I did this in the following way
    1. Created one template called HeaderFooter.rtf with Header and footer templates.
    2. placed the file in web server and called in the main Template with
    <?import: http://myserver.com:9704/xmlpserver/HeaderFooter.rtf?> I mean as static URL and it is working fine.
    3. Now as a part of generalizing the server i have added HTTPSERVER property in xdo.cfg file which is located in
    %BI_REPOSITORY%/Admin/Configuration.
    4. I have checked this property by placing <?xdoxslt:getXDOProperties($_XDOCTX)? in my rtf file and HTTPSERVER property is showing same as that of static.
    5. Now when i place <?import:http://{$HTTPSERVER}/HeaderFooter.rtf?> in my rtf it is ending with an error.
    so can anyone please help me out in this regard?

    Hi User XY,
    you might want to ask this in the [url http://forums.oracle.com/forums/forum.jspa?forumID=245]BI Publisher Forum
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

  • How to write Header and Footer elements in Write file Adapter

    Hi,
    I have a requirement to write the file.The write file contains header and footer elements ,how we can write these elements. These elements are fixed for all files.these are not come from any input.below is the sample file.
    $begintable
    name,Id,Desg
    ad,12,it
    $endtable

    Hi,
    I have created the XSD for you, and i created a sample SOA Composite which writes the file same like what you want, the below XSD can write a file with one header record, multiple data records and one trailer record.
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    xmlns:tns="http://TargetNamespace.com/WriteFile"
    targetNamespace="http://TargetNamespace.com/WriteFile"
    elementFormDefault="qualified" attributeFormDefault="unqualified"
    nxsd:version="NXSD" nxsd:stream="chars" nxsd:encoding="UTF-8">
    <xsd:element name="Root-Element">
    <xsd:complexType>
    <!--xsd:choice minOccurs="1" maxOccurs="unbounded" nxsd:choiceCondition="terminated" nxsd:terminatedBy=","-->
    <xsd:sequence>
    <xsd:element name="RECORD1">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="header" type="xsd:string"
    nxsd:style="terminated" nxsd:terminatedBy="${eol}"
    nxsd:quotedBy='"'/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="RECORD2" minOccurs="1" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="data1" type="xsd:string"
    nxsd:style="terminated" nxsd:terminatedBy=","
    nxsd:quotedBy='"'/>
    <xsd:element name="data2" type="xsd:string"
    nxsd:style="terminated" nxsd:terminatedBy=","
    nxsd:quotedBy='"'/>
    <xsd:element name="data3" type="xsd:string"
    nxsd:style="terminated" nxsd:terminatedBy="${eol}"
    nxsd:quotedBy='"'/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="RECORD4" nxsd:conditionValue="$endtable">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="trailer" type="xsd:string"
    nxsd:style="terminated" nxsd:terminatedBy="${eol}"
    nxsd:quotedBy='"'/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    Hope this helps,
    N

  • Need CS4 3 Column Liquid Head and Footer for CS5

    My professor is using the CS4 version of 3 Column Liquid with Header and Footer and this template has changed in CS5.  I find it hard to follow his examples without the proper file.  He says to change background color of a sidebar, and half of my website changes color.  Is there a way I can get this template please?

    This is from cs3, I suppose it is the same;
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    <!--
    body  {
        font: 100% Verdana, Arial, Helvetica, sans-serif;
        background: #666666;
        margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
        padding: 0;
        text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
        color: #000000;
    /* Tips for Elastic layouts
    1. Since the elastic layouts overall sizing is based on the user's default fonts size, they are more unpredictable. Used correctly, they are also more accessible for those that need larger fonts size since the line length remains proportionate.
    2. Sizing of divs in this layout are based on the 100% font size in the body element. If you decrease the text size overall by using a font-size: 80% on the body element or the #container, remember that the entire layout will downsize proportionately. You may want to increase the widths of the various divs to compensate for this.
    3. If font sizing is changed in differing amounts on each div instead of on the overall design (ie: #sidebar1 is given a 70% font size and #mainContent is given an 85% font size), this will proportionately change each of the divs overall size. You may want to adjust based on your final font sizing.
    .thrColEls #container {
        width: 46em;  /* this width will create a container that will fit in an 800px browser window if text is left at browser default font sizes */
        background: #FFFFFF;
        margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
        border: 1px solid #000000;
        text-align: left; /* this overrides the text-align: center on the body element. */
    /* Tips for sidebar1:
    1. Be aware that if you set a font-size value on this div, the overall width of the div will be adjusted accordingly.
    2. Since we are working in ems, it's best not to use padding on the sidebar itself. It will be added to the width for standards compliant browsers creating an unknown actual width.
    3. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the ".thrColEls #sidebar1 p" rule.
    .thrColEls #sidebar1 {
        float: left;
        width: 11em; /* since this element is floated, a width must be given */
        background: #EBEBEB; /* the background color will be displayed for the length of the content in the column, but no further */
        padding: 15px 0; /* top and bottom padding create visual space within this div */
    .thrColEls #sidebar2 {
        float: right;
        width: 11em; /* since this element is floated, a width must be given */
        background: #EBEBEB; /* the background color will be displayed for the length of the content in the column, but no further */
        padding: 15px 0; /* top and bottom padding create visual space within this div */
    .thrColEls #sidebar1 h3, .thrColEls #sidebar1 p, .thrColEls #sidebar2 p, .thrColEls #sidebar2 h3 {
        margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */
        margin-right: 10px;
    /* Tips for mainContent:
    1. If you give this #mainContent div a font-size value different than the #sidebar1 div, the margins of the #mainContent div will be based on its font-size and the width of the #sidebar1 div will be based on its font-size. You may wish to adjust the values of these divs.
    2. The space between the mainContent and sidebar1 is created with the left margin on the mainContent div.  No matter how much content the sidebar1 div contains, the column space will remain. You can remove this left margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends.
    3. To avoid float drop, you may need to test to determine the approximate maximum image/element size since this layout is based on the user's font sizing combined with the values you set. However, if the user has their browser font size set lower than normal, less space will be available in the #mainContent div than you may see on testing.
    4. In the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This avoids several IE-specific bugs that may occur.
    .thrColEls #mainContent {
      margin: 0 12em 0 12em; /* the right margin can be given in ems or pixels. It creates the space down the right side of the page. */
    /* Miscellaneous classes for reuse */
    .fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
        float: right;
        margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page */
        float: left;
        margin-right: 8px;
    .clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
        clear:both;
        height:0;
        font-size: 1px;
        line-height: 0px;
    -->
    </style><!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional comment */
    .thrColEls #sidebar1, .thrColEls #sidebar2 { padding-top: 30px; }
    .thrColEls #mainContent { zoom: 1; padding-top: 15px; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    <![endif]--></head>
    <body class="thrColEls">
    <div id="container">
      <div id="sidebar1">
        <h3>sidebar1 Content</h3>
        <p>The background color on this div will only show for the length of the content. If you'd like a dividing line instead, place a border on the left side of the #mainContent div if the #mainContent div will always contain more content than the #sidebar1 div. </p>
        <p>Donec eu mi sed turpis feugiat feugiat. Integer turpis arcu, pellentesque  eget, cursus et, fermentum ut, sapien. </p>
      <!-- end #sidebar1 --></div>
      <div id="sidebar2">
        <h3>sidebar2 Content</h3>
        <p>The background color on this div will only show for the length of the content. If you'd like a dividing line instead, place a border on the right side of the #mainContent div if the #mainContent div will always contain more content than the #sidebar2 div. </p>
        <p>Donec eu mi sed turpis feugiat feugiat. Integer turpis arcu, pellentesque  eget, cursus et, fermentum ut, sapien. </p>
      <!-- end #sidebar2 --></div>
      <div id="mainContent">
        <h1> Main Content </h1>
        <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent aliquam,  justo convallis luctus rutrum, erat nulla fermentum diam, at nonummy quam  ante ac quam. Maecenas urna purus, fermentum id, molestie in, commodo  porttitor, felis. Nam blandit quam ut lacus. </p>
        <p>Quisque ornare risus quis  ligula. Phasellus tristique purus a augue condimentum adipiscing. Aenean  sagittis. Etiam leo pede, rhoncus venenatis, tristique in, vulputate at,  odio. Donec et ipsum et sapien vehicula nonummy. Suspendisse potenti. Fusce  varius urna id quam. Sed neque mi, varius eget, tincidunt nec, suscipit id,  libero. </p>
        <h2>H2 level heading </h2>
        <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent aliquam,  justo convallis luctus rutrum, erat nulla fermentum diam, at nonummy quam  ante ac quam. Maecenas urna purus, fermentum id, molestie in, commodo  porttitor, felis. Nam blandit quam ut lacus. Quisque ornare risus quis  ligula. Phasellus tristique purus a augue condimentum adipiscing. Aenean  sagittis. Etiam leo pede, rhoncus venenatis, tristique in, vulputate at, odio.</p>
        <!-- end #mainContent --></div>
        <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />
    <!-- end #container --></div>
    </body>
    </html>

  • Header and Footer in Table

    Hi,
    Invoice Smartforms:
    I create main window with an table with header and footer.
    In this table they are a loop to the different billing item.
    When they are lot of billing item, the table continue in the next page.
    The Header of the table is displaying very well. But the Footer don't want display in each next page. He display the Footer just in the last page or i need have footer in each next page (for the total price of Billing item in each page ).$
    I have test each evens option and condition in footer but i don't found why he don't want display in each page.
    I have insert a logic program (breakpoint) to view if he pass, and yes he pass in each page in the footer.
    Thanks.

    Hi,
    Create a folder within the main window as footer .
    So only after the details of main window body area is displayed it will show the footer making it appear only in the last page
    Regards,
    Nisrin.

  • How to place header and footer  in OO-ALV program using class

    How to place header and footer  in OO-ALV program using class tell me wat r the class we shold use and their attributes as well

    Hi Venkatesh,
    Take a look at this how to [ABAP Objects - ALV Model - Using Header and Footer|https://wiki.sdn.sap.com/wiki/x/xdw]
    it's explaining how to define the classes and use it for display an ALV with Header and Footer.
    Regards,
    Marcelo Ramos

  • HST6.0 Header and footer in reports

    Hi,
    We have an application generated from designer 1.3.2 using Headstart, and now we need to upgrade that one to designer 6.0, Everyting works ok with the forms but when we try to generate reports we don't get any header and footer. I have looked into the demo application in Headstart and found 2 reports with header and footer but I can't figure out how to generate this from Designer.
    Thanks in advance for any help!

    These fragments might fall under the category of "other", as an example, there is a copyright fragment in the Other tab of the fragment toolbox window. You could copy that and enhance it to make your footer.

  • Regarding Header And Footer in Data type Creation

    Hi All,
    Can Any One Please Send me One Screen Shot Developed with Header And Footer in the Data type Creation
    I want to Know How to Create And where to create that in DT Creation
    And Why Do we need Both of these in DT Creation
    Regards
    Vamsi

    Hi,
    Will u Please send One Screen With These Details, So that I Can Uderstand More
    ID : [email protected]
    Please send
    Regards
    Vamsi

  • Header and Footer in Block ALV Display

    Hi All,
    My requirement includes to ALV Block List Display with header and footer.
    I have made two forms TOP_OF_PAGE and END_OF_PAGE . I have pass the form and name of event to an internal table it_events.
    This it_events[] is then passed to FM ' REUSE_ALV_BLOCK_LIST_APPEND' . But only Top of Page is working.
    Am I missing any thing in the code? or I have to use something else.
    Pls Help
    Regards,
    Nibha

    Hi,
    For end_of_page you need to use Events as follows:
    *TO CAPTURE EVENTS AND HANDLE
    DATA : it_event TYPE slis_t_event,
           wa_event TYPE slis_alv_event.
    *&      Form  BUILD_EVENTCAT
    FORM build_eventcat .
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          i_list_type     = 0
        IMPORTING
          et_events       = it_event
        EXCEPTIONS
          list_type_wrong = 1
          OTHERS          = 2.
      READ TABLE it_event INTO wa_event WITH KEY name = 'END_OF_LIST'.
      wa_event-form = 'END_OF_PAGE'.                          " Sub-routine that will be used to write
      MODIFY it_event FROM wa_event INDEX sy-tabix.           " Modify it_event
      CLEAR wa_event.
    ENDFORM. " F_BUILD_EVENTCAT
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program          = sy-repid
          i_callback_top_of_page      = 'TOP_OF_PAGE'
          is_layout                   = g_t_alv_layout2
          it_fieldcat                 = g_t_fieldcat2[]
          it_events                   = it_event[]
        TABLES
          t_outtab                    = <fs_final_itab>.
    Regards,
    Mansi.

  • Very slow Header and Footer load

    Hi all,I have a problem using the Content Server.We I try to brand my portal with header and footer created by CS all the pages are loaded slowly.Looking at the PTSpy I see the following lines:
    InetHostBase::ReleaseSock() <10.223.164.108:8080> Closing socket 13335InetHostBase::CreateInitNewSock() Successfully created and initialized a new socket 13335InetHostBase::GetAndLockSock() Successfully initiated "connect" for a new socket 13335PTCache<StoredType, KeySize>::GC() Starting new TTL run!PTCache<StoredType, KeySize>::GC() Ending TTL run with 0 item(s) freed!
    These 5 lines are repeated more time consecutively for about 10-15 seconds before my page is processed.I think it's a problem of configuration.I am using Content Server 5.0.4 and Portal Server 5.0.2 with Tomcat.
    Have you any ideas of how to solve this problem?
    Thank you very much,
    Alberto Marchiaro

    Hello,
    It seems to be an issue with the Font that you have used.
    You have used Bubble-one font and if you check this font in Google Chrome it is cut off and if you check in Firefox, it comes up fine.
    Please have a look at this link in Google Chrome and Firefox and you will see the difference : http://www.google.com/fonts/specimen/Bubbler+One
    I would suggest you to use some other font in order to fix it.
    Regards,
    Sachin

  • How to create schema for Header and Footer with pipe delimiter file BPEL11g

    Hi all,
    I have issule creating Schema for Header and Footer with body file .The file format is Pipe delimiter.The following format below like is...
    Softeware Components:File Adapter(Read) 11g,
    1|1211|000|577|5444
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|4544|000|yted
    I hope get the sollution for this from this Forum..Please help me out..Thankyou.

    You mean how many rows or columns..?
    If coloumns means 5 and rows only one(1).

  • How to create Schema Header and footer with Pipe delimiter file..?

    Hi all,
    I have issue with creating Schema Header and footer with body file ..The file format is Pipe delimiter.. The follwing file below like is...
    Adapters:File Adapter(Read)-11g.
    1|000|2025|SDFG|54787
    1|2055|244|9566|000|000|044|2577|361147|45554|wweqw|52555|564|000|647|464
    1|2027|344|4566|000|000|044|8577|361147|45554|wweqw|82555|564|000|647|844
    1|2024|444|6566|000|000|044|9577|361147|45554|wweqw|12555|564|000|647|544
    1|2023|544|8566|000|000|044|5577|361147|45554|wweqw|52555|564|000|647|442
    1|2022|644|3566|000|000|044|7577|361147|45554|wweqw|02555|564|000|647|448
    1|0000|546|25544|454
    If you have sollution for this, please help me out..Thank you.

    You mean how many rows or columns..?
    If coloumns means 5 and rows only one(1).

  • Resetting Header and Footer in RTF templates

    Hi,
    I developed an RTF template (template 1). This template contains start:body and end body for printing the header and footer in all pages. After printing this template then i have to call another template(template 2) from this. I called the template (template 2) using call statement. But the probelm is that the header and footer of template1 is printed in the output of template2 .
    I dont want to print this header and footer for template 2. Can anyone please suggest me in doing this. I placed start:body and end body in the second template with the assumption that 1st template's header and footer will be overwritten. But if i preview then am getting the error
    Font Dir: C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\fonts
    Run XDO Start
    RTFProcessor setLocale: en-us
    FOProcessor setData: C:\Documents and Settings\kpoda\Desktop\Invoice Printing Efficiencies\Sample XML Data\Sample Output4.xml
    FOProcessor setLocale: en-us
    each
    Please sugget.
    Thanks

    Hi,
    Do you have two templates (template1 & template2) that you want to display in the same document where the pages for template1 has one set of header and footers; and template2 has another set of header and footer?
    If that is the case you can simply create a new section in your rtf template so you have section1 and section2.
    In the body of section1 you call template1 and template2 in the body of section2.
    You can then have different header and footers for the two templates in the same document.
    BR Kenneth

Maybe you are looking for