How to center chars inside of cells of the comb field (text field)?

Hello gurus,
[Intro]
I'm working on preparation of the legal form for tax return.  Due to sophisticated form structure and customer's demand to prepare return of enourmous size (more than thusand pages) I decided to remake obsolete form using "comb of" option in order to reduce size of the source and prevent memory allocation issues on customer side.
[Issue details]
Legal requirement is to have typeface Courier New 16pt-18pt and cells of the certain size.
This is how the form provided by tax authorities looks like:
Here you can see that chars are somehow centered inside of the cells but when I create comb in my livecycle designer it is not the case and I have different layout:
Look how letters are placed inside of the cells. After some research I've found out that there is a left margin which always exists in every cell of the comb, most probably triggered by the border. Tried to edit XML source but didn't achieve any significant success. The issue is not caused by the narrowness of the cells and reproductible even with extra wide ones.
Here is my current XML:            
          <field h="5.7mm" name="STR_230_TOT_TX" w="60mm" x="4.264278in" y="4.458417in" anchorType="middleCenter">
               <ui>
                  <textEdit hScrollPolicy="off">
                     <border hand="right">
                        <edge stroke="dotted"/>
                        <corner stroke="dotted" thickness="0.176mm"/>
                     </border>
                     <margin bottomInset="0mm" leftInset="0mm" rightInset="0mm" topInset="0mm"/>
                     <para hAlign="left" vAlign="top"/>
                     <comb numberOfCells="15"/>
                  </textEdit>
               </ui>
               <font size="16pt" typeface="Courier New"/>
               <margin bottomInset="0mm" leftInset="0mm" rightInset="0mm" topInset="0mm"/>
               <bind match="dataRef" ref="N140_TAX_AMOUNT"/>
               <assist>
                  <speak disable="1"/>
               </assist>
            </field>
This is how comb field is supposed to be rendered (screenshot from the documentation):
Everything is centered and it is a behaviour I supposed to see.
Are there any possible solutions how to place chars at center of the cells?

Hi Igor,
It's the font that you are using that causes the problem. 
I found it weird, your problem, so I quickly made a form with a text field with a comb.  I did not have the problem.
So I took your snippet and added it to my form, then I have the same problem.  You are using Courier New, a font that has the same width for all characters.  I don't know why the problem is there as for me it should be in the center as with all other fonts.  I would report this as a bug to support.
I know it's not a solution for you, but that seems to be the root of the problem.  Maybe you can look for another font, similar to Courier New, but that does not have a fixed width.  I looked it up and it appears that there's a font called Hellschreiber, that uses the same letterforms, but is proportional.  The font is not freely downloadable, so I cannot test for the moment.  Another page says this: "There is a proportional font that kinda looks like Courier. It is called American Typewriter. "  Again, I have not tested.
Hellschreiber Serif is a proportional typeface using Courier letterforms as a basis.
http://en.wikipedia.org/wiki/Courier_(typeface)

