How do I copy an art object from one document to another using illustrator API(C  )

Hi, I'm trying to copy text and graphic elements from one document into another, does anybody has an idea how to do it using Illustrator SDK(C++)?
Thanks in advance.

If you call AIArtSuite::ReorderArt() giving the layer group handle from the target document and using art from the source document, it will move art between documents. That said, there are all sorts of caveats that come along with that -- some things move over automatically (graphic styles, symbols) while others cause problems. E.g. copying art that contains a swatch can cause a crash when you shut down the source document because it may keep the style reference to the swatch in the source document -- which goes away when the document is closed. Gradients in particular are a problem I believe. Straight up colours are (I think) fine. I've had to write a lot of workarounds for various headaches caused by moving art between documents.
Bottom line: its very doable, but there are a lot of edge cases. This was clearly not an intended use of the SDK, though it is possible.

Similar Messages

  • How to programmatically copy a OneNote page from one section to another

    How to programmatically copy a OneNote page from one section to another.
    I don't find any interface in OneNote
    2010 Developer Reference which will let me do this.
    any help?
    Regards,
    Umar
    OneNote 2010

    Hi Umarinam,
    Thank you for posting in the MSDN Forum.
    In the page OneNote 2010 Developer Reference, you can see an Application Interface which includes methods
    help retrieve, manipulate, and update OneNote information and content. 
    The below are some basic samples 
    Retrieving Section Metadata in OneNote 2010
    Programmatically Opening and Closing a Notebook in OneNote 2010
    Hope it helps. 
    Best regards,
    Quist Zhang [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Is it possible to copy formats and styles from one document to another?

    Is it possible to copy formats and styles from one document to another?
    Or use a commen styledocument as a masterdocument?

    Only by creating a template with what you want.
    Apple has removed the ability to import styles inPAges 5 along with almost 100 other features.
    Peter

  • Moving object from one client to another using transport requests...

    Hi,
    If we want to move one object from one client to another, we go to se09 and release it. I know this. But after release what are the next steps to move it from one system to another ?
    Regards,
    Rajesh

    Hello Rajesh
    If the two systems share a <u>common</u> transport directory then you can simply go to transaction <b>STMS</b>, double-click on the <b>import queue</b> (target system), then choose menu <b>Extras -> Other Requests -> Add.</b>
    The transport request will be added to the import buffer. Next you can import the request.
    If the two systems do not share a common transport directory you can use RFC-enabled function module <b>EPS_FTP_PUT</b> to copy the data and cofile from the source to the target system (check for <b>DIR_TRANS</b> directories using transaction AL11).
    Regards
      Uwe

  • Copy single master page from one document to another?

    The answer to a previously posted question seems to involve creating a document differently (than I had). A lot of work went into the creation of the master pages in the original document which I will now need to recreate in the new document. Is there a way I can copy one master page from one document to another?
    Many thanks,
    Theresa

    There are a number of ways to do this.
    Create a copy of the document you want to copy the Master page from. Delete all pages except for the one you want (but you have to leave Right and Left alone as FM must always have these two pages available).
    Open the new document and the one that you want to import the master pages from.
    In the new document:
    Import from Document: (select the document with the Master Page that you want)
    then
    File > Import > Formats
    and select Page Layouts only.
    Note that Right/Left always come along for the ride.
    Alternative and probably best way to get a single Master Page:
    In new document, add a new Master Page and select "Empty".
    In the old document, on the desired Master Page, Select All on page (ctrl+A) and then copy (ctrl+v).
    In the new document on the new master page, paste (ctrl+v) to add the layout. Note: you may need to rotate the page first  if it isn't in the same orientation as in the old document.

  • I want to copy all the objects from one user to another... Please help

    Hii Experts.... I have a problem here. Please give me solution for this...
    I am using Oracle 11g on my windows XP system.
    I created a new user named "some"
    I want to copy all the objects from scott user to some user... Please help me
    Please Explain me in detailed way
    Thank you

    SowmyRaj wrote:
    Hii Experts.... I have a problem here. Please give me solution for this...
    I am using Oracle 11g on my windows XP system.
    I created a new user named "some"
    I want to copy all the objects from scott user to some user... Please help me
    If all what you are interested is Scott schema than no need to use the datapump or CTAS. Run demobld.sql in your schema and it would have all the objects of Scott.
    http://www.oracle.com/technology/sample_code/tech/sql_plus/htdocs/demobld.html
    HTH
    Aman....

  • How can I copy an iPhoto book from one Mac to another?

    I'm wanting to copy an iPhoto book from one MBP (OS 10.7.3) to another (10.8.3). Is there an easy way to do it?

    You will have to copy the entire iPhoto Library to the other Mac as the library is a virtual entity in the library recorece in the database files.
    Once it's been copied launch iPhoto with the Option key held down and select the libary in the window that appears.  I
    NOTE:  if the new Mac has  newer iPhoto version than the old Mac check to make sure it has the same theme that you used in the book.  There were some changes in themes from iPhoto 8 (09) to iPhoto 9 (11).  If your new iPhoto doesn't have the same theme you may want to complete the book on the old Mac.
    OT

  • Copying an object from one document to another in CS4

    When more than one document is open in CS4 (for example document 1 and document 2), and the documents are arranged with tabs at the top, it should be possible to drag an object from document 1 to the tab of document 2, have the tab of document 2 automatically come to the top, and then drop the object onto a page in document 2. Is this a bug or is it just me?

    You're right, it SHOULD be, but it isn't. I filed a feature request as soon as CS4 was released, but add your voice at http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    In the meantime you need to either use copy/paste or switch to a tiles view.
    Peter

  • How do I copy an iMovie project from one computer to another (without using aliased files)?

    I followed the instructions at http://support.apple.com/kb/PH14745 to copy an event to one library to another.  The added library was accessed through a network share.  A new folder was created in the iMovie Library package, but the media files were all aliases to the media on the original computer.  Is there any way to actually copy the files and not have iMovie just create aliases?

    I think the trick is to 'Considate source media' on the new library.  See: 
    http://help.apple.com/imovie/mac/10.0/#mov882dee351
    Geoff.

  • How do I move a Muse page from one document to another?

    I have a site that I built with Muse a year ago. I am currently building a new version of it (also in Muse). I want to be able to use a couple of the 'old' pages in the 'new' version. Is there a way I can copy a page and its assets from one Muse document to another? Also, is there a way to somehow copy an asset that is already uploaded (to my Business Catalyst hosting) to that I don't have to re-assign it to a new element in the new Muse document? IE: I have some pdf files that I used in my old site design and I'd like to use them with the new site - do I have to find them on my desktop again, re-upload them, etc? Or is there a way to use assets that are already uploaded??
    Thanks!

    You can and should make a backup of all your Muse sites so that you can recover from a stolen or busted computer… Adobe are idiotically making this harder than it should be. You should copy the entire site but the main file you need is the .muse… see screenshot,
    Now that you have a separate copy you can tell Muse to open that and (after editing it however you like) up load it as a new website.
    p.s yes you can tell one site to use the assets of a different one but I don’t recommend it because the stolen/ busted scenario would then bugger two of your sites… standard hyperlink rules apply.

  • How to select multiple pages to export from one document to another

    Have a 200 + page doc, would like to select about half to place in another doc.
    An earlier post advised selecting the required pages in thumbnail view and copy and paste into second doc. No problem with single page that way but how to select the multiple pages.
    Would appreciate some guidance please.
    Am using Pages Maverick.

    Thanks fruhulda.
    This is what I found,
    make a section around the consective pages to be copied,
    in thumbnail view, hold down shift key, right click on first page in section of interest, select copy,
    in thumbnail view of second document, right click and select paste.
    transfer complete.
    Found clicking in body of second document, ie not the thumbnail view, paste will only transfer text and not images.
    I do have difficulty in splitting sections - will search forum

  • OK to copy a placed image from one document to another?

    Hi all,
    I'm laying out two language versions of an illustrated book. Because they're going to be printed with the same CMY plates (with just the black plates being switched between the languages), the color images need to be in exactly the same places in both documents.
    I've found that the easiest way to do this is to first place an image in one language version and then copy it from there to the other document using "Paste in place". I just wanted to make sure that this is OK with regard to the color settings etc.
    I'm guessing that ID either uses the same import settings for the second doc as the first one, or uses the default settings. But both would be OK, because I want the default settings anyway, with no conversions.
    -oldcomp

    Have you considered using one document, with a layer for one language and a different layer for the other? But yes, you can copy between docs. Just make sure the image is available in the links manager.

  • Can I copy a Master Page from one document to another?

    Hi - this might be a basic question, but I haven't figured out the answer yet. I have one .muse site with a Master Page that I used... I want to use that same Master Page on another .muse site that I'm working on. Is there a way I can copy the Master Page from the finished site into the other one that I'm working on?? Any help is appreciated.
    Thanks,
    Blair

    Hi Blair,
    You should be able to do this by simply selecting (Ctrl+A) and copying (Ctrl+C) all content of the Master page of Site1 and Paste in Place (Ctrl+Alt+Shift+V) in the Master page of Site2.
    Thanks,
    Vinayak

  • How i can copy my transport request from one system to another system

    hi,
    i want to copy all my code  means( programs,tcode,class,FM...every thing.) which is under a transport request, now i want to copy all this code same as it is in another system
    eg.
    i have all my objects in for example D10 now i want all my code in some another system for e.g in D30.
    how it is possible....

    Hi Vipin,
    Check tcode SE03 for transport related issues.
    as suggested by all the TR needs to be released from the current system to make it ready to be transported to next system.
    Once you release the request ask your basis administrator to transport the request to D30.
    <b>Before releasing the request check with the basis administrator if the target system has been set to D30.</b>
    Lokesh
    Message was edited by:
            Lokesh Aggarwal

  • How do I copy & transfer iPhoto library from one mac to another?

    I have a Power mac G5 and want to transfer a complete copy of my iPhoto 6 library (with all the specific albums) from my Power mac G5 to a new mac mini. I have an external drive. Is there a way to do this operation direct, between computers, or do I go through the external drive? Which do you recommend and how do I do this?
    After the copy transfer is completed, in the future, when I add new photos to my iPhoto library on my G5 and I want to transfer a copy of the new photos to the mac mini, do I follow the same process you outline above? Will the future copy transfer require I delete the library on the mac mini, and make a new complete copy transfer, or will a future transfer only pick-up the new photos?
    Thanks,
    HDP

    1 - connect the two machines together (a network or firewire target mode) quit iPhoto and drag the iuPhoto library from the old to th enew machine
    2 - alternatively you can connect the EHD to the old machine, drag the iPhoto library to it, move it to the new machine and drag the iPhoto library to the picturews folde on it
    3 - there is no way to sync the libraries - if the two are on a network you could use iPhoto library manager (only if both use the same version of iPhoto ) or use image capture to move the photo to the desktop from the camera and tehn impor tthem into both - but you can not automatically sync them you have to load the photos twice or use IPLM to do it
    ln
    Message was edited by: LarryHN

Maybe you are looking for

  • EU Directive Change on Supply of Services (EU Sales Report)

    This thread is relevant for EU localizations + Switzerland only. The Council of the European Union has amended Directive 2006/112/EC with Directive 2008/8/EC as regards the place of supply of services. Besides introduction of two significant rules de

  • Handing over site files to client: absolutely necessary?

    I recently had a client ask me for the "access code" to his site; I told him such a thing didn't exist and if he wanted to update his own site he could purchase a CMS. While Contribute is another option, it is money detoured from me to Adobe, notwith

  • Versioning document in XML type coloumn

    Hi All, I have a specific requirement in my product.I have to version the data entered in XML type coloumn. I tried searching in google and oracle 9i doc but I got the information for versioning the document stored under a partcular directory using r

  • Browser "stuck" in email configuration

    Hello -  Appreciate your help. When I use email configuration (to validate or edit an acct), the internet browser then gets "stuck" in that function.  I cannot change the home page on Browser Configuration; it simply will not erase or allow write ove

  • Notes sync between iOS devices problem

    Whenver I create notes on my iphone, they sync to my ipad, but when I create them on my ipad, they do not sync to my iphone. My ipad is on ios 7 and my iphone is on ios 5. Is this the reason why?