Appending documents

Hi,
Is it possible to append two documents (PDF) stored as BLOBs in the database using the DBMS_LOB.append procedure to produce one single PDF document ?
Is there any other solution to achieve the same ?
Regards.

You could store as many PDF documents togather within one BLOB upto the size limit, but it would not be equivalent of what you intend to do.
The format of a PDF document is unknown as far as the BLOB (and DBMS_LOB package) is concerned. For them, its just stream of data coming in. It would in no way alter the structure of the existing PDF documents to merge them into one single document (DBMS_LOB.Append is to append more data to CLOB/BLOB, it is not for appending several documents into one).
http://www.a-pdf.com/merger/index.htm
http://www.adobe.com/epaper/tips/acr6mergedpdf/main.html

Similar Messages

  • Plz...append document

    hello to all!!!!
    plz someone solve my problemm....
    i want to append StyledDocument...can anybody tell me that how to append the contents at the end of StyledDocument...
    i know JTextPane has methods insertString and insertComponent ..but these are for JTextPane..
    i only want to append StyledDocument...plz someone tell me

    oh sir....
    situation is very simple but problem is i think very big.
    so i tell u clearly...
    there is JFrame where two JTextPanes are embedded...
    one is at upper and the other is at bottom...
    and there is one push button ....
    upper JTextPane is disabled so only text can be
    wriiten in upper JTextPane by push button..
    i write text on bottom JTextPane and by the help of push button the contents of bottom
    must be appended to upper JTextPane
    i think u r understanding....
    problem is that insertString or insertComponent or getText are not suitable here
    becauze bottom JTextPane not only contains text but may be also some images..so how these
    all contents can be appened to upper JTextPane....
    so here i solved the problem .......
    i embeded all contents of bottomJTextPane in document object and set this document object
    to upper JTextPane ......
    but their is still problem..........everttime i press push button it sets document and loses
    old content ..so at this point document must be appended....................
    and i dont know how to append document..............
    i think u got it........

  • ArchiveLink - Append Document

    Hi Experts,
    can anyone explain me the functionality of Function Module 'ARCHIVEOBJECT_APPEND'?
    I'm still uploading TIFF-Files to the ArchiveLink directory via the Function Module 'ARCHIVEOBJECT_CREATE_FILE'. With this functionality I get one Document-ID for each Picture. This works... so far so good.
    But, in some cases, I want to combine two or more TIFF-Files to one file on the Directory. For example one document with pages for each Image.
    For this functionality, I identified the FM 'ARCHIVEOBJECT_APPEND'. But it doesn't work, and there is no documentation available....
    Can anyone help me with this FM? How do I have to fill the Table-Parameters? Do I have to call some other FMs at the end?
    ARCHIVE_ID             = '03'         --> TOAAR-ARCHIV_ID
    ARCHIVEDOC_ID     = char40   --> Document-ID, I want to extend
    DOCUMENTCLASS  = 'FAX' or 'TIF'
    COMPID                    = 'data'
    ARCHIVEOBJECT [ ]      = ???
    BINARCHIVOBJECT [ ]  = ??? Data Type/ Format?
    Regards,
    Andi

    No Solutions for this Point?

  • Append Hyperlinked Documents when converting Word to PDF

    I have Windows XP & Acrobat Pro 9 (which I just installed and am not real familiar with)
    We have many scenarios when we have one Word document that contains several hyperlinks to other Word documents. (For example - an Index or a Court document that references hyperlinked Word exhibits, etc.)
    When we convert the "one" word document to PDF - we need to somehow grab all of the other hyperlinked Word documents as well.
    It would also be nice if the hyperlinks still took you to the "now appended documents" below - but at a minimum I need to at least grab the hyperlinked documents.
    Any suggestions?

    Empty the TEMP folder or print to the Adobe PDF printer. The latter might be worth trying to be sure things are working.
    You may have to uncheck a lot of the options in the PDF Maker preferences, particularly tags. Keep in mind that large graphics require a lot of disk space in the translation as the PS format is not very memory efficient for graphics (at least from what I have seen). You might also make a copy of the DOC file and then select a graphic and choose format. In the lower left corner of the general tab is a compress button. Try that to reduce the graphics resolution and see if that solves the problem.

  • Appending MS-Word documents into one document.

    Greetings,
    I've used the MS-Office VI's to create MS-word documents using a .dot template.   It is very handy and provides very good results with little effort.  
    For various intended reasons I create in number of one page documents.
    Anyone know how to append .doc files into one .doc file?  Any active-x commands able to do this?  
    Any help would be appreciated.
    Modemmad99

    Check out this other discussion forum post. It will show you how to use Active X commands or Report Generation Toolkit VIs to append documents together.
    Stephanie O.
    DIAdem Product Manager
    National Instruments

  • What is this "Store business document" option in SAP/PO

    Hi
    please let me know what is this "Store business document" option in PO -> services for object -> Create -> Store business document?
    Thanks
    Raju

    Hi Raju
    Create Business Object is used to Attaching a PC Document to an Object and Storing, and you can append documents, which have a connection to an object, from your PC to the object and at the same time store it in an optical archive.
    Prerequisites
    This function is only then active if an optical archive is connected to the SAP System. The document type (format template, for example FIINVOICE) and document class (for example DOC or FAX) of the document that you want to store must be known.
    Procedure
    In the Toolbox of the object services, choose .
    Choose Store business document.
    Expand the node of the document class that corresponds to your document.
    Choose the document type that corresponds with your document by double-clicking on it.
    Enter the path and file name of your document in the following dialog box.
            Alternatively, you can use the value help to call a window with the directory structure of your PC,         in which you can call the directory and select the document by double-clicking. 
    Choose .
    Result
    The PC document is stored in the optical archive. You and other users can call it by using the Attachment List of the object.
    Further detail Please see sap help:
    SAP Library - Generic Object Services (BC-SRV-GBT)
    Regards
    Javed

  • Append to previous report.

    Hi
    I'm using BO XI3.1 and trying to create a report which will be scheduled to run everyday at 9:00AM
    I would like to know if there's any way to append the result to the report created previous day.
    What I need to do is to compare the result with the report created previous time.
    I can do this by checking both report but I want to export to Excel and see both number within the same report.
    Please let me know if there's any way to do this.
    Thanks in advance.

    Hi Taichi,
    You may be interested by the WebI feature called Track Data Changes that you can activate from a top right hand corner button labelled Track. You need to define a instance reference for this tracking, which can be set to each document refresh (which I guess would fit your case). Changes highlighting (colors, fonts, report objects to track) can also be customized to your needs.
    This feature will not append documents to one another, but will provide you a "diff" between two instances (depending how you set the reference) of the same document.
    If you find it useful, I'd be interested to know your feedback on this WebI feature.
    Hope this helps anyway,
    David.

  • Saving Remittances to PDF

    Hello,
    I have a machine that has recently had windows 7 installed and has SAP B1 running on it. It originally had cutepdf installed and an issue arose when going into Banking - Document Printing. When we select more than one AP Invoice to print then send it to cutepdf, it doesn't create all the files. i.e. if three AP INvoices were selected then it should save 3 files. It doesn't, it only saves the first. We had tried to download and install primopdf however the same issue occurs.
    Would anyone have any suggestions or know of any compatibility issues with saving reports to PDF from SAP on a windows 7 operating system?
    Regards,
    Juan

    Hi,
    Please check the settings of your  PDF converter, search for an option that states Append Document in Printing,
    try to use other converter like Broadgun pdf.
    Regards,
    Clint

  • JScrollPane Scroll Position

    Tried posting this in the newbie section with no luck....
    I created a class extending a JScrollPane that encompasses a JTextPane. The method below appends some text to the current JTextPane with a certain color (this part works fine). What I am also trying to do is force the JScrollPane to keep focus at the bottom after the append if it was there before the append. Now I am running into trouble.
    The code can determine fine if the scroll pane is at the end, but after the append, it sometimes prematurely puts the pane at the end again; i.e. the method is telling the scroll pane to go to the end before the text pane and/or scroll pane have finished updating their size. Thus, the scroll pane is moved to the bottom, then the text and scroll panes resize, and the scroll pane is no longer at the bottom.
    It seems that this problem occurs when the text appended is multiple lines, in which case it appears that the panes are resized multiple times- the scroll bar is positioned correctly after the first resize, but subsequent resizings sometimes occur after I reposition the scroll bar to the current "end" (which then changes).
    I've tried validating both panes to force them to update before repositioning the scroll bar, but this does not seem to stop the problem (although it may help).
    Does anyone know how to correct this problem? I'm still guessing that something (perhaps the doc?) is not fully updated by the time I reposition the scroll bar. If this is the problem, any suggestions on how to force the document to be updated before playing with these GUI panes? If possible, I prefer not to use a timer or sleep a thread to wait for this updating.
    Of course, if you know of existing methods/settings that help with this, please tell. I didn't manage to find anything in the API's that gave me what I want, but I've been known to overlook things from time to time ;)
    Again, this is a method in a class extending JScrollPane.
    textPane is the JTextPane embedded in the scroll pane.
    doc is the JTextPane document.
    public synchronized void append(String appendString, Color textColor)
         JScrollBar scrollBar;
         BoundedRangeModel rangeModel;
         boolean isMaxed;
         scrollBar = this.getVerticalScrollBar();
         rangeModel = scrollBar.getModel();
         isMaxed = ((rangeModel.getValue() + rangeModel.getExtent())
                             == rangeModel.getMaximum());
              // check if the scroll bar is at the bottom
         SimpleAttributeSet textAttributes = new SimpleAttributeSet();
         StyleConstants.setForeground(textAttributes, textColor);
         try
              doc.insertString(doc.getLength(), appendString, textAttributes);
              // append the formatted string to the document
         catch(BadLocationException ex)
              System.out.println("Error writing to the text pane");
         if (isMaxed)
              textPane.validate();     //force the text pane to validate
              this.validate();    //force the scroll pane to update
              scrollBar.setValue(rangeModel.getMaximum() - rangeModel.getExtent());
              // The above line is sometimes called before the text and scroll panes
              // have finished updating.  The maximum and extent of the scroll bar
              // depend on the size of the document.

    You are correct in your observation that the size of the JScrollPane is incorrectly reflected for the size of your newly appended document. I spent some time on this bug and eventually came up with the following solution:
    textPane.addComponentListener( new ComponentListener(){
    public void componentHidden(ComponentEvent e)
    public void componentMoved(ComponentEvent e)
    public void componentResized(ComponentEvent e)
    JViewport vp = scrollPane.getViewport();
    incoming.revalidate();
    Rectangle visRect = vp.getViewRect();
    Dimension viewDim = vp.getViewSize();
    Rectangle rect = new Rectangle( 0, (int)(viewDim.getHeight() - visRect.getHeight()),
    (int)visRect.getWidth(), (int)visRect.getHeight() );
    vp.scrollRectToVisible( rect );
    public void componentShown(ComponentEvent e )
    This solution also has the side benefit of scrolling to the bottom when the JTextPane is resized by the user.

  • How can i use jquery code in ExtendedRenderKitService?

    i'm try to using jquery like this way,but cause js error.
    so,can i use jqeury code in ExtendedRenderKitService? how?
    private String jsFunction() {
    StringBuilder sb = new StringBuilder();
    sb.append("$(document).ready(function(){");
    sb.append("var spans = $('span');");
    sb.append("alert(spans.length);");
    sb.append(" });");
    return sb.toString();
    public void searchTree(ActionEvent actionEvent) {
    favoriteTreeManager.searchTree(searchCriterium);
    FacesContext context = FacesContext.getCurrentInstance();
    ExtendedRenderKitService extRenderKitSrvc =
    Service.getRenderKitService(context, ExtendedRenderKitService.class);
    extRenderKitSrvc.addScript(context,
    jsFunction());
    }

    Hi,
    $('span') is invoked when the page renders if I remember correctly. Since using JavaScript from a managed bean invokes a function, the use of JQuery does not work. You can run a little test. If you get JQuery working from a URL browser typing javascript:... command ... then the same probably works from a managed bean
    Frank

  • How may spool request can I create in the backend?...

    Hi Experts,
    How may spool request can I create in the backend? If yes, is there anywhere in the system can I set this value to increase number of spool request per user.
    Is there any condition which can prevent me create a new spool request?
    Yes all of the answer above is answered, so is there any offfical document from SAP states them.
    Thanks!
    - Anthony-

    Thx for the feedback. But, in fact, what was the real issue, originally?
    I forgot to inform you of that:
    1) [Note 193638 - Calculating spool number from file names as of 4.0A|http://service.sap.com/sap/support/notes/193638] (indicates the algorithm of UNIX file names). This note also indicates "For Release 4.0A, the maximum spool number has been increased from 99000 to 2000000000. The maximum number of output requests per spool request has been increased to 32767 as well."
    2) I think I forgot one of your initial questions:
    > Is there any condition which can prevent me create a new spool request?
    By default, SAP tries to append pages to existing spools with same characteristics. If they are always different, a new spool request is always created. So, you may change some characteristics so that they are identical and SAP will reuse existing spools. See rules in [Note 85318 appending documents to existing spool requests|http://service.sap.com/sap/support/notes/85318].

  • Spool Request contains disrelated data

    Dear All
    I met a strange issue, the spool reqeust contains disrelated data.
    the phenomenon is:
    I created a JOB with function fronted. But when the JOB finished, I found other disrelated data in this spool request.
    I'm not sure whether one spool request can contain several print requests?
    When I create the request at the same time other function create in this spool request?

    By default, SAP merges forms in existing spool requests with same properties, listed here: [Note 85318 appending documents to existing spool requests|http://service.sap.com/sap/support/notes/85318]. You may force them to go in a new spool request using output parameters when printing the form (see the note).

  • Creating XML Doc using JDOM... HELP!!!!!

    I've got a constructor which creates an Annotation object ... each object has 4 fields;
    Annotation Owner
    Date/time submitted
    ID
    Annotation Text
    When each Annotation object is constructed it is placed on a Vector array.
    I now want to create an XML Document for the Annotation object on the Vector Array...
    I am using JDOM and have managed to create a simple constructor:
    // Class XMLDocument...
    // This class is a subclass of MooNotes 2 that is designed to construct a XMLDocument containing a particular
    // Annotations details...
    class XMLDocument {
         long docID;
         org.jdom.Document xmldoc;
         * <p>
         * Build a simple XML document in memory
         * </p>
         // Constructor for the XMLDocument class...
         // This constructor will construct an
    // XMLDocument and populate the data fields with the particular
         // Annotation contents.
         // The constructor is passed a DOCUMENT ID and a JDOM document when invoked and it uses this data to construct
         // the XML Document.
         public XMLDocument(long docID, org.jdom.Document xmldoc) {
         this.docID = docID;
         this.xmldoc = xmldoc;
         xmldoc.setDocType(new org.jdom.DocType("html", "-//W3C//DTD XHTML 1.0 Transitional//EN", "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"));
         org.jdom.DocType docType = xmldoc.getDocType();
         messagearea.append("XMLDocument Element: " + docType.getElementName() + " \n");
         messagearea.append("XMLDocument Public ID: " + docType.getPublicID() + " \n");
         messagearea.append("XMLDocument SystemID: " + docType.getSystemID() + " \n");
         messagearea.append("Document successfully built " + " \n");
    How do I construct a Document to accept and hold the contents of an Annotation Object?
    P.S.
    AnnotationSubmitter is a String
    So is Date/time
    ID is a long number
    Annotation Text is also a String

    Since your constructor receives a org.jdom.Document already, it's difficult to figure out what you're trying to do. I'm also not sure what you mean by a Vector array, but I'm gonna give it a shot. To construct a simple org.jdom.Document (without namespace) I would do the following:
    Element root=new Element("ALL_ANNOTATIONS");
    Document=new Document(root);
    doc.setDocType(new DocType(  ...[your stuff]... ));
    and loop through your annotations objects
    for(int i=0;i<n;++i)
        root.addChild(new Element("ANNOTATION")
                      .addChild(new Element("ANNOTATION_OWNER")
                            .setText(annotObjects.getAnnotationOwner()))
    .addChild(new Element("ANNOTATION_TIME")
    .setText(......getTime()))
    .addChild(new Element("ANNOTATION_ID")
    .setText(""+annotObjects[i].getID()))
    .addChild(new Element("ANNOTATION_TEXT")
    .setText(......getText()));
    In the end this should give you the equivalent of:
    <ALL_ANNOTATIONS>
    <ANNOTATION>
    <ANNOTATION_OWNER>
    Text of First Annotation Owner
    </ANNOTATION_OWNER>
    <ANNOTATION_TIME>
    Time/Date of annotation
    </ANNOTATION_TIME>
    <ANNOTATION_ID>
    1234567
    </ANNOTATION_ID>
    <ANNOTATION_TEXT>
    Some Annotation Text
    </ANNOTATION_TEXT>
    </ANNOTATION>
    <ANNOTATION>
    etc. N-1 Times.
    </ANNOTATION>
    </ALL_ANNOTATIONS>
    Hope that helps.

  • Displaying a saved image

    Hi,
    In my app, after I save the image (as JPG file) in the App's sandbox, I am able to read it back in the same execution instance of the app, and the picture is displayed. However, when I quit the app and reload the data, the image is not displayed. There are no errors reported on the read. Has anyone run into this issue?
    Thx, Sam

    Hi Scott,
    Thanks for you response and suggestions. I made sure that the Image files are present. I get the App's sandbox location (which changes every time it is launched) programmatically and append "/Documents" to it to complete the path before I write/read the Image files. I can see them in the Finder also. The following shows that:
    1. The sandbox location is different for each invocation of the app
    2. The image files are present at each invocation
    Sam.
    First compile/run: (Save the image from the view as "1.jpg")
    2009-07-18 09:30:18.480 iNotate[1379:20b] /Users/sam/Library/Application Support/iPhone Simulator/User/Applications/4F18313D-BD72-4EB9-B3B2-9C2F1F74BB66/Documents/1.jp g
    sams-imac:~ sam$ ls -l "/Users/sam/Library/Application Support/iPhone Simulator/User/Applications/4F18313D-BD72-4EB9-B3B2-9C2F1F74BB66/Documents"
    total 1992
    -rw-r--r-- 1 sam staff 457423 Jul 18 09:30 1.jpg *<<<< able to load the image*
    Second compile/run: (Load the image in the view from "1.jpg")
    2009-07-18 09:34:49.480 iNotate[1379:20b] /Users/sam/Library/Application Support/iPhone Simulator/User/Applications/CFB8E542-2BE2-42AA-B559-FA22D919DFDE/Documents/1.jp g
    sams-imac:~ sam$ ls -l "/Users/sam/Library/Application Support/iPhone Simulator/User/Applications/CFB8E542-2BE2-42AA-B559-FA22D919DFDE/Documents"
    total 1992
    -rw-r--r-- 1 sam staff 457423 Jul 18 09:30 1.jpg *<<<< file read, no image shown*

  • Problem - Two spools

    Hi,
    I have two smartforms.
      Smartform 1
      Smartform 2
    Loop table.
       Add a page to spool 1 using smarform 1.
       Add a page to spool 2 using smarform 2.
    endloop.
    How can I achive this? I can´t use two loops.
    Thanks.

    What do you mean by "add a page"? write the whole smart form or only part of it?
    If it's only a part of it, then you need to first divide it into several smart forms.
    Then you can write the whole smart form to a spool. So that you write to 2 different spools, choose print parameters according to Note 85318 appending documents to existing spool requests, for example use tdsuffix2 to differentiate them.
    Don't forget to open and close each time (print parameters no_open=space, no_close=space) because the 2 smart forms must go to different spools.
    First time you open the spool, force to create a new one (print parameter tdnewid='X'), but do not at the next calls (tdnewid=space).
    tdnewid = 'X'
    LOOP AT ...
      call smart form 1 (tdsuffix2="...1")
      call smart form 2 (tdsuffix2="...2")
      tdnewid = space
    ENDLOOP

Maybe you are looking for

  • External drive goes read only with error -50 after time

    Running the special release of 10.8.2 for Mac Mini (2012) that was recently released.  I have two external USB drives.  The first contains my iTunes collection and the second is my time machine backup disk.  The iTunes drive seems to go read only aft

  • What happened to "Save As"?

    Good grief - what on Earth happened to "Save As"? Why is saving a file under a different name now involve several confusing steps? I suppose this is just a complaint so there is no technical fix except revert to a previous OS. But what the heck? Why

  • Sorting still broken when syncing to iPhone/iPod...

    Ugh. Aperture 2 still hasn't fixed the broken syncing to the iPhone / iPod. When you sort an album by date (the default) and sync that album to the iPhone, the sort order is silently interpreted as "version name." Version name is almost never a reaso

  • Wmode = transparent and Active content fix

    I'm trying to set the bg of a an swf to transparent...my problem is it doesnt seem to work when you impliment the Adobe version of the Active content fix (AC_RunActiveContent.js). Has anyone figured out how to pull it off?

  • Folio number not updated in the table RG23D

    Hi all, Folio number not updated in the table RG23D when I create depot excise invoice using batch program J_1IJCHK. Can any one help me by providing rootcause and solution. Thanks in advance. Regards Balaji