Inserting big text in a JEditorPane / HTMLDOcument

Hi.
I have noticed a strange behaivour of a JEditorPane with an HTMLDocument in it.
If i put a big text in it AT ONCE (setText() or insertString() or insetHTML, doesnt matter),
the preformance of the whole app gets soooo slow, f.e if i type in just a single character afterwards, i takes about 3 seconds till it appears in the document.
BUT if i put the big text into smaller pieces, f.e i paste in all the small text-parts, then i cant see
any performance-problems afterwards.
Has anybody an idea why it is like that ?!?
Or do i something wrong when i put in the text at once ?
(Im using the actual JDK1.4.0 and JRE1.4.0 b92)
Thanks for help,
greetings,
Huni.

Hello Andrea!
You have to use a variable like TV or a text channel for every column you want to set. There is no direct way to fill a cell. In your script you only have to set the variable or channel. As you expected you have to use a vbCRLF to get multiline text. DIAdem will display multiline text but did not recognize it. That means that the program do not make a vertical alignment. The first line will be vertical centerted and all other lines will be below. Result: A white gap above the text! You have to 'play' with the cell and text height to get a half-decent text display. BTW: I made my tests with DIAdem 9.
Matthias
Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  

Similar Messages

  • Inserting custom HTML tags into a HTMLDocument to be displayed in a JEditor

    Does anyone know how to insert custom tags into a HTMLDocument to be displayed in a JEditorPane?
    I have tried using the following code,
    kit.insertHTML( doc,
                    jep.getCaretPosition(),
                    "<testtag>FFFF</testtag>",
                    0,
                    0,
                    new HTML.UnknownTag("testtag") );When the above code is run the handleStartTag, handleEndTag and handleText methods are called on the HTMLReader but nothing is inserted into the document model? Can anyone help?
    I have created an instance of HTML.UnknownTag,
      public static HTML.Tag testTag = new HTML.UnknownTag("testtag");I have subclassed HTMLEditorKit and overridden the getParser() method,
      protected Parser getParser(){
        DTD dtd = null;
        try {
          dtd = createDTD( DTD.getDTD("html32"), "html32" );
        } catch ( Exception e ) {
          e.printStackTrace();
        dtd.getElement( "testtag" );
        Parser p = new ParserAdaptor( new DocumentParser( dtd ) );
        return p;
      }I have subclassed HTMLDocument and HTMLDocument.HTMLReader and created a TagAction for my new tag.
    The following code works fine, the custom tag is in the document model,
        String contents =    "<html>"
                           + "<body>"
                           + "<testtag>Here is some text</testtag>"
                           + "</body>"
                           + "</html>";
        ((HTMLDocument)jep.getDocument()).setPreservesUnknownTags(true);
        jep.setText( contents );

    I've been trying to get <blockquote> insert working in an editor but it seems to be a quite difficult task even if it's only about inserting a couple of tags into the right slot! This is the closest I got:
    HTMLDocument doc = (HTMLDocument)editor.getDocument();
    int start = editor.getCaretPosition()
    int paraStart = doc.getParagraphElement(start).getStartOffset();
    int paraEnd = doc.getParagraphElement(start).getEndOffset();
    String insideBlockQuotes = doc.getText(paraStart, paraEnd - paraStart);
    doc.setOuterHTML(doc.getParagraphElement(start),"<blockquote><p>"+insideBlockQuotes+"</p></blockquote>");
    This is how it works: Get the current paragraphs start and end positions, read the text between the start and end into a string, replace the paragrapElement with <blockquote><p>..the text from string..</p></blockquote>.
    This works 'in about' but it's far from perfect.. it has the following problems:
    1. It looses all formatting from the quoted paragraph (bold etc. tags from the quoted part)
    2. It assumes that the paragraphElement was a <p> (could have been another element too!)
    3. It's ugly
    Anybody come up with a better way to use blockquote?

  • Please Help.JTable insert styled text

    Hi all java guru,
    on post http://forum.java.sun.com/thread.jsp?forum=57&thread=485469 i've depicted my scenario in which i have a JTable where i want to add styled text.
    i've implemented a CustomTableModel that maintains information about text style, in such way that when renderer cell, i can rebuild exact text with its style....same method is adopted for CellEditor.
    It is possible to have more than one JTable in my application....then to correctly handle all JTables ' put them in a vector and during editing and rendering i find current focusable/selected JTable and edit/render it.
    Clearly i maintain information about style of text when i insert it, that is when i insert text, i update my CustomTableModel...same thing must be done when i delete text from JTable...that is, i must update CustomTableModel too in this case.
    Because my CellEditor is a JEditorPane component (extend it) i've registered document associated to it to a DocumentListener that notify every time that a remove operation is happens.
    What is the problem now???problem is that when i finish to edit a cell and click on another cell i've got a removeUpdate(DocumenEvent e) event, and i can't distinguish it.....it seems a real remove event....
    In this case(when i change cell) the code that is executes returns wrong result and invalidate all the rest.
    I think error is where i register celleditor , now i do it in CustomCellRenderer class that extend JEditorPane and implements TableCellRenderer.
    Please help me...this is a great trouble that invalidate all my work :(
    Any new idea is welcome.
    regards,
    anti-shock

    Hi stanislav, of course i can...you're a myth :)
    public class CustomCellEditor extends AbstractCellEditor implements TableCellEditor {
           CellEditor cellArea;
         JTable table;
         public CustomCellEditor(JTable ta) {
              super();
              table = ta;
              // this component relies on having this renderer for the String class
              MultiLineCellRenderer renderer = new MultiLineCellRenderer();
              table.setDefaultRenderer(String.class,renderer);
         public Object getCellEditorValue() {
              return cellArea.getText();
         public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected,     int row, int column) {
              int start = 0;
              int end = 0;
                                               // Get current selected table
              TableEditor tb = (TableEditor) TableEditor.getSelectedTable();
              TableModel model = (TableModel) tb.getModel();
              Vector fontInfo = model.getFontFor(row,column);
              CellEditor cellArea = (CellEditor) ((CustomCellEditor)tb.getCellEditor (row,column)).getCellEditor();
              Document doc = cellArea.getDocument();
              String content = tb.getValueAt(row,column).toString();     
              if (doc!=null && fontInfo.size()>0 && !content.equals("")) {
                                                     // This method reads from model and get right style info
                                                     // for current text, and restore them
                                                     restoreFontWithAttributes(doc,fontInfo,content);
              else
                   cellArea.setText(tb.getValueAt(row,column).toString());
              cellArea.rowEditing = row;
              cellArea.columnEditing = column;
              cellArea.lastPreferredHeight = cellArea.getPreferredSize().height;
              return cellArea;
          * @return
         public CellEditor getCellEditor() {
              return cellArea;
         public class CellEditor extends JEditorPane {
              private CellStyledEditorKit k;
              public CellEditor() {
                    super("text/plain","");
                    k = new CellStyledEditorKit();
                    setEditorKit(k);
                    // I tried to add document here, but i have had wrong behavior
                   doc = new DocumentListener() {
                   public void removeUpdate(DocumentEvent e) {
                      // Get current selected table
                      TableEditor tb = (TableEditor) TableEditor.getSelectedTable();
                      TableModel model = (TableModel) tb.getModel();
                      model.updateFontInfo();
                   getDocument().addDocumentListener(doc);
    }Ok, stan...this is my CustomCellRenderer class....as i have already said, i have some style text info mainteined by CustomTableModel associated with JTable.
    I update CustomTableModel every time that an insert and remove operation happens.
    If i add a DocumentListener to CellEditor (that rapresents editor cell of my table) happens that, if i remove some character from an editing cell, i got a removeUpdate event.....and this is right!!! But if i change cell (e.g. supposing editing cell(1,1), click on cell(2,1) then stop edit cell(1,1) and start edit cell(2,1)) i got a removeUpdate event, that I don't wait for to me..
    Look at this:
    empty cell | some text
    cell 0 ------- cell1
    supposing you're in cell1 and you have finished to insert "some text".Then click on cell0, that is empty....then document associated with CellArea(extend JEditorPane) before of the click on cell0 had some text, but after click have no text, then for it a removeUpdate is happens.....and is that one i got..
    it's as if an unique document is associated to all cells, while should be one document for each cell (i hope this is right).
    Clearly, i've same code for renderer, in such way that i can restore style of text on rendering.
    Hope is clear....if U have any idea or suggestion please give to me.
    Tnx a lot Stanislav..
    regards,
    anti-shock

  • Pasting big text in text area

    Hello everybody,
    I have a simple program:
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    public class TextPane extends JFrame {
    JButton b = new JButton("Add Text");
    JEditorPane tp = new JEditorPane();
    public void init() {
    Container cp = getContentPane();
    tp.setSize(200,200);
    cp.add(new JScrollPane(tp);
    public static void main(String[] args) {
    TextPane frame = new TextPane();
    frame.init();
    frame.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    System.exit(0);
    frame.setSize(500,500);
    frame.setVisible(true);
    I start it with -Xmx48m and if I try to paste 5mb text in the JEditorPane I have OutOfMemory. With 64MB I succeed to paste it, but Task manager shows that the program is using 80 MB of memory (before the paste it uses 13MB)! If I want to paste 10MB I need to start the program with 128MB heap and if I paste it consumes 150MB memory (again 13MB before this)! I have the same results with JTextArea and JTextPane.
    Why these text components need so much memory to handle big text areas and is there a way to avoid this?

    What's going on here, nobody can answer this....
    I tried with 3 different SUN JDK versions, I tried with IBM JDK, the results are the same. It seems that it's not a problem of the JDK, but a problem of the language itself. If you want to work in your text editor with more than 1 MB text don't use JAVA.... Or use a machine with 4-5 GB RAM at least....

  • Optimize way to manipulate Big text file ?

    Hi all,
    Here I start my story .. 
    Long long time ago, Mr.A has a big text file (let say 120 columns X 840k rows) , around 100MB. He wanted to swap the text column according to the input number, let say,
    if input are 1,2,3,10,20,30, 
    output = a file with 6 columns, taken from column 1,2,3,10,20,30 of the big text file.
    Then he found that the VI taking too long time to do the extracting. (the subVI consists of the normal array function, let say index array, insert array to create a new array, then save to a text file).
    Hence, he chops the big text file to smaller text files (65k rows each text file), and he found that it's still taking a lot of time although the extracting time has improved a lot. Then he chops the files to 1024 rows each text file. And he end up with taking a few minutes too, to get the output file produced. (since smaller files = more files = more time consumed to open and close the file).
    So, here I m asking help from expertss here.. Any idea to optimizes the way shown above ? Any ideal number of rows (120columns) to shorten the extracting time for the situation above ? 
    please advise. Thank you very much..

    Hi,
    Thanks for you guys' replies ..
    What is the format of the text file?
    .txt 
    Fixed column widths, or delimited?
    ya the number of columns is fixed for whole file. Delimiter = <space>
    How are you reading the file ?
    by using "read from spreadsheet file" ..
    Here I explain more on my purpose.
    Another purpose I chop the big file to 65k rows perfile is because the VI after this section (spreadsheet string to digital) cannot process huge data at once. So, the 65k of rows is the maximum row allowed for my case.
    Then I chop it to smaller to observe if it will improve the performance....My VI is somesort like
    spreadsheet string to array => index the column => append all the columns => array to spreadsheet string
    I believe this is no good for big file ..
    Here I attached a text file sample .. Thanks for the advices. 
    Attachments:
    wf241basicreadwrite1to1patternstdwavesq0.txt ‏211 KB

  • After installing Cap 5 patch 5.0.2.630 can not insert a text animation

    I installed the 5.0 patch yesterday and today I cannot insert a text animation in my project. I have tried both Insert > Text Animation and Shift+Ctrl+X and nothing happens in either case. I seem to be able to insert everything else (at least the appropriate dialog boxes display). I was apprehensive about an upgrade during a project but did it because I hoped it would resolve some of the audio issues I am seeing.
    I do have a couple of text animations that were working fine since I started the project several months ago, now they work but in a halting sort of way. I thought maybe they had become corrupted and was going to delete and re-insert them but Captivate won't let me now that I have patched it.
    I have seen a number of people indicate that they gave up on text animations because they are pretty unpredictable for the end user of the published project - anyone feel otherwise?

    Following up regarding my bug report, in case this info is useful to others..
    Adobe contacted me via phone and, after we spent a considerable amount of time troubleshooting, the rep determined that my project was corrupted. Since the problems began after the patch was applied, it seemed reasonable to think that it somehow precipitated the issues, but the rep did not feel that was an accurate conclusion. I was concerned that I had now lost a lot of work because, even when I opened older backed up versions of the project, I encountered the same issues. The rep explained that there would not be a lot of rework because I could, in small batches, copy slides from the corrupted project to a new project (except for the Quiz review slide, which I needed to allow Captivate to create automatically in the new project). I was glad to hear this but unfortunately discovered (and the rep did not seem to expect) that not all of the project features copied. Most significantly, Master pages,  Advanced Actions, and object names did not copy over. Those all had to be recreated and reconfigured on the appropriate slides. So there was quite a lot of rework after all.
    Once the substantial rework was completed, I was still having numerous problems working in and running the published project (65 slides total, 3 FLVs). After digging through the forums some more, I decided to break up the project and try the Aggregator, which was a failure. The project would not run. Then I turned to the post about daisy-chaining (#3445696) and I have been able to get things working. I definitely wished I had tried the multi-project route much sooner, but hadn't seen any indication that 65 slides with 3 FLVs was too big of a project.
    Regarding the daisy-chaining: I was unable to get the projects to work by following the instructions to (1) use separate published project folders (2) use relative links to call the next project (3) ensure the folder was a trusted location in my Flash settings. Following these guidelines, the project did work when running on my C drive, but when I copied it to our network, it always threw up an error that it couldn't find the daisy-chained projects. I got it to work by scrapping the use of daisy chaining through the Publish End setting, putting all files in one folder, using a button on the last slide of each project to call the next project, and for the button action, using only the file name (not the relative path) of the project to launch.
    I hope some of this info can help someone else avoid frustration.

  • How to insert sales text (MM02) into a single record of a Ztable.

    Hi,
    I'm extracting data from different data base tables and populating a Ztable which has Matnr as primary key and sales text as a field.
    I have already used READ_TEXT to display the text and it is displayed in multiple records which in turn leads to duplication of Material numbers.
    Now I want to avoid duplication of records (Matnr) as this being a primary record, and display the sales text of a particular material number into one single record.
    Can anyone tell me how to insert sales text (MM02) transaction into one single record.
    Thanks,
    Govind

    sorry i am not enough clear about your requirement...
    as i can understand i am explaining to you.
    suppose your itab contains repaeating matnr.
    matnr
    1
    1
    2
    2
    2
    3
    3
    like this.
    data : text(200),
             matnr like mara-matnr.
    loop at itab.
    call READ_TEXT fnmodule.
    loop at tline.
    concatenate text tline-tdline into text.
    endloop.
    matnr = itab-matnr.
    at end of matnr.
    itab1-matnr = matnr.
    itab1-text = text.
    append itab1.
    clear text.
    endat.
    endloop.
    NB change the code as per your requirement
    regards
    shiba dutta

  • How to Insert the Text in Selected Text Frame-Reg.

    Dear all,
    I am using the SnipperRunner - SDK, and create the TextFrame, but I can't insert the Text in the Particular Frame. so please give me the soultions,
    (*) Create TextFrame is ok,
    (*) Select TextFrame is also ok,
    (*) now, my Query ->
    How to Insert the Text in the Selected Frame?. (or)
    How to Link the Selectable Frame and my Text.? (or)
    How come to know the TextFrame is select?.
    Please any one can suggest me through the Coding....I will appreciate you...
    Thanks & Regards,
    T.R.Harihara SudhaN

    Hi,
    you have to get the TextModel associated with the textframe. Once you got that, ITextModel has an Insert()-method. You could also process kInsertTextCmdBoss - there are quite a few examples around. I believe WriteFishPrice also inserts text into a frame, just as an example. Good luck ...
    Bernt

  • Reading text file to JEditorPane

    Hi,
    I'm trying to read text file to JEditorPane and it works but first line is always missing. Here is the code for reading:
    try {
       in = new BufferedReader(new FileReader(filePathIn));
       while ((lineIn = in.readLine()) != null) {
            editorPane.read(in, new Object());
    } catch (IOException ie)...Any suggestions?

    in.readLine is changing the input stream position.
    Do this instead:
    FileInputStream in = new FileInputStream(filePathIn);
    while (in.available() != 0)
        editorPane.read(in, new Object());

  • Decode Case statement to insert total text

    Where the AGE BRACKET fields are empty or Null I need to insert "Total" text? Can anybody help?
    Table
    SOURCE CODE     AGE BRACKET     COUNT
    CLUBBEN     0-40 Years     3     
    CLUBBEN     41-49 Years     6     
    CLUBBEN     50-59 Years     38     
    CLUBBEN     60-69 Years     205     
    CLUBBEN     70-79 Years     181     
    CLUBBEN     80+ Years     19     
    CLUBBEN          452     
    CLUBJUNE     41-49 Years     2     
    CLUBJUNE     50-59 Years     21     
    CLUBJUNE     60-69 Years     100     
    CLUBJUNE     80+ Years     1     
    CLUBJUNE          124     
    TOTAL          576     
    Script Currently entered
    SELECT DECODE(GROUPING(F.SOURCE_CODE),1,'TOTAL',0,F.SOURCE_CODE) as "SOURCE CODE",
    CASE
    WHEN D.AGE BETWEEN '0' AND '40' THEN '0-40 Years'
    WHEN D.AGE BETWEEN '41' AND '49' THEN '41-49 Years'
    WHEN D.AGE BETWEEN '50' AND '59' THEN '50-59 Years'
    WHEN D.AGE BETWEEN '60' AND '69' THEN '60-69 Years'
    WHEN D.AGE BETWEEN '70' AND '79' THEN '70-79 Years'
    WHEN D.AGE >= '80' THEN '80+ Years'
    ELSE ''
    END AS"AGE BRACKET",
    COUNT(F.MEMBER_COUNT) "COUNT"
    FROM A3_FACT_NEW F, DIM_AGE D
    WHERE F.AGE_KEY = D.AGE
    AND F.JOIN_DATE BETWEEN '25/JUNE/2012' AND '30/AUGUST/2012'
    AND F.BEN_TYPE = 'Prime member'
    AND F.SOURCE_CODE IN ('CLUBBEN','CLUBJUNE')
    GROUP BY ROLLUP(F.SOURCE_CODE,
    CASE
    WHEN D.AGE BETWEEN '0' AND '40' THEN '0-40 Years'
    WHEN D.AGE BETWEEN '41' AND '49' THEN '41-49 Years'
    WHEN D.AGE BETWEEN '50' AND '59' THEN '50-59 Years'
    WHEN D.AGE BETWEEN '60' AND '69' THEN '60-69 Years'
    WHEN D.AGE BETWEEN '70' AND '79' THEN '70-79 Years'
    WHEN D.AGE >= '80' THEN '80+ Years'
    ELSE ''
    END)
    ORDER BY(F.SOURCE_CODE),(2)
    --------------------------------------------------------------------------------------------------------------

    Welcome to the forum!!
    Please consider the following when you post a question. This would help us help you better
    1. New features keep coming in every oracle version so please provide Your Oracle DB Version to get the best possible answer.
    You can use the following query and do a copy past of the output.
    select * from v$version 2. This forum has a very good Search Feature. Please use that before posting your question. Because for most of the questions
    that are asked the answer is already there.
    3. We dont know your DB structure or How your Data is. So you need to let us know. The best way would be to give some sample data like this.
    I have the following table called sales
    with sales
    as
          select 1 sales_id, 1 prod_id, 1001 inv_num, 120 qty from dual
          union all
          select 2 sales_id, 1 prod_id, 1002 inv_num, 25 qty from dual
    select *
      from sales 4. Rather than telling what you want in words its more easier when you give your expected output.
    For example in the above sales table, I want to know the total quantity and number of invoice for each product.
    The output should look like this
    Prod_id   sum_qty   count_inv
    1         145       2 5. When ever you get an error message post the entire error message. With the Error Number, The message and the Line number.
    6. Next thing is a very important thing to remember. Please post only well formatted code. Unformatted code is very hard to read.
    Your code format gets lost when you post it in the Oracle Forum. So in order to preserve it you need to
    use the {noformat}{noformat} tags.
    The usage of the tag is like this.
    <place your code here>\
    7. If you are posting a *Performance Related Question*. Please read
       {thread:id=501834} and {thread:id=863295}.
       Following those guide will be very helpful.
    8. Please keep in mind that this is a public forum. Here No question is URGENT.
       So use of words like *URGENT* or *ASAP* (As Soon As Possible) are considered to be rude.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Whats the best way to get a big text file in a CLOB variable?

    Hi,
    I have a very premitive type of question.
    I have a big text file, say 30 MB, in a Unix directory (Solaris). I want to get the whole text of that file in a CLOB variable.
    I saw the procedure dbms_lob.loadfromfile/loadclobfromfile. In both these cases, according to the documentation, the target where is collect the data will be a BLOB and not a CLOB. So, I have to convert that blob into a clob.
    If I want to avoid all this conversion process, whats the best way to get a text from a file into a CLOB variable?
    Please suggest.
    Regards

    In addition, LoadFromFile is overloaded to handle both BLOB and CLOB:
    PROCEDURE LOADFROMFILE
    Argument Name                  Type                    In/Out Default?
    DEST_LOB                       BLOB                    IN/OUT
    SRC_LOB                        BINARY FILE LOB         IN
    AMOUNT                         NUMBER(38)              IN
    DEST_OFFSET                    NUMBER(38)              IN     DEFAULT
    SRC_OFFSET                     NUMBER(38)              IN     DEFAULT
    <BR>
    PROCEDURE LOADFROMFILE
    Argument Name                  Type                    In/Out Default?
    DEST_LOB                       CLOB                    IN/OUT
    SRC_LOB                        BINARY FILE LOB         IN
    AMOUNT                         NUMBER(38)              IN
    DEST_OFFSET                    NUMBER(38)              IN     DEFAULT
    SRC_OFFSET                     NUMBER(38)              IN     DEFAULT

  • How to insert vietnameese text in a form

    Hi all,
    How to insert Vietnamese text in a smartform since it is not supported by SAP.

    You can insert using standard text So10 call the standard text in your form where every it is required.
    Download text/language converter using google search. Convert text to your desired language and place it in SO10.
    close the thread once your question is answered.
    Regards,
    SaiRam

  • How to insert independent text column in pages ?

    hello,
    I have made a flyer from one of the templates in pages..
    What I wnat to do is insert another text colum indicated at the attachment. I just con not figure out how to do it.. It keeps insertin within the main text..
    any help will be appreciated.
    Gokce
    oopss.. how do we attache images here ?
    Message was edited by: Gokce

    Gokce,
    Have you tried inserting a text box? If not, click on View > Show Layout to enter the layout view. Click in the gray margin area to make your cursor disapppear. Then click on Insert > Text. The box will be defined as Fixed on Page (because you clicked in the margin area), allowing you to move it anywhere on the page. You can resize it to look just like a column, then put text in it.
    Hope this helps.
    -Dennis

  • Big text showing in PDF from flex input

    Hi,
    I have a problem printing data to PDF from SQL. I'm using Rich text editor as it allows the user to add bullets, bold etc... and I'm using font Family arial and font size 12 in my flex form. Now when the data goes into DB it saves all the html tags like following
    Data coming from SQL is like
    <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="10" COLOR="#0B333C" LETTERSPACING="0" KERNING="0">Here is some text</FONT></P></TEXTFORMAT>
    I'm using in PrintPDF.cfm
    <tr>
        <td style="font-family:Arial, Helvetica, sans-serif;
         font-size:12px; font-weight:bold;">Text</td>
         <td>#qryText.Some_text# </td>
    </tr>
    Using this the PDF show big data returning from the SQL DB.
    It overwrites all the styles that I have and will show big text
    Please let me know if there is a way around this...
    Any suggestions....

    text as following:
    Test Case here (This is what it is suppose to look)
    Add Test Case Here, Add Test Case Here. This is a test case...(This is what is showing up)...

  • Import(insert) formatted text(HTML) into document

    Hi guys, I have faceed with folowing problem:
    how to insert into text frame formatted text ?
    At Indesign desktop version this feature was able through pasting HTML from clippboard with appropriate settings of clippboard preferences. But at server version there is no such function.
    I have also invesigated XML import:  you can set up text and paragraph styles and map them with tags but this technique doesnt support nested styles for instance if you have <b><i>xxx</i></b> and appropriate styles "b" and "i" i will be applied to "xxx".
    So I need to insert html as it did clipboard pasting.
    Any thoughts ?

    Questions:
    1. What version of SQL Server are you using?
    2. Are you required to use a specific DTS package or do you simply need to import data from a file to a table?  You might also consider using the bcp utility or, if you are using 2005 or newer, integration services.
    3. Is the uploading of files and the import of data a manual process or is it automated?  Is there a user uploading one file at a time to your server or do you receive files in batches.  Can you describe the work flow?
    You might try the following if you are required to use DTS:
    1. Upload your text file with CFFILE, putting in the directory expected by your DTS package.
    2. Rename the file to the name required by your DTS package
    3. Use CFEXECUTE to run the DTS package by calling dtsrun at the command line.
    dtsrun
    http://msdn.microsoft.com/en-us/library/aa224467%28SQL.80%29.aspx
    bcp
    http://msdn.microsoft.com/en-us/library/aa174646%28SQL.80%29.aspx

Maybe you are looking for

  • Menu bar and Dock disappear after exiting Time Machine

    Time Machine has worked absolutely fine for almost a week. A few hours ago I clicked the icon on my dock to see how many incremental backups it had made today, and everything seemed fine. However, when I click cancel now and the desktop comes back, t

  • Mail the BI Publisher genereted Conc Pgm out put as attachment.

    Hi All, I have a requirement... I need to send the output of a concurrent program to particular mail id. The Concurrent program output is in pdf format which is generated from BI Publisher. I have written a procedure to execute the desired concurrent

  • Displaying amount field in smartform output

    hi experts, i am printing amount field in smartform output. like this 11,200. but i need to display like this $11,200. i need to print $ with amount field . can u give me some idea? Thanks

  • Unable to burn disc, unknown error (-3)

    Client has a Lenovo netbook with an External DVD/CD Burner. With current iTunes Win7 x64 release as of writing. Whenever she burns a disc it preps the image and when it gets to burning, it pops the disc out and Messages me... Unable to burn disc, unk

  • Applying masters to certain pages

    Hello, sorry if this question is confusing! Basically I use books mostly. I use the contents page as my master document and all other docs sync with that. What I would like to achieve is a variety of background faded images for each page. The way I t