Soft enters for table column head breakup

Hi,
Can i have any option for the the below requirement?
I need to give soft enters for all table column head breakup's. (see the below screen shot). When i export to HTML the column heads are run-in against the PDF output.
Regards,
Velu

Hi Velu,
try the following:
var curDoc = app.activeDocument;
var allTables = curDoc.stories.everyItem().tables.everyItem();
app.findTextPreferences = app.changeTextPreferences = null;
app.findTextPreferences.appliedParagraphStyle = curDoc.paragraphStyles.itemByName("TCH");
var allFounds = allTables.findText();
app.findTextPreferences = app.changeTextPreferences = null;
for ( var i = 0; i < allFounds.length; i++ ) {
    var tableFound = allFounds[i];
    if ( tableFound.length > 0 ) {
        for ( var j = 0; j < tableFound.length; j++ ) {
            var curFound = tableFound[j];
                    var allParaLines = curFound.lines;
                    for (var n = allParaLines.length-2; n >= 0 ; n--) {
                        var curLine = allParaLines[n];                       
                        if (curLine.characters[-1].contents != SpecialCharacters.FORCED_LINE_BREAK) {
                            curLine.insertionPoints[-1].contents = "\n";
                        } // end if
                    } // end for
        } // end for
    } // end if
} // end for
–Kai

