Sizing OLEFields and Word Document

I am having trouble sizing an Embedded OLEField so that it only takes up the screen real estate that I have available.
I am using the OLEField.LinkTo() method to attach an existing Word document to the OLEField. That document is being displayed, but I have no control over its size.
I have tried setting the Width and Height on the OLEField before and after the LinkTo. I have also tried setting the Width and Height of a Parent GridField, and setting the size policy to Parent, all with no success.
When I call TraceWidget on the OLEField all of my changes appear to be ignored. A TraceWidget on the ParentGridField seems to contain the correctly set Width and Height values, but there is no physical change to the window.
I am looking for one solution that will work in both Forte 2.0.F.4 and Forte 3.0.G.2, and if there isn't a common solution then one for each.
Thanks.

Hi srikant,
You can also display word documents and pdf by uploading it in the server.
For this you'll have to create  aliases in the server for the corressponding documents that you want to uploaad.
Go to visual admin ->services->httpprovider.
Then click the tab 'aliases'. Here you can give the name of your alias and also the document to which the alias should point(first upload the document to the server machine and then give the path here ) .
Now when you type http://server:port/aliasname your document will open in the browser. You can display it either through your iFrame or linktourl as you prefer.
Hope my effort will help you.
Regards,
Rahul.

Similar Messages

  • Storing PDF and Word document in oracle database

    any idea, how to store PDF and word document using oracle database.
    thanks

    The common approach is store as BLOB in database, use DBMS_LOB package to handle the loading and reading, sample script source asktom
    Also check this thread in Asktom
    SQL> create table demo
      2  ( id        INT PRIMARY KEY,
      3    theBlob   blob,
      4    dummy_col VARCHAR2(1)
      5  )
      6  /
    Table created.
    SQL> -- --------------------------------------------------------------
    SQL> -- Load a PDF file into a BLOB field and compress the BLOB.
    SQL> -- --------------------------------------------------------------
    SQL> declare
      2      l_blob    blob;
      3      l_bfile   bfile;
      4 
      5  begin
      6      insert into demo (id, theBLOB) values ( 1, empty_blob() )
      7      returning theBlob into l_blob;
      8 
      9      l_bfile := bfilename( 'BLOB_DIR', 'Test.PDF' );
    10      dbms_lob.fileopen( l_bfile );
    11 
    12      dbms_lob.loadfromfile( l_blob,
    13                             l_bfile,
    14                             dbms_lob.getlength( l_bfile ) );
    15 
    16      UPDATE demo
    17      SET    theBlob = utl_compress.lz_compress(l_blob, 6)
    18      WHERE  id = 1;
    19  -- If you don't want compress the LOB just update directly
    20      dbms_lob.fileclose( l_bfile );
    21      COMMIT;
    22  end;
    23  /
    PL/SQL procedure successfully completed

  • Hyperlinks in e-mails and word documents no longer open a window

    My Firefox was recently was upgraded (not my choice - you just did it) and now when I click on hyperlinks in e-mails (I use Entourage) and word documents the screen acts like it's getting ready to take me to a new window in Firefox but then nothing happens. I want this functionality restored, especially since many links do not spell out the web site.

    Why would I reply to my own posting??!!

  • How do I transfer powerpoint and word documents to my ipad with the new itunes?

    how do I transfer powerpoint and word documents to my ipad with the new itunes?

    Have a look at the following:
    http://itunes.apple.com/sg/app/quickoffice-pro-hd-edit-office/id376212724?mt=8&l s=1
    http://itunes.apple.com/sg/app/office2-hd/id364361728?mt=8&ls=1
    http://itunes.apple.com/sg/app/documents-to-go-premium-office/id317107309?mt=8&l s=1
    http://itunes.apple.com/sg/app/polaris-office/id513188658?mt=8&ls=1

  • Urgent Help Regarding PDF and Word Document Downloading

    Many Thanks Shaik for you humble help. Actually now what I did in the past 3 days,
    I used Oracle Intermedia to store my PDF and Word Documents in the database using Oracle SQL Loader. Then I used PL/SQL Server Pages and Oracle Web Toolkit for the downloading of my documents.
    Now the problem is I saved all my formatted documents in the databse and for retrieval I am using following code in my stored procedure
    * Select BLOB Data
    select blob_data into myblob from mytable where blob_name = name;
    Setup headers which describes the content
    owa_util.mime_header('text/html', FALSE);
    htp.p('Content-Length: ' || dbms_lob.get_length(myblob));
    owa_util.http_header_close;
    Initiate Direct BLOB download
    wpg_docload.download_file(myblob);
    end;
    The structure of the mytable table:
    create table mytable
    doc_id varchar2(128),
    doc_name varchar2(128),
    blob_data blob
    But when it prompt the client to download the file actually it gives the junk file name like 'B104ea56' (which i understand is the address of the blob address). What I want is to show the "SAVE AS" download box with the proper document name which is stored in my field in the following way
    1 SALES.PDF
    2 PLANNING.PDF
    3 MANUAL.DOC
    4 STANDARD.TXT
    If I set the MIME type for the file format than it automatically starts download the file to the client browser, that I do not want, It should ask the user to download with the proper document name.
    Waiting consiously for your help
    Regards

    Presumedly you'd like those documents being accessiable by users as well, so they should be put on a web server, ftp or nfs sharing. You can just add the urls to those documents, or the directory they are in, into robot system as starting points and let robot run to collect them.

  • What can i do my computer freezes when i use safari and word document?

    My computer freezes when I am using Safari and word document. Can some help me??

    The same thing just happened to my new ipod today while i was trying to use an app. A lot of people say that it is caused by an ios update, but I let the battery on my ipod drain until it turned off.  Once i charged it, it turned on and is working normally again

  • What is the best app for powerpoint and word documents

    What is the best app or apps for doing powerpoints and word documents. Dont mind how much I have to pay once they work well

    Documents To Go Premium and QuickOffice HD both support Powerpoint and Word (and Excel) in the one app

  • Displaying PDF and Word Document

    Hi,
    I have used the methods to display HTML :
    1. Link to Action and the IFrame -> The Result was the html file I was able to display in the same window.
    2. Link to URL -> The Result was html file opened in different window.
    3.IFrame and attaching the file in project -> it was resulted in html file getting dispalyed in IFrame.
    Now if I want to extend the functionality for PDF or word document, is the procedure same or different
    Can anyone enlighten me on this
    Any thoughts on this.
    Thanks in Advance
    Srikant

    Hi srikant,
    You can also display word documents and pdf by uploading it in the server.
    For this you'll have to create  aliases in the server for the corressponding documents that you want to uploaad.
    Go to visual admin ->services->httpprovider.
    Then click the tab 'aliases'. Here you can give the name of your alias and also the document to which the alias should point(first upload the document to the server machine and then give the path here ) .
    Now when you type http://server:port/aliasname your document will open in the browser. You can display it either through your iFrame or linktourl as you prefer.
    Hope my effort will help you.
    Regards,
    Rahul.

  • Hot to display PDF and Word documents as an attachment in OBIEE Reports

    Hi,
    From few of Oracle threads I learnt that we can store the files in a server locaiton and read it thro a URL. What I am trying to do is, PDF or Word document will be stored in database as BLOB fields. This BLOB field needs to be come as an attachment in OBIEE Reports and by clicking that icon, it uses the local applicaiton PDF reader or a word applicaiton and open the attachment, just like how we open an attachment from a E-mail. Can you please help me with the possible methods of that. I can provide you more information incase if you need.
    Thanks
    Augesthi

    As long as you used the paper-clip Attach icon, that should be fine.
    The entire document appears to you because your Mac recognizes the document type, and displays it for you, saving you from having to mouse around and find a Reader for it. You can still use the Save icon to save a copy of only the attachment.
    To avoid problems with other email readers, be sure the checkbox [√] send windows-friendly attachments is checked.
    I addition, some email readers cannot cope with any attachments positioned at any place in the document other than at the very end. So make sure you move the cursor to the absolute end of the document before clicking "Attach".
    If all else fails, send an email that says, "attachment to follow", then send the attachment right away in a separate email, with nothing else in the body of the message. Some use the Subject abbreviation (nt) to indicate "no text", that is, no words typed in the message portion.

  • PDF and Word Documents

    I have a requirement to retrieve either a PDF or a Word document from the database, and eventually display it in my JavaFX 2.2 application.
    I had been looking out for ideas and falling short. Any hints on how this could be implemented would be highly appreciated.
    Thanks.

    Thanks for the response jsmith. Please see my comments inline.
    jsmith wrote:
    Use the associated application installed on the client to display the file:
    http://docs.oracle.com/javase/7/docs/api/java/awt/Desktop.html#open%28java.io.File%29
    As per the requirement I should display the list of documents on the left panel. When the user selects a document from the list I should display the word or pdf document inline on the center panel of a border pane. However with no other alternative I have to convince the users to go with the above solution to open with the client installed application.
    >
    If this does not fit your needs, then explain why and provide more context, i.e. how many files, readonly or also editable, must the file be displayed as a JavaFX node, what will the user do with the file, are bitmapped images of the files sufficient, is the database on a server or also running on the JavaFX client . . .These files are to be strictly read-only. An external JSF 2.0 web based application uploads the files(PDF of Word) into the database. My javaFX application user should be able to read the content before accepting or rejecting the document. A bit-map image should be fine too as long as it is readable. Database is on a different server and my FX application communicates it through remote interfaces using EJB 3.1 deployed on glassfish.
    Thanks again.

  • How to point at a word table using forms  Ole and Word Document

    Hello.
    I like to know how to position at a word table and send data from a forms module using ole. I have done something similar before using bookmarks.It's easy and it works. My requirement now is to send data from a forms module to a word document, but this time, the word document will have bookmarks and a word table needs to be filled from data from the database. Just don't know how to get , access, reference the word table from forms.
    I'm still using forms6i in C/S mode.
    Help will be greatly appreciated ...!.
    Best regards, Luis ...!

    Hi Luis,
    The VBA code for updating the cell found at row three, column two of the first table, of the active document is as follows:
       ActiveDocument.Tables(1).Cell(3,2).Select
       Selection.TypeText("Hello, world!")I haven't time to convert it to OLE2, but hopefully it will at least give you an idea.
    Eric Adamson
    Lansing, Michigan

  • How can I transfer pdf and word document files from my computer to iphone 4?

    Hi,
    I have recently purchased an iphone 4,I need to know how to transfer my files from laptop to iphone, i have downloaded iTunes but can not add my iphone, basically I dont know if there is anything else i should do to be able to connect my laptop to iphone so that i can easily transfer files.
    Also,does any body know what application i can open my word documents with?
    and how easy it is to search through the file for a specific topic if its for example 1000 pages? how about in pdf files? how can i find a topic i need as fast as possible, say in an open book exam condition?!!
    thanks

    Try using the App PDF Reader Lite, I downloaded from the iTunes App store, it is free and works. Not only for PDF but Doc, page, etc.
    I Am using it and it is working oK

  • OS X Lion and Word Documents

    I am thinking about upgrading to Lion. I now have both Microsoft Office 2004 and i-Works "11. I know that Word 2004 doesn't work in Lion. I have a lot of Word (Doc) documents. If I upgrade to Lion can Pages still open those Word 2004 documents and will Pages still allow me to save a Pages document as a Word formated document as it does now or do I have to upgrade Office to 2011 edition to still do this?

    Pages will be able to open your Word documents but depending on the documents, you may or may not be happy with the results. Pages is Word compatible but it is not a Word clone. I've found that my Word files with tables and floating graphics are the ones most likely to import looking very different from the original. Since you have Pages now, open some of your Word documents and look at the results.
    BTW, there's a free Office clone called LibreOffice that does a pretty darn good job of opening Office documents and saving documents that Word users can open.

  • Dock disappears and Word documents open

    I'm having trouble lately where the dock is disappearing for a moment, and when it comes back a bunch of Word documents open up all over the screen. They pop up all over the place and then settle with different ones open and in the foreground.
    Is there any place I can check to see why the dock is disappearing, or a way to stop my documents from opening up each time this happens?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter the name of the crashed application or process (Dock) in the Filter text field. Select the messages from the time of the last crash, if any. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    Still in the Console window, look under User Diagnostic Reports for crash reports related to the process. The report name starts with the name of the crashed process, and ends with ".crash". Select the most recent report and post the entire contents — again, the text, not a screenshot. In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful.

  • Can I search for pdf and word documents at the same time in finder?

    I often want to search for more than one file type at a time - for instance pdfs and word docs in a directory, or Jpgs, GIFs, PNGs etc.
    Can I do this in the finder in one go (so I can save it as a folder I can then select when I want to)?
    I tried typing OR between the 'tokens' it creates, but then it just searches for OR - so not as intelligent as one would think?!
    Surely there must be a way to do something as simple as this?
    regards
    Rob

    Forget the whole "tokens" business (I think that is a pretty useless "improvement" to constructing Spotlight searches). Hit command-F to bring up the search window, and set your first criteria, in the example I changed it from the default Kind to Created Date, to keep the number of results manageable. Now hold down the Option key and click on the "+" at the end of the criteria line, it will change to "..." and you get a new criteria line. From the dropdown menu choose "Any" if necessary (this will give you the Boolean OR), then enter what you want in the first sub-head. To get a second sub-head OR criteria click the "+" at the end of the Any line.
    I don't generate many MS Word docs, so I just stopped in the example above after typing Microsoft, since that brought up all the MS anything I have from this year (a couple of Power Point thingies sent to me by friends).
    Francine

