Word Wrap functionality in HTML Editor

Hi,
Is their any configuration to enable the word wrap functionality in HTML Editor.
Best Regards,
Ajay

Hi Priyaranjan,
you need to use modules for that. The below link explains step by step a sample for word wrapping in an analysis item.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0f7d724-c0f0-2d10-828f-be249d59b5c3?QuickLink=index&…
Regards
Yasemin...

Similar Messages

  • Word wrapping functionality in BEx 7.0

    Hi Experts,
    We are migrating BEx from 3x to 7.0 version. In the existing system, we have word wrapping functionality which is achieved by using
    CL_RSR_WWW_MODIFY_TABLE class. This class will become obsolete in the new version. We have found one interface (
    IF_BICS_CONS_WEBITEM_CUST_EXIT) in new version which will allow us to modify XML data, create HTML data,etc from report., But not sure how to achieve word wrapping functionality using this interface.
    Kindly let us know whether can we implement the word wrapping functionality use this interface or any other class/interface are available for the same?
    Looking forward for your valuable inputs.
    Appreciate your help in advance!!
    Regadrs,
    Priyaranjan

    Hi Priyaranjan,
    you need to use modules for that. The below link explains step by step a sample for word wrapping in an analysis item.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0f7d724-c0f0-2d10-828f-be249d59b5c3?QuickLink=index&…
    Regards
    Yasemin...

  • Word wrapping: Tab behavior in TLF editor

    Hi,
    I have created an editor using TLF which has word-wrapping enabled. The editor also takes in the Tab key and places it at prober position. In case you insert Tab at the beginning of the line except for the first line then the TAB is inserted in the previous line and it does not get wrapped.
    Is there any way in which I can acheive word wrapping for Tabs? I have observed similar behavior for SPACE as well.
    Why is such a behavior in the both the cases?

    We are using the TLF bundled with Flex 4.1.0.16076, latest production release.   You can verify the problem here in this demo:
    http://labs.adobe.com/technologies/textlayout/demos/
    Type two lines, make sure they wrap.  At the beginning of the second line press the tab key multiple times.  The tabs will stack up on the end of the first line.
    If this is fixed in a newer version of TLF, is it safe to use with flex 4.1?
    Thanks,
    Ryan

  • Word wrap not working in office 365

    After the latest version upgrade to Firefox 28, word wrap functionality is not working correctly in office 365 owa. Email tries to compose all on one line. Have tried updating Java and resetting Firefox back to default settings.

    Office 365 is an entire suite inlcuding outlook. Outlook Web App light version does work because the interface uses frames.

  • Settings that may prohibit word wrap.

    Are there any settings in InDesign preferences or anywhere else that might prohibit word wrap from working in a document.  The word wrap functions in a design file I'm working on are not working, but when I do the same steps in a new blank document it works fine.
    Any ideas?
    Thanks

    Off the top of my head:
    1. No Break set as a default text attribute.
    2. Unbreakable long words and hyphenation switched off.
    3. A font so large, and a text frame so narrow, that poor ID cannot find a valid breaking point in the very first word.

  • Word wrapping of HTML source

    The source (HTML) view of a topic is always formatted with
    extra carriage returns and tabs. I appreciate the fact that the
    lines of html are word wrapped. However, I don't need or want all
    these extra formatting characters. It makes search and replace very
    difficult. Can I disable this feature?

    I use EditPlus for these operations. You can search multiple
    files, replace Breaks and <p> and do other searches quickly.
    In addition, it has a very nice macro function for tweaking blocks
    of text.
    You can also deal with hhk and other text-based files. This
    is very useful for changing a whole wad of broken links at once
    including links in the hhc and hhk files.
    I can open stuff in EditPlus while RoboHTML is running.
    RoboHTML's editor also does a nice job of deleting unmatched
    formating openers like <span> <blockquote> <p>,
    etc. As soon as you save the EditPlus file, RoboHTML updates the
    page.
    In addition, EditPlus will open hundreds of files at
    once.

  • Wrapping with span in robohelp html editor

    I'm using the html editor in RH11. I'm trying to wrap a list item in a span tag, but every time I save, the span tag gets moved inside the list tag. Is there away to turn off this auto-correct?

    I don't believe you are supposed to put any tags except LI inside a UL or OL. You can however put other tags inside LI tags. So the following would be invalid HTML:
    <ul>
         <span class="test"><li>Bullet 1</li></span>
         <li>Bullet 2</li>
    </ul>
    But this would be valid:
    <ul>
         <li><span class="test">Bullet 1</span></li>
         <li>Bullet 2</li>
    </ul>
    Hope that help.

  • HTML file and Word Wrap

    hi,
    i am saving a HTML file (downloaded from the web) ....
    i wanna know... how to set a Word Wrap... so it won't scroll to the right hand side....
    any ideas

    ok i think code will give you a better view of what i am trying to say
    try {
    URL hostURL = new URL("http://search.lycos.com/main/default.asp?lpv=1&loc=searchhp&query=USA");
    HttpURLConnection tc = (HttpURLConnection) hostURL.openConnection();
    FileOutputStream fs = new FileOutputStream("results.html");
    tc.setDoInput(true);
    tc.connect();
    String inputLine;
    BufferedReader in = new BufferedReader( new InputStreamReader (tc.getInputStream()));
    while(( inputLine = in.readLine()) != null )
    fs.write( inputLine.getBytes());
    fs.close();
    in.close();
    tc.disconnect();
    }catch(Exception e) { System.err.println(e); }
    HTML retrieved by this code is saved in a file "abcde.html"
    but this code copies whole HTML of the above page in a one line.... i was wondering is there
    any way to setWordWrap ( like insert newline char) so "abcde.html" is more readable

  • DataGrid, HTML Text, and WORD WRAPPING

    I have a datagrid, with 2 columns:
    - comment
    - date
    The dataprovider that feeds the datagrid is an array
    collection, with each object containing the following fields:
    - comment
    - date
    - viewed
    What I want to do is BOLD the comment cell if the comment has
    not yet been viewed. What I first tried doing was to just insert
    the <b></b> tags on the server and then feed them up to
    Flex. So here's the code that I had tried to do this with:
    <mx:DataGridColumn>
    <mx:itemRenderer>
    <mx:Component>
    <mx:HBox>
    <mx:Label htmlText="{data.comment}" />
    </mx:HBox>
    </mx:Component>
    </mx:itemRenderer>
    </mx:DataGridColumn>
    This works, but I lose the word wrapping for long comments (I
    have wordwrap="true" defined on my DataGrid).
    Then I tried changing my approach and doing something a
    little more simple to try and preserve the word wrapping, like
    this:
    <mx:DataGridColumn dataField="comment" width="100"
    wordWrap="true" fontWeight="{(data.viewed==0 ? 'bold' : 'normal')}"
    />
    Yet that doesn't seem to work either, it appears to just
    completely ignore everything... no bolding whatsoever.
    So my question is: what's the best to to control the BOLDING
    of a DataGrid cell while at the same time retaining the word wrap
    features?
    Thanks,
    Jacob

    <mx:DataGridColumn>
    <mx:itemRenderer>
    <mx:Component>
    <mx:HBox>
    <mx:Label htmlText="{data.comment}"
    wordWrap="true" height="100%"/>
    </mx:HBox>
    </mx:Component>
    </mx:itemRenderer>
    </mx:DataGridColumn>
    You might also have a little more luck working with a
    TextArea

  • How do you turn Word Wrap on?

    anyone know?
    Thanks in advance and my apologies if I'm missing something obvious.
    Rich

    Word Wrap is not a native function in Eclipse.  Here is a blog entry by Marc Esher on the subject: http://blog.mxunit.org/2009/07/word-wrap-in-coldfusion-builder.html
    ETA: There is apparently a setting buried in the HTML editor according to Terry Ryan http://www.terrenceryan.com/blog/index.cfm/2009/7/14/Word-Wrap-in-ColdFusion-Builder

  • How can I turn off word wrap in the View Source output?

    I'm trying to extract HTML from Word and one way to do that is to save the Word file as a .htm file and then View Source in a browser and copy that. But the words are wrapped in the View Source file. I want each paragraph to be all on one line. Is there a setting for the View Source feature that will turn off word wrap?
    Once I have that done and copied into a plain text editor, I will use Search>Replace to get rid of all the stuff Word puts there and just end up with the simple paragraph tags at the end of each paragraph, all on one line.

    You can disable wrapping and syntax highlighting in the View menu in the Edit > View Source window.

  • Read Only TextAreas with Carriage Return, Line Breaks and Word Wrapping

    Hi all,
    I know there are a few posts around this subject but I cannot find the answer to the exact problem I have.
    I have a page that has a 'TextArea with Character Counter' (4000 Chars) that is conditionally read only based on the users credentials (using the 'Read Only' attributes of the TextArea item).
    When the field is editable (not Read Only) everything works fine but when I make the field Read Only I start to have problems:
    The first problem is that the Carriage Return and Line Breaks are ignored and the text becomes one continuos block. I have managed to fix this by adding pre and post element text of pre and /pre tags. This has made the Carriage Return and Line Breaks word nicely and dispaly correctly.
    However, it has introduced a second problem. Long lines, with no Carriage Returns or Line Breaks, now extend to the far right of the page with no word wrapping, making my page potentially 4000+ characters wide.
    How can I get the field to be display only, with recognised Carriage Returns and Line Breaks, and Word Wrapping inside a fixed width of, say, 150 characters?
    Many thanks,
    Martin

    Hi,
    Just a cut and paste of yours with the field name changed:
    htp.p('<script>');
    htp.p('$x("P3_COMMENTS").readonly=true;');
    htp.p('</script>');I also have the following in the page HTML Header, could they be conflicting?
    <script type="text/javascript" language="JavaScript">
    function setReleaseToProd(wpTypeCode){
       //setReleaseToProd($v(this))
      var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=set_release_to_prod',0);
      get.addParam('x01',wpTypeCode);
      gReturn = get.get();
      if(gReturn) {
         $s('P3_RELEASE_TO_PROD',gReturn);
      get = null;
    </script>I am a long way from knowing much about Javascript (this page code was written by someone else) so all help is much appreciated.
    Martin

  • JEdtiorPane/HTMLEditorKit word wrapping problems

    Hi,
    I have a JFrame component that has a splitPane, on the left side is a JTree and the right side has a JEditorPane that has it's content updated with HTML using a method to generate the HTML via the setText() method . (no url, and no html file)
    The searching I did indicates that word wrapping is the default behavior, and I saw a lot of posts from people trying to get rid of the word wrapping, but it isn't wrapping at all for me. I get the horizontal scroll bar.
    I had the same problem using a JTextPane...anyone know how to wrap text?
    here's the relevant code:
    descriptionPanel = new JPanel(new BorderLayout());
              descriptionEditorPane = new JEditorPane();
              HTMLEditorKit htmlEditorKit = new HTMLEditorKit();
              descriptionEditorPane.setEditorKit(htmlEditorKit);
              descriptionEditorPane.setSize(new Dimension(610,800));
              descriptionEditorPane.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
              descriptionPanel.add(descriptionEditorPane);

    Did you place the components into scroll panes and then put those into the split pane?
    If so, then I guess that calling setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER) on the editor pane's scroll pane might solve your problem.

  • Word wrapping incorrect inside JTextPane on MAC 0.5/10.4 and Linux OS

    Hello java-dev team,
    In my application, I am using JTextPane as a text editor to create RTF text. The problem I observed with the JTextPane on MAC OS and Linux OS flavors (I tested on Ubuntu 8.04) is: whenever I am changing any of the text property (font color, font name, font style like bold, italic or underline) and then enter the characters without providing space, the whole word gets wrapped to the next line from the point where exactly the property change starts i.e. the new formatted text is jumped to the next line from the starting point of formatting.
    My requirement is, as I am not adding any space character while changing the property, the characters should be entered in the sequence and should come to new line as per normal word-wrap rule.
    Can anybody help me out in this regards with some solution as it’s a very urgent requirement?
    Below I am also providing the sample code to check the behavior. There is no dynamic facility to change the property in the below code but I am providing the text with multiple formatting settings through code itself. To reproduce the above issue, just type the characters using keyboard in between characters with changed text properties and you can see the whole word jumping to new line.
    import java.awt.Dimension;
    import javax.swing.JFrame;
    import javax.swing.JScrollPane;
    import javax.swing.JTextPane;
    import javax.swing.text.MutableAttributeSet;
    import javax.swing.text.SimpleAttributeSet;
    import javax.swing.text.StyleConstants;
    import javax.swing.text.StyledDocument;
    import javax.swing.text.StyledEditorKit;
    public class TestWrapping {
         JScrollPane scroll;
         JTextPane edit;
         public TestWrapping()  throws Exception {
              final JFrame frame=new JFrame();
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              edit=new JTextPane()
                   public void setSize(Dimension d)
                        if (d.width < getParent().getSize().width)
                             d.width = getParent().getSize().width;
                        super.setSize(d);
                   public boolean getScrollableTracksViewportWidth()
                        return false;
              edit.setPreferredSize(new Dimension(150,150));
              edit.setSize(150,150);
              edit.setEditorKit(new StyledEditorKit());
              scroll=new JScrollPane(edit);
              edit.getDocument().insertString(0,"11111111111111222222222222222222222222222222222222222",null);
              MutableAttributeSet attrs=new SimpleAttributeSet();
              StyleConstants.setBold(attrs,true);
              ((StyledDocument)edit.getDocument()).setCharacterAttributes(30,5,attrs,false);
              StyleConstants.setUnderline(attrs,true);
              ((StyledDocument)edit.getDocument()).setCharacterAttributes(35,5,attrs,false);
              StyleConstants.setFontSize(attrs,25);
              ((StyledDocument)edit.getDocument()).setCharacterAttributes(40,5,attrs,false);
              frame.getContentPane().add(scroll);
              frame.setBounds(0,0,150,150);
              frame.show();
         public static void main(String[] args) throws Exception {
              new TestWrapping();
    }The same functionality works fine on Windows XP and problem is observed on MAC OS 10.4/10.5, Ubuntu 8.04. I am using jdk1.5 on both the platforms. I tested using jdk 6.0 on Ubuntu 8.04, and the problem is easily reproducible. I placed a query in the respective OS forums also but did not receive any replies. I also searched the sun’s bug database, but could not find any bug addressing the mentioned problem correctly. I also logged issue at bugs.sun.com and was assigned internal review ID of 1480019 for this problem.
    If you need any additional information, please let me know.
    Thanks in advance.
    Regards,
    VPKVL

    VPKVL wrote:
    Hi All,
    Just want to update that when I checked this issue with JDK1.6 on Ubuntu 8.04, I am unable to reproduce the issue. Everything works as expected. But problem continues on MAC 10.5. So can anybody help me out in coming out of this issue on MAC 10.5.
    Thanks in advance.The only thing I can suggest is that you open a bug (radar) with apple ( developer.apple.com ), and then wait at least 12 months for Apple to get around to fixing it :s

  • Word Wrap in htmldb

    Can anyone tell me how to word-wrap in the values in a particular field of a table in htmldb? The values of a certain field are very long and hence the table is unnecesarily occupying lot of space..........thus, it would be helpful if word-wrapping was possible.
    Thanks in advance.

    how about using the following function to wrap the data in a column?
    I tested it in HTML DB and it worked fine.
    -- convert P_DATA into wrapped words. Words are delimited by <br> so that
    --  it can be displayed in HTML format
    --  P_N is number of characters
    FUNCTION HTML_WRAP( P_DATA IN VARCHAR2, P_N NUMBER DEFAULT 2) RETURN VARCHAR2
    IS
    TYPE T_DATA_CHARS IS TABLE OF VARCHAR2(1) INDEX BY BINARY_INTEGER;
    V_DATA_CHARS T_DATA_CHARS ;
    N NUMBER :=1;
    V_OUTPUT VARCHAR2(4000);
    BEGIN
    IF LENGTH(P_DATA) > P_N THEN
      -- populate Data in the array
      FOR I IN 1..LENGTH(P_DATA) LOOP
       V_DATA_CHARS(I) := SUBSTR(P_DATA,I,1);
      END LOOP;
      -- process the string
      FOR I IN 1..LENGTH(P_DATA) LOOP
       IF N <= P_N THEN   
         N := N + 1;
          V_OUTPUT := V_OUTPUT || V_DATA_CHARS(I);
       ELSE
         IF V_DATA_CHARS(I) = ' ' THEN
           V_OUTPUT := V_OUTPUT || '&lt;br&gt;';
           N := 1;
          ELSE
           N := N + 1;
           V_OUTPUT := V_OUTPUT || V_DATA_CHARS(I);
          END IF;    
       END IF; -- N <= P_N THEN   
      END LOOP;
      RETURN V_OUTPUT;
    ELSE
      RETURN P_DATA;
    END IF;
    SQL> SELECT BARAKAU.HTML_WRAP('WELCOME TO MY WORLD MY DEAR',5)
      2  FROM DUAL ;
    BARAKAU.HTML_WRAP('WELCOMETOMYWORLDMYDEAR',5)
    WELCOME&lt;br&gt;TO MY&lt;br&gt;WORLD&lt;br&gt;MY DEAR

Maybe you are looking for