How can i input Arabic text in my web application using unicode

hello
i am working on struts project i m working on internationalization api now as far as label and messages are concern are properly displayed through resource file s but i want to input the text throught text field in Arabic also now can any one telll me how can i achieve this i will be thankful if some one helps me .
thanks
Farrukh

gimbal2 wrote:
sabre150 wrote:
AccadSoft wrote:
please guys I need an answer.To get answers about using iText I use "iText In Action, 2nd edition" by the prime author of iText - Bruno Lowagie.Classic way to make money - make the API free and sell the documentation. Also an honorable way to make money IMO.I was using iText before 2004 when the first edition of the book came out ( 4 years or so after the library was first introduced) and it was hard work. PDF is a very complex document format and just using the Javadoc does not really get you anywhere. There are many 'gotchas' in iText and most of the iText tutorials cover only the very basics and pretty much none of the 'gochas'. The book starts off with very simple examples that could be constructed from the Javadoc but then it does move on to the more complex issues. Worth every penny.

Similar Messages

  • Arabic text in my web application using iText..

    Hey Guys,
    I'm using the iText library to produce PDF reports in my web application; platform (ADF 11g and Weblogic 10g). I'm having a problem with rendering arabic text on the page, is there a way to print arabic text outside of a PdfPTable ?? I need to print a simple text like the title of the report , the subtitle and so on... please guys I need an answer...
    Thanks in advance.
    AccadSoft

    gimbal2 wrote:
    sabre150 wrote:
    AccadSoft wrote:
    please guys I need an answer.To get answers about using iText I use "iText In Action, 2nd edition" by the prime author of iText - Bruno Lowagie.Classic way to make money - make the API free and sell the documentation. Also an honorable way to make money IMO.I was using iText before 2004 when the first edition of the book came out ( 4 years or so after the library was first introduced) and it was hard work. PDF is a very complex document format and just using the Javadoc does not really get you anywhere. There are many 'gotchas' in iText and most of the iText tutorials cover only the very basics and pretty much none of the 'gochas'. The book starts off with very simple examples that could be constructed from the Javadoc but then it does move on to the more complex issues. Worth every penny.

  • How to append paragraph in text file of TextEdit application using applescript

    how to append paragraph in text file of TextEdit application using applescript and how do i save as different location.

    christian erlinger wrote:
    When you want to print out an escape character in java (java is doing the work in client_text_io ), you'd need to escape it.
    client_text_io.put_line(out_file, replace('your_path', '\','\\'));cheersI tried replacing \ with double slash but it just printed double slash in the bat file. again the path was broken into two lines.
    file output
    chdir C:\\DOCUME~1\
    195969\\LOCALS~1\\Temp\
    Edited by: rivas on Mar 21, 2011 6:03 AM

  • How can i get the realpath of my web application in jsf manage bean

    in jsp, i can use application.getRealPath("/")
    but in jsf how can i get the realpath in manage bean and initializean variable.
    thanks

    FacesContext aFacesContext = FacesContext.getCurrentInstance();          
    ServletContext context = (ServletContext)aFacesContext.getExternalContext().getContext();
    String rootpath = context.getRealPath("/");
    i use the code like that ,it can work , but when i click a button in my web page and call a function of java bean to read a file in "rootpath" , only odd number click it do well , even number click it do nothing and navigate to a blank page.
    how can i do that ,.
    my english is too pool ,sorry.

  • How do I know/how can I control which video card a particular application uses?

    Hey there--
    Simple question: I have the ATI Radeon HD 2600 256 MB and the NVIDIA Quadro FX 5600 1536 MB installed via PCIe ports on an early 2008 Mac Pro. I've decided for a multitude of reasons that I'd like my displays to be plugged into the HD 2600, but I want certain applications-- Final Cut, games, etc-- to use the FX 5600. How can I be sure that this is happening? Is it possible? Will more intensive applications automatically utilize the proper card?
    Thanks much.

    Yes, it means the 7970 requires 1 x 6 pin and 1 x 8 pin. The Mac Pro supplies 2 x 6 pin, which is 75 Watts each.
    So Mac Pro can supply 75 Watts from PCIe slot and 2 x 75 Watts from 2 x 6 pin for the total of 225 Watts.
    The 7970 requires more than 225 Watts. There are people that run these cards from internal power and say the additional power pulled over the traces on the Mainboard won't damage the board, but I've seen several reports of burned out Mainboards and more commonly the PSU just shuts the Mac Pro down hard for safety reasons. Remember: the 2 x 6 pin ports power runs over traces(!) on the board, not over cables. If you over tax them this is a lot more dangerous as with cables.
    It's up to everyone to decide for themself if they want to risk running cards above the power provided by the Mac Pro.
    The safe way is always to go for 2 x SATA to 1 x 6 pin adapter and 2 x 6 pin to 1 x 8 pin adapters and provide the power for 7970 / R9 280x or GTX 780 in the Mac Pro like that. Or get an external / additional PSU for power hungry GPUs. That works, too.
    But you will obviously lose 2 x SATA ports. I run eSATA with RAID5 anyway, since RAID5 in the Mac Pro is too much of a hassle.
    Of course all that matters if it works in the end. But official power specifications are a matter you shouldn't take too lightly.

  • How can I display Arabic text in browser

    I have MessagesBundle_ar_AE.properties file created containing key,equivalent Arabic value text. When I try to get this key value by using Bundle object.. MissingResourceException is occuring. It says can't find resource for bundle,PropertyResourceBundle for specified key, eventhough the exists in the .properties file...
    please help..

    Be sure that .property files are in the classpath.
    http://forum.java.sun.com/thread.jsp?forum=16&thread=383005

  • How can i input some text in bold and other in normal font in h:messages

    Hi
    I have a message which comes from properties file.I need half of the text in bold and the other half in normal font.

    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Test extends JFrame {
        public Test() {
         setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         Container content = getContentPane();
         JEditorPane jep = new JEditorPane("text/html",
                  "Joe: <font color=red>R u <b>There</b>?</Font><BR>"+
                  "Mary: <font color=green>Keep ur shorts on...</Font>");
         content.add(new JScrollPane(jep), BorderLayout.CENTER);
         setSize(200,200);
         show();
        public static void main(String[] args) { new Test(); }
    }

  • How can i make only text slider? Not picture use

    Hi!
    I want to text slider. 1 group 3 items has 5 text group changing fade effects?
    Thank you?

    This should do it ...
    1. Under widgets ... place a Blank Composition widget onto your Muse page
    2. Create a normal text box (however big you want) and fill that with the required text you want shown for your 1st slide
    3. Select the 1st (small thumbnail) box underneath the slideshow ... there's 3 shown by default
    4. Click and drag the text box, you created, onto the Blank Composition widget ... you will notice the widget box will give a BLUE outline ... this is showing you that you are adding the text box to the Blank Composition widget ...
    5. Center or place your text box accordingly ... change your Font, colours, formatting, etc to the way you want it
    6. Repeat this for however many text slides you need ... but select a different thumbnail box for each slide ... to add more than the 3 boxes shown just click the little '+' sign next to the thumnail boxes
    7. Under the properties panel for the Blank Composition (you know that small Blue circle and white arrow icon?) select Fading under Transistions
    8. Preview and edit your slide show accordingly
    That should be it ... you can add most things in the compositon widgets ... I actually use the TEXT option to show testimonials ...
    cheers,
    GemBro

  • How can I count only text fields that have been used?

    Hi,
    I'm using Livecycle Designer for a dynamic form.  I have a section of the form that contains field for the user to enter goals and then rate the goal.  I'd like to count only the text fields with entries and then have the total number of rates divided by the number of text field entries.
    Row 1 , column 1 -- Goal is to pick up 5 apples.   Row 1, column 2 - the rate given is 5
    Row 2, column 1 - Goal is to pick up 5 pears.  Row 1, column 2 - the rate given is 5
    Two goals for a total rating of 10     ---  10 divided by 2 = 5
    Is it possible to count only those fields that are populated?
    Also, is it possible to create an error message if the user entered 5 goals but only rated 4 of them?

    You could do a simple check for null and increase a counting variable if there's a value in the field. Here's a sample:
    var goalCount = 0;
    if (field1.rawValue != null){
         goalCount = goalCount + 1;
    if (field2.rawValue != null){
         goalCount = goalCount + 1;
    if (field3.rawValue... etc.
    this.rawValue = totalPoints/goalCount;
    where totalPoints is a sum of the values in the goal fields. This script is javascript and should be placed in the calculate event of the field showing your average score.

  • How can I retrieve the scroll bar in Home applications using OS 10.6.8?  I don't have a general section after clicking on System Preferences.  Thanks.

    I have deleted the scroll bar twice in 4 years and I still don't know how to set it back.  Please help.

    hi Samberl
    thanks a lot for the fast reply.
    I was dragging folders from main folders on the laptop-desktop  onto the external drive icon - to copy them across....
    Your suggestion sounds very promising -  I didn't know about 'cloning'.
    Yes the idea is to backup the laptop -    I thought I would just move it all now, new - and then keep saving/dragging physically   across to the new drive myself each day or two...
    Would this be the sizeof the internal hard drive = c.500 gb  ?   =   under the HD icon on desktop is written  : 
    " 499.76gb , 311.5 gb free  " 
    I can erase and start agin on the new external drive - so this plan is to make two partititions, rather than the one at present, and make one of them 500 gb ?
    I have found CCC [carbon copy cloner] googling - looks good.
    When CCC site says it backs up  the hard drive - would this  mean all my files  [over 100 gb] that are mostly  in folders on the desktop, plus the others in itunes, iphotos etc found in the HD icon,  would all copy across successfully [wherever they are in the computer ]  ?
    thanks again, hope you can clarify these things and then I will go for it. 
    It would be great and amazing if this 'lack of permission' message doesn't show up in the process of doing this ccc transfer - hopeful!
    Julie

  • How can I load bitmaps/vector graphics in my application using only actionscript 3.0?

    I want to have DisplayObject that will randomly contain bitmaps/vectors from some database. I want to implement this using only code. How?

    use the loader class:
    var loader:Loader=new Loader();
    loader.load(new URLRequest("image1.jpg"));
    addChild(loader);  // or, yourdisplayobject.addChild(loader)

  • How can i change alert text size?

    hello everyone
    how can i change alert text size?
    thanks

    What about using the properties of the alert, there are several settings for the font (also one for the size)

  • How can I create a Text-Input Field in BexAnalyzer for a Planning Function

    Hello,
    i want to create a pre calculation(contribution accounting) for Materials in BI-Integrated Planning. These Materials aren't in the master data. So I create a new Info Object for pre calculated materials with only a material-number as key and a text-description.
    Now I want to write a Exit-Function, which creates new materials in these Info Object. The user should start this function in a planning application in BexAnalyzer. There the user should have the possibility to enter a text-description for the new material. How can I create such a Text-Field in BexAnalyzer and how can I read this text filed in a planning function (exit).
    Thanks in advance

    Hi Jürgen,
    you can create a parameter for this in the exit function and a variable for the parameter. In BEx Analyzer then create a button for the planning function; in the button parameterization use VAR_NAME = , i.e. use an Excel formula here to get the value from an Excel input field.
    The command range should be some 'hidden area' in your Excel sheet.
    But may be you don't need this. Use a characteristic without master data. Then ensure that that the query uses the option 'key' as display. In new lines you can then enter the key, the system creates a SID on the fly (but the text table will not be updated). In this scenario you may take text also from the key. May be you can update the text table (online or in batch) by simply using function modules from function group RSNDI_MD (not released by SAP).
    But observere that the system in BI Planning reads only the active version, i.e. if you change something on the fly the changes may not be visible.
    Regards,
    Gregor

  • How can I program the text fields in my email forum to have rounded corners

    How can I program the text fields in my email forum to have rounded off edges or corners. 
    this is the code im using.
    // insert code here// insert code here// prepare email field
    var email = sym.$("email")
    email.html("Enter your Email: ");
    inputEmail = $('<input />').attr({'type':'text', 'value':'', 'id':'email'});
    inputEmail .css ('font-size', 14);
    inputEmail .css ('width', 350);
    inputEmail .css ('background-color', '#4e4e4e');
    inputEmail .appendTo(email);
    // prepare topic field
    var topic = sym.$("topic");
    topic.html("Topic: ");
    inputTopic = $('<input />').attr({'type':'text', 'value':'', 'id':'topic'});
    inputTopic .css ('font-size', 14);
    inputTopic .css ('width', 350);
    inputTopic .css ('background-color', '#4e4e4e');
    inputTopic .appendTo(topic);
    // prepare message field
    var message = sym.$("message");
    message.html("Message: ");
    inputMessage = $('<textarea />').attr({'type':'textarea','rows':'10', 'cols': '25','value':'', 'id':'message'});
    inputMessage .css ('font-family',"Arial,Helvtica,sans-serif");
    inputMessage .css ('color',"#ffffff");
    inputMessage .css ('font-size', 14);
    inputMessage .css ('background-color', '#4e4e4e');
    inputMessage .css ('box-shadow', '#4e4e4e');
    inputMessage .css ('width', 350);
    inputMessage .css ('height', 150);
    inputMessage .appendTo(message);
    var submitBtn = sym.$("btn");
    submitBtn.html("Submit");
    submitBtn.css("text-align", "center");
    submitBtn.css("font-size",14);
    submitBtn.css("font-weight","bold");
    submitBtn.css("color","#ffffff");

    Try this: inputEmail.css ('border-radius', '25px');
    attachment
    more details

  • How can I write Arabic font in flash?

    How can I write Arabic font in flash?
    I have a project and I need to write dynamic text (Arabic).

    hi frankie*,
    Please try this, there are some difference with your code: 
    http://actionscriptexamples.com/2008/11/24/embedding-fonts-in-flash-cs4-using-actionscript / 
    // ActionScript 3.0
    [Embed(source="assets/ARIAL.TTF", fontFamily="ArialEmbedded")]
    var ArialEmbedded:Class;
    var arialEmbeddedFont:Font = new ArialEmbedded();  
    var textFormat:TextFormat = new TextFormat();
    textFormat.color = 0xFF0000;
    textFormat.font = arialEmbeddedFont.fontName;
    textFormat.size = 32; 
    var textField:TextField = new TextField();
    textField.autoSize = TextFieldAutoSize.LEFT;
    textField.wordWrap = true;
    textField.defaultTextFormat = textFormat;
    textField.embedFonts = true;
    textField.text = "The quick brown fox jumps over the lazy dog.";
    textField.width = 500;
    textField.x = 25;
    textField.y = 25;
    addChild(textField);
    Hope it helps.

Maybe you are looking for

  • Horizontal scroll bar in 1024x768 resolution

    I working in a older type HP notebook. ( Windows XP 32bit) This notebook max screen resolution is 1024x768 A few days ago i update my Firefox.In the new version the websites wider than my screen and Firefox show the horizontal scroll bar, which is ve

  • Shared photo stream quality issue

    Shared photo stream FAQ states that: "Shared Photo Streams supports JPEG, TIFF, PNG, and most RAW photo formats. On your Mac or PC, your photos are downloaded and stored in full resolution. On your iPhone, iPad, iPod touch, and Apple TV, your Photo S

  • Scroll bar remains up

    hi all i have developed a lan messenger to be installed in an organization. it works fine except for the fact that when u start chating and the display area gets full the scroll bar remains up and u have to pull it down every time u want to see the n

  • ODI variables not recognized in filename

    Hi, Do you know how to force ODI to recognize the varieble in the filename ? The file name is : 123#VARIABLE456.xsv and the variable #VARIABLE is not recognized by ODI 11g If I put the variable at the end of the filename ( eg 123456#VARIABLE.csv ), v

  • Canon 7D Body Only on Backorder

    The body only Canon 7D has been on backorder for some time.   Is there any predication as to when it will be available?