Similar Messages

  • Header1 size is required for Table Column header

    Hi Friends,
    I wanted to use Header1 size for Table column headers. Pls help me how to do.
    Now I am using external label with Header1 size to the table but labels are not aligned properly with the table columns.
    Regards,
    Lakshmi Prasad.

    Hi,
    For headers design property is not their so you cant change the font. Other option is to change the theme (Not tried personally).
    Regards
    Ayyapparaj

  • Show the presentation variable on table column header

    hi, experts,
    is it possible to show the presentation variable on the table column header.
    I have created a edit box with presentation variable on the prompt.
    I would like to show the value the user entered on the column header because the values under that column are driven by the presentation variable.
    Thank you very much!

    You cannot put variables in the column headers, as they get considered as text and the same shows in the reports.
    However, you can use the session or repository variables in the alias field in the presentation layer.
    You should make sure, that in this case, all the calculations are done in the BMM layer and not in answers, for the columns where you will be using the variables.

  • Problem::Table Column Heading Font control

    Hi experts!
    Do we have any way to change font and its size in column heading, in Table Component.
    I tried but looks like we dont have access to table column heading. We can only enter heading but cant change its font and size.
    Thanking you in anticipation.
    Annu

    Hi!
    As workaround You can try to set size of text for table to what You want to have for headers and then set size for every <webuijsf:tableColumn> tag to what You want to have for rows.
    Thanks,
    Roman.

  • How to display the sorting arrows in the table column header

    Hi
    I am doing a sorting for some columns from the click of the table column headers, In Developer studio, we are able to view the up and down arrows, I need that also to be made visible at run time, so that the user knows that there exists sorting based on that particular column. Is there any other way of doing it ? I cant place more than one control on the header or wrap the text to two lines..also. please clarify. thanks

    I assume you are using NW 04.
    The table column header contains a IWDCaption element which may display an icon and a text. See property IWDCaption.imageSource.
    The table tutorial might also be helpful.
    Armin

  • Image in table column header to the right of the text?

    Does anyone know how I can put an image on the right of the text in the table column header?
    If I do column.setGraphic it positions image on the left, how can I change the position of the image?
    For that matter how can I set alignment of the image? Like if I want it in the corner (even left corner will do) and not next to the text?
    Appreciate any help !

    You can do this with CSS (needs an external stylesheet, can't be done (easily) with an inline style).
    Something like
    .table-view .column-header-background .label {
      -fx-content-display: right ;
    }(Untested... you may need to experiment a bit.)
    The structure of the table view control from the css perspective is documented here: http://docs.oracle.com/javafx/2/api/javafx/scene/doc-files/cssref.html#tableview

  • How to fix the table column header and resize the width of a table column?

    Hi all,
    I have the following two requirements,
    1) I need to wrap the table column header into two rows. I mean the header must be displayed in two rows.
    2) I need to to able to resize the width of the column. i.e The user should be able to drag the column width according to his requirement.
    Is this possible. Any help would be appreciated!
    Regards
    Kishan

    Hi Kishan,
    Refer to these links.They may ne useful for you.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80d81237-b780-2a10-d398-cc33af6bd75c
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/ded11778-0801-0010-258f-ac3b9408a194
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30291df2-b980-2a10-0884-839c4f7f147e
    Regards,
    Sumangala

  • How to Merge ADF Table Column Header in ADF Table ?

    Hi All,
    We need to have ADF Table Column header to be "Merged",
    e.g :
    There are two columns Header : | Qty (Case) | Qty (Pack) |,
    can we customize it to display like this :
    | ----- Qty -------|
    | Case | Pack |
    where there are two rows in column header, the first one is "Merged".
    How can we do that ?
    Thank you very much,
    xtanto

    Hi Kelly,
    Thank you for your reply,
    Using Column Faced, Header I can format the header of one column Only.
    My requirement is to Merge header of two colums :
    | ----- Qty -------|
    | Case | Pack |
    'Case' &'Pack' is two different column, so I need to add one row on the header of the two colums, then 'merge' them, and add the word '----Qty----'.
    Is it possible ?
    Thank you,
    xtanto

  • How to Freeze Table/Column Header "without using additional scrollbars" ?

    hi people,
    I am hoping someone can help me here. I have a large table and would like to freeze the first row. Scrolling down the table "_*using the existing scrollbars*_" in the browser while ensuring the header rows are still visible (like Excel when you freeze panes). If you scroll to the right the header rows should stay frozen and not follow.
    I know there are other threads which talk about freezing table/column header, but my requirement is to have it "without using additional scrollbar".
    Thanks in advance,
    RAKESH

    Hi,
    there is no default key for this. You will have to code your own JavaScript for this. Also, I am not sure you want the column to be selected but a field in the column for the row you are in - correct ?
    Frank

  • How to disable right click option re-size on table column header?

    Hi All,
    Please let us know how to disable right click option re-size on table column header.
    The issue is that when I right click on the column header, the column is selected and the context menu with options like Sort, Columns, Resize Columns, etc.. is popping. we want to disable column  re-size option.
    We are binding the table values programatically (not using Bc4J) and the Jdeveloper version is 11.1.2.2
    Thanks in advance,
    - Vignesh S.

    Hi Gawish,
    Thanks for the reply.
    This will make the particular column frozen and only work for that particular column.
    My use case is that to remove the resize columns option from the context menu or to disable the right click option.
    Making column selection as none will disable the right click option but we need column selection for sorting.
    Is there any other way to achieve this?
    Thanks in advance,
    -Vignesh S.

  • Dynamically changing the Advance table column Header.

    Dear All,
    I want to change dynamically the Advance table column header.
    I tried the below code and its working process request,not in process form request when button pressing.
    Please suggest me.
             OAAdvancedTableBean tableBean =
                               (OAAdvancedTableBean)webBean.findIndexedChildRecursive("advanceTableRN");
                           if (tableBean != null) {
                           System.out.println("tableBean");
                               OAColumnBean columnBean =
                                   (OAColumnBean)tableBean.findIndexedChildRecursive("column3");
                               if (columnBean != null) {
                                   System.out.println("columnBean");
                                   OASortableHeaderBean colHeaderBean =
                                       (OASortableHeaderBean)columnBean.getColumnHeader();
                                   if (colHeaderBean != null) {
                                       System.out.println("colHeaderBean");
                                       colHeaderBean.setText("Segment3");

    You can try 2 options:
    1. Try to call pageContext.forwardImmediatlytoCurrentPage();
    2. Try yo set a vo attribute to the columnbean text property and set the vo attribute programmatically. (I have not tried this but I think it should work)
    Cheers
    AJ

  • JButton to simulate table column header

    is there a property on the JButton that will make it behave the same way as a table column header ? Someone showed me a property window of a swing app and they wanted to know how it was done. i suggested to juse use soem buttons, but when i looked closer it was apparent that the action of the buttons was different from what i am familiar with. the buttons moved in/out when they were clicked instead of just turning color.

    i was just playing around with it again and used an AWT button. these do the same thing that the example i saw. i wasnt aware of this difference between swing jbuttons and AWT buttons. When pressing an AWT button, it appears as if it is depressed when you click it as opposed to a swing button that just changes to a darger grey. what am i missing ?

  • Change Font Size for Table Column

    Hi,
    How can we set different font sizes for table columns?
    Thanks,
    Uma.A

    Hi
    Set Design property of table column
    Aslo check this link
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/66/18b44145143831e10000000a155106/frameset.htm
    Thanks

  • How to use simple types for table column names ?

    Hi,
    can any one tell how to to use simple types for table column names?
    It is required in internationalizing of webdynpro applications.
    Regards,
    Rajesh

    Hi,
    1: define required column names in <SimpleType>
    2:use the following code to get those values
    3:bind 'text' property of Column headers to context attributes
    4:take a context attribute 'Value' as type of <SimpleType>
    5:set these values to context attributes
    IWDAttributeInfo objAttrInfo=wdContext.getNodeInfo().getAttribute(IPrivate<ViewName>View.IContextElement.VALUE);
    ISimpleTypeModifiable simple=objAttrInfo.getModifiableSimpleType();
    Map m=simple.getEnumerationTexts();
    Collection c=m.values();
    Iterator it=c.iterator();
    if(it.hasNext())
    wdContext.currentContextElement.set<att1>(it.next().toString);
    if(it.hasNext())
    wdContext.currentContextElement.set<att2>(it.next().toString);
    if(it.hasNext())
    wdContext.currentContextElement.set<att3>(it.next().toString);
    Regards
    LakshmiNarayana

  • ADF 10.1.3.4 - html tag in af:table column header

    Hello,
    How can I to put "&lt;br/&gt;" into af:table column header?
    I tried to put "&lt;br/&gt;" in both the headerText property of the af:column and in the VO, but it always get encoded.
    Thanks before.
    Regards,
    Rudi
    Edited by: bungrudi on Nov 24, 2008 1:50 AM -- encoding the br tag in the post, because it get rendered as is :)

    Hi,
    you can't mix and match HTML markup with JSF elements. This is only possible if the JSF component explicitly supports this (like af:formattedOutput).
    Frank

Maybe you are looking for

  • CUP 5.3 is coming back with all risks associated with a user

    HI, i know this has probably come up in the past but i'm not finding it anywhere in the forum.  we are having a problem with CUP 5.3 provisioning as it's bringing up all risks associated with a user rather than the new ones for the role being request

  • Insert long string to database

    Hi, I am using the JDBC in my program. I'm trying to insert a string of length greater than 4000 into a LONG field and receive the following errors, "ORA-01704: string literal too long" Can anyone explain how this is done? I checked it on Internet, i

  • Error in JBoss Application Server

    hi all , I have deployed a sun java studio creator update 1 application in Jboss 4.0.5.GA.After login into the application if i click on any component( i have several tabs in the main page) nothing seems to happen.I need to click several times for th

  • Disabling Access Keys in Safari

    Access keys in Safari tend to interfere with the Emacs-style shortcuts used in text-boxes. So, it can happen that while your editing you accidentally press some access key, thus losing all your changes. So is there a way to at least disable access ke

  • Standby Time

    Being a new user, my queries may seem obvious. What is the approx. Standby Time I can expect on a fully charged battery, with no applications running in the background. Regards Allen