Similar Messages

  • How can I disable/enable specific cell on the matrix?

    Hi,
    Please help me, how can I disable/enable specific cell on the matrix?
    Regards,
    vinoth

    Hi,
    Do you want to control by sdk?
    If yes, then you can use CommonSetting property.
    Try this,
         Dim oMatrix As SAPbouiCOM.Matrix
               Dim oRowCtrl As SAPbouiCOM.CommonSetting
               oMatrix = frm_id.Items.Item("mat_id").Specific
               oRowCtrl = oMatrix.CommonSetting()
               oRowCtrl.SetCellEditable(1, 2, False)
    Regards,
    silambu

  • How to give error message for the screen element text field when wrong i/p

    How to give error message for the screen element text field when wrong i/p
    when wrong input given
    eg. 
    I have a text box with SBOOK-CARRID
    so when user give wrong entry in text box i.e LG
    then I should give some error stating that the the input is invalid or not available ,
    now it showing the error of standard messages,
    i want manual message to be displayed when error comes.
    Thank you,
    Regards,
    Jagrut Bharatkumar Shukla

    Hi all,
    Thank you for your valuable reply,
    but the thing is that its a screen field,
    i.e text box not a selection screen
    i created in screen layout
    with name sbook-carrid
    now i want to get error message display if wrong i/p is given
    thank you.
    Regards,
    Jagrut bharatkumar Shukla,

  • How to remove the automatically generated text fields from the InfoSet

    I followed the procedure by SAP help.
    Automatically generated text fields are marked with a 'T' on the icon in the InfoSet. You can remove the automatically generated text fields from the InfoSet in the initial screen of the InfoSet maintenance under Further Functions -> Delete Text Fields. Cancel the DataSource creation on the next screen and delete the text fields in the InfoSet maintenance transaction.
    I know that there is an option "No automatic text recognition" when I create a new InfoSet, however, I couldn't find out how to change an existed InfoSet. I checked menu Goto->Global Properties, but that option is disabled. Is there a way to remove text fields from an existed InfoSet?

    Hi,
    In the initial screen (when you enter transaction code SQ02) type your infoset name and goto menu: Infoset -> More functions -> Delete text fields. this will delete all text fields.
    I hope this helps to resolve the issue.
    Ram

  • How do I simply add one cell to the spreadsheet?

    How do I simply add one blank cell to the spreadsheet? The rest of the items will move down or to the right.
    Can't find the answer anywhere. Can't be that difficult. What am I missing?

    s,
    Yes, Select the cells that need to be moved and "Mark for Move." Then, Select the cell where you want the upper left cell of your marked range to move to and "Move."
    It's the same number of steps, roughly, as spreadsheet programs that allow inserting cells. When you insert a cell in those other programs, you must then define the direction of the move, so it amounts to about the same amount of work.
    Jerry

  • How do I change font inside the Form's text fields

    I went through tutorials on lynda.com and succesfuly layed out my form.
    However I can not figure out how to make a change from a default Times Roman in the forms fields to a different typeface.
    I assigned object styles, followed by paragraph styles but nothing happens. I also can not change font color inside the text fields.
    Anyone knows how to change these attributes?

    There are literally hundreds and thousands of improvements or changes that could be made to InDesign.
    Your comments here won't get to the product manager who decides which of those to implement in the next version. This is a forum of users like you, but if you post at the link below and make a good case, you'll have a better chance of getting what you want:
    Adobe - Feature Request/Bug Report Form

  • How to enable JScrollPane in a cell of the JTable

    Hi,
    I am able to place the components into the cell of the JTable. But I am unable to interact with the components like JTable or JComboBox after inseting them into a cell of the JTable.
    This was the one of the Scenario:
    Step 1: I created One JTable named as "insertTable"and adding to JScrollPane
    Step 2: I'm able to inserted the newly created JTable ("insertTable") in to a cell of another JTable(like table inserting a table) using TableCellRenderer.
    here was the problem. I am able to insert the newly created table into the cell. the "insertTable" size is greater the Cell size. So, the "insertTable" is appering with Horizantal and Vertical Scrollbars because the "insertTable" is added to JScrollBar. but I am unable to move the scrollbars.
    please any one help me for this.

    you still didn't try to learn the difference between cellEditor vs cellRenderer - as you were advised to do more than once in recent posts.
    If you do, the answer will be obvious (to you :-). As long as you don't there's nothing to help
    Cheers
    Jeanette

  • Powershell script - how to read a registry hive and store the value in text file and then again read the text file to write the values back in registry

    Hi All,
    powershell script Method required to read a value from registry and then taking the backup of that values in some text file.
    For example the hive is
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\Path
    and under path i need to take back up  of values in some text file and then put some value in the registry after back is taken in text file.
    Also how to read the text file values so that we can again write to registry hive  back from the back up text file.
    Your help is much appreciated.
    Umeed4u

    I think you need to read this first:
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/a0def745-4831-4de0-a040-63b63e7be7ae/posting-guidelines?forum=ITCG
    Don't retire TechNet! -
    (Don't give up yet - 12,830+ strong and growing)

  • How can I create a random number and letter in a text field...

    Hi All,
    I am using application express. I want to get a random number and letter for a text field but not sure how to do this. Say I have a licence form and I want to get the licence number automatically when user wants to create a new licence and it needs to be unique. The format I am looking for is - HQ2631 something like this.
    I am thinking I have to create a trigger but not sure how to go about this....
    advanced thanks,
    Tajuddin

    Something to play with:
    Your method can generate 26 * 26 * 10000 different licence_ids
    Generating one million ids takes 20 seconds but produces between 70000 and 80000 duplicates and is rapidly getting worse (if that is something over 7%, doubling the ids generated that grows to something under 30%)
    Just see if you can live with that.
    select sum(collisions) all_duplicates,count(*) distinct_duplicates,max(collisions) max_multiple
      from (select licence_id,count(*) - 1 collisions
              from (select DBMS_RANDOM.STRING('',2) || trunc(DBMS_RANDOM.VALUE(1000,9999)) licence_id
                      from dual
                     connect by level <= :to_generate
             group by licence_id
             having count(*) > 1
           )Regards
    Etbin

  • How do I auto populate the date into text fields when form is first opened?

    Hello,
    I read all about the changing the scripts but its not really working for me. I was hoping someone could help me with directions on how to auto populate the date into designated text fields when my adobe document is first opened?
    I am working in Adobe Acrobat 9.
    Thank you,
    Sheri

    When you add a new document JavaScript (Advanced > Document Processing > Document JavaScripts > Script Name (enter something) > Add), you will be given a function skeleton by default. Just delete it and enter the line of code I showed above. Now, whenever the document is opened, the code will get triggered and the field will be updated with the current date. There is no "Document Open" action (at least that's accessible via Acrobat's UI), but this is effectively the same thing since any document-level JavaScripts are executed when the document is opened.

  • Printing all text inside the scrollbar in Text Field -Adobe Form

    Hello,
    I'm creating a form in Adobe Designer 7.0 with a Text Field that allows the user to enter as much information as they want. How do I set it to so that when the form is printed all the information that's entered also prints? Right now it only prints what's visible on the text box that I've defined. I have set the Text Field to Allow Multiple Line and Expand to Fit.
    Thank-you.

    Sure, you could do that fairly easily with just a bit JavaScript. It would have to be done by someone with Acrobat who receives the filled-in form. The text from the fields could be extracted and placed in a text file attachment that you create with JavaScript, and then extract the file attachment.
    For the general methods you'd use, see:
    createDataObject: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.450.html
    exportDataObject: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.463.html
    Another less flexible approach is to extract to a tab delimited text file: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.460.html
    For this, you can specify just the fields you want to include, so you don't have to bother with all of the fields in the form being included.

  • How to retrieve the data in texts field for ME23N

    hai all,
    i need to do some coding for the item texts field for PO, which can be saw under ME23N. i need to retrieve the details in the text. but i have no idea how am i going to get the data from that field, which table is it under for PO?
    please advice. thanks

    Hi,
    the texts will be stored in STXH table..u need to pass the four values TDOBJECT
    TDNAME
    TDID
    TDSPRAS...U will get the text details
    Or
    use the FM 'READ_TEXT'.
    cehck the below links
    http://www.sap-basis-abap.com/sapac002.htm
    FM READ_TEXT
    reward if helpful.
    Regards,
    Nagaraj

  • How do I refer to a cell in the last row of my table?

    The subject says it all, really. I have a table which will have rows added to it over time; I'd like to be able to refer to a value in the bottom-most row.
    Let's say table 1 has ten rows. In a cell in table 2 I'd like to get the value in Table1::C10
    Now I add five rows to Table 1. I'd like the cell in Table 2 to now show the value in Table1::C15
    Is that possible? It's the iPhone version of Numbers, if that makes a difference.

    In Numbers for OSX, it may be achieved with :
    =OFFSET(Table 2 :: $A$1,ROWS(Table 2 :: $A)-1,2)
    But if my memory is right, it's one of the features which failed in the first version of Numbers for iOS.
    I never had opportunity to test upon new version.
    Yvan KOENIG (VALLAURIS, France) mardi 26 juillet 2011 16:52:14
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • How to assign the Value to the Particular field-Text field

    Hi all,
    My requirement is to call the Web service with input from the ADF page.
    Steps I have done:
    1. I have created a Web service data control based on the WSDL file.
    2. Just drag and drop the Process, It is automatically created the form with the Input fields and then the Process button
    3. When I entered the values and then process button it will pass the values corretly.the web service is invoked correctly with the values entered.
    4. But when I try to assign the value from the some other field that is not working.
    I am assigning the Value to the field by go to the properties of the Particular field value =”CREATE”
    When I do like this that value is showing in the screen. But it will not pass the value to the web service.
    I think the value is only displaying in the screen. Not stored at bindings level. Kindly guide me in this.
    Thanks in Advance
    C.Karukkuvel

    If you want to have the value that is returned displayed in a field that has binding to another item and not the WS result item then the way to do this would be to override the method that is invoked with the button that calls the web service - you then take the result and assign it to the item you want.
    See the way it is done here:
    http://blogs.oracle.com/shay/2009/07/java_class_data_control_and_ad.html
    While this sample uses a simple method it would be basically the same for a Web service.

  • How to Fetch Cancelled Jobs info along with the Short Dump Text

    Hi Gurus,
    I need to develop a report to fetch the cancelled jobs information for the given period. I also need to display the "Error Analysis" part of the Short Dump if it exists.
    I am able to fetch the Failed Jobs information and the Job log details using the FM "BP_JOBLOG_READ". But I need to show the "Error Analysis Text" on the report , if there is any Short Dump Exists for the Dump.
    Please give me your ideas to fetch the Error Analysis part of the short dump for a given Batch Job Name.
    Thanks in Advance.
    Best Regards,
    Sumalatha

    The dump information is in table SNAP. You could identify which dump you want by the date & time of the failed job - let's hope you don't have more than one dump with the same time. If it is ambiguous you could also compare the program name of the failed step with the program name in the SNAP data.
    The error analysis texts are in table SNAPT keyed according to which error occurred (which is data element code FC right at the start of the first record in the SNAP data). You will have to expand out the includes, and substitute the variable codes using values from the SNAP data. There is standard code to do this that you could copy - see program SAPMS380.
    To find out the details of the SAP process you could run transaction ST22 via the debugger and use the same mechanism.
    best wishes
    Ed
    PS Note these details apply to recent systems I think there may be differences if you go back to before ?2004, but I don't have such a system so can't check. You didn't say what release you have.

Maybe you are looking for

  • Why can't I see my iPhone 4 footage in iMovie? I hear audio, but no video.

    Hello! This issue appeared in iMovie '09, and has persisted into '11. I have reinstalled the app, cleared caches, deleted old projects and all-around run out of ideas. My iPhone 4 footage, and older Flip h.264-encoded footage, will not play in iMovie

  • Is there any way to read the field name,through the property binded to it.

    Hi I want to know that,is there any method exits with which i can find the field names of the screen,if i have the property attribute with me. as my req is to make the validation for the property attr,& check  how many fields are binded with the sing

  • Adding Local Language For BW Reporting

    Hi Guru's, Currently I am working on BW 7, I got the customized data source from ECC6 with language translation in local language but there are yet to be any text, hierachies, master data or characters assigned to it yet in BW. I would like to add a

  • Is weblogic 8.1 sp4 maps with 'Mac' address while installing.

    I have issue with weblogic which is running currently, I have decided to copy the dump to different system and run. Will this work, does the new system require same IP address and 'Mac' address(Physical address) as old system. Is weblogic 8.1 install

  • Avoiding duplicate records in report

    Hi All,              I have a scenario where Delivery document gets created in R/3 say on 7/1 with Act GI date "#" and KFs are all "0". This gets loaded into BI. On "7/5" this is PGId and the status in R/3 changesto ACT GI date "7/5" and Qty of "100"