Store RTF

Hi,
Can I store RTF files in a data base Oracle?
It is possible creating blob, clob or bfiles?
Thank jou for the answer

Hi,
It is possible to store the BLOB,CLOB and BFILES in the oracle8 or above
To work with this take the help of the DBMS_LOB package
regards,
khaleel

Similar Messages

  • Can I store RTF file with image into CLOB?

    I have created a WORD template document with company logo heading and format. I have to replace the 'user name', 'date' etc. data every time before I insert into my database. Therefore I store the template doc as RTF format.
    1. Can I insert this doc (RTF with image) into CLOB or I have to store it in BLOB?
    2. I want to store in CLOB because I sometimes have to change to content of the doc with replace statement. Actually, can I replace a string in BLOB too?

    I understand RTF is a binary format and so needs to be stored as a BLOB.
    The DBMS_LOB paackage contains procedures like INSTR() and WRITE() that may do what you what. Take them for a test drive.
    Cheers, APC

  • Replication of LONG fields?

    We are trying to use Oracle8i Lite 4.0.0.1.0 together with replicated tables. Our master tables are containing LONG fields, which have to be replicated to the Clients and vice versa. We are using Delphi5 to read/write from/to the Clients. We do not have the know how on using Java stored procedures. The only thing we want is to store RTF (RichText) formatted data together with some other fields from a Delphi5 application to an OLite database and replicate it.
    Since the Release notes say, that there is no way to replicate LONG fields with OLite, we have tried to use LOBs instead. But this is much too complex (especially when using Delphi)! Is there an easier way to achieve this? (The RTF data to be stored is about 2 to 8 kBytes for each record.)
    Thanks
    Michael Peters

    Oracle does not support replication of long raw columns. Migrate long raw to blob and yuoa can replicate it. You you can not migrate long raw then you must write your's private replication mechanism.

  • Working with Long columns

    hello, I have a LONG in a table that stores RTF format, I need to show the RTF into a JTextPane, Can anybody help me with it. thanks for you help!!!!

    Hi George,
    Select the cell with the formula and the cells beneath it that you want to fill with the formula, then go to the Calculate menu and choose Fill Down.
    You can also fill in formulas or values to the right of the original cell using the Fill Right command.
    Keyboard shortcuts for the two commands are command-D and command-R respectively.
    Regards,
    Barry

  • BLOB Substr

    Is there any way to get substr from BLOB column which stores RTF files
    When dbms_lob.substr is used it give hex values
    7B5C727466315C616E73695C616E7369637067313235325C64656666305C6465666C616E67313033337B5C666F6E7474626C7B5C66305C6673776973735C6663686172736574302056657264616E613B7D7B5C
    when i use utl_raw.cast_to_varchar2
    it gives data along with rft tages....?
    {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Verdana;}{\f1\froman\fcharset0 Times New Roman;}{\f2\fswiss\fcharset0 Arial;}{\f3\fnil\fcharset2 Symbol;}}
    {\colortbl ;\red0\green0\blue0;}
    {\stylesheet{ Normal;}{\s1 heading 1;}{\s2 heading 2;}{\s3 heading 3;}
    is there any way to get rid of rtf tags and
    get data only?? apart from ctx_doc package

    I restarted DB and its working fine now iam able to execute insertAfter reading that:
    Just my $0.02, since you're not on 10.2:
    Product (Component)     Oracle Text (Generic/Default)
    Range of versions believed to be affected Versions < 10.2
    Versions confirmed as being affected * 10.1.0.3
    Subject:      Bug 3510694 - ORA-29875 (ORA-1402) raised during concurrent operations on Text indexes
    Take a look at this doc on Metalink/MOS: Doc ID: 3510694.8
    However, Justin has got a sound and solid point anyway:
    CLOB's might be the best LOB to use in your case.

  • Script for exporting all stories to one RTF file

    Hi, I've been searching for this as I know it's been asked before, but I haven't had any luck finding it yet: Wasn't there a script that someone developed which would allow you to export all stories from an InDesign document into a single RTF file? Or is that wishful thinking....
    Thanks, Phyllis

    http://www.kahrel.plus.com/indesign/batch_convert_cs3.html
    Kasyan

  • Where the RTF gets store in BI Publisher

    Hi Experts,
    I have developed somewhere around 100 reports using Oracle reports and BI Publisher, I have created the report using xml publisher administrator responsibility, currently we are on R12.1.3 application.
    My question here is, I want to download all the rtf files together but before downloading want to know, where this rtf file gets stored on server.
    Kindly help me with this question.
    Thanks,
    Atul

    Take a look at this link to see if that answers your question: RTF file location
    Thanks,
    Bipuser

  • Can we do Calculations in RTF Template

    Hi Friends
    Can we do calculations in RTF template with the fields existing in the XML code.
    Say there are 2 fields CF_TAX1 and CF_TAX2, can we do calculations with them to give output in a cell in a table in the RTF template for eg:
    (CF_TAX1)/(1+CF_TAX2)
    What will be the exact syntax of the above to be used in RTF Template.
    Regards
    Ray

    All kind of calculations can be done, you can also use varibale and store the values and print it in differnt cell

  • How to insert hyperlinks in RTF document shown in JEditorPane?

    This is a compound question so bear with me on this one :)
    What I need is to insert an hyperlink in a JEditorPane; Store it as RTF code; Retrieve it; Show it and click on it to go the the destination.
    1) So, first question, is there some method to automatically add the hyperlink and will it be saved in RTF with RTFEditorKit? (I'm actually using AdvancedRTFEditorKit but an answer to either will be enough)
    2) I tried a method that adds what appears as a link but the document that is stored doesn't have the necessary RTF codes, only the formatting that makes it look like a link. I also checked the actual RTF codes I'd need to add and they seem easy to do. So, is there a way to add the actual underlying RTF codes to the document while it's in the JEditorPane?
    I know the question(s) isn't too specific, if you can shed some light over the whole thing and point me in the right direction, it'd be great!

    Just a follow up to my own question. I found a way to answer my question 2) and I'm now storing the rtf code for hyperlinks. Now, when I show the document in JEditorPane with RTFEditorKit, I get the name of the hyperlink with no formatting indicating that it's a hyperlink.
    Example. The link "http://www.google.com" with the name "Google", only shows "Google" in plain text.
    Is it because the components I'm using don't support hyperlinks from RTF files even though they're supported from HTML files?
    Is there any way you can see this working? Is it possible to include something inside the JEditorPane that the user can click, instead of the hyperlink?

  • Best way to convert InDesign stories to text doc?

    Is there a fast, easy way to convert multiple stories in ID to one RTF or Word document?
    I do quarterly publications that are composed of dozens (sometimes hundreds) of individual text frames, tables and graphics. The text comes from numerous sources. Before each new issue, the contributors need their pages from the previous issue in an editable format (MS Word) which they revise and send back to me.
    I've been spending hours copying and pasting each story into a Word Doc for each contributor. This has given me the most accurate results, but it's incredibly tedious and time consuming. And the tables always need to be cleaned up and reformatted in Word.
    I've also tried using the script to export all stories, but then I wind up with a bazillion small files. (Is there a way to combine them into one file?)
    I've also tried saving the PDF as a Word doc or RTF file, but there is too much editing required to make it presentable.
    Any suggestions or tips are greatly appreciated!!

    you can try my Export Import InDesign Texts for ID CS1 and CS2:
    http://www.adobescripts.com/search.php?query=export+indesign+texts&action=results
    let me know if you need it for ID CS3
    robin
    www.adobescripts.com

  • How to find name of report if I know name of instance and location of instance in Output File Store

    Hello all,
    can somebody help me to find name of the report if I know name of report instance and also location of instance in Output File Store. It should be done via Query Builder.
    It is ...rpt file as output from Crystal Reports. I tried few commands in Query Builder but usually they finished with timeout error.
    Could you help me and send specific command? Or way how to change timeout of Query Builder?
    Thanks.
    matus

    Hello all,
    We finally found solution.
    We knew that file is located on path .../Output/a_145/009/002/133521/~ce10c.....9332.rtf
    This file has more than 2 GB. We tried to find which report is related and provide necessary actions.
    As I mentioned we still failed due to timeout error - There was an error retrieving data from the server: CMS operation timed out after 9 minutes.
    So we tried to use our testing environment. We started there QueryBuilder and there we successfully tested that we found details about files from FileStore /like Name of the report in Launch Pad, CUID, ...
    SELECT SI_NAME, SI_CUID, SI_FILES FROM CI_INFOOBJECTS WHERE SI_FILES.SI_PATH = 'frs://Input/a_148/020/000/5268/'
    or
    SELECT * FROM CI_INFOOBJECTS WHERE SI_FILES.SI_PATH = 'frs://Input/ a_148/020/000/5268/'
    Best regards,
    matus

  • RTF Template: sums with nested groups

    Hi all,
    i've got quite a pickle of a problem it seems ...
    my data structure looks something like this:
    <COMPANY>
    --<STORE>
    ----<DEPARTMENT>
    ------<ITEM></ITEM>
    ----</DEPARTMENT>
    --</STORE>
    </COMPANY>
    multiple companies can have multiple stores, which in turn have multiple departments, which also in turn can have multiple items.
    my select statement looks something like this:
    select company_id,
    store,
    department,
    item,
    sum(qty) as my_sum
    from
    table_1, table_2, table_n
    where ...
    group by ...
    order by company_id;
    my xml data template grouping looks something like this:
    <group name="G_company" ...
    --<element name="E_company" ...
    --<group name="G_store" ...
    ----<element name="E_store" ...
    ----<group name="G_department" ...
    ------<element name="E_department" ...
    ------<group name="G_item" ...
    --------<element name="E_item" ...
    --------<element name="E_item_total" value="my_sum" ...
    ------</group>
    ------<element name="E_department_total" value="G_item.E_item_total" function="SUM()" />
    ----</group>
    ----<element name="E_store_total" value="G_department.E_department_total" function="SUM()" />
    --</group>
    </group>
    my report currently looks something like:
    ------------------<b>Store</b>--------<b>Dept</b>---------<b>Dept</b>---------<b>Item</b>-----------<b>Item</b>---------------<b>Store</b>-----------<b>Dept</b>----------<b>Item</b>-----------<b>Item</b>
    <b>Company</b>---Townsville---TDept_1------TDept_2-----TDItm1----------TDItm2-------------Newcastle------NDept1----------NDItm1--------------NDItm2
    ---CompanyA------2----------------4------------3---------------2---------------1------------------1-------------------3----------------2-------------------4
    ---CompanyB------1----------------2------------4---------------5---------------2------------------1-------------------6----------------3-------------------1
    if i just focus on the Store --> Department --> Item, i achieved this in my RTF template by doing something like the following:
    <table>
    --<tr>
    ----<td><?for-each-group@column:G_store;E_store?>Store</td><td><?for-each-group@column:G_department;E_department?>Department</td><td><?for-each-group@column:G_item;E_item?>Item<?end for-each-group?> <?end for-each-group?> <?end for-each-group?> </td>
    --</tr>
    --<tr>
    ----<td><?for-each-group@column:G_store;E_store?><?E_store_total?></td><td><?for-each-group@column:G_department;E_department?><?E_department_total?></td><td><?for-each-group@column:G_item;E_item?><?E_item_total?><?end for-each-group?> <?end for-each-group?> <?end for-each-group?> </td>
    --</tr>
    </table>
    as you can see, the store --> department --> item go across the report horizontally.
    my problem is i want to have grand totals for each column, like:
    ------------------<b>Store</b>--------<b>Dept</b>---------<b>Dept</b>---------<b>Item</b>-----------<b>Item</b>---------------<b>Store</b>-----------<b>Dept</b>----------<b>Item</b>-----------<b>Item</b>
    <b>Company</b>---Townsville---TDept_1------TDept_2-----TDItm1----------TDItm2-------------Newcastle------NDept1----------NDItm1--------------NDItm2
    ---CompanyA------2----------------4------------3---------------2---------------1------------------1-------------------3----------------2-------------------4
    ---CompanyB------1----------------2------------4---------------5---------------2------------------1-------------------6----------------3-------------------1
    ---<b>Total</b>------------3----------------6------------6---------------7---------------3------------------2-------------------9----------------5-------------------5
    so i did a SUM on each of the E_store/department/item_totals like:
    <?sum(current-group()/E_store_total)?>
    now that works for E_store_total ... but not for E_department_total and E_item_total!
    it seems BI Publisher doesn't like sums used with inner loops.
    because if i extract just the column for E_department, the grand total value at the bottom is correct!
    but once i put back the outer store loop, it breaks.
    what i am currently getting with this is:
    ------------------<b>Store</b>--------<b>Dept</b>---------<b>Dept</b>---------<b>Item</b>-----------<b>Item</b>---------------<b>Store</b>-----------<b>Dept</b>----------<b>Item</b>-----------<b>Item</b>
    <b>Company</b>---Townsville---TDept_1------TDept_2-----TDItm1----------TDItm2-------------Newcastle------NDept1----------NDItm1--------------NDItm2
    ---CompanyA------2----------------4------------3---------------2---------------1------------------1-------------------3----------------2-------------------4
    ---CompanyB------1----------------2------------4---------------5---------------2------------------1-------------------6----------------3-------------------1
    ---<b>Total</b>------------3----------------4------------3---------------2---------------1------------------1-------------------3----------------2-------------------4
    it is doing the grand total for Store correctly, but it just gives me the first row for the other grand totals.
    i have tried:
    1. using the CUBE function in my SQL query, which gives me the results i want with all the totals i want, except i cannot seem to translate it into XML.
    2. trying to use the pivot table option but i can't seem to ever get it to work the way i want.
    3. using a separate sql query to retrieve the grandtotals but that doesn't work either because of the multiple looping required.
    i'm at a complete dead end, any help would be really appreciated!
    ps. i'm a very fresh newbie

    Hi Vetsrini,
    thank you very much!
    when you said to use current-group i was confused because i thought i was using it, but when i opened up the RTF template i realized you meant the actual looping.
    so instead of doing:
    <?for-each-group@column:G_DEPARTMENT;E_DEPARTMENT?>
    <?sum(current-group()/E_STORE_TOTAL)?>
    i should have been doing:
    <?for-each-group@column:current-group()//G_DEPARTMENT;E_DEPARTMENT?>
    <?sum(current-group()/E_ITEM_TOTAL)?>
    thanku!
    S.

  • How to store long text in Rich Text Format in custom table

    Hi
    I have a requirement to store long text in the RTF in custom table.. Is this possible..
    I am aware of a way to store them as Standard texts (SO10).. But not sure on if we can store them in tables..
    Plz advise
    Thanks
    Geetha

    Not that familiar with RTF, but you could try and create a field of type (x)string in your table and store the data there.

  • How to store long text in transaction f-65

    Hi all,
    I need to add long text in the transaction f-65 for a particular document number. I have used the FM CREATE_TEXT. There are no errors but the text is not getting updated.
    Pointers on this will be really helpful.
    Regards,
    Praveen

    Not that familiar with RTF, but you could try and create a field of type (x)string in your table and store the data there.

  • How to insert a word document or an RTF document into RichTextEditor?

    How to insert a word document or an RTF document into af:richTextEditor. I am using Apache POI for reading the Word document and getting its contents. I am able to display the whole content of the document except the table and image within the document. The data in the table is getting displayed as a string and not as a table inside the editor.
    Can we insert a word/RTF document into a rich text editor?
    Can we insert images into the rich text editor?
    The following is the code that I used. On clicking a button the word document has to be inserted into the <af:richTextEditor>.
    <af:richTextEditor id="rte1" autoSubmit="true"
    immediate="true"
    columns="110" rows="20">
    <af:dropTarget dropListener="#{SendEmail.richTextEditorDrop}">
    <af:dataFlavor flavorClass="java.lang.String"/>
    </af:dropTarget>
    </af:richTextEditor>
    <af:commandButton text="Insert at position" id="cb2">
    <af:richTextEditorInsertBehavior for="rte1" value="#{RichTextEditorUtil.docFile}"/>
    </af:commandButton>
    Java Code: I am using Apache POI for reading the word document.
    import org.apache.poi.hwpf.HWPFDocument;
    import org.apache.poi.hwpf.extractor.WordExtractor;
    public String getDocFile() {
    File docFile = null;
    WordExtractor docExtractor = null ;
    WordExtractor exprExtractor = null ;
    try {
    docFile = new File("C:/temp/test.doc");
    //A FileInputStream obtains input bytes from a file.
    FileInputStream fis=new FileInputStream(docFile.getAbsolutePath());
    //A HWPFDocument used to read document file from FileInputStream
    HWPFDocument doc=new HWPFDocument(fis);
    docExtractor = new WordExtractor(doc);
    catch(Exception exep)
    System.out.println(exep.getMessage());
    //This Array stores each line from the document file.
    String [] docArray = docExtractor.getParagraphText();
    String fileContent = "";
    for(int i=0;i<docArray.length;i++)
    if(docArray[i] != null)
    System.out.println("Line "+ i +" : " + docArray);
    fileContent += docArray[i] + "\n";
    System.out.println(fileContent);
    return fileContent;

    Hi,
    images are not yet supported. Its an open enhancement request for the rich text editor.
    For tables, it seems they are supported but in a basic way (just HTML 4 style) if I interpret the tag documentation correct
    http://download.oracle.com/docs/cd/E15523_01/apirefs.1111/e12419/tagdoc/af_richTextEditor.html
    Frank

Maybe you are looking for