JEditorPane and Hyperlinks...

Hi together, I become desperate...
I've a jEditorPane on the left in my application with several rows of text. any row should be a hyperlink to a special text, which I want to display in the jtextarea on the right (something like the searchsystem in ms windows, where you see all the topics left and when you choose a topic you see the details on the left).
does anyone have an example or can give me some inputs how i implement the hypertextListener and how to know which textrow was selected?
thanks in advance.
steinfresser

yes, but it's to big for my little application. is it not possible to insert a html file in a jeditorpane, where I can listen to the hyperlink? I've found a demo version of an applet in sdk1.4/demo/jfc/swingset2, but I didn't get the context. Does anyone know what's the reason and what happen in this lines?
try {
URL url = ;
// System.getProperty("user.dir") +
// System.getProperty("file.separator");
String path = null;
try {
path = "/resources/index.html";
url = getClass().getResource(path);
catch (Exception e) {
System.err.println("Failed to open " + path);
url = null;
thanks steinfresser

Similar Messages

  • How to load a text file int JEditorPane and highlight some words (Urgent !)

    I want to load a text file into a JEditorPane and then highlights some keywords such as while,if and else.I am using an EditorKit in order to style the JEditorPane. I have no difficulty while giving the input through the keyboard but lots of exceptions are thrown if i try to load the string from a file.

    Hi,
    I think the setCharacterAttributes(int offset, int length, AttributeSet s, boolean replace) will solve the problem.
    You can create your own Styled Document and set it to the Editor Pane.

  • CS3 - How can I preserve Links and Hyperlinks in my INDB?

    I am still pretty new to ID, so please speak slowly :)
    My problem - I create an INDB that consists of several indd chapters. The chapters include numerous Links (to PNG & PSD images) and Hyperlinks both to Text anchors to other chapters within the INDB, as well as to URLs. I have all items saved on my local HD. Once complete, I do "Package for Print", check the Preflight report to make sure all is OK (it is) and then save the new INDB folder in a new location on my local HD. This all seems to work just fine, BUT if I move this packaged INDB folder (such as to a backup drive, or give to another worker that copies it to their HD), upon opening the INDB file, some links and Hyperlinks are broken.
    It seems that these broken Links and Hyperlinks are still pointing to the original locations on my HD. But obviously not all are, since most links/hyperlinks DO work fine. The Hyperlinks to Text anchors within other indd chapters seem to typically break. Is there a way to force these to reference the packaged assets within the INDB folder? Seems ID would be smart enough to look there itself!
    Also, I was creating some Hyperlinks as "cross referenced" - that is, I created a URL Hyperlink Destination in Chapter 1 indd and then created Hyperlinks pointing to it from other chapter indd in the book. I have learned that these ALWAYS break in the above scenario, so I started creating the URL destination within the same chapter indd and pointing to it there rather than across chapters. But this is just more work to keep re-creating the same URL destination in every indd!
    I'll keep running into these problems since I need to share my finished INDB with other CS3 users. I also would like to be able to do a Save As of the INDB when creating a revised, newer version, but I see this also results in the new INDB links/hyperlinks still pointing to the original INDB's assets! Any way to make the Save As update the Links/Hyperlinks in the new INDB?
    Thanks greatly for any insight. I can find no help in the Help on these issues!

    The title of the post is this
    How can I preserve row and column addresses on multiple cells at once in Numbers?
    I restated the Question as follows
    Can "Preserve Row" an / or "Preserve Column" be set on multiple cells at the same time.
    In both cases it is not asked if multiple cells can be set to....
    That is a given.
    Step back a second...  It is like selecting multiple cells and setting the text color of the currently selected cells to red. This can be done. More than one cell at a time modified because they are currently selected.
    Whats is being asked is:  if more than one cell is selected at the same time can the settings "Preserve Row" an / or "Preserve Column" be applied. No table I put up will help with that question.
    YES or NO
    If YES how?

  • Image instead of List Name, and hyperlink the image to view 'All Items.aspx' page

    Hi,
    I would like remove the Page title for list (i.e., name of the list in view all items.aspx page) , and instead use image and hyperlink the image
    to 'All items.aspx" page.
    Using developer tool found the element (#PageTitle) and added 'Script Editor' webpart and below css script to it. I am successful in replace the
    title to image, however, I am unable to add the HTML tag for hyperlink. Where do I need to add or how do I add? Could anyone help me please??
    <style type="text/css">
    #pageTitle
    background-image: url('http://w2k81368:2116/SiteAssets/Test.jpg');
    background-repeat:no-repeat;
    text-indent: 100%;
    white-space: nowrap;
    </style>
    Regards,
    Sunitha

    Hi Sunitha,
    According to your description, my understanding is that you want to change the list title to an image.
    I recommend to add the code below to the list page:
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script><script type="text/javascript">
    $(document).ready(function (){
    var s = "<img alt='SP' src='http://w2k81368:2116/SiteAssets/Test.jpg'>";
    var $t = $("#DeltaPlaceHolderPageTitleInTitleArea span span a");
    $t.html(s);
    </script>
    After that, the list title will change to the image and it will show allitems.aspx page when clicking the image.
    Thanks,
    Victoria
    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]
    Victoria Xia
    TechNet Community Support

  • Problems with Long Interactive PDFs with Extensive Interactivity via Buttons and Hyperlinks

    I have inherited a project which requires the creation of large interactive pdfs with lots of buttons and hyperlinks. I am having continuing problems with buttons not working and long periods of wasted time as attempted exports fail.
    Background:
    The largest books range from 264 MB to 411 MB – (764 to 1024 pages).  Per book, the maximum number of buttons on each page is 16, linking separate files (subsections) in the book via text anchors.  The buttons are created using Master Pages which are set for each file (subsection) in the book.  50% to 60% of the pages in each file (subsection) will also be referenced as 2 hyperlinks.  One is the source page hyperlink on each workflow and the second is a listing on the source page as a possible navigation path. I have created hyperlink destinations for each page which is used to generate the source and navigation hyperlinks.  With 2 hyperlinks representing 50%-60% of the pages - that means the largest book contains a maximum of 1200 hyperlinks.  Each file (subsection) also has it’s own separate TOC and the bookmarks that are created  (optionally) during the TOC creation process.   As currenlty formatted, the book is primarily images of workflows which mean 50%-60% of the pages contain pdf images.
    Several questions:
    1.  How do I get my buttons to work consistently?  There is nothing worse than working hard and then ending up with faulty product.  I have been thinking about combining all the files into 1 document per book.  Then I could change the buttons to objects, add a hyperlink over each one and set them for a specific hyperlink destination.  Can I do that if the buttons are on Master Pages?  Can InDesign handle a document with 1024 pages?    I can't fix the problems in Acrobat later because it would mean 1024 fixes for just 1 button correction.
    2.  How do I stop InDesign from freezing when exporting these large pdfs?  It seems to wait until the final steps to crash which sometimes means a 4-6 hour waste of time per export. 
    3.  Are we making a mistake using pdfs as our workflow images?  I'm not pleased with the quality of the images we have and wonder if we switched to another image format if this would improve the results.   Would it be worth the effort and relinking?  I have been reading different information on what the preferred source image format is for InDesign.  One article I found yesterday says using pdf images is a problem.  Another site said the Photoshop, TIF and JPG are preferred but PDFs were also acceptable.
    4.  Do I need to propose scrapping InDesign as the source of the project?  If so, what application can better meet my needs?

    Those are the limitations you have to put up with.
    Apple doesn't follow the PDF spec. It chooses which PDF features it will support.
    As to the version number (v5 or v6 or the new multimedia features in v9), there is different support in different versions of Reader/Acrobat as the product has developed. You just need to post a message to downloaders that they need to view the file in Adobe Reader version X or above to get the best experience.
    Other industry standards face the same problem: How can you add new feature like multimedia? You can't always be backwards compatible.

  • PDF and Hyperlinks in SRM-MDM Catalog

    Hello friends,
                       I have done all the prerequisites that are needed in datamanager to upload the PDF's and Hyperlinks but the problem is whenever i see my catalog's search UI in that I am unable to see all the PDF links and even hyperlinks.
    Please do suggest........
    Regards Dollar Man

    Hello Dollar man,
    On the MDM Console, right click on the Repository -> Properties -> PDF -> Allow invalid PDFs -> Yes .
    Give points if it is  aHelpful answer
    Regards,
    Chinmoy

  • An hour ago, I accidentally deleted a "Bookmarks" folder, and all of subfolders and hyperlinks. The lost items are not in "Trash." Are they still retrievable? JAW

    An hour ago, I accidentally deleted a Bookmarks folder, and all of subfolders and hyperlinks. The lost items are not in "Trash." Are they still retrievable? JAW

    They don't go into the Trash. Unless you have a backup prior to the deletion time it's gone.

  • We created a pdf document with comments and hyperlinks. On iPad, comments/hyperlinks disappear.

    Using Acrobat Pro 9, we created a pdf with comments and hyperlinks to be shared with a large community on the iPad, through a server. Once the document is opened on the iPad, all the comments and hyperlinks disappear. Are we missing a tool on the iPad or is there a different way to create this file? Thank you.

    Is everyone on the iPad using the latest version of Adobe Reader mobile for iOS (10.6 at the moment)? You can see all the comments (including drawing markups) as well as view the notes attached to text markup with this version.

  • Table of Contents links and hyperlinks lose accuracy in FP past 5 pages?

    I've come up dry searching for any mention of this bug
    anywhere.
    We've got Word documents that have a table of contents (TOC
    created dynamically in word, using the standard "Heading" style
    method.) When we convert these to Flashpaper SWFs, about 50% of the
    TOC links don't work - they go sort of nearby spots in the
    document, but bring you to a spot off by half a page or more. The
    links to spots in the first 4-5 pages work ok, but TOC links that
    go deeper into the doc - from 5 to 20 pages in - those are off by a
    half page to a page. The working TOC links in Word or in PDF
    versions of the doc take you directly to the right spot.
    The "outline" option in flashpaper also fails - the outline
    links past 5 pages or so are innacurate just like the in-document
    links.
    According the the (scanty) documentation for Flashpaper,
    Heading/Outlines, etc. are supposed to work fine and get converted
    into the SWF.
    I've already tried creating fresh example files, to make sure
    it isn't a problem with sloppy Word formatting, extra Headings,
    etc. - no dice. I still get TOC and outline links that fail to work
    in many cases. They mostly fail for things that jump to spots after
    5-6 pages into the doc. But if I convert these same docs to PDFs,
    the PDF bookmarks and TOC links and hyperlinks work perfectly.
    We've also tried using Hyperlinks in Word to create "pretend"
    Table of Contents (not dynamic, but we're desperate), and we find
    that those hyperlinks that go past 5 or 6 pages into the 20 page
    doc lose their acuracy also - they are a half to a full page off.
    We already tried the method of saving the word docs as HTML
    then converting to FP(suggested within this board) but that did not
    improve things.
    Thanks in advance.
    - Chris

    We solved our issue. In our case we have Word 2007, but our
    client is still on Word 2003 so our Word document was originally
    created in Word 2007 and then converted by Word 2007 into the Word
    2003 format. It appears that we were having these problems because
    we were running Flashpaper on the coverted Word document. A
    document converted this way is internally different than a document
    created by the Word 2003 application.
    To fix the problem we downloaded the Word 2003 application,
    created a new Word 2003 document, copy and pasted the contents of
    the converted Word document into the document created on Word 2003,
    and then ran Flashpaper on the new Word 2003 document. Problem
    solved.

  • Equipment/Functional Location Attachments and Hyperlinks Batch Upload

    Hi,
    We would like to upload File attachments or create Hyperlinks for a reference object in batch - an equipment using transaction IE02 or a functional location IL02. We have already tried creating an LSMW for this however attachments and hyperlinks are deactivated using the LSMW functionality.
    Could you kindly advice?

    Hi,
    I guess you are trying to attach the Hyperlink and documents for individual objects through the generic object services(GOS).If thats the case the standard Generic object services does not support background process and hence the unavailability of the same in LSMW.
    However you can create a separate custom program to create attachments to individual objects using the class and Methods associated with Generic object services (GOS).
    The Method that you would need to use is "CL_BINARY_RELATION=>CREATE_LINK" associated to class "CL_BINARY_RELATION ". There are sample codes available in ABAP development forum to do exactly the same.
    Regards
    Narasimhan

  • Pop up windows and hyperlinks on websites - Virus???

    I hope someone can help me with this pretty fast since I can't figure out how to fix it anywhere, and it slows down my working progress.. I recently started to get a whole bunch of pop up windows (usually when I click on a "search" window, for instance google) and hyperlinks on random words on the web-side I'm on (it can be any word on youtube, facebook, everything that usually are not a link). I've seen more people talk about macdefender etc, but I can't find this anywhere on my mac, so could it be anything else? And what should I do..?

    mdscardigno wrote:
    I ran Adware Medic and it did not find any adware. The problem still persists.
    That is either because your problem isn't actually due to adware, or you've got some adware I've never seen, and thus have never incorporated into AdwareMedic's signatures.
    First, take a look here at some alternate, non-adware-related solutions to the problem:
    http://www.adwaremedic.com/kb/unsolved.php
    If none of that helps, you may have new adware. In that case, take a system snapshot with AdwareMedic and submit it. I'll take a look and see what I can find.
    (Fair disclosure: I may receive compensation from links to my site and software, in the form of buttons allowing for donations. Donations are not required to use my site or software.)

  • Apply formatting in a JEditorPane and export the content in HTML.

    Hi,
    I'm writing, a program to allow the user to enter a formated text and even add images in a JEditorPane.
    Here is a simple sample of the code:
    import javax.swing.*;
    import javax.swing.text.*;
    import java.awt.*;              //for layout managers and more
    import java.awt.event.*;        //for action events
    import java.net.URL;
    import java.io.IOException;
    public class EditorPane extends JPanel{
        private String newline = "\n";
        private JPanel buttonPanel;
        private JPanel textPanePanel;
        private JEditorPane myEditorPane;
        private JButton boldButton;
        private JButton colorButton;
        private JButton imgButton;
        private JButton saveButton;
         public EditorPane() {
            createGUI();
        private void createGUI() {
            buttonPanel = new JPanel();
            boldButton = new JButton("Bold");
            boldButton.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    boldButtonActionPerformed(evt);
            colorButton = new JButton("Color");
            colorButton.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    colorButtonActionPerformed(evt);
            imgButton = new JButton("Image");
            imgButton.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    imgButtonActionPerformed(evt);
            saveButton = new JButton("Save");
            saveButton.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    saveButtonActionPerformed(evt);
            buttonPanel.setLayout(new GridLayout(1, 4));
            buttonPanel.add(boldButton);
            buttonPanel.add(colorButton);
            buttonPanel.add(imgButton);
            buttonPanel.add(saveButton);
            textPanePanel = new JPanel();
            textPanePanel.setLayout(new BorderLayout());       
            myEditorPane = this.createEditorPane();
            JScrollPane paneScrollPane = new JScrollPane(myEditorPane);
            textPanePanel.add(paneScrollPane, BorderLayout.CENTER);
            this.setLayout(new BorderLayout());
            this.add(buttonPanel, BorderLayout.NORTH);
            this.add(textPanePanel, BorderLayout.CENTER);
        public static void main(String[] args) {
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                     JFrame frame = new JFrame("TextSamplerDemo");
                    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                   EditorPane newContentPane = new EditorPane();
                    //newContentPane.setOpaque(true); //content panes must be opaque
                    frame.setContentPane(newContentPane);
                    frame.pack();
                    frame.setSize(300,300);
                    frame.setVisible(true);
    private JEditorPane createEditorPane() {
            JEditorPane editorPane = new JEditorPane();
            editorPane.setEditable(true);
            java.net.URL helpURL = TextSamplerDemo.class.getResource(
                                            "simpleHTMLPage.html");
            if (helpURL != null) {
                try {
                    editorPane.setPage(helpURL);
                } catch (IOException e) {
                    System.err.println("Attempted to read a bad URL: " + helpURL);
            } else {
                System.err.println("Couldn't find file: simpleHTMLPage.html");
            return editorPane;
        private void boldButtonActionPerformed(java.awt.event.ActionEvent evt) {
        System.out.println("boldButtonNextActionPerformed");
        //myEditorPane
            // TODO add your handling code here:
        private void colorButtonActionPerformed(java.awt.event.ActionEvent evt) {
        System.out.println("colorButtonActionPerformed");
            // TODO add your handling code here:
        private void imgButtonActionPerformed(java.awt.event.ActionEvent evt) {
        System.out.println("imgButtonActionPerformed");
            // TODO add your handling code here:
        private void saveButtonActionPerformed(java.awt.event.ActionEvent evt) {
        System.out.println("saveButtonActionPerformed");
        String newStr = new String("this is the new String");
        //newStr.setFont(new java.awt.Font("Tahoma", 0, 14));
        this.myEditorPane.replaceSelection("sdfsdfsd");
            // TODO add your handling code here:
    }and the HTML Code of simpleHTMLPage.html is
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body>
    <p>Simple text</p>
    <p><strong>Bold text</strong></p>
    <p><em>Italic text</em></p>
    <p align="center">Center text</p>
    <p><font color="#000099"><strong>Color text</strong></font></p>
    <p>image here : <img src="images/Pig.gif" width="121" height="129"></p>
    <p> </p>
    </body>
    </html>By pressing the Save button I can change the selected text.
    I don�t know the way to get and apply the format (size, color �) to only the selected text and display the selected image in real time in the EditorPane. Like if you press the Bold button, the selected text font will be change to bold.
    I would like to get or save the HTML code of the content of the EditorPane by pressing the Save button, How to make it?
    I can apply the formatting on the selected text in a JTextPane, but I don't know the way to save or export the content in HTML. By doing that it could fix my problem too.
    So any help to do that will be much appreciated.
    Thanks.

    Hi,
    Tks for your answer. That one I can do it. I would like to display the selected text in bold instead of adding the tag in the JEditorPane. If I get you right, you get the hole content of the JEditorPane and save it. How did you get it ? And before saving that in the database, did you fing the keysWord to convert the HTML tag in the corresponding entities ?
    Bellow you have a sample of code to make the formatting in the JTextPane.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.text.*;
    import javax.swing.text.Highlighter;
    import javax.swing.event.*;
    import java.util.*;
    import javax.swing.text.*;
    import javax.swing.text.BadLocationException;
    public class MonJTextPane extends JFrame implements CaretListener, ActionListener
              *     Attributs :
         private JTextPane monTextPane;
         private JLabel monLabel;
         private JButton monBouton;
         private StyleAide style; // class qui defini les effets de style de l'editeur
              *     Constructeur :
         public MonJTextPane ()
         {     super ("Aide");
              // construction du composant Texte
              this.style = new StyleAide (new StyleContext ());
              this.monTextPane = new JTextPane ();
              this.monTextPane.setDocument (style);
              this.monTextPane.addCaretListener (this);
              // construction de la fenetre :
              this.getContentPane ().setLayout (new BorderLayout ());
              this.setBounds (150,150,600,550);
              this.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);
              this.monLabel = new JLabel ("Auncune ligne saisie...");
              this.monBouton = new JButton ("change de style");
              this.monBouton.addActionListener (this);
              JPanel panel = new JPanel ();
              panel.setLayout (new GridLayout (1,2));
              panel.add (monLabel);
              panel.add (monBouton);
              this.getContentPane ().add (panel, BorderLayout.SOUTH);
              this.getContentPane ().add (this.monTextPane, BorderLayout.CENTER);
              this.setVisible (true);
              *     Methodes :
         private int getCurrentLigne ()
         {     return ( this.style.getNumLigne (monTextPane.getCaretPosition ())+1 );
         public int getCurrentColonne ()
         {     return ( this.style.getNumColonne (monTextPane.getCaretPosition ())+1 );
              *     Methodes CaretListener:
         // ecoute les deplacements du curseur d'insertion
         public void caretUpdate(CaretEvent e)
         {     int debut = java.lang.Math.min (e.getDot (), e.getMark ());
              int fin   = java.lang.Math.max (e.getDot (), e.getMark ());
              this.monLabel.setText ("Ligne numero : "+ this.getCurrentLigne ()+" Colonne : "+this.getCurrentColonne ()+" (debut : "+debut+", fin : "+fin+")");
              *     Methodes ActionListener:
         public void actionPerformed (ActionEvent e)
         {     int start     = monTextPane.getSelectionStart();
              int end          = monTextPane.getSelectionEnd();
              int debut     = java.lang.Math.min (start, end);
              int fin          = java.lang.Math.max (start, end);
              int longueur= fin - debut;
              this.style.changeStyleSurligne (debut, longueur);
         // lance le tout ....
         public static void main (String argv [])
         {     new MonJTextPane ();
    // la Classe DefaultStyledDocument correspond a la classe utilise comme Model pour les
    // composant Texte evolue comme : JTextPane ou JEditorPane
    // en derivant de cette derniere nous pouvons donc redefinir les methodes d'insertion afin de personnalise
    // le style d'ecriture en fonction du texte et creer une methode permettant de modifier le style utilise pour
    // une partie de texte deja ecrite.
    class StyleAide extends DefaultStyledDocument
              *     Constructeur :
         public StyleAide (StyleContext styles)
         {     super (styles);
              initStyle (styles);
              *     Methodes :
         // redefini pour choisir l'effet de style a utiliser
         public void insertString(int offs, String str, AttributeSet a) throws BadLocationException
         {     try
              {     // si le texte insere est egale a HELP le texte s'ecrit avec le style "styleOp"
                   if ( str.equals ("HELP") )
                   {     super.insertString (offs, str, getStyle ("styleOp"));
                   else // sinon le texte est ecrit avec le style "styleNormal"
                   {     super.insertString (offs, str, getStyle ("styleNormal"));
              catch (BadLocationException e)
              {     System.out.println ("Tuuuttt erreur Insere");
         // modifie le style d'ecriture d'un texte deja ecrit compris
         public void changeStyleSurligne (int positionDepart, int longueur)
         {     setCharacterAttributes (positionDepart, longueur, getStyle ("styleKeyWord"), true);
         // le Model d'un composant texte est enregistre sous form d'un arbre
         // cette methode permet de recuperer le noeud root de l'arbre
         private Element getRootElement ()
         {     return this.getDefaultRootElement ();
         // methode permettant d'obtenir la ligne correspondant a un offset donnee
         public int getNumLigne (int offset)
         {     Element eltR = getRootElement ();
              int numLigne = eltR.getElementIndex (offset);
              Element elt  = eltR.getElement (numLigne);
              if ( offset != elt.getEndOffset () )
              {     return numLigne;
              else
              {     if ( numLigne != 0 )
                   {     return numLigne+1;
              return 0;
         public int getNumColonne (int offset)
         {     Element eltR = getRootElement ();
              Element elt = eltR.getElement (eltR.getElementIndex (offset));
              int numColonne = offset-elt.getStartOffset ();
              return numColonne;
         // Defini les differents styles
         private static void initStyle (StyleContext styles)
         {     // definition du style pour le texte normal (brute)
              javax.swing.text.Style defaut = styles.getStyle (StyleContext.DEFAULT_STYLE);
              javax.swing.text.Style styleNormal = styles.addStyle("styleNormal", defaut);
              StyleConstants.setFontFamily (styleNormal, "Courier");
              StyleConstants.setFontSize (styleNormal, 11);
              StyleConstants.setForeground(styleNormal, Color.black);
              javax.swing.text.Style tmp = styles.addStyle("styleKeyWord", styleNormal);
              // Ajout de la couleur blue et du style gras pour les mots cle
              StyleConstants.setForeground(tmp, Color.blue);
              StyleConstants.setBold(tmp, true);
              tmp = styles.addStyle("styleOp", styleNormal);
              // Ajout de la couleur rouge pour le style des operateurs
              StyleConstants.setForeground(tmp, Color.red);
    }But it hard for me to convert it in the corresponding HTML document.
    Did you have and idea
    Tkks

  • If I use my iPad2 to present presentations created in MS Powerpoint, will I retain the embedded videos and hyperlinks that were created in the original presentation

    I want to use my iPad2 to make presentations created in MS Powerpoint. These have embedded videos, animations and hyperlinks. Will these all work in the spreadsheet if I use Keynote on my iPad to display and present them.

    I have another problem.
    I have deleted all apps from my iPhone 4s and then I have changed my
    Apple ID's country information from Poland to United States.
    After that, I have downloaded all deleted apps.
    But only few are in 'Purchased' section on iPhone!
    I guess only these, I have downloaded using USA App Store, not Polish.
    I am getting frustrated, because I have got too many problems with iOS
    and it doesn't look it will get better... Please help me ASAP! Thanks!

  • JEditorPane and HTML Coded Character Set

    Hi.
    How to prevent JEditorPane to convert its content into HTML coded character set (like
    &#1072;&#1073;&#1074;&#1075;&#1076;&#1077;&#1105;&#1078;
    I would like to receive normal unicode string from getText() method.
    Setting content type
    editorPane.setContentType("text/html; charset=ISO-10646");
    has no effect.

    you would have to iterate through the elements of the HTMLDocument in the JEditorPane and look for the HTML tags you are interested in. Once a tag is found its AttributeSet will have the content. I am too lazy to post how it is done again. There are tons of postings in the forum about the topic, so by simply using the search function you should find respective hints.

  • Any tips for ensuring that checkboxes and hyperlinks work in ePubs?

    Can anyone help and give tips on how to get the check box buttons and hyperlinks to work when exporting to ePub? I must be missing something but no matter what I do they will not work when exported to ePub from InDesign CC (current version). I have to make these work for a book that's going on sale by the weekend, so any help will be gratefully received!

    Fixed or Reflowable EPUB?
    Fixed Layout EPUB in the current version (InDesign CC 2014) cannot represent text-based hyperlinks. It's a limitation until the next version.
    There is no support for PDF forms in EPUB (checkbox buttons).

Maybe you are looking for

  • PO Migration - GR Open ,  IR Done

    Dear All, We are currently in PO data migration. I have this case where our users didnt clean the PO and we cannot do any transactions anymore from the source system. When i migrate the PO, line items with Open GR and IR done were migrated.  IR done

  • CUCMBE3K Experience and Issues Identified

    I have created a list below of issues and experiences whilst working with the CUCMBE3K. For the purposes of this dialog, I will refer to this particular customer as “CustomerX”. Part 1: Pre-Sale Engagement Summary Following true to the Cisco PPDIOO m

  • Weblogic Start script fails while Loading trusted certificates from jks

    Hi, I have a Weblogic Portal 10.3.2 installation on a Solaris Unix box. There is one Admin server and two Managed servers. I am trying to deploy an EJB based application on one of the Managed servers. Note that this application has been working fine

  • How to add TIMESTAMP data type in  Enterprise Architect...?

    Hi all There is no data type of timestamp in Enterprise Architech. There is only DATE type. I have ERD prepared from Enterprise Architech. How to modify DATE type to TIMESTAMP type. How to add TIMESTAMP data type in Enterprise Architect or in ERD ? T

  • Data Modeler Logical Data Type confusion!

    I don't get it. When defining a logical model, I want to assign data types to the attributes in my model. I understand a logical datatype like money, and that a logical datatype might be implemented differently in different databases. The concept mak