Document - how to use it?

I have never used a document, but I believe it can be used for what I want.
I have some HTML code that I need to run, can I put this code in a document? for example if my HTML code was:
<html>Click Here</html> ...could I put that in a document and it show up as a link aying Click Here?
if so, can you help me out, i have never used a document before.
thanks.

Read the JEditorPane API. It provides an example on how to use the JEditorPane with Hyperlinks.

Similar Messages

  • Can somebody post link to How to Use ABAP-Mapping in XI 3.0?

    Hello,
    can somebody post a real link to the document How to Use ABAP-Mapping in XI 3.0. All the links to this documnet in the existing posts are not valid.
    Thanks for your information
    Jayson

    Hi
    Following weblog might help you.
    Testing ABAP Mapping - Testing ABAP Mapping
    XML DOM Processing in ABAP part I -  Convert an ABAP table into XML file using SAP DOM Approach.
    /people/r.eijpe/blog/2006/02/19/xml-dom-processing-in-abap-part-iiia150-xml-dom-within-sap-xi-abap-mapping
    SDN TV demo to create and test ABAP mapiing - https://media.sdn.sap.com/SDNTV/main.asp?mediaId=128
    How to guide for ABAP mapping.
    https://websmp106.sap-ag.de/~form/sapnet?_SHORTKEY=01200252310000071155&
    Also check these links,
    http://help.sap.com/saphelp_nw04/helpdata/en/ba/e18b1a0fc14f1faf884ae50cece51b/content.htm
    Testing ABAP Mapping
    Using ABAP XSLT Extensions for XI Mapping
    Thanks
    Gaurav
    Edited by: Gaurav Bhargava on Oct 9, 2008 6:27 AM

  • How To use a wireless in Satellite L305-S5968

    I just recently purchased a Toshiba Satellite L305-S5968 and I've never used or been able to set up a wireless PC.
    How exactly can I use this PC to be wireless so I can login for free at the local library.
    My wireless network card is this one: Realtek RTL8187B Wireless 802.11g 54Mbps USB 2.0 Network Adapter.
    I have the LAN working just fine but I'm afraid that the library does not have LAN plugins there.
    What all do I need and what do I need to do to make this work.
    I need step by step instructions on this please do not post vague answers.
    I'm not a PC idiot, but I have never set this up before so this is new for me.
    EDIT: Sorry I realize this may help...
    I'm running Windows XP SP2 on here I believe.
    I have my own disk i installed it with. I'll also be installing the wireless driver becasue apparently its missing as well.
    Thanks

    Hi,
    Im a little bit confused about your posting. What you want to know exactly?
    I mean you can WLAN instead of LAN without problems. Its the same just without cable. You have only to check the TCP/IP settings on your computer that is also depending on the router and type in the right password from the router Thats all!
    Furthermore I have founded an interesting document:
    [How to use a Wireless LAN Access Area for easy connection with Toshiba ConfigFree?|http://aps2.toshiba-tro.de/kb0/HTD9202JI0000R01.htm]

  • How to use knowledge base keywords"?

    I have found links to the the knowledge base document "how to use knowledge base keywords" online but all the links lead to a dead end. The document number is 75178, and explains the use of prefixes in the knowledge base keyword search. Has anyone any info on where this page is or if it still exists?
    Thanks
    Nadya

    Apparently, the document's no longer available.

  • How to use DTW

    hi experts,
    can any body help me by giving any PDF or Elearning document , how to use DTw for importing data ? how to use templates ?
    can i get any document for how to use it ?

    Hi
    To find out more about DTW, please go to the following link:
    http://service.sap.com/smb/sbo/documentation
    Select SAP Business One Add-Ons 2007 > Data Transfer Workbench
    There is plenty of documentation here, and a very useful eLearning session called " Data Transfer Workbench - DTW Part 1 and Part 2"
    Regards,
    Vijay Kumar
    SAP Business One Forums Team

  • How to Use document.Lines.SetCurrentLine

    Hi there, due to an enormous amount of time spent on this issue, I thought I would share how to use the SetCurrentLine method as posted to me by SAP support:
    It seems very cumbersome, as I have now to do an extra Recorset look up to get all the lines if I want to get the correct index - but at least it works (hopefully).
    Daniel
    SUPPORTS MESSAGE ****
    the way the SetCurrentLine works is as following:
    You do not have to use neither the LineNum nor the VisOrder as your
    parameterfor the setCurrentLine method.
    The system will use the corresponding index (starting at zero)linked to
    that line when running a query on the database and sorting the lines by
    LineNum.
    #,,DocEntry,, Item ,,LineNum,,Price,,VisOrder
    1,,11669,, A1001,,,, 600,00,,
    2,,11669,, A1003,,2,, 3,00,, 2
    3,,11669,, A1005,,3,, 600,00,,1
    See example above, that is the result of querying the database on that
    sales order and sorting by LineNum.
    The order in which the items are displayed in the application is based
    on the VisOrder. In this example items are displayed A1001, A1005 amd
    A1003.
    In order to update Item A1005 I will need to create a recordset, query
    the database and then loop the recordset to find the corresponding item
    and then use that index from the recordset to set the value for the
    SetCurrentLine method. In the example above index 0 from recordset
    points at item A1001, index 1 points at item A1003 and index 2 points at
    A1005 so your code should use setCurrentLine(2) to update item A1005.
    If you try to use LineNum (3 in this case) you will get an error message
    as index 3 does not exist in the recordset collection ( only 3 items
    with indexes 0,1 and 2). If you use visOrder 1(for item A1005) then the
    system will update item A1003 as 1 is the index for A1003 in the
    recordset.
    END OF SUPPORTS MESSAGE ********

    Hi Curtis,
    Your situation sounds a little different to mine, in that I know the LinNum of the documentline that I need to update - that is what the lineNumber variable is...
    To update all the rows, I guess you would just iterate through all the lines sequencially (ie starting at 0 and ending at document.lines.count:
    for(int i = 0; i < doc.Lines.Count; i++)
        doc.Lines.SetCurrentLine(i);
        // do your thing here...
    How do you know what lines you want to update??
    Dan

  • How to use xsl document() function with LiveCycle XSLT processor

    Hello,
    I would like to use LiveCycle XSLT processor to merge xml documents by using the xsl document() function.
    However, I have not, yet, found  clear reference information on the specifics of how to accomplish in LC. For instance if you have
    a transformation that does merging using a standalone xml editor (such as Oxygen), than what is required to accomplish the same
    using the LiveCycle XSLT service.  How do you specify the URI of the XML document that is specified as an input in the xsl document() function. Your insight is appreciated.   Regards

    Hello Steve,
    I checked the reference that you cited (XSLT Transformation).   The reference omits discussing how to use xlst document() function within a stylesheet.  I think that probably means that feature of xslt technology is not directly available through LiveCycle.  When I find a workaround, I'll post an update...for the user community that might encounter the same issue.  Thank you for your response and insight.  Regards, jb1809

  • Does anyone know how to use pages so you can export pdfs from the internet and automatically drag words from the document into the file name of the pdf (i.e., author, title of a scientific paper)

    Does anyone know how to use pages so you can export pdfs from the internet and automatically drag words from the document into the file name of the pdf (i.e., author, title of a scientific paper). For example, if I am downloading a paper by smith called "Surgery" that was published in 2002, it will automatically set the file name in the download to smith- surgery 2002. I have heard pages is smart enough to do this.
    thank you

    Pages can export only its own documents. They may be exported as PDF, MS Word, RTF or Text files.
    Pages can import (ie. Open a file as, or Insert a file into, a Pages document) documents in several formats, but won't rename the document as you describe. Documents that can be Opened (eg. Text, AppleWorks 6 WP, MS Word files) are converted to Pages documents, and retain their original names, with .pages replacing the original file extension. Files that can be Inserted (generally .jpg, .pdf and other image files) become part of the existing Pages file and lose their names.
    It may be possible, using AppleScript, to extract the text you want and to Save a Pages file using that text as the filename, but that would depend in part on being able to identify which text is wanted and which is not.
    How will the script determine where the author's name begins and where it ends?
    How will the script recognize the beginning and of the title, an decide how much of the title to use in the filename?
    How will the script recognize the year of publication?
    For papers published in a specific journal, with a strict format for placing each of these pieces on information, or containing the needed information as searchable meta data in the file, this might be possible. But it would require knowledge of the structure of these files, and would probably handle only papers published in a specific journal or set of journals.
    Outside my field of knowledge, but there are some talented scripters around here who might want to take a closer look.
    Best of luck.
    Regards,
    Barry

  • How to use Cross Company Code document  number as Reffrence.

    Hi
    Actually user wants to post the same debit credit line items with Editing the amounts which he has posted last month
    So i suggested him to use post refference of the previous month document number.
    Since that is Cross company document number. There is no source to give  in T.Code FBR2. There is a fecility to give only document number of a company code not cross company code.
    Assume that there are 3 company's involved in that document.
    company  X --- 25 line items
    company  Y -- 75 line items
    Company  Z -- 100 line items
    Since he given in header data X Co code it has generated the Cross company code document number 1000X 08 ( which means 1000 is doc.number X is company code 08 is year. This is sap standard cross company code doc number format)
    and individual document number is
    X - 1000
    Y-  2000
    Y-  3000
    If he post with the reffrence of X company only 25 lines will come remaining 175 line he as to post manually.
    If he take Y Doc number  only 75 lines will come
    If he take Z Doc number  only 100 lines will come
    To bring all lines there is no provision to give Cross company Doc number.
    Please advice how to use cross company doc number as refference.
    Tks
    Shivaji

    Hi guru
    This is answered
    Thanks
    shivaji

  • How to use Add Shipments functionality in Shipment document creation

    Dear All,
    We wanted to use the Add Shipments functionality in the Shipment document creation / change.
    We have two different shipment types.
    I want to add shipments of one shipment type in to Shipment document of anohter shipment type.
    I am not able to do it now as system is saying in the selection log that the shipment types are not same.
    Please let me know what are the pre requisite configurations to enable us to add shipments in to another shipment.
    Please let me tknow he standard functionality of "Add Shipments option" and how to use it to add shipments in a Shipment
    Regards
    Venkat

    Hi Venkat,
    The option "find shipments" is provided to select the shipments to reassign or deassign the deiveries etc in VT01n or VT02n
    transaction planning screen. Basically you can play around to assign and reassign the deliveries to different shipments
    This option is not creating the shipment within shipment. It is just selection of shipments for planning purposes
    Hope this helps.
    Regards,
    Ramana

  • (Urgent)help: how to use sdk add a gif image into a pdf document

    I had use sdk plus-in add a new button of mine,if I click the button,a gif image will be inserted into the current page of pdf document
    My questions:
    one : When I clicked the button,there was a warnning box said:the image has not enough data.I don't known why?
    two : How can I be sure the position of the image which I inserted? and how to change it's position?
    three:  how to use sdk get the content of the document?

    hi Leonard:
    I do it like you said, but
    Why my image can not display in the pdf.
    code is:
    //====================================================================
    const ASInt32 theImageByteSize = IMG_WIDTH * IMG_HEIGHT;
    char* buff = new char[theImageByteSize];
    PDEImage volatile pdeImage = NULL;
    PDEImageAttrs pdeImageAttrs;
    PDEColorSpace pdeColorSpace;
    ASFixedMatrix imageMatrix;
    memset(&pdeImageAttrs, 0, sizeof(PDEImageAttrs));
    int hdl = _open(ImagePath, _O_RDONLY | _O_BINARY, _S_IWRITE | _S_IREAD);
    if (hdl == -1)
         AVAlertNote("[%s] create fail !!!!") ;
    if (_read(hdl, buff, theImageByteSize) == -1)
         AVAlertNote("read image fail!") ;
    pdeImageAttrs.width = IMG_WIDTH;
    pdeImageAttrs.height = IMG_HEIGHT;
    pdeImageAttrs.intent = ASAtomNull;
    pdeImageAttrs.bitsPerComponent = 8;
    pdeImageAttrs.flags = kPDEImageExternal | kPDEImageIsIndexed;
    pdeImageAttrs.decode[0] = fixedZero;
    pdeImageAttrs.decode[1] = fixedOne;
    pdeImageAttrs.decode[2] = fixedZero;
    pdeImageAttrs.decode[3] = fixedOne;
    pdeImageAttrs.decode[4] = fixedZero;
    pdeImageAttrs.decode[5] = fixedOne;
    ASFixedRect theMediaBox;
    PDPageGetMediaBox( AVPageViewGetPage(pageView), &theMediaBox );
    ASFixed theFixedWidth = (theMediaBox.right - theMediaBox.left);
    ASFixed theFixedHeight = (theMediaBox.top - theMediaBox.bottom);
    imageMatrix.a = ASInt16ToFixed(theFixedWidth);
    imageMatrix.d = ASInt16ToFixed(theFixedHeight);
    imageMatrix.b = imageMatrix.c = fixedZero;
    imageMatrix.h = 0;
    imageMatrix.v = 0;
    const Int32 cPaletteColors = 256;
    PDEIndexedColorData theIndexedData;
    theIndexedData.size = sizeof(theIndexedData);
    theIndexedData.baseCs = PDEColorSpaceCreateFromName(ASAtomFromString( "DeviceRGB"));
    theIndexedData.hival = cPaletteColors - 1;
    unsigned char data[3] = {255, 0, 0};
    theIndexedData.lookup = (char *)data;
    theIndexedData.lookupLen = cPaletteColors * 3;
    PDEColorSpaceStruct theColorData;
    theColorData.indexed = &theIndexedData;
    pdeColorSpace = PDEColorSpaceCreate(ASAtomFromString( "Indexed" ), &theColorData );
    pdeImage = PDEImageCreate(&pdeImageAttrs, sizeof(pdeImageAttrs), &imageMatrix,
                                                0, pdeColorSpace, NULL, NULL, NULL, (unsigned char*)buff, theImageByteSize);
    I want die, I had done this for so many days, My GIF doesn't insert into pdf,
    unsigned char data[3] = {255, 0, 0};
    theIndexedData.lookup = (char *)data;  "
    whether the data set wrong?
    I confused what I do next   

  • How to edit a pfd document then save using Preview?

    I received a form in pdf format. I need to fill out some blanks with text and e-mail it back to the sender. I could not figure it out using Preview. Actually I tried the Adobe acrobat reader also and had zero success. Thanks
    Bob

    Daniel Kiechle wrote:
    I know Acrobat Reader 8 won't let you save a filled-in PDF form.
    Then you know wrong. I do this routinely.
    No, you are wrong. I just tried it 2 minutes ago. Neither Adobe Acrobat 7 nor 8.1 will allow you to save a filled-in PDF form. You cannot preview. You cannot print to PDF. All you can do is Print.
    Why do you need to print the filled-in form to a PDF file? You just save it; it's already a PDF file!
    Because saving is disabled in Adobe Reader. Usually, if one is using a fill-in PDF form, it is some important document such as a tax form. It is always a good idea to keep an electronic form of such documents. The free Adobe Reader will not allow you to do this.
    As I stated above, you can fill in and print with Preview, +but you cannot save.+
    No, I can save a filled-in form to PDF using Preview. It is no longer editable, but I have an electronic copy of what I entered. That is impossible using Adobe Reader.
    I really did not want to respond, and from now on I will not,
    Good!
    but if you say that you know Adobe Reader 8 won't let you save a filled-in PDF file, then you are spreading misinformation, and this is a disservice to those people who come here for answers. I save filled in PDF forms all the time; in your opinion, am I routinely doing the impossible?
    Apparently, you must own the full Adobe Acrobat package. That will allow you to do all sorts of things with a PDF.
    I think getting to the bottom of what works and what doesn't in a thread titled "How to edit a pdf document then save using Preview" is hardly doing a disservice. I appreciate your giving me the inclination to try a fill-in form using Preview again. I am quite pleased to learn that PDFView and Preview (in Tiger and Leopard) will allow you to enter data into a filled-in PDF form. Somehow I missed that. Often, it is a good idea to go back and re-try something even if you are sure you know the results. Sometimes things change underneath without your knowledge and sometime your knowledge expands to allow you to accomplish what had before been "impossible."
    You can sigh all you want. But please, check your facts next time. And a bit more civility would be appreciated too. Sometimes people are wrong. That's life. The purpose of this discussion forum is not strictly to respond to questions without further elaboration. I am not here trying to make myself look smart. I am here because sometimes the questions posed are interesting and make me think. I often learn something new while trying to help someone else. That is exactly what happened in this thread. If such elaboration were not allowed, then the only people answering questions would be those who want people to think they are smart or are trying to sell some book. That would truly be a disservice.

  • What does the automatic document feeder tray do?how to use it in hp photosmart 7510

    wht is the automatic document feeder tray for? how to use it?

    The ADF is used to automatically feed a number of pages for scanning, copying or faxing.  Paper is loaded into the ADF with the printed side facing up.  When you then copy (or scan or fax) the pages will be automatically pulled into the scanner mechanism one at a time and then deposited in the output tray. 
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Using 10.6.8, internet pdf documents not opening using Adobe Reader; how is this corrected?

    Using 10.6.8, internet pdf documents not opening using Adobe Reader; how is this corrected?  I've tried changing "sharing and permissions" to "read and write" as suggested on other help sites, but this did not correct the problem.

    I had the same problem---contacted Adobe and their service rep helped me by
    A.   Deleting  Adobe Reader from my iMac's Applications in Finder
    B.   Downloading Google Chrome browser and then
    C.   Downloading the latest Adobe Reader for Mac 10.6.8 in Google Chrome--it works
    Adobe acknowledges problem with the latest Snow Leopard update 10.6.8 and with this work around, I can open PDF's using the Google Chrome Browser.
    Is this the ideal solution---NO.  Safari is my main browser. I now have to use a separate browser for PDF's.
    Am I happy to be able to open PDF's---YES
    You can't believe the time I spent to solve this problem before calling Adobe for help. My Apple Care policy expired a month ago . As I use Photoshop Elements, I was not charged by Adobe for their help on the telephone.

  • How to Append two  word documents into single  using   java

    How to Append two word documents into single using java
    we tried this but it's not append the one word document to other
    source code:public class AppendTwoWordFiles {
         public static void main(String []arg)throws IOException
              FileInputStream fi=null;
              FileOutputStream fo=null;
              try {
                   System.out.println("Enter the source file name u want to append");
                   BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
                   File f1=new File(br.readLine().toString());
                   System.out.println("Enter the Destination file name ");
                   File f2=new File(br.readLine().toString());
                   fi = new FileInputStream(f1);
                   fo = new FileOutputStream(f2,true);
                   byte b[]=new byte[2];
                   while((fi.read(b))!=-1);
              fo.write(b);
    System.out.println("Successfully append the file");
              } catch (FileNotFoundException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              finally{
              fi.close();
              fo.close();
    plz reply me quickly ,,,what can i follow

    Use this code ..
    and give the path of the both file like this.....
    source file ---- C:/workspace/Practice/src/com/moksha/ws/test/practice.text
    destination file ---- C:/workspace/City/src/com/moksha/ws/test/practice1.text
    import java.io.*;
    public class AppendTwoWordFiles {
         public static void main(String[] arg) throws IOException {
              FileInputStream fi = null;
              FileOutputStream fo = null;
              try {
                   System.out.println("Enter the source file name u want to append");
                   BufferedReader br = new BufferedReader(new InputStreamReader(
                             System.in));
                   File f1 = new File(br.readLine().toString());
                   System.out.println("Enter the Destination file name ");
                   File f2 = new File(br.readLine().toString());
                   fi = new FileInputStream(f1);
                   fo = new FileOutputStream(f2, true);
                   byte b[] = new byte[2];
                   int len = 0;
                   while ((len = fi.read(b)) > 0) {
                        fo.write(b, 0, len);
                   System.out.println("Successfully append the file");
              } catch (FileNotFoundException e) {
                   e.printStackTrace();
              } catch (IOException e) {
                   e.printStackTrace();
              } finally {
                   fi.close();
                   fo.close();
    }

Maybe you are looking for

  • Can one get back msoffice2010professionalplus(free)installed last year and lost it as it was taken out for installaion in another laptop

    My granddaughter felt we both could use msoffice2010 professional plus offered free by Microsoft last year.It was for slow connection.I got it installed with key provided and was fully functional. Unfortunately she got it installed in her laptop with

  • Dumb question re iPhone 4 screen

    In the upper right corner to the left of the battery percentage, a picture of a lock appeared with an arrow circling it. It just appeared and I'm wondering I did/locked...?

  • SRM query- Catalog

    Hi experts I would like to know , how we can add the catalog to some user. Where and how we do this additiona in SRM ..? Thanks in advance.

  • Current Location In Yahoo Bookmark

    I was going to use Yahoo from the list of installed Bookmarks in my iPad and when the initial Yahoo screen came up it Apple told me that Yahoo asked to use my current location and I declined. The next screen was from Yahoo and it suggested that I pro

  • SCCM 2012R2 Bits 2.0

    All, Short question. We need to deploy the SCCM (2012R2) agent to 1000+ Windows 2003 servers with BITS 2.0 installed. What is the standard way to deploy BITS 2.5 on those systems. I figured out that 2.5 cannot be pushed with WSUS and since there is n