Table of Texts results in extra blank lines

I have a table of texts in a flowed subform that expands for each line of text. The text and font is a chinese font (Adobe Song Std L). I also have autowrapping turn on so it autowraps when the line is too long.
I would like each new line in the table to have the carriage return as if it is wrapping, but not add an additional blank line like it's a new paragraph.
So instead of using a table I thought I'd concatenate all the lines together and separate them with a control character for carriage return when I want a line break (still allowing Adobe to autowrap when a particular line is too long).
I am preparing this string in SAP which gets sent to Adobe. I've tried concatenating '\u000D' but it just shows those characters rather than performing a carriage return.
Any ideas how I can accomplish this without ending up with a new paragraph (extra blank line) between my lines of text?
Thanks,
Scott

Sure - you need to specify the correct "context" how we call it.
When your document contains XSL - the RTF converter has to make assumption
where to put your code - for if statement the assumption is on fo:block (=paragraph) level.
You can the context directive @inlines behind your if statement to correct your problem.
<?if@inlines:sum(current-group()//HOURS != '0'?> should correct the problem
This example is described on page 2-56 "" in the 5.6.1 User Guide. You may also want to read on the context in general in the section "Using the Context Command" (2-107 in the 5.6.1 user guide).
Hope that helps,
Klaus

Similar Messages

  • Extra blank lines in table

    I am getting an extra blank line in my table rows using the following statement:
    <?for-each-group@column:TC_CELL;ITEM_DATE?>
    <?for-each-group:current-group();PAY_TYPE?>
    <?if: PAY_TYPE = ‘R’?>
    <?if: sum(current-group()//HOURS)!= ‘0’?>
    <?sum(current-group()//HOURS)?>
    <?end if?>
    <?end if?>
    <?end for-each-group?>
    <?end for-each-group?
    When PAY_TYPE is equal to 'R' it will print the sum, but then there is a blank line under it.
    Ex:
    | 20.00
    |
    But I want:
    | 20.00
    Any ideas?

    Sure - you need to specify the correct "context" how we call it.
    When your document contains XSL - the RTF converter has to make assumption
    where to put your code - for if statement the assumption is on fo:block (=paragraph) level.
    You can the context directive @inlines behind your if statement to correct your problem.
    <?if@inlines:sum(current-group()//HOURS != '0'?> should correct the problem
    This example is described on page 2-56 "" in the 5.6.1 User Guide. You may also want to read on the context in general in the section "Using the Context Command" (2-107 in the 5.6.1 user guide).
    Hope that helps,
    Klaus

  • Extra blank line inserted after page break

    Hello,
    I am currently having trouble with alignment using templates in BI Publisher.
    I am trying to create a template that will be printed on a pre-printed form.
    Each group in the report should be separated by page so the group has a <?split-by-page-break:?> right before <?end-for-each?>.
    However, when the next page begins, there is a blank line inserted. This messes up the alignment altogether.
    Code is like this:
    <?for-each-group:G_Document;./DOCUMENT?><?sort:current-group()/DOCUMENT;'ascending';data-type='text'?><?for-each:current-group()?>
    ----INSERT Table TEMPLATE HERE---
    <?split-by-page-break:?><?end-for-each?>
    Output turns out like this:
    (Page1)<TABLE TEMPLATE>
    <Page Break>
    (Page 2)<New Line>
    <TABLE TEMPLATE>
    <Page Break>
    (Page 3)<New Line>
    <TABLE TEMPLATE>
    <Page Break>
    I have found this old thread Split-By-Page-Break inserting extra line that has the exact same problem, however, I have tried all suggested solutions even the last one, and I still am encountering the problem.
    Any help would be greatly appreciated.
    Regards,
    Jovee

    Thanks Varma, for the solution you provided.
    The code for page break was inserted right after the for-each tag, and looks like this:
    <?for-each:current-group()?><xsl:attribute name="break-before">page</attribute>
    Template now works without the extra blank line.

  • Extra Blank line inserted at the end of the target file

    Hi,
    This is File to File senario and target files created with a extra blank line at the end of the file.
    Below is the source file structure and the content.
    <ns0:MT_MOD_FL xmlns:ns0="http://file2file/MES">
       <EMPLOYEE>
          <ID>12</ID>
          <Name>SREENI</Name>
          <Designation>M2</Designation>
       </EMPLOYEE>
       <EMPLOYEE>
          <ID>121</ID>
          <Name>RAJA</Name>
          <Designation>M3</Designation>
       </EMPLOYEE>
    </ns0:MT_MOD_FL>
    Below is the generated target file
    12     SREENI     M2
    121     RAJA     M3
    Here Generated target file suppose to have only two line instead of 3.
    What exactly do i need to change to generate the file with 2 line.
    I am not using any mapping as both source and target message structure are same.
    IN FCC i used only fieldSeparator, even i have not used endSeparator.
    Thanks in Advanace...

    Hi! Raghu,
    Just go through the below Help..documantation
    [http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm]
    NameA.endSeparator
    To define an additional string as a separator after the last column in a row, specify it here. The system skips this string when it processes the last column (otherwise the system would treat it as part of the last column).
    NameA.fieldSeparator
    If you make an entry here, the system expects that the structure contains the specified character string (one or more characters) as a separator between the individual columns.
    If you have not made an entry for fieldFixedLengths, this is the only specification to identify the individual columns in a row.
    If you made a specification for fieldFixedLengths, the extra length of the separator is taken into account, but no further consistency checks are performed.
    Regards::
    Amar Srinivas Eli

  • Sales order item assignemnt block ,if we click edit extra blank line on items level i want remove that line how to do it?

    Hi Team,
    Sales order item assignemnt block ,if we click edit ,Item assignment block extra blank line on items level is showing , i want remove that line how to do it?
    Thanks&regards
    Kalpana

    Hi Ravi,
    With the help of Dharmakasi Thotakura...
    As suggested to do changes in DO_INITCONTEXT and GET_I_T_TABLE methods ....i have implemented these two methods...Now problem only one column ITEM_NO will be disabled  remaining cloumns not disabled...i want to disable entire column including ACTION column also..Action Column contains INSERT and DELETE buttons.how to do it?
    METHOD
    do_init_context.
    CALL METHOD SUPER->DO_INIT_CONTEXT.
    DATA : lr_ent TYPE REF TO cl_crm_bol_entity,
    lr_btadminh TYPE REF TO cl_crm_bol_entity,
    lv_object_id TYPE string,
    lo_context TYPE REF TO /RCRM/15IT__ITEMS_CN00.
    * gv_flag TYPE crmt_boolean.
    lr_ent ?= me->typed_context->btitems->collection_wrapper->get_current( ).
    lr_btadminh ?= lr_ent->get_parent( ).
    lv_object_id = lr_btadminh->get_property_as_string( iv_attr_name = 'OBJECT_ID' ).
    lo_context ?= me->typed_context->btadmini.
    clear lo_context->gv_flag.
    IF lv_object_id IS NOT initial.
    lo_context->gv_flag = abap_true.
    ELSE.
    CLEAR lo_context->gv_flag.
    ENDIF.
    ENDMETHod
    METHOD
    get_i_t_table.
    CALL METHOD super->get_i_t_table
    EXPORTING
    index = index
    component = component
    RECEIVING
    rv_disabled = rv_disabled.
    DATA: lv_component TYPE name_komp,
    lo_entity TYPE REF TO cl_crm_bol_entity,
    lo_property TYPE REF TO cl_crm_bol_entity,
    lv_string TYPE string.
    IF rv_disabled = 'FALSE'.
    lv_component = component.
    lo_property ?= collection_wrapper->find( iv_index = index ).
    lo_entity ?= lo_property.
    lv_string = lo_entity->get_property_as_string( iv_attr_name = lv_component ).
    IF lv_string IS INITIAL or lv_string = '0000000000'.
    IF gv_flag IS NOT INITIAL.
    rv_disabled = 'TRUE'.
    ENDIF.
    ENDIF.
    ENDIF.
    ENDMETHOD.
    Thanks
    Kalpana

  • Why do emails forwarded or replied to gain extra blank lines

    When replying to, or forward emails that contain original email(s), the original emails frequently gain extra blank lines (Spaces). These extra blank lines grow in number each time the message is include in another email until it becomes so big that the emails become difficult to read.
    This happens regardless of whether I created the original emails or not.

    Hi guigs2,
    Thanks for the reply, however, it does not solve the problem.
    I want to include the original message(s) when forwarding or replying. The problem is that the included original message(s) gain extra blank line spaces between paragraphs each time the original message(s) are transmitted. This means the emails automatically grow in length with blank lines. For example: The original message consists of :
    ''Dear guigs2,''
    ''Blah blah blah blah blah blah Blah blah blah blah blah blah Blah blah blah blah blah blah.''
    ''Blah blah blah blah blah blah Blah blah blah blah blah blah Blah blah blah blah blah blah.''
    ''Kind regards,''
    ''gwap.''
    When this message is replied to, and comes back extra blank links between paragraphs appear. For example:
    ''Dear gwap.''
    ''Thank you''
    ''Kind regards''
    ''guigs2.''
    In a message dated 06/03/2014 17:46:35 GMT Standard Time, [email protected] writes:
    ''Dear XXX''
    ''Blah blah blah blah blah blah Blah blah blah blah blah blah Blah blah blah blah blah blah.''
    ''Blah blah blah blah blah blah Blah blah blah blah blah blah Blah blah blah blah blah blah.''
    ''Kind regards,''
    ''gwap.''
    Each time the original message(s) is/are sent the number of blank lines increases.
    Dear guigs2
    My pleasure.
    Regards
    gwap
    In a message dated 0703/2014 17:46:35 GMT Standard Time, [email protected] writes:
    Dear gwap.
    Thank you
    Kind regards
    guigs2.
    In a message dated 06/03/2014 17:46:35 GMT Standard Time, [email protected] writes:
    Dear guigs2
    Blah blah blah blah blah blah Blah blah blah blah blah blah Blah blah blah blah blah blah.
    Blah blah blah blah blah blah Blah blah blah blah blah blah Blah blah blah blah blah blah.
    Kind regards,
    gwap.

  • Extra Blank Line gets added at the Beginning of the file by File Adapter...

    Hello All,
    I have created an RFC to File Adapter scenario in PI 7,1 and I am using Content Conversion in the File Adapter to convert the payload structure to flat text file. The input Structure is simple as follows:
    <File>
    <FName>some file name</Fname>
    <Record>
      <Data>
          <Line>Text Lines</Line>
    </Date>
    </Record>
    </File>
    while using the following Content Conversion Parameters: While I have defined "Record" as Structure.
    Record.addHeaderLine   = 0
    Record.fieldSeparator      = 'nl'
    Record.endSeparator      = 'nl'
    Here everything is working fine except that the text file getting generated has a blank line at the beginning. I was thinking that by adding "Record.addHeaderLine   = 0" parameter, no header line will be added to the file but this seems to be not working. I tried to include the top element "File" with the same parameters and different combinations but was not able to achieve the result and it stopped the file creation altogether.
    So, I'll appreciate if anyone can suggest something to get rid of the this blank line at the beginning of the file.
    Regards,
    Athar

    Extra blank line is actually provided for the FNAME node, but not displayed because of it has different structure with Record node.
    Change the structure for FNAME to :
    <FName>
    <Data>
    <Line>some file name</Line>
    </Data
    </Fname>
    this way "some file name" will be dispalyed in the text file at the first line of file. To remove it use this trick, define the following values in Content Conversion Parameters:
    in the Recordset Structure : FName,Record
    FName.fieldFixedLengths     = 0
    FName.fixedLengthTooShortHandling =     Cut
    FNamee.fieldSeparator = '0'
    FName.endSeparator =     '0'
    Record.fieldSeparator = 'nl'
    Record.endSeparator = 'nl'
    Rgds,
    Triana

  • CRXI Export to text - suppressed section creates blank lines

    I'm using CRXI Proffesional - full version 11.5.11.1470
    I have a report that uses the typical "stealth" subreport to obtain and pass info to the container, but remains invisible in preview mode. The fields in the subreport are all suppressed, the sections in the subreport are suppressed if blank and the subreport itself is suppressed when blank, the section that contains the subreport is also suppressed if blank.
    This has always worked fine to get info into the container from the subreport while not creating any "white space" on the report.
    Print preview and export to pdf both function just fine, omitting the blank lines.
    It seems that exporting this to a text file is now creating blank lines for each occurence of the subreport.
    I have seen this problem in a couple of forums but have not seen a resolution yet.
    Does anybody have any idea how I can stop the exporting of suppressed blank sections ?

    Good morning.
    We've got something to get straight first
    When you say "...from the Report Viewer. The report printed as expected on HP printer...", do you mean the viewer of the .NET app, or the viewer of the CR designer?
    And version 12.0.0.683, is very old (well as far as CR is concerned anyhow   ). That version is SP 1, we are now on SP 2. So that will be the place to start. Get to SP 2 which can be downloaded from here;
    https://smpdl.sap-ag.de/~sapidp/012002523100009038092009E/cr2008win_sp2.exe
    Ludek

  • Out put file with three extra blank line

    Hi Expert
    i am snding some article data from sap to ftp location.from proxy class the internal table has all correct record .but in the out put file three blank line is coming with all the record at the end.
    i have the following cc parameter
    File.fieldNames Trans_type,Transfer_no,SrcSt_no,DestST_no,LPN_No,Transfer_date
    File.fieldFixedLengths 1,30,10,10,10,8
    then i added
    File.endSeparator '0'.
    but still 3 blank line is coming in the output file.
    please suggest somthing.

    Hi !
    Why are you using File.endSeparator '0'. ?
    Are you sure your input data doesn't have those 3 blank records in the end? Check the message payload in the sxmb_moni transaction.
    Regards,
    Matias.

  • Extra blank line

    hi,
    i created one table in the main window.
    its displaying all the records.
    it is having 29 records.
    in the 1st page its showing 15 records and after that one blank line.
    in the next page its showing rest of the record.
    how can i remove that blank line from the first page.
    can any one suggest me. its very urgent.
    thanks.

    Hi,
    U can handle this as follows,
    don't give border to main window, in main window table must be there , then for each cell assign the border in such a way that table will have outer border only , this icons are nearby atble pattern icon , can use it.
    Pls reward , if found helpful.

  • "clear recent history" is not lit up, can't activate; I have an extra blank line under all these editing icons which I do not want?????Yahoo says it is your issue; also when I copy for instance a screenshot (see below)

    1)trying to clear cache: when I click tools,options, "clear recent history" is not lit, I do not know what else to say. I tried to copy the screenshot sample, but it wouldn't let me.<br />
    2) On a page: the items appear in this order -<br />
    a)Header line:Firefox symbol Ask question or whatever I am seeking<br />
    b)2nd line: the words: File, Edit, View, etc. <br />
    c) 3rd line:arrows then 7 icons for editing which appeared one day, a small window that tells where I am with a star and then a window with
    google's symbol and a small window with a magnifying glass.<br />
    d)4th line: a wide empty line<br />
    e)5th line: a small window telling what I am doing ie Ask a Question etc. then a plus sign in a gray box and then nothing follows. <br />
    Yahoo says that the blank line and the icons are Firefox's issue. <br />
    I never chose to have icons for editing instead of the words. I do not know how they got there. I had some problems for a number of weeks (1/4/11 to 2/5/11 because all of the 2nd line had disappeared and I had no bookmarks. Yahoo was completely ineffective and I got disparate yesterday and started click all over the screen and suddenly the words of that line appeared again as well as all my bookmarks were back.?????odd. So all this maybe related. I just would rather not have that blank line as it lowers my screen.
    3) cont'd: to my desktop I cannot retrieve from my desktop. I click to open it and the page opens, but it keeps opening and opening and on and on and won't stop, so I have to close the tab and sign in again. This has happened about ten times recently. I guess that is it.

    * Make sure that you not run Firefox in (permanent) [[Private Browsing]] mode
    * You enter Private Browsing mode if you select: Tools > Options > Privacy > History: Firefox will: "Never Remember History"
    * To see all History and Cookie settings, choose: Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    * Uncheck: [ ] "Automatically start Firefox in a private browsing session"
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • Extra blank lines in source code

    I have built a website in Dreamweaver CS4 and have a client editing pages in Contribute CS5. Both of us are working on Windows 7, and the site is hosted on Linux. When she makes edits to the page, something is introducing a GAZILLION blank lines in the source code. A typical page for this site is about 380 lines of code. The problem page is now more than 310,000 lines code with 100-200 blank lines between every "real" line of code. What the...?!
    I need to know how to stop this and how to remove the blank lines from the source code using Dreamweaver.
    The page in question lives here: http://www.alexandercitychamber.com/member-category.html
    HELP!!!
    Jeff

    Hello, Diane -
    We've got two separate issues here, but I think we have the solution to both.
    1. How to stop Contribute from adding blank lines in the code, and
    2. How to clean up a GAZILLION lines of blank code in a document.
    First, Number 1. I assume you're working in Dreamweaver. If not, I'm not sure how to guide you. But, when you define a Contribute Site, there is an area to specify administrative roles and permissions. Under each Role, at the bottom, you will see a popup for what kind of server the site is hosted on. The default is Windows. I had to change this to Unix (Linux) to match the hosting of our problem site. Find out what platform your host is using. You will have to specify this under each admistrative Role. After doing this, I had the client make some edits, then I opened the files in Dreamweaver. No new blank lines. I admit, I still have my fingers crossed somewhat.
    Okay, now how to clean up your source code and remove blank lines. A developer friend found this on some forum I had not seen. I don't know where, but I am grateful to the person who wrote it. It didn't get all the blank lines in my files, but I think some of the others, which I removed manually, were probably from the client pasting content in from Word. Here's what to do:
    1. Open the file in Dreamweaver
    2. Click CTRL + F, or go to EDIT > FIND AND REPLACE
    3. Select "Current document" in "Find In" (You can also select the folder if you have multiple files.
    4. Search in "Source Code"
    5. Check the box labeled "Use regular expression"
    6. Type "[\r\n]{2,}" (without quotes) in "Find"
    7. Type "\n" (without quotes) in "Replace"
    8. Press "Replace All"
    The operation chugged for a few minutes with my 301,000-line document. Yours may a take a little longer, but it did work. Good luck!
    Jeff
    [email protected]

  • FCC on reciever channel - extra blank line

    Hi,
    I am having the foll FCC structure
    Header,MessageData,FileName
    Header.fieldFixedLengths     2,19,3,19,20,6,1
    Header.endSeparator     'nl'
    MessageData.fieldFixedLengths     2,14,3,15,10,14,2,1,15,25,20,80,4,4,40,40,1,4,2,4,14,14,6,1,100,100,2,2,1,1,1,1,1,15,2,10,10,2,15,2,10,10,2,10,10,13,200,1
    FileName.fieldFixedLengths     0
    FileName.fixedLengthTooShortHandling     Cut
    FileName.endSeparator     '0'
    Here I am trying to cut out FileName data
    but always and the end of the MessageData block....I get a blank new line.
    I want the cursor last position to be at the end of MessageData block only.
    How do I avoid this?
    Cheers,
    Earlence

    Hi Earlence,
    Can you try using FileName.endSeparator as 0x08 and see whether it helps.
    Regards,
    ---Satish

  • JEditorPane extra blank when display "image inside table"

    Hi,
    I try to use the JEditorPane to view the html file. Everythings work fine except
    shows the following
    <table border="1">
    <tr><td><img src="http://somewhere/a.jpg"></td></tr>
    <tr><td><img src="http://somewhere/b.jpg"></td></tr>
    </table>It can shows out the image inside the table cell.
    But there is an "extra blank line" follow the images. This "extra blank line" is inside the table cell.
    It likes following
    [image]
    [image]
    But it supposes to be like this
    [image]
    [image]
    I try some sample code in web. It also shows the same problem. Any one have ideas and solutions?
    Thanks a lot.
    kfchu

    Worked fine for me. Here is my test program:
    import java.awt.*;
    import java.io.*;
    import javax.swing.*;
    public class EditorPaneLoad extends JFrame
         public EditorPaneLoad()
              throws Exception
              FileReader reader = new FileReader("blank.html");
              JEditorPane editor = new JEditorPane();
              editor.setContentType( "text/html" );
    //          editor.setEditable( false );
              editor.read(reader, null);
              JScrollPane scrollPane = new JScrollPane( editor );
              scrollPane.setPreferredSize( new Dimension(300, 200) );
              getContentPane().add( scrollPane );
         public static void main(String[] args)
              throws Exception
              EditorPaneLoad frame = new EditorPaneLoad();
              frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
              frame.pack();
              frame.setLocationRelativeTo( null );
              frame.setVisible(true);
    }

  • Acrobat Pro 9, blank lines in text boxes vanish upon save

    Folks,
    Since I upgraded from Acrobat Pro 8 to 9, whenever I put blank lines in a text box, the blank lines disappear as soon as the PDF is saved.
    Here's an example:
    - Open a PDF file
    - Click on text box tool in the toolbar (or from menu Comments->Comments and markup Tool->Text box tool
    - Draw a box on the PDF page somewhere
    - Enter "First line", then hit Return twice to add a blank line below, enter "Second line"
    - Right now my text box contains two lines of text separated by a blank line
    - Hit save
    - Blank line vanishes in the text box. Now the two text lines are on adjacent rows.
    This did not happen in either Acrobat Pro 7 or 8. I've been using textboxes consistently for years without this silly behavior.
    Any suggestions? I've looked through forums and knowledge bases and such to no avail.
    I have acrobat pro version 9.0.0 running on XPSP3.
    Thanks!
    Petros

    Hello Petros,
    I figured out how to make this work, at least on my computer.  Hold CTRL key and hit ENTER.  This leaves the space.  Hope this works for you.
    Phillip

Maybe you are looking for

  • MacBook Pro 13" Late 2011 - Internal Microphone Not Working

    Hey everyone, I've been having trouble with my internal microphone on my 13" late 2011 MacBook Pro every so often. In the Sound preferences, Internal Microphone (Built-in) has been selected on the Input tab, the input volume is on full and the audio

  • I switched off my ipod touch 4g during an ios6 update

    it was during the ios6 update that i realised for some reason i did not want to update it because of what my friends told me, it had nothing beneficial for the ipod touch 4g, so i decided to switch off my ipod touch 4g and now it would not turn on th

  • Forms Created in Pro 10 cannot be signed in Reader 11

    Hello, I have created forms using Adobe Pro 10 with signature fields.  Users who recently were upgraded to Reader 11 can no longer sign the form.  They can enter data into text fields - but when reviewing the form properties it disallows digital sign

  • Import library and playlists from Windows Media Player without duplicates

    How do I import all the music and playlists from Windows Media Player into iTunes without creating duplicates? I add the folder containing all my music to iTunes and all my music arrives nicely. I begin importing playlists and the playlist comes over

  • Regarding Custom Variants...

    Hi , My Requirement is to findout All Custom Varaints...All Programs and Variants are storing in VARID Table from here How can I say these particular are custom . Thanks & Regards, Laxmi.