Custom heading-styles using h1 , h2 , etc. tags

Hi!
I tried to create custom styles for headings which should then be readable by a screenreader.
My custom headings could not be read by a screenreader, word however displayed them correctly.
After I converted one document with custome headings and one with the predefined heading styles to html, I found an explanation. Custom headings are just a new CSS-class with the name of the style. In my example:
<p class=customhead1>Test1</p>
<p class=customhead1>Test2</p>
Using predefined heading styles resulted in:
<h1>Test1</h1>
<h1>Test2</h1>
Is there any way to force word to use the <h1>, <h2>, etc. tags on custome styles?
Thank you very much and all the best,
Boris

I'm afraid yes you will need to apply all the settings again, I can't think of an other way.
Note that Find and Replace (Ctrl+H) can be used to replace a style with another style (or direct formatting with a style).
Stefan Blom, Microsoft Word MVP

Similar Messages

  • Receive custom header variables using javamail

    Hi,
    I am setting some custom variable in header like "ABC" and the value as "123" and sending it to some invalid recipient. The mail is bounced back to the sender. By using my outlook client I am able to see the above variable.
    I have written a java program to read the headers, but it is not coming. Kindly help me to receive custom headers. If you have any code sample that would be helpful.
    Thanks,
    Srinivas
    Message was edited by:
    [email protected]

    Have you looked at the com.sun.mail.dsn package in JavaMail 1.4?

  • Heading style is suddenly no longer applied in RH8

    My colleague has been using a custom header style with no problems.  The other day, the style is suddenly no longer applied in preview.
    The project and styled text appear as they should on my computer, but not his.
    Coincidentally, an upgrade to Explorer 7 was made prior to the new issue, but not sure why that impacts the preview, and the upgrade doesn't impact the project appearance on my computer.
    Does he need to reinstall Robohelp to fix this issue? 
    Just in case, the style is:
    P.01ProcessHeading {
    font-weight: bold;
    font-style: normal;
    margin-bottom: 12pt;
    margin-left: 0in;
    border-bottom-style: Ridge;
    font-size: 18pt;
    color: #000000;
    border-bottom-width: 2px;
    border-bottom-color: #db281c;
    font-family: Arial;
    The HTML of the styled text is:
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="generator" content="Adobe RoboHelp 8" />
    <title>01 Adding Allergens</title>
    <link rel="StyleSheet" href="..\..\default.css" type="text/css" />
    </head>
    <body>
    <?rh-script_start ?><script src="../../ehlpdhtm.js" type="text/javascript"
            language="JavaScript1.2"></script><?rh-script_end ?>
    <p class="01ProcessHeading">Topic Title&#160;&#160;&#160;&#160;&#160;<a
      href="02_Topic_title.htm"><img src="..\..\notepage.png" alt=""
               style="border: none;" width="16"
               height="18" border="0" /></a></p>
    I wondered if charset=utf-8 might be a problem - mentioned on another forum topic, http://forums.adobe.com/message/1937722#1937722

    Hi,
    The name of the style starts with numbers. This is invalid CSS and is causing the problems. The best solution is to rename the style (don't use numbers if you can avoid it) and use a find and replace operation to correct the style in your project. (Make a backup first).
    Search for all class="01ProcessHeading" and replace it with class="MyNewName".
    You can validate your css by using the free W3C CSS validator: http://jigsaw.w3.org/css-validator/
    Greet,
    Willam
    This e-mail is personal. For our full disclaimer, please visit www.centric.eu/disclaimer.

  • Using custom CSS style sheet

    I'm trying to use a custom CSS style sheet and can't get it to work. I've created my stylesheet and uploaded it so it shows under Shared Components >> Cascading Style Sheets.
    Viewing the source for my pages currently shows a reference to what I guess is the default style sheet -
    <link rel="stylesheet" href="/i/css/apex_3_1.css" type="text/css" />But no reference to the one I uploaded. So I guess I need to add a new reference pointing to my sheet.
    So questions would be -
    - How and where do I add this reference?
    - Is this the correct way to do things if I want to use my own styles?

    Antilles,
    Go to your Shared Components > Temples > Select the page template you wish to apply your CSS to and in the "Header" area you will see references to the APEX CSS, something like,
    <link rel="stylesheet" href="#IMAGE_PREFIX#themes/theme_17/theme_3_1.css" type="text/css" />Now, just add your CSS reference after any APEX CSS references.
    Hope this helps.
    -Chris

  • Changing colors/style sheets with custom header portlets?

    We would like write a completely custom header portlet (a standard portlet that is designated as a header, notusing the branding server), but I can't seem to find a way to change the style sheets in subportals when I do this.
    Am I missing something? Do you have to use the branding engine to control style sheets in subportals, or is there another way?
    Chris StoffelPortal DeveloperHalliburton KBR

    ------- developersupport wrote on 12/11/03 4:24 PM -------
    The way Branding accomplishes what you're looking for is by setting a portlet setting called &#034;Portal-Style&#034; on the header portlet using the EDK.  This setting can be set either as an Admin level or CommunityPortlet level setting.  When the portal loads a page with a header, it will check to see if the header has this preference set (first on the CommunityPortlet level, if the header is on a community, and then on the Admin level).  If so, the portal will cause everything to use the stylesheet specified in the setting value.
    The setting value is the name of the stylesheet.  For example, if you wished every page displaying the header to be orange, you could set the &#034;Portal-Style&#034; Admin setting on the portlet to a value of &#034;mainstyle17&#034;, the orange-themed stylesheet.
    Perhaps I'm not setting the preference properly. Sniffing the HTTP headers between the gadget and portal servers, I do see:
    [HTTP_CSP_GLOBAL_GADGET_PREF] => Portal-Style=mainstyle17
    (I also tried it with Portal%u002DStyle, but neither works)
    The remote server header portlet doesn't seem to be picking up the fact that there is an admin pref to override the main page's stylesheet. Did I create the portlet wrong, or am I setting the preference incorrectly, or what? Thanks

  • Question about TextEdit. How do i add a custom header to a multipage document? For example, "Smith, page 2", "Smith, page 3', etc. I can do it in Microsoft Word, but cant figure out how in TextEdit.

    How do i add custom headers to a multipage document in TextEdit? i need to add a custom header in upper right of page, for example: "Smith, page 2", "Smith, page 3" etc.  The add header setting in Textedit file-print only adds date : time in upper right, with "Page 1 of 3" on bottom right.
    Thank you.

    It's just a text editor not a word processor.

  • How can I use this?? Custom css style.

    !http://unisonsoft.iptime.org:8000/sample.jpg!
    Please look at this image.( Dashboard -> page option -> section properties -> Custom CSS Style Options (HTML Only) -> Use Custom CSS Style)
    I want to use Custom Css Style.
    What can I do for this?
    Thank you.
    Edited by: user626249 on 2009. 7. 28 오후 10:28

    Thank you Mr.Jhon and everyone.
    My client asked me "how can I see the pages on dashboard with many CSS"
    Sorry...Actually I can`t use ENGLISH very well...
    For example)
    Page1 has two tables.
    These table`s font-size is 12pt.
    page2 has two tables too.
    These table`s font-size is also 12pt.
    In this case, I only want to change table`s font-size 10pt in page2.
    The font is set the file "/OracleBI/oc4j_bi/j2ee/home/applications/analytics/analytics/res/s_oracle10/b_mozilla_4/views.css"
    If I change this css file, page1 and page2 has same format of tables.
    So I need to change olny one page`s table font-size using Custom Css Style.
    This is my best writting...Sorry...;;;;;;;;;;;;;;;;
    Thanks everyone...If you understand me, please help me.^^
    Edited by: user626249 on 2009. 7. 29 오전 2:22

  • Create a heading style that does not affect the whole paragraph?

    Hi, I would like to make a style for headings that only affects the first sentence. I want to have a style that is a certain bold type to be the heading for a section, but then I want body-text to continue without a new paragraph. Like this:
    "*Writing as a category.* Writing, more particularly, refers to two things: writing as a noun, the thing that is written; and writing as a verb, which designates the activity of writing..."
    Right now I am just using a character style for the first words but then I cant make adjustments to the spacing before this paragraph and it wont appear in the TOC.
    I don't know if I have made myself clear but I hope you get the point. Is there any way to do this in Pages?

    As far as I know, headers are available in the area entitled "Paragraph Styles" not "parts of Paragraphs Styles".
    Here is a quick and dirty workaround.
    I created my own custom character style "none 2" which I may apply to the end of a styled paragraph.
    Given that, I may have a paragraph whose beginning is 'styled' and end isn't.
    The drawback is that the entire paragraph appears in the TOC.
    In France we say "On ne peut avoir le beurre et l'argent du beurre"
    Yvan KOENIG (from FRANCE dimanche 15 février 2009 17:51:36)

  • RH 9, MS Word, Heading styles messing up my mini TOC

    I must be doing something wrong. :-)
    I have done many Word to RH projects. All the same look and feel. I include a mini TOC at the top of my topics, (which are actually book chapters). Now, however, my mini TOCs have no contents in them, and the reason is that my headings are not called "Heading 1, Heading 2" etc, which is what RH requires for mini TOCs. My heading styles came in as "WD_Heading1, WD_Heading2" etc.
    I do not know why they came in like that. I imported the Word files as I always do. I tried renaming the headings styles, but no go.
    What up wit this? Please advise. Thanks!

    Yes, I was doing something wrong.
    During import of the MSWord doc, I forgot to make sure each Word Document paragraph style was mapped to a RoboHelp Style in the drop-down list. A simple step.
    You know, I don't remember having to do this before. I believe the Robohelp style (Heading 1, Heading 2, etc.) was selected by default. Perhaps because I was using a previous proejct as a template.
    Well I am happy to answer my own question for anyone else who runs into this problem. It is not too gratifying, however, as it feels like scoring a goal on your own goalie.

  • Heading style customizations not reflected in HTML Help file

    I wanted to share a solution I found for a problem with heading styles. I am using RoboHelp 9 for Word with Office 2010 and generating an HTMLHelp .chm file. When I migrated from Office 2003 to 2010 and RoboHelp 8 to 9, I customized the RoboHelp.docm template file to change the heading styles to have an orange border line over the header. (I had made the customizations in RH 8 for Word, but couldn't transfer the customization to the new template, so I did it by hand). The border line came out black in the header file in most of my topics in the .chm help file. I found one Word doc had topics with the orange line displayed correctly in the help and discovered that that heading style had Style Type = Linked, so I went to each of my Word docs and changed my Heading 1 style to use that style type and it fixed it for all my heading styles.
    In Word 2010, you can change this from the Home tab, Styles ribbon. Rt-click on the Heading 1 style and choose Modify. In the Modify Style dialog set Style type to Linked (paragraph and character).

    Thanks for sharing!
    Greet,
    Willam

  • How to Change Journal Header name to Custom Header Name while GL Importing?

    Hello Experts,
    I am in situation where customer wanted to keep their own journal header naming conventions to imported journals in Oracle GL for custom Journal sources.
    As I know while importing journals, Oracle Creates the Journal Name based on the below mentioned logic.
    "Journal Import creates a default journal entry name using the following format:
    (Optional User-Entered REFERENCE4)(Category Name)(Currency)
    (Currency Conversion Type, if applicable)
    (Currency Conversion Rate, if applicable)
    (Currency Conversion Date, if applicable) (Encumbrance Type ID, if applicable)
    (Budget VersionID, if applicable). If you enter a journal entry name,
    Journal Import prepends the first 25 characters of your journal entry name to
    the above format"
    But then How it is possible to only allow journal header Name to be used present in REFERENCE4 excluding all other string provided by Oracle? Instead of using omitted string custmoer wanted to keep their own parameters. Example - REFERENCE4.A.B.C etc.
    Is it possible to solve this using seeded setup or modifying some hook packages or anything else?
    As far as I know there can be one workaround to be use of updating journal header name after journal import being completed successfully for custom journal source. But only fear is Oracle doesnt allow updating the base table without API. Am I rght?
    So it would be really great if anyone of you can suggest the best solution or best possible workaround.
    Thanks

    Duplicate - How to Change Journal Header name to Custom Header Name while GL Importing?

  • Adding Custom Header to SOAPMessage sent to external webservice

    Hi ,
    I want to append some payload and manifest elements to the soapmessage header when i am calling an external service using partner link.
    I have created a variable of type string and initialised the string with my elements below:
    <payloadManifest soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" so
    apenv:mustUnderstand="0" xmlns="http://www.starstandards.or/webservices/2003/12/
    transport">
    <manifest element="ProcessVehicleOrder" id="Content0" namespaceURI="http://ww
    w.starstandards.org/STAR" xmlns=""/>
    and this string I have assigned to the the InputHeader part of the adapter tab in the Invoke activity.
    Its removing the tags and displaying .
    Please provide me help on how to append custom header to the soapMessage.
    Its very urgent.
    Thanks in advance
    deepthi.
    </payloadManifest>

    Maybe you can use this blog for this :
    http://orasoa.blogspot.com/2007/09/using-custom-headers-in-bpel.html

  • Customer's field using BAPI_SLSTRANSACT_CREATEMULTI

    Hi,
    Can someone tell me how to populate customer's fields using BAPI BAPI_SLSTRANSACT_CREATEMULTI'.I have used EEW and it has extended the structure 'CRMT_CUSTOMER_H_COM' but did not extend sructure'BAPIBUS20001_CUSTOMER_H'. So I cannot pass the value.
    Tried to extend 'BAPIBUS20001_CUSTOMER_H' using SE11 but its enhancement category is set to 'Can not be enhanced'.
    Thanks for any suggestion

    Hi Sudesh,
    I think you did not do the enhancement properly in EEWB.
    Just do one thing. Copy the code if you have written any in the EEWB for the enhancement somewhere. Run the EEWB wizard again and regenerate the project. Now paste the code that you had written earlier.
    Use the BAPI_BUSPROCESSND_CREATEMULTI and populate the fields as below:
    DATA: lv_header_guid   TYPE crmt_object_guid,
          lv_item_guid     TYPE crmt_object_guid,
          lit_inputfields  TYPE TABLE OF
                           bapibus20001_input_fields,
          wa_inputfields   LIKE LINE OF lit_inputfields,
          lit_customer_h   TYPE TABLE OF
                           bapibus20001_customer_h,
          wa_customer_h    LIKE LINE OF lit_customer_h,
          lit_header       TYPE TABLE OF
                           bapibus20001_header_ins,
          wa_header        LIKE LINE OF lit_header,
          lit_orderadm_i   TYPE TABLE OF bapibus20001_item,
          wa_orderadm_i    LIKE LINE OF lit_orderadm_i.
    * Fill the HEADER
    * Create Contract header guid
      CALL FUNCTION 'GUID_CREATE'
        IMPORTING
          ev_guid_16 = lv_header_guid.
    * Fill orderadm_h
      wa_header-guid         = lv_header_guid.
      wa_header-process_type = 'ZIUS'.
      APPEND wa_header TO lit_header.
    * Fill input fields
      MOVE: lv_header_guid  TO wa_inputfields-ref_guid,
            'A'             TO wa_inputfields-ref_kind,
            'ORDERADM_H'    TO wa_inputfields-objectname,
            'PROCESS_TYPE'  TO wa_inputfields-fieldname.
      APPEND wa_inputfields TO lit_inputfields.
      CLEAR wa_inputfields.
    * Customer Fields at HEADER Level 
      MOVE lv_header_guid TO wa_customer_h-ref_guid.
      MOVE 'A'            TO wa_customer_h-mode.
    MOVE: lv_terms      TO wa_customer_h-zzcustomer_h0305,
           gv_sales_ch   TO wa_customer_h-zzcustomer_h0301,
           gv_sales_type TO wa_customer_h-zzcustomer_h0302,
           gv_reference  TO wa_customer_h-zzcustomer_h0313,
           gv_creditrate TO wa_customer_h-zzcustomer_h0311.
      APPEND wa_customer_h TO lit_customer_h.
    * Fill input fields
      MOVE: lv_header_guid  TO wa_inputfields-ref_guid,
            'A'             TO wa_inputfields-ref_kind,
            'CUSTOMER_H'    TO wa_inputfields-objectname.
      MOVE 'ZZCUSTOMER_H0305' TO wa_inputfields-fieldname.
      APPEND wa_inputfields TO lit_inputfields.
      MOVE 'ZZCUSTOMER_H0301' TO wa_inputfields-fieldname.
      APPEND wa_inputfields TO lit_inputfields.
      MOVE 'ZZCUSTOMER_H0302' TO wa_inputfields-fieldname.
      APPEND wa_inputfields TO lit_inputfields.
      MOVE 'ZZCUSTOMER_H0313' TO wa_inputfields-fieldname.
      APPEND wa_inputfields TO lit_inputfields.
      MOVE 'ZZCUSTOMER_H0311' TO wa_inputfields-fieldname.
      APPEND wa_inputfields TO lit_inputfields.
      MOVE 'MODE' TO wa_inputfields-fieldname.
      APPEND wa_inputfields TO lit_inputfields.
      CLEAR wa_inputfields.
    * Fill the Item(ORDERADM_I)
      CALL FUNCTION 'GUID_CREATE'
        IMPORTING
          ev_guid_16 = lv_item_guid.
    * Fill ORDERADM_I
      MOVE: lv_item_guid   TO wa_orderadm_i-guid,
            'A'            TO wa_orderadm_i-mode,
            gv_product     TO wa_orderadm_i-ordered_prod,
            lv_header_guid TO wa_orderadm_i-header.
    * Fill input fields
      MOVE: lv_item_guid  TO wa_inputfields-ref_guid,
            'B'           TO wa_inputfields-ref_kind,
            'ORDERADM_I'  TO wa_inputfields-objectname.
      MOVE  'ORDERED_PROD' TO wa_inputfields-fieldname.
      APPEND wa_inputfields TO lit_inputfields.
      MOVE  'PRODUCT' TO wa_inputfields-fieldname.
      APPEND wa_inputfields TO lit_inputfields.
      MOVE  'MODE' TO wa_inputfields-fieldname.
      APPEND wa_inputfields TO lit_inputfields.
      CLEAR wa_inputfields.
    * Customer fields at ITEM Level
    * Similarly fill the values for enahanced fields in
    * lit_customer_i and also the respective input fields in
    * lit_inputfields
    * Fill the rest of the internal tables in the same way
    * Partner, Status, Object, Appointment etc.
    * Now call the BAPI
      CALL FUNCTION 'ZBAPI_CONTRACT_CREATEMULTI'
        TABLES
          header           = lit_header
          item             = lit_orderadm_i
          partner          = lit_partner
          organisation     = lit_organisation
          status           = lit_status
          appointment      = lit_appointment
          input_fields     = lit_inputfields
          return           = lit_ret
          product          = lit_product
          scheduleline     = lit_schline
          customer_head    = lit_customer_h
          customer_item    = lit_customer_i
          pricing          = lit_pricing
          condition_create = lit_condition
          billing          = lit_billing
          config_cfg       = lit_config_cfg
          config_ins       = lit_config_ins
          config_val       = lit_config
          OBJECTS          = lit_object.
    <b>Reward points if it helps.</b>

  • Use of  nav:navNodeAnchor tag library

    Hi folks,
    I am trying to display the breadcrumb feature of portal navigation using navigation tag library <nav:navNodeAnchor> in my custom header iview.
    The code goes something like this.
                                  <nav:iterateNavNodesInSelectedPath>
                                  <nav:navNodeAnchor navigationMethod="byURL"
                                            anchorAttributes="class='textstyle2'"/>
                                                                <nav:ifHasMoreIterations>></nav:ifHasMoreIterations>
                                  </nav:iterateNavNodesInSelectedPath>
    But here, when I try to apply the css class as part of anchor attributes, it is not getting reflected in the output. Basically, it always displays the breadcrumbs in the standard colors defined.
    Can somebody please help me on this.
    Regards
    Srinidhi

    Hi Srinidhi,
    As the expected behaviour is what is also documented (for example under http://help.sap.com/saphelp_nw04s/helpdata/en/43/0029d0e7371aa2e10000000a422035/frameset.htm ), it <i>should</i> work. Check the HTML code which is generated on the created page; if the "textstyle2" string is also missing or at the wrong place, check if you are able to correct the entry maually (in the latter case), otherwise open an OSS message...
    Hope it helps
    Detlev
    PS: @Prem - See the linke above, it's not really a CSS attribute but a generic possibility to inject anything (for example: CSS class references) into the generated html anchor. Anyhow, I also expect that the text gets rendered in the created HTML page but the resolution does not work, for example as the CSS itself is not referenced or something like that...

  • Custom css style to region

    what solution can i get to style a region with a custom CSS style?
    can't I force the HTML region tag (is it a TD, isn't?) to have an ID or a STYLE I choose?
    (then i can insert an HTML PORTLET to write the CSS style)

    Mylenium wrote:
    A caption is its own HTML tag, nothing exclusive to an image.
    The HTML <caption> tag can be used only inside a table. It has nothing to do with images. http://www.w3.org/TR/html401/struct/tables.html#edef-CAPTION.
    To answer the original question, the way to create a caption for an image is to wrap the image and caption text in a <span> and give the span a class called floatleft or floatright.
    <span class="floatleft">
    <img src="../images/cape_royal.jpg" alt="Cape Royal"
    width="250" height="366" />Grand Canyon at Cape Royal</span>
    Then create four style rules:
    .floatleft {
      float:left;
      margin:3px 8px 3px 0;
    .floatright {
      float:right;
      margin:3px 0 3px 8px;
    .floatleft, .floatright {
      font-weight:bold;
      text-align:center;
    .floatleft img, .floatright img {
      display: block;

Maybe you are looking for