CS4: importing/reimporting a graphic file into an existing pageitem

Hello,<br /><br />i have a porting problem from cs3 to cs4. i want to import a graphic in an existing pageitem.<br />cs2/cs3 code is the following:<br /><br />InterfacePtr<ICommand> reimportCmd(CmdUtils::CreateCommand(kReimportCmdBoss));<br />if(!reimportCmd) <br />     break;<br /><br />InterfacePtr<IImportFileCmdData> importFileCmdData(reimportCmd, IID_IIMPORTFILECMDDATA); // no kDefaultIID<br />if (importFileCmdData == nil)<br />      break;<br /><br />InterfacePtr<IDataLinkHelper> dataLinkHelper(::CreateObject2<IDataLinkHelper>(kDataLinkHelperBoss));<br />if (!dataLinkHelper)<br />     break;<br /><br />InterfacePtr<IDataLink> dataLink(dataLinkHelper->CreateDataLink (file));<br />if (!dataLink)<br />     break;<br /><br />importFileCmdData->Set(ref.GetDataBase(), dataLink, kMinimalUI, ref.GetUID());<br /><br />result = CmdUtils::ProcessCommand(reimportCmd);<br /><br />how can i get this work in cs4? does somebody have a code snippet?<br />i tried the kImportAndPlaceCmdBoss but when i use them there is a additional item inside the original pageitem. seems to me that there is one unexpected item in the hierarchy.<br /><br />Thanks,<br /><br />Juergen

Was this ever solved?? Is so...can someone please post the solution!!

