Question regarding how to use XHTML format in Form Builder to generate PDF

Hi,
I have defined a form where the input interface is iv_text TYPE string and the format of the field in the form is in XHTML.
But when I set iv_text = '<font face="Times New Roman" color="#ff0000" size="5">Test</font>'. The ADS does not interpret the XHTML and it generates me a PDF file containing this sentence.
Can some help me?

Hi,
I have defined a form where the input interface is iv_text TYPE string and the format of the field in the form is in XHTML.
But when I set iv_text = '<font face="Times New Roman" color="#ff0000" size="5">Test</font>'. The ADS does not interpret the XHTML and it generates me a PDF file containing this sentence.
Can some help me?

Similar Messages

  • Question regarding how to use XHTML format in Form

    I have defined a form where the input interface is iv_text TYPE string and the format of the field in the form is in XHTML.
    But when I set iv_text = '<font face="Times New Roman" color="#ff0000" size="5">Test</font>'. The ADS does not interpret the XHTML and it generates me a PDF file containing this sentence.
    Can someone help me?

    look up for "Using formatters" in the FB help.
    Essentially you'll instantiate a format, NumberFormatter for
    numbers for example, and set it's properties like e.g. showing a
    thousand separator and then one some event of the TextInput --
    valueCommit for example -- you'll do something like:
    ti.text = nf.format(ti.text)
    this is would also give you opportunity to validate user
    input using the same formatter and valid event.
    ATTA

  • Questions regarding currency conversion using SPRUNCONVERSION.

    Hi all,
    I have implemented currency conversion using SPRUNCONVERSION stored procedure. I have following questions regarding how does it work.
    1. Is it mandatory to create FxTrans Business Rules with SPRUNCONVERSION?
    2. How does it work internally? How does it look up rate from the rate application?
    Any help will be greatly appreciated. Any reference to any documents will help.
    Thanks&Regards,
    Diksha.
    (PS: How to document does not explain about how it works).

    Hi Diksha,
    1. Yes since it will base it's translation rules based on what is defined on the currency conversion business rules.
    2. The stored procedure SPRUNCONVERSION scans all records found in the selected region of data and translates them according to the RATETYPE property assigned to the ACCOUNT specified in each record, based on the following mechanism:
    Note:
    All ACCOUNTS with no RATETYPE (ratetype = blank) will be translated with a factor of 1
    All ACCOUNTS with the reserved RATETYPE = NOTRANS will not be translated
    All other ACCOUNTS will be translated according to the definitions contained in the table of parameters called clcFXTRANS.
    How the RATE table is selected
    While most customers require a single table of rates, there are situations when more than one set of rates is required. In this situation, the translation procedure uses the RateEntity dimension to select the correct table of rates to use.
    Whenever a destination currency is selected, the procedure searches for a RateEntity member flagged with this currency in the Currency property. For example, if translating into USD, the system uses the RateEntity member that has the Currency property set to USD.
    If there is no RateEntity flagged as the destination currency, the system will use the RateEntity with Currency = 'u2019 (blank).
    In addition to this, some exceptions by ENTITY can be applied. For example, some entities just entering in the consolidation perimeter may need to be converted at their own specific set of rates. These entities may have a corresponding RateEntity member in the RATE cube. All ENTITIES having a corresponding RateEntity member in the RATE cube will use that member as rate table. For example, if there is a RateEntity member named like the ENTITY USOps, the RateEntity member USOps will be used to translate the values of entity ENTITY USOps.
    The RateEntity member, when representing an ENTITY, may be any of the following:
    A valid base level or parent member ID from the ENTITY dimension of the main cube
    A list of members of the ENTITY dimension, as defined filtering the members using a value of the DIMLIST property (or any property whose name begins with "DIMLISTu201D) of such dimension.
    For more info, you could refer to the Administration Help found on the Admin console.
    Hope this helps,
    Marvin

  • How to use string format in TextInput?

    How to use string format in TextInput?
    Ex.
    HH:MM:SS when typing message appear in 12:34:56 form.
    N,NNN when typing message appear in 1,234,567 form.

    look up for "Using formatters" in the FB help.
    Essentially you'll instantiate a format, NumberFormatter for
    numbers for example, and set it's properties like e.g. showing a
    thousand separator and then one some event of the TextInput --
    valueCommit for example -- you'll do something like:
    ti.text = nf.format(ti.text)
    this is would also give you opportunity to validate user
    input using the same formatter and valid event.
    ATTA

  • How to use css in oracle forms

    Hello,       I am using oracle forms 11g with weblogic server 10.3.5 at windows 7.I have to use CSS in oracle forms.i have tried to search it but no profit.please some one else tell me that how can use css in oracle forms. Thnak You regards aaditya

    Hi
    As Francois pointed out Oracle forms has nothing to do with html based technology. The way you can get the equivalent effect of creating consistancy in the way your objects are displayed is by creating a set of items you want and alter their apperance and behaviour and place them into object libraries (one library should do the trick).  From there you subclass all of you forms items off these libraries.
    Regards
    Quintin

  • I have Adobe Pro online monthly subscription. I need to know how to fill in and sign forms already downloaded as PDF's

    I have Adobe Pro online monthly subscription. I need to know how to fill in and sign forms already downloaded as PDF's

    Hi Schoolcoach1,
    Please see the following Help documents:
    Acrobat Help | Filling in PDF forms
    Acrobat Help | Signing PDFs with Adobe EchoSign Electronic Signature
    Please let us know if you have additional questions.
    Best,
    Sara

  • How do I fill out a form already converted from pdf to word

    how do I fill out a form i converted from pdf to a word doc?

    What kind of "form" is it?  A .pdf or .doc file?
    Generally I would save the file somewhere (desktop or document folder).  There is a save button for attachments in mail's header section.  Then open the file with an appropriate app like Adobe Reader for .pdf files or Word or Pages for .doc files.  Fill out the form and save.  Then email the form back as an attachment.

  • How to use CSV format in making a data connection.

    Hello All,
    I have got a form to develop. There are over 1000 entries to be imported. Can I use CSV format to embed those data in the forms. Mainly those data would be embedded as dropdowns.If I can use how to do it ? If i can not use is there any better way without using the Database like MySQL or something.
    Thanks.
    Bibhu.

    Hi Afroz,
    To be more specific, if the csv file doesn't has header, please refer to this script to add header:
    $csv = Import-Csv d:\haha.csv -Header "UserA","UserXYZ","EmailA"
    Then you can loop this csv file to run the "add-mailboxpermission" cmdlet, I recommend you can test this script before running against production environment, please also note I haven't tested this script:
    $csv = Import-Csv d:\users.csv -Header "UserA","UserXYZ","EmailA"
    foreach($each in $csv){
    write-host "assign fullaccess permission of user $($each.UserXYZ) on mailbox $($each.EmailA)"
    get-mailbox -identity $each.EmailA | add-mailboxpermission -user $each.UserXYZ -accessrights 'fullaccess'
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang
    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 Support, contact [email protected]

  • How do use different formatting for a distinct "Section"

    I have experienced formatting problems with an older document after upgrading to Pages 2.
    There was a distinct "section" within that document with a different "top" and "bottom" border. I find myself unable to change the top and bottom borders within just the Section I want to revise. When I try dragging the ruler on the page in question, it changes the settings for the entire document.
    Questions:
    (1) How do I ensure that one of my document's pages is, in fact, a distinct Section with its own formatting?
    (2) How can I change the page setup of that Section independently of the rest of the document?
    PowerMac G5 dual 2.0   Mac OS X (10.4.4)  

    Hello David,
    now I'm back for your problem. You are right: the settings "Before" and "After" of the Layout Inspector are only for the areas at the Layout Breaks unlike the "Left" and "Right" number fields. If you have long Sections you have to use a workaround.
    You have to insert a placeholder at the top and at the bottom of the pages to "simulate" the wider margins. But don't be frightened, you don't have to do it for every page. For that, Pages has the Section Master.
    If you have a "Facing Pages" document, place rectangles (the placeholders) with no outline and with no filling at the top and at the bottom of a left and a right page. This rectangles should be adjusted in that way, so they have the same width like the text area and the same height you want to have for the wider Margins. Give the placeholder the "Fixed on page" setting in the Wrap Inspector and no "Extra Space". If you have a none "Facing Pages" document, you have to position the placeholder only on the top and the bottom of one page. Please notice the settings "First page is different" and "Left and right pages are different" of the Layout Inspector.
    After you have placed the rectangles, select them and choose the menu item "Format/Advanced/Move Object to Section Master". Now you have the space at the top and the bottom of every page in that Section. Only the Section with the oversized images may not have the placeholders.
    Excuse me, that I haven't mentioned the workaround the first time, but to write the Layout Border thing. I have forgotten that only the "Left" and "Right" border settings are for all pages.
    Frank.

  • Questions regarding how I pay my Line Rental Bill ...

    Hi BT,  I'm currently a BE Broadband customer,  I was a BT Broadband customer back in the days when you had BT Home Hub 1.0 and 8mb packages which i was only getting like 5-6mb, 0.3mb upload and constant speed caps on my connection to 1mb.  You guys didn't have true unlimited usage back then so being a gamer and someone that frequently downloads I changed to BE broadband.  They gave me a steady 11mb connection with 1.3mb upload speed which I've been satisfied with.   But now BE Broadband has been sold off to Sky which I don't think I want to be apart of as I've heard a lot of bad feedback and I really do not want to be forced into paying their line rental if I where to switch to Sky Unlimited.  
    So now I'm considering coming back to BT Broadband,  knowing that you've probably improved over the years.  I hope so.  I know you have this whole BT Infinity going now but my area doesn't support fibre optic broadband and probably never will because I've looked on the BT Openreach website and it says there are no plans for my area to be installed with fibre optics which I would of wanted to have but oh well.  What are the chances of my internet speed being the same as it is now with BE Broadband?   I don't see why it would go any slower.   Are your upload speeds around the same?
    Also I have a question regarding the payment methods of your BT Line rental.  I'm currently already on the BT line rental on the anytime calling plan.   I pay the bill quarterly every 3 months, which I'm comfortable with.  What confuses me is when I select the package to order BT Unlimited + Calls I only have the option to select Monthly Line Rental or Line Rental Saver.   Why am I able to pay my phone every 3 months if those are the only two options?   I'd prefrably want to stick to how I pay my phone bill.   So further more how should I go about ordering BT Unlimited broadband without it interfering with my currrent BT line rental?  I just want BT Broadband unlimited along side my current BT line rental method of pay.  Would I still be eligible for the 6 months free and the gift card.  Is the BT Home Hub 4 that comes with it free also?  Also one more question, I'd need my MAC code from BE Broadband right?  

    This is a community forum.  The people on here are other BT customers.
    The speeds have certainly improved but only if BT's equipment at your exchange supports ADSL2/2+.  If not, you'll get what you had before.  While the speeds have improved, the same can't be said for the customer service.  Upload on ADSL2+ can be up to about 1.2M.  On ADSLMax, it's still capped at 448K.
    BT like to combine broadband and phone on one bill.  So if you get line rental and broadband, they will send you one monthly bill for both.  You might be able to get them separately, but not through the web site.  Try sales on 0800 800 150.

  • How to use currency format set

    Hi All,
    I have to use currency format set to mask the amount values to their respective currencies ,
    i reviewed the Oracle XML Publisher Administration and Developer's Guide and followed all the steps mentioned there ,i m also quoting the same over here
    To define a Currency Format Set:
    1. Navigate to the Currencies page under the Administration tab. Select Create
    Currency Format Set.
    2. Enter a Name and a Code for the set. The Code is a unique identifier and cannot be
    changed later. Select Apply.
    3. The Currency Formats page will display for your newly created set.
    To add currency formats to the Currency Format Set:
    1. Select Add Currency Format to add a format to your set.
    2. Select a Currency Name from the list.
    Note: This list is generated from the FND currency table and
    should include all ISO currencies. Additional currencies can be
    added from the System Administrator responsibility.
    3. Enter the Format Mask you wish to use for this currency and select Apply.
    The Format Mask must be in the Oracle number format. The Oracle number format
    uses the components "9", "0", "D", and "G" to compose the format, for example:
    9G999D00 where
    9 represents a displayed number only if present in data
    G represents the group separator
    D represents the decimal separator
    0 represents an explicitly displayed number regardless of incoming data
    See Using the Oracle Format Mask, Oracle XML Publisher Report Designer's Guide for
    more information about these format mask components.
    After a currency format has been created, you can update or delete it from the Currency
    Formats page.
    i followed all the above step ,i need to use germany currency ,i have also used the format-currency command in my RTF template,but still its not working ,i used 9G999D00 for masking .
    Any hint would be very helpful ,thanks in advance .Please let me know if my question is not clear
    Thanks
    Pratap

    hi all
    Thanks ,this is resolved ,i just missed clearing cache ,after clearing the cache its working .
    thanks
    Pratap

  • How to retain the format in MS word when creating PDF using arabic fonts.

    I have a word document using Arabic fonts. When I create the PDF, it looses all the formatting. Can someone help me solve this issue. Thank you.

    Hi Ricol -
    Thanks for reporting the issue.
    We would need the files for investigation. Request you to share your email id for correspondence.
    Regards,
    Reetika

  • Regarding how to use index , please give me some example if possible

    Hello everybody:
           Thank you all for your help in  advance .
           would you please tell me how to use index, please give me  some example if possible.  couldn't thank you more!
          best regards .
         Frank

    Index is used for faster access of data base tables.
    An index helps to speed up selection from the database. An index is a sorted copy of selected database table fields.
    The primary index is always automatically created in an ABAP-based SAP system. It consists of the primary key fields of the database table. This means, for each combination of the index fields exists a maximum of one record in the table. This kind of index is called a UNIQUE index.
    If the primary index cannot be used to determine selection result, (for example, the WHERE condition does not contain any primary index fields), the system searches the whole table. To prevent this, and determine the selection result by searching through a restricted number of database records, you can create a secondary index.
    However, you should not define an index for all possible fields in the WHERE condition.
    Check this thread..u have more details.
    In which situation we can use the reading of  index

  • [Solved] Question on how to use (install -d...) in PKGBUILDs

    Been looking in on how to use 'install' in PKGBUILDS.  I've looked at the PKGBUILD entries in the wiki and there isn't any mention on this (possibly I missed it??).  I notice that these are in Makefiles and looked on the net but maybe my google-fu is lacking at the moment.  I've got that:
    install -d ${pkgdir}/opt
    Will create an /opt directory in the pkg directory, and that:
    install -m 755 ${srcdir}/${pkgname}-${pkgver}/file ${pkgdir}/opt/
    Will install that file in the pkg dir.  So I have a couple questions:
    1) How do I install an entire directory into the pkg dir?
    2) How do I create a link to /usr/bin?
    2) What else is good to know if I have to manually install files/folders???
    Here's the current PKGBUILD I'm working on:
    # Contributor: Gen2ly <[email protected]>
    pkgname=liveusb-creator
    pkgver=3.7
    pkgrel=1
    pkgdesc="Create LiveUSB's from a Linux install image"
    arch=('any')
    url="https://fedorahosted.org/liveusb-creator/"
    license=('GPL2')
    makedepends=()
    depends=('isomd5sum' 'python' 'pyqt' 'p7zip' 'syslinux')
    source=(https://fedorahosted.org/releases/l/i/liveusb-creator/$pkgname-$pkgver.tar.bz2)
    build() {
    # Just installing in /opt, would /usr/share/python-support be better?
    install -d ${pkgdir}/opt
    # Install files
    install -m 755 ${srcdir}/${pkgname}-${pkgver} ${pkgdir}/opt
    Any suggestions?
    Last edited by Gen2ly (2009-08-21 09:35:35)

    Didn't realize I asked such a complicated question.
    I thought that install was a built in command of 'make' that's why I asked but I just found out it has a man page.  It's pretty technical though so I'd wouldn't mind if a someone would help me with basic usage.
    Yes, I considered using 'ln' but I've read before that PKGBUILDs should use install instead of cp or mv.  Thinking now that this is not the case with  'ln'???
    For installing an entire folder I looked at the install man page that says that -d "treat(s) all arguments as directory names" so would:
    install -m 755 ${srcdir}/${pkgname}-${pkgver}/folder ${pkgdir}/opt/
    Copy a folder and it's contents?  Newbie question, I know, but first time using install, would appreciate any help.
    Last edited by Gen2ly (2009-08-21 07:02:48)

  • Regarding how to use the function module *control_form* in scripts

    HI friends,
    Can any one tell why and where do we use the function module control_form in scripts. Can you give me a small scenario how to use in scripts.

    hi satish,
    by using this function module we can pass the control
    commands to FORM THROUGH ABAP/4 PROGRAM.
    see the following example:
    TABLES: kna1.
    DATA: BEGIN OF it_kna1 OCCURS 0,
          kunnr LIKE kna1-kunnr,
          name1 LIKE kna1-name1,
          ort01 LIKE kna1-ort01,
          land1 LIKE kna1-land1,
          END OF it_kna1.
    DATA:records TYPE i,
         window TYPE i value 1.
    select-options:s_kunnr for kna1-kunnr.
    SELECT kunnr name1 ort01 land1 FROM kna1 INTO TABLE it_kna1
    where kunnr in s_kunnr.
    CALL FUNCTION 'OPEN_FORM'
      EXPORTING
        form     = 'ZSCRIPT4'
        language = sy-langu.
    LOOP AT it_kna1.
      CALL FUNCTION 'WRITE_FORM'
        EXPORTING
          element  = 'ELE1'
          function = 'SET'
          type     = 'BODY'
          window   = 'MAIN'.
      DESCRIBE TABLE it_kna1 LINES records.
      IF window lt records.
        window = window + 1.
      CALL FUNCTION 'CONTROL_FORM'
       EXPORTING
            command         = 'NEW-WINDOW'
    EXCEPTIONS
      UNOPENED        = 1
    UNSTARTED       = 2
    OTHERS          = 3
      ENDIF.
    ENDLOOP.
    CALL FUNCTION 'CLOSE_FORM'
    IMPORTING
      RESULT                         =
      RDI_RESULT                     =
    TABLES
      OTFDATA                        =
    EXCEPTIONS
      UNOPENED                       = 1
      BAD_PAGEFORMAT_FOR_PRINT       = 2
      SEND_ERROR                     = 3
      SPOOL_ERROR                    = 4
      CODEPAGE                       = 5
      OTHERS                         = 6
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    thanks,
    raji

Maybe you are looking for