Change the font typeface of text object in form Master Page

Dear all,
        I am creating a Adobe Livecycle form with multi-language support. Simply, there is a header title that is a text object in master page. I want that it can be converted to simplified Chinese from English and change its font typeface to “SimSun” when printing begins. I try the following code on its “Initize” event to do this.
Simply, I configure a print flag(Y/N) in form so that it will convert into simplified Chinese and change the font typeface to ‘SimSun’ when the flag is reset to ‘Y’.
Int langInt = i ;       
If (pFlag  == “Y”) {
           PaymentRequisitionApp.pageSet.Page1.MasterSubform. Text1.value.text.value = l_XML.Record[i].TITLE.toString();
           PaymentRequisitionApp.pageSet.Page1.MasterSubform. Text1.font.typeface ="simsun";
I found that it doesn’t work. There is something else in the form to reset the title to English. So I try to paste the code above in “calculate” event of tex1 object. It’s work!
Question:
1.      Anyone can tell me that the implement order of the events in the form?
2.      Does it exist other better way to do this?
        3.  Which event, function or any else let the master page’s object to be reset?

this link for downloading the sample is valid:
http://rapidshare.com/#!download|935|429748707|TEST2.pdf|84.309

Similar Messages

  • How to change the font size of text and case in smartforms

    hi,
       could any one explain how to change the font size of text in smartforms. ex. previously i had taken P4 left aligned and C6 but now i want to decrease the font without making it bold. pl......... guide me
       secondly the value which are coming from tables are upper case but i need lower case. pl. guide
    thanking u

    check out the smart styles...create a font of ur size n use.
    Define the paragraphs & character formats using SMARTSTYLES & use them in your smartform.
    You have to give the smartstyle name in the Form attributes-->Output options for the formats to be used in your smartform.
    You can define font size in Smartform Style.
    Smartform Styles > Charcterformat> Font --> size.
    to load the font to SAP server chk this
    Re: Adding a new font for SAPscript/SMARTFORM output
    Regards
    Vasu

  • How to change the font size of text element in smartform

    Hi
    i want to know how to change the font size of text element in smartform
    regards
    Gincy

    Hi
    You can create Smartstyles, in which you can define paragraph formats for texts and character formats for character level changes.
    Paragraph format ---> alignment, font size etc
    character format for ---> superscript, subscript.
    After creating, in your smartform, there will be a option in the text element to enter a style.
    You give the created style and you can use the paragraph and character formats i that style.
    Hope this is clear..
    Regards
    Sekar

  • How to change the font size of Text Box  Properties Appearance tab into 2 decimal digit.

    How to change the font size of Text Box  Properties Appearance tab into 2 decimal digit. I am uanble to modify it to 5.38 pt for example. Its only allowing to 1 decimal place.

    Click on each field and the choose Properties from either File menu (or if on Mac hold dow mouse button until context menu appears choose properties)
    go to Font
    choose desired size and type font,you can choose to make this the default.
    Do this with each field.
    Or if you have a lot of fields:
    while one is selected select all of them
    then go to fonts in properties
    change Font and size and make default.

  • How to change the font size of Text box tool ?

    How to change the font size of Text box tool ?
    I am using Acrobat PDF 6.0
    Tools > Advanced Commenting > Text Box Tool
    I need to know how to change the font size. The default font size is too big.
    let me know
    Thanks

    I do not have AA6 available right now (I can check at home this evening). I am also using AA Pro, not Std. In AA7, there is a text box tool that is a commenting tool. When I started typing, a properties toolbar came up that had the font size and such. I haven't figured out how to get the toolbar after the fact. In AA8, I selected the text box tool and then went to view and selected the properties bar (the font size and all showed then), or use Ctrl-E when editing the text. I have not been able to figure out how to edit the text in a text box after you have created it - think it is a mental block right now. Bill

  • Is there a way to change the font of all text in all layers all at the same time in

    I'm wondering if there is a way to change the font of all text in all layers all at the same time in Illustrator CS5.

    From the menu...... Type > Find Font

  • How do you change the font in multiple text boxes?

    I just started using illustrator and I can't figure this one out.  Maybe someone can point me in the right direction.
    I made a bunch of text boxes using the type tool.  Is there a way I can link the boxes and easily change the font?
    Thanks,
    Justin

    You select the text frames holding dow the shift keys then go to Type>Thread text, I would select the text frames in the order you wan them threaded.
    Then once threaded you click the text tool inside of one of the text strings and do a command A to select all the text and then choose any method of changing the font such as Character Panel, Control Panel or Type>Font menu item.
    you can also look into creating Paragraph styles as well.

  • How do you change the font size on text message

    The font on my texting message is really big and how do I change it?

    Try
    Do a reset (Hold Sleep/Wake and Home buttons about 10 secs or more till Apple logo appears)
    If that didn't help, go to Settings > General > Accessibility > Large Text Off.

  • Can't change the font, color, size, text style, or alignment in iMovie 09..

    Hi there
    Just startet editing an mp4 file. I'm trying to do subtitles, and the only suitable option is the "Lower Third' titling option. According to the Help file "Select the title in the Project Browser, and then click Show Fonts in the viewer. The iMovie Font Panel opens." Well, it doesn't. 'Show Fonts' just disappears....am I missing something?
    Thanks in advance.

    I found out that you have to choose font, style & pt. size BEFORE you start typing your title, which is lame. If you type your title, you can't change the font etc. afterwards—you have to delete the title and start again. Very annoying, and, for Apple, a surprising bug.

  • How to change the font size of text element?

    Hi Experts,
    The font size shows in the view is too small, is there any way to make it bigger?
    Thanks for your time!
    Anna

    Hi Anna,
    depending on the UI element there are a range of ways. (and I'm sure people will post plenty of answers to tell you how).
    However, if generically the fonts in you portal/wd applications are too small, you should consider changing your theme so as to have larger texts. Otherwise you will either need to customise all your applications, or you will get quite a lot of inconsistency of presentation between your various WDA applications.
    Do a search on "themes for Web Dynpro ABAP" and you'll find loads of resources.
    Hope this helps,
    Cheers,
    Chris

  • How to change the menu item's title in different language master page?

    I have a menu item in my English master page. I can change the titles of the menu items as I like in English related pages, However when I change the titles in the same pages that is related to different language page master, the changes does not take affect. Please  help. 

    you can use different CSS classes given in http://www.oracle.com/technology/tech/blaf/specs/textStandards.html
    --Prasanna                                                                                                                                                                                                                                                       

  • How to change the font in a text field?

    I am trying to recreate a file like this:
    http://www.teacherspayteachers.com/Product/Thank-You-Cards-for-Volunteers-Freebie-Editable Customizable-696763
    I originally created the file in Powerpoint, saved as a PDF, brought it into Adobe Pro XI for Mac.  I edit it in forms, and add a text form field, which inserts a blue box, with text1 in the middle.  How do I replace that with different font and size, in the above example, she has a different font in a larger size.  When I look at the properties, I am limited up to 8 point font.  I have been at this for hours now, so any help would be greatly appreciated, especially step by step.  Thanks.

    Click on each field and the choose Properties from either File menu (or if on Mac hold dow mouse button until context menu appears choose properties)
    go to Font
    choose desired size and type font,you can choose to make this the default.
    Do this with each field.
    Or if you have a lot of fields:
    while one is selected select all of them
    then go to fonts in properties
    change Font and size and make default.

  • How can i change the font color in TextArea ?

    I want to change the font color in text area or text field
    i'm not using swing (i'm using only AWT)
    so don't show me solutions in swing because it won't help me.
    is it possible anyway?
    thanx

    Hi,
    Have you tried the following ?
    yourTextArea.setBackground(yourColor);with yourColor being a Color object.
    BadLands

  • How do I change the font on this new 27" IMac I have just bought for 2200.00 and can't read as the font is far too small.I have contact lens and but have to strain with face close to the screen to see the words. What a major rip off disappointment ,

    I have spent hours trolling through help lines to change the font from minature text  which I cannot see on my new 27" screen. Why does something so simple have to be so complicated ???this computer is supposed to be the be all to end all..just setting it up with printer , router etc has been a nightmare as the print is so small I need to have my eyes 2 inches from the screen to read anything ..What have they done ?

    Not an ideal solution, but some users change the setting in: System Preferences>Displays, select the Scaled button and choose another resolution.
    If you are within 14 days of purchased you can return the computer for a refund if you dislike it that much as Apple do have a good returns policy (so long as you purchased from Apple and not a reseller).

  • How do you change the font of everything?

    How do you change the font of all text?

    You cannot. Only you can adjust the size the default font.
    You can only have font options in Notes.

Maybe you are looking for

  • Can the Portal Activity Report show unique users per page?

    Hello all I guess this is a rather simple question, but can someone tell me if the portal activity report can show a count of unique users per page per week for instance? Or will it just show which users have visited the page in a list without aggreg

  • When clicking on a link in an Outlook e-mail, Firefox does not open, but Outlook crashes.

    Could this problem be associated with a previous problem I reported involving SEND LINK command crashing Firefox? It seems as if the interface between Outlook and Firefox is not working properly. I ahve not received an answer on my previous problem y

  • Index problem during the creation of a new partition

    We have a range partitioned table, with a local spatial index on each partition. While trying to use the alter table command to add a new partition we get the following errors. ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine ORA

  • URGENT ! Is it possible to create a  xml data control description file

    We are encountering serious problem when generating data control against java bean build from java classes generated with xml top link mapping. As workaround we have created a new xml schema that generate the java classes in a way data control may be

  • TimesTen and Memcached

    Hi, Memcached (http://www.danga.com/memcached/) is a product being used by highly transactional websites to cache data structures in memory. I beleive it is similar to what TimesTen does. I was trying to find comparison between TimesTen and Memcached