Saving RTF from JTextPane and missing subscripts

I've written a little application that involves saving and loading styled text in a JTextPane. Bold and italic styled text survives the loading/saving process but subscripts always revert to the regular style.
To test this further, I created a document with bold, italic and subscript styled text in MS Word, saved it as RTF and then loaded it into my JTextPane. I got the same result as above: my subscripts were lost, but bold and italic survived.
Is this a bug? If so any news of it being known or fixed?
thanks,
McN

Swing's RTFEditorKit only supports an early release of the RTF specification -- maybe somewhere along 1.1. Microsoft has updated the spec with each new version of Word, so that I think the XP version is something around 1.6 or 1.7. The most common behavior of the current Swing RTFEditorKit is to ignore those extra features it doesn't recognize, like subscripts, tables, images, etc. I have occasionally had it produce a null value as well...giving me fits.

Similar Messages

  • Hi! I've just backed up from iCloud and missed photo. Why?

    Hi! I've just backed up from iCloud and missed photo. Why?

    What do yo mean that it took all the money?
    What is current status of the iPod?
    You can always redownload iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • Apple reminders do not disappear from "all" and "missed" view when dismissed from "today" view of notification center by marking the circle by the reminder. why is this?

    Firstly, I really like the new reminders in iOS 7. However, I noticed that apple reminders do not disappear from "all" and "missed" view when dismissed from "today" view of notification center by marking the circle by the reminder. it requires me to take an extra step and click on "all" and then click the "x" to make it completely disappear and clear from notification center.
    why is this? am i doing something from?

    unfortunately, that does not address my question. your link describes how to clear the missed section of center.  I know how to clear the missed section of notification center, as I said in the original question. I will re-peat my question to clarify. it is:
    apple reminders do not disappear from "all" and "missed" view when dismissed from "today" view of notification center by marking the circle by the reminder. it requires me to take an extra step and click on "all" and then click the "x" to make it completely disappear and clear from notification center. 
    why is this? am i doing something wrong?
    the behavior I would expect would be that when i click the circle on the "today" view. it would clear it out from the missed and all view so i would not have to clear in 2 areas.
    I Hope this clarifies...

  • Saved PDF from Stored Procedure missing application item in report header

    I am able to create and save the pdf from a stored procedure however the application item that contains the date is blank in the saved pdf. Report title displays correctly when running via APEX. I have tried to set this value with, apex_util.set_session_state('F111_DATE',sysdate); and also as a cookie owa_cookie.send('F11_DATE',to_char(sysdate,'Month DD, YYYY'));
    and neither of these statements work. Example of code below...
    vRequest := Utl_Http.begin_request(vReportUrl,'POST');
    Utl_Http.set_header(vRequest, 'User-Agent', 'Mozilla/4.0');
    owa_cookie.send('F11_DATE',to_char(sysdate,'Month DD, YYYY'));
    apex_util.set_session_state('F111_DATE',sysdate);
    vResponse := Utl_Http.get_response(vRequest);
    Apex version 3.2/ 11g

    There are also some great resources on OTN:
    How-To's: http://www.oracle.com/technology/products/database/application_express/howtos/howtos.html
    Tips and Tricks:
    http://htmldb.oracle.com/pls/otn/f?p=18326:50:3390956087894876
    And check out Scott Spendolini & Carls Blog:
    http://spendolini.blogspot.com/
    http://blogs.oracle.com/carlback/
    These are all great resources for picking up some really cool stuff.
    Regards
    Duncan

  • Fetch field values in GTS system from ECC and missing field values

    Hi,
    I am developing Adobe Form "Certificate of Origin" in GTS (Global Trade Services) system. I require to get Customer PO and Country of Origin from ECC system for each line of Invoice (VBKD-BSTKD and EIPO-HERKL respectively). Pls let me know, how can I get these values from ECC to my Adobe Form?
    Also for the "Commercial Invoice" form, value of below fields are not coming in GTS. Pls tell me, if there is any another way I can get data for these fields ?
    1. Tax Number
    2. Tracking Number
    3. Estimated Export Date
    4. Payment terms
    5. Carrier
    6. Package count
    7. Net wt and Gross wt.
    Thanks !!!

    Hi Sri,
    you must align SD0C level.
    Go to SPRO --> SAP Global Trade Services --> SAP Customs Management --> Document Structure --> Assignment of Item Categories from Feeder Systems --> Assign Item Category at Feeder System Group Level
    For Example: SD0C      TAN     CLPOS Standart Item
    When you are done, just re-execute LUW in SM58.
    Regards,
    Gabriel.

  • Saved pictures from the internet missing.

    Since downloading IOS8 I can't find pictures that I newley save from the internet. I clicked on two photos tonight and clicked the save photo option. When I went to the photo app they are nowhere to be found.

    right click, SAVE AS, choose download location on your Mac
    usually in the downloads folder
    Finder  > go > downloads

  • Saved Photos from email attachments blurry in photos.app

    I have two problems since upgrading to 2.0. When I view photo attachments from my email, the photos look perfectly clear. But when I save the photos to the photos application it looks completely blurry. I did a test by saving photos from safari and there was no problems. The only way to fix this is extract the photos from ipod and resync it using itunes. Also when i plug in the ipod to windows xp, i get autorun message saying "camera connected select program for this action" there was no option to take no action. It gets annoying. Appreciate any help for my problem.

    ah, the old photo resolution bug. this was supposed to be fixed in one of the 2.X updates, some people found it fixed it, some people found it didn't.
    you need to tell apple: http://www.apple.com/feedback/ipodtouch.html

  • Trouble saving photos from facebook

    Hey everyone!
    I have trouble saving photos from facebook and other sites on the internet with the newest Safari update on my Windows 8 computer. Does anyone have the same problem as well? Someone who knows how to fix it?
    Thank you.

    There is a great website for things just like this...
    IFTTT.com
    It stands for "If this then that". Check it out! I use multiple recipes!

  • I saved docs from a iMac to a flashdrive but when I plug the flashdrive into an iBookG4 and try to open the docs on the flashdrive, I get this message: Doc 2 cannot be opened. The required index.xml file is missing.

    I saved docs from a iMac to a flashdrive but when I plug the flashdrive into an iBookG4 and try to open the docs on the flashdrive, I get this message: Doc 2 cannot be opened. The required index.xml file is missing. Does this mean that I can't use the info on the flashdrive with the iBookG4 or can I do something to get the required index.xml file?
    Thanks
    jt

    It appears if you write the document with newer version Pages and try to open it older version Pages.

  • I can't open pages files from USB and iCloud due to : "The necessary file index.xml is missing".

    I can't open pages files from USB and iCloud due to : "The necessary file index.xml is missing". Original file is written on iMac (2014) and saved to an USB stick and then transferred till macBook Pro (2009, Yosemite) for editing. Then I shared the files by iCloud but I am not able to open them on iMac again. Niether can I use the USB stick to transfer the edited files back. I'm running Pages '09 4,1 (923) on the macBook and Pges 5.5.2 (2120) on the iMac.
    Håkan

    Pages 5.5.2 is extremely incompatible with even other Macs let alone the vast majority of PC and MsWord users out there, so not a good idea to leap into the fire with both eyes shut.
    After having done that to the first Pages 5 files, Apple has repeatedly done it to even the most minor point updates. Apple can't even anticipate its own erratic changes let alone what everyone else needs doing.
    Peter

  • HT204150 I'm having problems with random contacts disappearing from icloud. I have a saved text from a contact that displays her info but when I look for her in contacts it's missing.

    I'm having problems with random contacts disappearing from icloud. I have a saved text from a contact that displays her info but when I look for her in contacts it's missing.

    It is locked to your sisters carrier.
    She would have to ask her carrier if they unlock iPhones and if she qualifies for this service.

  • How to take off email and website subscription from 2006  iMac to sell?

    I have a desktop Imac that I bought in 2006 and would now like to sell. I also bought a laptop in 2007 that I prefer using. How do I remove the email and website subscription from the desktop model without messing up the laptop info? They seem to be connected at this point and I am not sure how to take off the information from one without damaging the other.

    Have you solved this problem? If not, can you be more specific? You can change the email account information using Email preferences. Which website subscription would you like to remove?

  • When I get an alert from my car sat nav the music on my iphone has a long delay before it comes back on and misses a part of the track why does it do this.

    When I get an alert from my car sat nav the music on my iphone has a long delay before it comes back on and misses a part of the track why does it do this.
    It only seems to do this since an iphone download last year.......its driving me mad !

    See:
    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities
    To copy iTunes purchases to the computer you have to log into (authorize) the account that purchased them and them transfer
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    When associating a device with an Apple ID see the following regarding the 90 day limit.

  • I create a playlist with songs that I purchased from itunes and when I try to sync it to my iphone some of the songs are missing but when I go to the playlist in itunes the song is there.  What could be happening?  What am I doing wrong?

    I've created playlists with songs I've purchased from iTunes and also added songs I've purchased from iTunes to existing playlists.  Everytime I go to sync the playlist to my iPhone I find some of the new songs missing from the playlist.  I've deleted the playlist from the phone and reinstalled it.  I don't know what I"m doing wrong. Anyone have any idea what could be the problem?

    Wondering if you haven't been bitten by the new "feature" of iOS 5, as was my son. turingtest2 explained it very well in reply to my own query about "missing" songs in playlists.
    Here's that thread...
    https://discussions.apple.com/message/16903613#16903613

  • I saved photos from my Macbook Pro onto my Iphone (using itunes, 4 years ago). My macbook is now dead and I need to get the photos I saved off of my iphone 3GS transferred to a pc.  Any help...  From my PC I can only access "internal storage"

    I saved photos from my Macbook Pro onto my Iphone (using itunes, 4 years ago). My macbook is now dead and I need to get the photos I saved off of my iphone 3GS transferred to a pc.  Any help...  From my PC I can only access "internal storage"

    The iphone is not a storage/backup device.  The picture sycn is one way - computer to iphone.  The photos are also reduced in size when synced to iphone so they are not of the original quality
    It has always been very basic to always maintain a backup of your computer.
    Have you failed to do this?
    If so, not good at all, you can e-mail the pics to yourself - keep in mind they will never be of the original quality

Maybe you are looking for