Similar Messages

  • How do I import Map Info Tab files into Spatial for a map of europe?

    How do I import Map Info Tab files into Spatial for a map of europe via FME and have oracle spatial draw the map without problems?
    So far I've got to the stage where I can import the data, spatially index it (in oracle 9i) and get my SVG (scaleable vector graphics) application to view the map.
    The problem is that countries that have more than one polygon (more than one row in the database) do not draw properly.
    When I view the Map Info tab file in the FME viewer I can see that the data is fine, but I can also see that some of the polygons used to draw a country are donugts and some aren't.
    This seems to cause a problem when I import the data into oracle spatial as I don't know if a row in the table needs to be inserted as an independent SDO_GEOMETRY or if it should form part of a larger SDO_GEOMETRY (as in 2 or more rows make up the polygon shape for a country).
    I have a feeling that I'm not using FME correctly, because at the moment I have to import the tab file into Oracle then re-insert the data into a spatially formatted table (one with a spatial index) - I get the impression that FME should do that for me but as I'm new to this I don't really know.
    Any Help welcome :|
    Tim

    Tim,
    MapInfo has a free utility called EasyLoader that allows you to upload a table directly to Oracle. EasyLoader creates the geometries and spatial index. You can download it free from http://www.mapinfo.com/products/download.cfm?ProductID=1044
    Andy Greis
    CompuTech Inc.

  • I am trying to import BPM Project.zip file into Oracle enterpriserepository

    I am trying to import BPM Project.zip file into Oracle enterpriserepository from admin tab.
    I am getting the following exception. please help if any one know the solution.
    Performing import...
    Import Failed: Error [100]: An unknown server-side error occurred. Please record stack trace (if available) and contact technical support.
    com.flashline.exception.LoggableException: trouble parsing file in import bundle: SampleWScall/activityGuide.agdl
         at com.flashline.cmee.openapi.service.subsystem.impexp.XMLTranslator.decode(XMLTranslator.java:157)
         at com.flashline.cmee.openapi.service.subsystem.impexp.ImportJob.doJob(ImportJob.java:74)
         at com.flashline.cmee.openapi.service.subsystem.impexp.AbstractJob.perform(AbstractJob.java:75)
         at com.flashline.cmee.openapi.service.subsystem.impexp.JobThread.run(JobThread.java:41)
    Audit results stored in:
    C:\Users\AVINAS~1.YEL\AppData\Local\Temp\import-4705112223687937017.log
    Audit for [Import job.] created on [2012-09-24 11:53:59 IST].
    2012-09-24 11:53:59 IST - Adding Import job with ID=[50403] to job queue.
    Thanks in Advance.

    Hi
    Why are you trying to import BPM zip file are you trying to configure the out of the box workflows?
    They are something that need to be deployed from the process admin on BPM.
    There would be the .exp file you would need as its BPM 10g that you would need to use.

  • Import a 10g DMP file into a 9.2.0.5 instance

    Is it possible to import a 10g DMP file into a 9.2.0.5 instance? Thanks
    in advance for your thoughts.

    No, do NOT run the catexp.sql from 9i in your 10g db! That was only a valid method with Oracle 6/7 and Oracle 7/8!
    Just use the Oracle 9.2 version of exp to create the dumpfile from the 10g database. You can use SQL*Net to connect to the 10g db from your 9.2 server connecting like system/manager@tnsname. Then use 9.2 imp to import the dumpfile into your 9.2 db.
    If you have access to Metalink please refer to the following note for full details on compatibility between Oracle releases for exp/imp: 132904.1

  • I have many thousands of songs in my itunes library. Unfortunately, most are now pointing toward .jpgs instead of the m4a files in my itunes library. Is there anyway to fix this without reimporting all the files into itunes from scratch??

    I have many thousands of songs in my itunes library. Unfortunately, most are now pointing toward .jpgs instead of the m4a files in my itunes library. Is there anyway to fix this without reimporting all the files into itunes from scratch?

    OMG...I'm glad to know I'm not the only one. Since my computer is a goner, I don't have any other way to access all that music.

  • Need help importing corel draw 10 files into adobe indesign with editing ability.

    I would like to know if anyone knows of a way to import corel draw 10 files into adobe indesign

    Can't edit.
    Best bet..and still a longshot depending on the layout, is to open in
    Illustrator and do the editing there.
    Bob

  • How to Import AVCHD 1080/60p Files into Final Cut Pro 7?

    How do I import AVCHD 1080 / 60p Files into Final Cut Pro 7? And if there is no direct way [I certainly haven't found one, but I'm no expert], what additional software would be used? I want to import the files from a Panasonic HDC-HS700 onto an Intel Mac laptop [Mac OSX 10.5.8]? Obviously I don't want to compress & compromise my footage.
    I’m sure a simple, straightforward series of steps would help many people with this issue.
    Thanks!

    Thanks for the response!
    I'm guessing you've found ClipWrap2 to be better than competing products [such as AVCHD Converter for Mac, Toast Titanium, or Voltaic].
    On to the next steps. Using Clipwrap2, would I leave the checkbox "Convert Audio to LPCM" selected or deselected [and what the heck is LPCM?]. In the pulldown menu would I choose "Rewrap (Don't alter video samples)" or do I save a step by choosing "Apple ProRes 422"?
    And finally, am I gaining anything by shooting 1080/60p on this Panasonic HD Camera other than a headache? [Some have suggested this is not a True 60p.]

  • How do I import a SPSS .sav file into SQL 2008 r2 using SSIS

    Hi there,
    Like the title says, I'm trying to import an SPSS .SAV file into an SQL 2008 R2 database using SSIS.
    I've tried a few things, but i cant seem to get it to work properly. I'm hoping there's someone out there who could point me in the right direction.
    I've tried the following:
    Tried the IBM step by step manual (http://pic.dhe.ibm.com/infocenter/spssdc/v6r0m1/index.jsp?topic=%2Fcom.spss.ddl%2Faccess_odbc.htm)
    --Couldnt folow this guide because I didnt have the SPSS MR DM-2 OLE DB Provider.
    Tried installing the provider using (http://pic.dhe.ibm.com/infocenter/spssdc/v7r0m0/index.jsp?topic=%2Fcom.spss.ddl%2Fdts_troubleshooting.htm) as a guide to download the provider listed (www-03.ibm.com/software/products/nl/spss-data-model).
    --This didnt work, I still could not see the provider listed after install and rebooting the server.
    Tried to get the file as CSV (Company couldnt provide it in CSV or another format)
    The server is a Windows Server 2008 R2 Enterprise 64-bit, has the Data Collection Data Model installed on it with SQL Server 2008 R2.
    If anyone could point me in the right direction they could make my day!
    Thanks in advance!
    Ronny

    Hi Ronny,
    According to your description, you want to import a SPSS .sav file to SQL Server 2008 R2 database. If that is the case, we can achieve this requirement with SPSS or SQL query. For more details, please refer to the following methods:
    http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=93346
    http://ilovespss.blogspot.com/2007/10/migrating-data-from-spss-to-sql-server.html
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Import all your picture files into iMovie

    How do you import all your picture files into imovie all at one instead of one at a time?

    Put them into a folder then drag the folder to the timeline in a project. It's best to use iPhoto for this, as it's easily accessible from the Photo Browser in iMovie.
    In iPhoto, create an album containing all the photos you wish to import to iMovie. The iPhoto album can then be dragged from iMovie's Photo Browser. It's best to place the photos in the desired order in the iPhoto album before dragging into the iMovie project.
    By "pictures" I'm assuming that you mean photos (or stills) - not video clips.
    John
    Message was edited by: John Cogdell

  • How do I import iPhoto raw (NEF) files into Lightroom 3.6?

    how do I import iPhoto raw (NEF) files into Lightroom 3.6?

    You will need an application that can convert those pcd files into one that iPhoto supports, mainly jpeg. GraphicConverter is supposed to support many, many formats and might just support the pcd. If so you could use it to convert them to jpegs.
    There's an automator workflow that I've put into an application that will take many image files and convert them into jpeg with the RGB color profile. I've never tried it on the Kodak files but you can give it a try. It's called +*Convert to JPG and Embed sRGB profile*+ and can be downloaded from Toad's Cellar. Make a copy of a couple of files and see if it will work. If so then you can batch convert folders of the files at once by dragging them onto the application.
    I believe GC can do batch conversions but am not familiar with the application.

  • Can you still import a 3D photoshop file into After Effects to edit in 3D? (not getting the Live Photoshop 3D choice?)

    trying to import a 3d photoshop file into ae, but it is not coming through as a 3D file despite the hundreds of videos that I have watched on it. I am not getting the live photoshop 3d tick box as an option on import...help!!!

    No, these features have been removed since CS6.
    Mylenium

  • How do i import pdf or doc file into ppt?

    how do i import pdf or doc file into ppt?

    This forum is for questions related to https://workspaces.acrobat.com.
    Perhaps you would get a better answer in the Microsoft Powerpoint forum: http://answers.microsoft.com/en-us/office/forum/PowerPoint?auth=1

  • Can I import a 10g MDL file into a 9.2 repository?

    Good Morning/Afternoon/Evening
    I started with OWB10g and created a repository. After creating several modules I realized I had an Oracle 9.2 database in which to deploy the runtime stuff.
    I was unable to install the server side (AIX 5.2) binaries since I didn't have a 10g Universal Installer.
    I exported the 10g repository information to an MDL file.
    I dropped the 10g repository and created a 9.2 repository and also installed the 9.2 runtime components. All is cool so far.
    I then wanted to import the MDL file from the 10g repository into the 9.2 repository and its then I hit the snag.
    Is it possible to import a 10g MDL file into a 9.2 repository?
    I was hoping the format was a standaard CWM type that would be recognized by either version but it looks like I'm incorrect.
    Any other suggestions on how to get the 10g repository information into the 9.2 repository?
    I still have the 10g repository on another server so I am able to do other types (?) of exports or whatever.
    Many thanks for the help.
    Gary

    Gary,
    I am puzzled by the reason "I was unable to install the server side (AIX 5.2) binaries since I didn't have a 10g Universal Installer." OWB 10g comes with its own copy of 10g Universal Installer. I am not claiming to ever install on AIX myself, but can you list the errors you get, perhaps we can troubleshoot the underlying problem, rather than working around it.
    Not to dodge your question on exporting 10g MDL to 9.2. Even though this is an unsupported and untested scenario, because OWB 10g did not introduce any new objects, you can try editing the MDL as below. I don't see any risk in trying. Find the MDLRELEASE and RELEASE statements at the top (not the comments with #, they don't matter and change values back to 9.2, as in:
    MDLRELEASE=9.2
    RELEASE=9.2.0.2.0
    And becuase OWB 9.2 does not know what Database 10g is, if you have any Database locations in your MDL that are set to 10g, change them to 9.2 as in:
    [...]Oracle Database|9.2|[...]
    Nikolai Rochnik

  • How do i import my local csv files into HANA database as temporary tables  using java program?

    I want to import my local csv file into database for further apply Join with other tables programmatic in JAVA

    Hi Vivek,
    Please go through the following blogs and video to resolve your issue.
    Loading large CSV files to SAP HANA
    HANA Academy - Importing Data using CTL Method - YouTube
    Hope it helps.
    Regards
    Kumar

  • I am trying to import an mp3 audio file into garage band for editing.  drag and drop doesn't work. What now?

    I am trying to import an mp3 audio file into garage band for editing.  Drag and drop does not work. any ideas?

    Try reposting in the Garageband forums. You can find it at:
    https://discussions.apple.com/community/ilife/garageband

Maybe you are looking for

  • How can I use a GPIB and AT-MIO-16L with a common NI-DAQ?

    I'm using a GPIB card for recording data and a AT-MIO-16L for sending an analog output to my instrument. Earlier, both the devices (GPIB and AT-MIO-16L) were running correctly. Until I reformated my hard disk. Now I'm trying to install NI-DAQ 6.1.1 f

  • R12:  How to consolidate installment invoices in AR

    Hello, We currently have a dilemma where we offer 12 month installment terms on invoices for some customers.  These customers have multiple orders each month, some may be the 12 installment terms and some invoices may be net30.  This can get confusin

  • Method declaration of an interface

    Hi, Here's an interface definition. public interface Foo { public Object getSomeObject(Object param); What i want to find out is, why do we need to specify a variable reference in the interface? public interface Foo { public Object getSomeObject(Obje

  • R3trans -d on Java system

    Hello, We have Java stack system. On it when I run R3trans -d, it returns error (00012) Trans.log - ORA-01017: invalid username/password; logon denied On running SQL query I got - SQL>SELECT OWNER FROM DBA_TABLES WHERE TABLE_NAME = 'SAPUSER'; no rows

  • 2 pcs + 2 i tunes libraries = nightmare for loading music to iPhone

    Well laptop at home with tunes on it and work PC has loads of tunes on it. For the love of God,is there anyway I can add music from one PC and not loose the albums I put on on the other PC? See my problem? Message was edited by: Clust3r