Maybe you are looking for

  • Lens Profile not available for old photos

    Hi I got busy creating a lens profile for my Canon 550 and EFS 15-85 f/3.5-5.6 IS USM as there was no profile listed for this lens when I took some photos in early July. I now find that the profile is now available  (for the photos taken in the last

  • Scale transform in AffineTransformOp produces row/column of dead pixels

    Hello, On JDK 1.4.1, both Windoze and Linux, the following code: double aScaleFactor = ((double) finalSize) / aSourceSize; AffineTransform aScaleTransform = AffineTransform.getScaleInstance(aScaleFactor, aScaleFactor); AffineTransformOp aScaleOp = ne

  • Error message on dowloading App Manager update

    I'm trying to download the update to CC Application Manager and get an error message that it can't be loaded. I've tried twice. Before I attempt to download any other updates, I want to make sure I've got the manager updated.

  • Enrollment code fail to generate using TinyURL in Afaria7SP4

    Hi, I recently upgraded Afaria version to Afaria7SP04. I have been facing difficulty in generating enrollment code using Tinyurl. In Server->Enrollment Code,when i check Enable Tinyurl Service and click on test connection i get a "Failed" connection

  • Report to Print Barcode

    HI Experts, I would like to know what will be the procedure to PRINT BARCODE through a Report.  Is there any FM or Class for this. I know this can be done by using SMARTFORM/SCRIPT, but would like know if there is any other Method of doing this or wh