JTextPane ordered-list, unordered-list

Hi
I am using RTFEditorKit and want to implement " ordered-list, unordered-list " in a JTextPane. Does anyone has some solution to this?
Thanx
Hamza

Start a new, blank HTML page. Put your lists on it. Are they
behaving as
expected? If so, and I suspect that it's so, then it's
something else on
your original page. Can we see it?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"synchronised" <[email protected]> wrote in
message
news:gmhvop$ghi$[email protected]..
>I have endeavoured to use both the ordered and unordered
list in CS4 and in
> both cases it does not indent as expected. The bullet
point or number is
> left
> hanging off the left of the page and the text lies right
next to the
> left-hand
> margin.
>
> I have checked out the Preferences - Code Format and
this is set up and
> the
> indent box is checked with 2 spaces.
>
> I have used this facility in the past and used a nested
unordered list!
>
> Can anyone help with this problem or point me in a
particular direction,
> please?
>
> David
>

Similar Messages

  • How to get unordered/ordered list in ADF JSF

    Hey,
    So I'm thinking this is a pretty simple task but I just can't get it to work or find anything on it. I just want a simple unordered or ordered list in my JSF view, the text of each list element being an <af:outputText> value. At the moment I have something like:
    <ol>
           <li>
               <af:outputText value="something" />
          </li>
          <li>
                <af:outputText value="something2" />
                <af:goLink text=" text " id="gl1" destination="/faces/mypage.jsp"/>
                <af:outputText value="something3" />
          </li>
    <ol>So I expect it to output the below, but instead its completely messed up.
    1. something
    2. something2 text something3
    It's getting messed up because ADF is adding divs around the <af:outputText> tags, as well as completing the li tags before my ones. Surely there is a way to do this either through the framework or other means? Anyone know?
    Edited by: Ross on 30-Nov-2011 22:08

    An option is to wrap your elements in an af:panelList with listStyle='list-style-type:decimal', such that the af:panelList does the numbering of the elements for you. More information on the af:panelList can be found here: http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_panelList.html
    For the second list item made up of your 3 components, try wrapping them in a horizintal af:panelGroupLayout.
    eg:
    <af:panelList id="pl1"  listStyle='list-style-type:decimal'>
      <af:outputText value="something" />
      <af:panelGroupLayout layout="horizontal">
        <af:outputText value="something2" />
        <af:goLink text=" text " id="gl1" destination="/faces/mypage.jsp"/>
        <af:outputText value="something3" />
      </af:panelGroupLayout>
    </af:panelList>CM.

  • Ordered and Unordered Lists viewed in WYSIWYG Editor in RoboHelp 10

    I recently upgraded a project from RH 9 (9.0.2.271) to RH 10 (10.0.0.287). Ordered and unordered lists display in the WYSIWYG Editor with more spacing around each line. When I generate the output to HTML Help, the spacing looks fine. I also tested generating output to WebHelp, and again, the output looks fine.
    I have paragraph and list styles defined in my style sheet that I apply to the text in the topic. I also looked at the styles in RH 10 and Media is set to "None."
    Using the Style Pod, I looked at the set up of the parapgraph and list styles. For those styles, (and my body text styles - which look fine in the WYSIWYG Editor) have spacing before and after spacing set. (NOTE: These styles were created in RH8 and the WYSIWYG Editor displayed the styles appropriately in RH8 and RH9.) Even though I changed the style sheet, the WYSIWYG Editor is still displaying more space around the styles then I am expecting.
    I know this is not a huge issue since the output looks fine, but I want to understand why the WYSIWYG Editor isn't working as I expect. I would like the editor to display with correct spacing.
    I attached a few screen captures showing what I see.
    HTML Help Output
    Thanks in advance for your help.

    I suspect part of the issue is that your list styles have spacing above and below and then you have applied paragraph styles that also have spacing above and below.
    Using both is OK and is how I work. However, I do not have any spacing above and below in my list styles. I rely on the paragraph style for that. It looks like Rh's Design Editor is applying both but browsers are not.
    It is still not quite the same in a browser as in Design Editor but it is much closer. There will also be browser differences anyway so it's a case of getting some balance.
    Try removing the before and after spacing in the list style. Alternatively, if you do not generate printed documentation then rely on the list style only. (Select the lists in a topic and set paragraph to None).
    Let us know if that is close enough.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Unordered Lists Print as Ordered Lists?!

    The only way I can figure out to indent text in iWeb is with the "Text Indent" parameter under "List" in the Text Inspector. I used that to format the following page:
    http://homepage.mac.com/william.blattner/ISPS/2006.html
    It looks fine on the screen, but when you try to print the page, phantom numbers appear at the beginning of every indented line. When I inspected the source code for the page, I noticed that iWeb is using the "OL" tag – the ordered list tag, which will generate numbers by default.
    Three questions for anyone out there:
    1. Is there another way to produce the indent, without using the "Text Indent" parameter?
    2. Has anyone else had this problem?
    3. Is it possible that this is a product of my publishing to homepage.mac.com, rather than web.mac.com?
    iBook G4   Mac OS X (10.4.8)   iWeb 1.1.2
    iBook G4   Mac OS X (10.4.8)   iWeb 1.1.2

    I understand that it's an invalid property, the property is not defined at all. The web standard is that if you have an unordered list (ul) then it uses bullet points, and if you use an ordered list (ol) then it uses numbers. This is completely backwards on the new update, and since we develop over 400 websites, it will be a waste of our time to go back through every site and add a style type.

  • Ordered list vs Unordered list in RichTextEditor

    Has anyone successfully created a RTE toolbar button that formats text into an ordered (numbered) list instead of an unordered (bulleted) list? I would love to know how you did it.

    http://macmost.com/creating-bullet-lists-in-pages.html
    Ordered list work much better in Pages '09, if you have it or can still get it.
    Peter

  • When will Adobe Muse support ordered and unordered lists?

    When will Adobe Muse support ordered and unordered lists instead of forcing users to create manually formated bullet points? I've asked this question before, but never saw an answer to it. I know others have asked it as well. Adobe has set a high bar with its other solutions. It doesn't look good that Muse does not support ordered and unordered lists at this late date.

    Lance,
    Thanks for responding - I guess I pushed a button
    My perception of the forums and response from Adobe is based upon looking at most of the postings in the "bugs" forum. There are lots of reads, very few replies.
    Given the fact that many users have asked about bullets and other basic text formating I am surprised that there is still no sign of them. Perhaps it is felt that there are workarounds that will do. The truth is, as you noted, that none of the workarounds are great, some are not even practical. For my specific case, I would have been happy to use workaround #1, except that the line items were hyperlinks, and I needed to open them in a separate window using the javascript window.open function. As I've detailed in other posts, there is a real problem with this in Muse. Hyperlinked javascript calls are invoked via the "href=" attribute, but this doesn't work properly in a number of browsers. There isn't a way to tell Muse to use onclick instead (which works for all browsers). This led me to have to use embedded html.
    That leads me to try #2, which is to use CSS styling in the embedded html. This too gave me fits. Using a <style> section to set the attributes for <ul> or <li> did not work. I can only assume that the tags inside the embedded HTML have a Muse-generated id or class. I tried to get the bullets by setting the list-style-type in the <ul> tag itself using the style attribute, but this did not work (it should). It does work if you put the list-style-type in the <li> tags. This is pretty tedious, and led me to create text files containing the html separate from Muse so that I can use an editor to copy repeated strings. Then I cut and paste into the embedded html container.
    Note that, even though I finally found something that works, it is not visible in the design view, so you can't even tell it works without previewing it!
    I haven't tried option #3, but given the need to force the use of onclick I imagine that would not be possible with your widget. I was aware of the list widget however.
    I'll have to look at the Mucow docs and give it a try. The docs are a bit light - any plans to flesh them out?
    Thanks,
    Gareth

  • HTML Ordered Lists not being rendered

    Does anyone know why HTML ordered lists (i.e. &lt;OL&gt;) are not rendered in HTML DB?

    Hi All,
    I have exactly same problem.
    I am using Apex ver 2 and Theme 10. I created a HTML region and as source I entered:
    <o l>
    <l i>one</l i>
    <l i>two</l i>
    <l i>three</l i>
    </o l >
    But all I get is small dots like in unordered list....
    Example:
    http://htmldb.oracle.com/pls/otn/f?p=44995:6:588366842276644476:::::

  • Downloading the open purchase order list

    HI Friends,
    Please let me know how to download the open purchase order list from SAP aong vth buyer codes.
    Regards,
    A.S.kumar

    Hii
    Go to ME2N, give the details what ever u want in that screen and in Scope of list - select ALV.
    If u select ALV , it will show in the format of excel sheet , so u download as lik that .
    In selection parameters - u mention WE101/WE102 ...etc , according ur requirement.
    Any clarification , let us know
    Thanks
    SAP-MM
    Edited by: MM group on Feb 19, 2010 6:04 AM

  • Open purchase order list

    Hi experts,
    how i can generate open purchase order list with the amount ?
    regards,
    Sanju M S

    HI
    try report
    ME80FN
    here after executing click on changes view and select PO history
    Regards
    Kailas Ugale

  • SAles Order not appearing in Sales Data Warehouse SAles Order List

    Hi Gurus,
    Can you help me in this regard :- My Sales Order has been invoiced but its not appearing in the Sales Data Warehouse Sales Order List.

    Hi poonam,
    I don't get clearly, but mean here your sales order doesn't exist in your cube or ODs in BW.
    If so check the delta load has been done or not.
    Before that check in tables VBAK (Header data) and  VBAP (Item data) , wheather your sales order exists.
    Hope this helps.
    Regards,
    Reddy

  • Purchase Order list pending for MIRO days wise

    i want to know t.code for outstanding Purchase order list dayswise which is pending for Miro....for example payments will be in 15days 30days which is mention in P.O.
    Thanks & Regards
    Rekha Sharma

    Hello,
    Please check MR11
    Regards,
    Ravi

  • Confirmed Open Sales Order List

    Hi Every body,
    Is their any best way to find the list confirmed open sales order list. because i am working on one report, where user will run the report in foreground.
    the problem is we dont have time period field as a input parameter. i found some table like V_VMVAC to list  the unconfirmed sales order. In same way do we have any other tables. or any other to list these confirmed open sales order.
    Regards,
    Srinivas.

    You can use open order report VA05.
    Once you executed with date selection parameters, in the output report, you can sort the column status. The status with "OPEN" displays the sales order items that are confirmed but not delivered.
    Regards,

  • Regd : purchase order list in SAP

    hi,
    Is there  standard purchase order list available in SAP.
    <b><REMOVED BY MODERATOR></b>
    Message was edited by:
            Alvaro Tejada Galindo

    Hi
    execute the following Std Tcodes for PO lists
    ME2B                 POs by Requirement Tracking Number
    ME2C                 Purchase Orders by Material Group 
    ME2J                  Purchase Orders for Project       
    ME2K                 Purch. Orders by Account Assignment
    ME2L                  Purchase Orders by Vendor         
    ME2M                 Purchase Orders by Material       
    ME2N                 Purchase Orders by PO Number      
    Regards
    Anji

  • Order list not linking through to detail view

    Hi all, I'm creating an order list in a secure zone, each order needs to link to the invoice of that order (the detail view). I have read:
    http://forums.adobe.com/message/4348407#4348407
    and
    http://kb.worldsecuresystems.com/838/cpsid_83807.html?bc-partner#main_Displaying_Order_His tory
    but cant seem to link from the order list to the detail view.
    My list template is:
    <li>
    <span class="col1">{tag_invoicedate}</span>
    <span class="col2">{tag_invoicenumber}</span>
    <span class="col3">{tag_invoicetotal}</span>
    <span class="col4">{tag_status}</span>
    </li>
    Are any of these tags meant to link to the detail view? I have looked for further tags which link to the detail view but cant find any.
    Thanks for your reply in advance.
    Karl

    Yea, best is to wrap {tag_productimage} in a div with a class, i.e. <div class="order-image">{tag_productimage}</div> and "shrink" it with css:
    .order-image {
         width:80px;
         height:80px;
    .order-image img {
         width:100%;
    You can not define a template for the detail view (I wish...), it is using the default template.
    Nicole - BCGurus.com   |  http://bcgurus.com/Business-Catalyst-Templates for only $7

  • How can I make numbers align with the baseline in ordered lists with inline images?

    When I use inline images in an ordered list, the number for every line that has an inline image is offset from the baseline to align with the top of the image. Here is a screen shot from Preview mode (same behavior on real devices):
    List entries 1 and 3 are normal. Entries 2 and 4, which contain inline images, have their numbers offset above the baseline.
    I guess the line-height gets redefined based on the inline image, and then the numbers align based on line-height. Is there a way to change this within Muse so the numbers will consistently sit at the baseline even when the line includes an image? Is it something that needs to be addressed by modifying style sheets?

    Hi,
    You are correct in observing that inline objects affect line height, which in turn affects alignment of the bullet/number with the line.
    To address this, you can use negative wrap offsets on the inline (specifically top offset) using the Wrap panel: adjust the value until the inline no longer adversely affects line height.
    Hope this helps.
    Abhishek

Maybe you are looking for