SaveFrameBookAsPdf using FDK11 gets the contents cropped to the top and right of the rendered PDF.

Hi,
I am using a method to Save Frame file as PDF using FDK 11 and this works fine. Currently, I have a requirement to Save the whole Frame book as PDF for which i am trying with the same method but the output is not accurate. The contents in the rendered PDF is cropped to the Top and Right. Tried several options and could not figure out the cause of the issue. any help would be highly appreciated.
Used Method:
           long SaveAsPdf(char* strSourceFileName, char* strTargetFileName)
                F_PropValsT params, *returnParams = NULL;
                F_ObjHandleT docId, pgfId, saveId;
                IntT i = 0;
                StringT name = NULL;
                StringT str_Target_File_Name;
                long bookId;
                str_Target_File_Name = F_StrCopyString((StringT)strTargetFileName);  
                F_FdeInit();
                /* Open all files */
                bookId = openBookFiles(strSourceFileName);
                /* Get docId in order to set Acrobat Bookmark levels */
                docId = F_ApiGetId(FV_SessionId, FV_SessionId, FP_FirstOpenDoc);
                /* Sets the save parameters so as to save as PDF and allow user to name file.*/
                params = F_ApiGetSaveDefaultParams();
                i = F_ApiGetPropIndex(&params, FS_FileType);
                params.val[i].propVal.u.ival = FV_SaveFmtPdf;
                /* Saves the book and all its components to one PDF file */
                saveId = F_ApiSave(bookId, str_Target_File_Name, &params, &returnParams);
                /* Close the open files.*/
                while (docId)
                    F_ApiClose(docId, FF_CLOSE_MODIFIED);
                    docId = F_ApiGetId(FV_SessionId, FV_SessionId, FP_NextOpenDocInSession);
                F_ApiDeallocatePropVals(&params);
                F_ApiDeallocatePropVals(returnParams);
                return (long)saveId;
            long openBookFiles(char* strSourceFileName)
                IntT i = 0;
                F_PropValsT script, *returnp = NULL;
                F_ObjHandleT compId;
                F_ObjHandleT docId;
                StringT compName = NULL;
                StringT str_Source_File_Name;
                str_Source_File_Name = F_StrCopyString((StringT)strSourceFileName);  
                /* create open script which minimizes user response*/
                script = F_ApiGetOpenDefaultParams();
                i = F_ApiGetPropIndex(&script, FS_MakeVisible);
                script.val[i].propVal.u.ival = False;
                i = F_ApiGetPropIndex(&script, FS_RefFileNotFound);
                script.val[i].propVal.u.ival = FV_AllowAllRefFilesUnFindable;
                i = F_ApiGetPropIndex(&script, FS_FileIsOldVersion);
                script.val[i].propVal.u.ival = FV_DoOK;
                i = F_ApiGetPropIndex(&script, FS_FontChangedMetric);
                script.val[i].propVal.u.ival = FV_DoOK;
                i = F_ApiGetPropIndex(&script, FS_FontNotFoundInCatalog);
                script.val[i].propVal.u.ival = FV_DoOK;
                i = F_ApiGetPropIndex(&script, FS_FontNotFoundInDoc);
                script.val[i].propVal.u.ival = FV_DoOK;
                i = F_ApiGetPropIndex(&script, FS_LanguageNotAvailable);
                script.val[i].propVal.u.ival = FV_DoOK;
                i = F_ApiGetPropIndex(&script, FS_LockCantBeReset);
                script.val[i].propVal.u.ival = FV_DoOK;
                i = F_ApiGetPropIndex(&script, FS_UpdateTextReferences);
                script.val[i].propVal.u.ival = FV_DoNo;
                i = F_ApiGetPropIndex(&script, FS_UpdateXRefs);
                script.val[i].propVal.u.ival = FV_DoNo;
                i = F_ApiGetPropIndex(&script, FS_UseAutoSaveFile);
                script.val[i].propVal.u.ival = FV_DoNo;
                i = F_ApiGetPropIndex(&script, FS_UseRecoverFile);
                script.val[i].propVal.u.ival = FV_DoNo;
                i = F_ApiGetPropIndex(&script, FS_AlertUserAboutFailure);
                script.val[i].propVal.u.ival = False;
                i = F_ApiGetPropIndex(&script, FS_BeefyDoc);
                script.val[i].propVal.u.ival = FV_DoOK;
                i = F_ApiGetPropIndex(&script, FS_FileIsInUse);
                script.val[i].propVal.u.ival = FV_OpenViewOnly;
                i = F_ApiGetPropIndex(&script, FS_FileIsStructured);
                script.val[i].propVal.u.ival = FV_OpenViewOnly;
                i = F_ApiGetPropIndex(&script, FS_OpenFileNotWritable);
                script.val[i].propVal.u.ival = FV_DoOK;
                long bookId = F_ApiOpen(str_Source_File_Name, &script, &returnp);
                F_ApiDeallocatePropVals(&script);
                return long(bookId);

Here's a clip:
http://depositfiles.com/files/xqqnadc88
This clip is made up of two clips on top of one another, Video 1 has a 50% right crop and Video 2 has a 50% left crop.  Video 2 crossfades into a clip of the scene with no actors in it which also has a 50% left crop.  I have had this issue on footage shot with two different cameras, one a Sony HD camcorder and the other a little Fujifilm point and shoot still camera with HD video capabilities.  Perhaps "randomly" is the wrong word to use though because I have tried recreating this and other scenes from scratch a few times and I always have the same problem with the right side of the screen disappearing at the same time no matter what I do.  In the project I am working on, I have several scenes where this effect is needed and some of the footage seems to work fine while other scenes consistently give me this issue.
I also just remembered that I have CS4 (but CS3 runs a little better on my computer) so I'll try putting the clip together in CS4 and see if it still does the same thing.

Similar Messages

  • When I publish a SWF/HTML5 module with Captivate 8 and try to run it using IE9 - I get the following error "The content you are viewing is not supported in the current Document Mode" - anyone know why?

    When I publish a SWF/HTML5 module with Captivate 8 and try to run it using IE9 - I get the following error "The content you are viewing is not supported in the current Document Mode" - anyone know why?

    TLCMediaDesign wrote:
    I've seen a lot of threads about getting rid of these kind of messages. Those messages are there for a reason most of the time. If you have CSS animations or other HTML5 standards that cannot be rendered in IE9 they won't magically start working becuse you got rid of a message. I use IE9 since that is the minimum standard for the client. I have never seen that message publishing to HTML5 content.
    IMO, if your client has IE9 I think that you should develop with IE9 in mind not IE11.
    When you say "develop with IE9 in mind not IE11" do you mean use SWF instead of HTML5? I used the standard question types, and a converted PowerPoint presentation. I didn't add anything out of the ordinary.

  • Using PowerShell to Copy the content of a Word Document and Paste that content into a New Message in Outlook

    So, I'm a little new to PowerShell and I came across a PowerShell which allow me to copy the content od a spreadsheet, into the new message in Outlook 2007.  I have search and search on a way to do the same with a Word Document.  I would like to
    create a PowerShell Script that copies the content of a Word Document and paste that content in an email message.
    I am basing my script on this
    #Create and get my Word Obj
    $w1 = New-Object  -comobject Word.Application
    $w1.Visible = $True
    $UserWord = $w1.Workbooks.Open("C:\Users\hhhh\Documents\Powershell\test.docx")
    #create outlook Object
    $Outlook = New-Object  -comObject  Outlook.Application 
    $Mail = $Outlook.CreateItem(0)
    $Mail.SentOnBehalfOfName = "[email protected]"
    $Mail.Recipients.Add("[email protected]")
    #Add the text part I want to display first
    $Mail.Subject = "Test email"
    $Mail.Body = "My Comment on the Excel Spreadsheet"
    #Then Copy the Word using parameters to format it
    $Mail.Getinspector.WordEditor.Range().PasteExcelTable($true,$false,$false)
    #Then it becomes possible to insert text before
    $wdDoc = $Mail.Getinspector.WordEditor
    $wdRange = $wdDoc.Range()
    $Mail.Display()
    Any Help would be great!

    My requirements are the Word documents are a template of sorts.  The document will be changes prior to its email with some changes.  The other twist is that the customer might more that one recipients, and each recipient will have to have a separate
    email, with the same content of the word document. 
    For example: Say I'm doing maintenance. The Word doc might descript that maintenance, in a set format. Once save the script is run to generate 3 to 10 email with separate recipients with the body of the email containing what was in the Word document.

  • How do I get messages to go back to an AIM account? It's only seeing the iPad's Facetime email address and not seeing the old AIM account name that is on my desktop. I am using my iMac using iChat to talk to a newer iMac that doesn't have iChat.

    How do I get messages to go back to an AIM account? It's only seeing the iPad's Facetime email address and not seeing the old AIM account name that is on my desktop. I am using my iMac using iChat to talk to a newer iMac that doesn't have iChat. We had this working using Messages and Facetime (on the new machine) talking to my existing iChat account. One day last week, when Facetime rang, my kids answered on the iPad. Dang! Now it's all fouled up! The new iMac won't see my AIM account name and shows that I'm offline, because the iPad is off. We were able to call using "most recent call" in Facetime, but now I can't go and control that new iMac remotely to help with some email concerns the user is having. I'm trying to not personalize this too much, but it's grandkids talking to Grandma and Mom and Dad trying to solve new machine hiccups. Normally, I could just go in via iChat and control the other machine and troubleshoot, but I can't do it with Facetime only. My buddy list doesn't see  the other computer even though we are connected on Facetime right now. My name is not highlighted for the other computer. What could have gone so wrong?
    Any help would be appreciated.

    How do I get messages to go back to an AIM account? It's only seeing the iPad's Facetime email address and not seeing the old AIM account name that is on my desktop. I am using my iMac using iChat to talk to a newer iMac that doesn't have iChat. We had this working using Messages and Facetime (on the new machine) talking to my existing iChat account. One day last week, when Facetime rang, my kids answered on the iPad. Dang! Now it's all fouled up! The new iMac won't see my AIM account name and shows that I'm offline, because the iPad is off. We were able to call using "most recent call" in Facetime, but now I can't go and control that new iMac remotely to help with some email concerns the user is having. I'm trying to not personalize this too much, but it's grandkids talking to Grandma and Mom and Dad trying to solve new machine hiccups. Normally, I could just go in via iChat and control the other machine and troubleshoot, but I can't do it with Facetime only. My buddy list doesn't see  the other computer even though we are connected on Facetime right now. My name is not highlighted for the other computer. What could have gone so wrong?
    Any help would be appreciated.

  • I have an ipod touch but i don't have enough memory and 0I get an upgrade soon for my phone and i want the iphone but the thing is, can i have an ipod touch and an iphone on the same itunes account like can i use my money on my ipod account for my iphone

    I have an ipod touch but i don't have enough memory and 0I get an upgrade soon for my phone and i want the iphone but the thing is, can i have an ipod touch and an iphone on the same itunes account like can i use my money on my ipod account for my iphone

    Your iPhone and iPod can share the same iTunes account.  Apps can be freely shared and used by one or both devices.  You can't use money in your iTunes account to pay for your phone, but purchased apps can be used by both the iPod and iPhone.

  • I recently inherited a restored iPhone 5 from my uncle and its needs a sim to be activated, could i use my friends sim just to activate my iPhone and then give the sim back once its activated without affecting his contract and later on get a sim ?

    I recently inherited a restored iPhone 5 from my uncle and its needs a sim to be activated, could i use my friends sim just to activate my iPhone and then give the sim back once its activated without affecting his contract and later on get a sim for myself and a contract for me and it all be normal??? Thanks

    The phone MUST have a SIM present in order for activation to complete. The process will not finish otherwise.
    For the OP:
    If the iPhone 5 is locked to a carrier, you must use a SIM from that same carrier. Otherwise I think you would be OK borrowing the SIM to activate the phone.
    ~Lyssa

  • I transferred itunes library from old PC to new PC. The content all shows when I launch iTunes on the new PC now. The previous content does not show in iTunes but folder still looks like it is on hard drive on new PC. Suggestions on how to properly merge?

    I transferred itunes library from old PC to new PC. The content all shows when I launch iTunes on the new PC now. The previous content does not show in iTunes but folder still looks like it is on hard drive on new PC. Suggestions on how to properly merge?

    Before you connect any device to a new library go to the Devices tab of the the preferences panel via Edit > Preferences (Windows) or iTunes > Preferences (Mac) and ensure the box next to Prevent iPods, iPhones, and iPads from syncing automatically is ticked. You can now safely connect the device to your computer without the danger of media being automatically deleted or overwritten.
    To get all your content off your connect your iPad to your new computer.
    Then use a 3rd party piece of software to transfer your content
    I have found Senuti useful but there are others listed in the article I linked to in a previous post.
    https://discussions.apple.com/docs/DOC-3991
    That will let you transfer your non purchased content
    For Purchased content log in to iTunes on the new computer
    In Itunes Store click on Purchased under the Quick Links section on the right.
    Download any music by clicking on the cloud button

  • When I bought my Mac Air OSX Version 10.9.2 my daughter helped me migrate the contents of my previous macbook.  But in the process seems to have duplicated the iTunes library .  The start up disk is almost full and plus it doesn't my iPhone.  Please help!

    When I bought my Mac Air OSX Version 10.9.2 my daughter helped me migrate the contents of my previous macbook.  But in the process seems to have duplicated the iTunes library - How do I get rid of one.  The start up disk is almost full and plus it doesn't synch properly with my iPhone 4S.  Please help!

    Hello nicky:
    You should run repair disk from your software install DVD before you try anything else. The crash may have damaged some of your directories - and a possible cause of the "missing/not missing" tunes.
    Barry

  • Sharepoint error - Search Issue - The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+msbin1).

    i see this error everywhere - In ULS logs, on site. On the site > Site settings > search keywords; I see this - 
    The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+msbin1). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>IIS 7.0 Detailed Error - 500.19 - Internal Server Error</title> <style type="text/css"> <!-- body{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;background:#CBE1EF;} code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;} .config_source code{font-size:.8em;color:#000000;} pre{margin:0;font-size:1.4em;word-wrap:break-word;} ul,ol{margin:10px 0 10px 40px;} ul.first,ol.first{margin-top:5px;} fieldset{padding:0 15px 10px 15px;} .summary-container fieldset{padding-bottom:5px;margin-top:4px;} legend.no-expand-all{padding:2px 15px 4px 10px;margin:0 0 0 -12px;} legend{color:#333333;padding:4px 15px 4px 10px;margin:4px 0 8px -12px;_margin-top:0px; border-top:1px solid #EDEDED;border-left:1px solid #EDEDED;border-right:1px solid #969696; border-bottom:1px solid #969696;background:#E7ECF0;font-weight:bold;'.
    I am facing issues in searching, my managed metadata service is not running, search results page throws internal error. Any Idea why this above error comes.
    P.S: We use windows authentication in our environment.

    Hi IMSunny,
    It seems you have solved this issue based on your another post.
    http://social.technet.microsoft.com/Forums/en-US/aa468ab0-1242-4ba8-97ea-1a3eb0c525c0/search-results-page-throws-internal-server-error?forum=sharepointgeneralprevious
    Thanks
    Daniel Yang
    TechNet Community Support

  • I have downloaded an app on my phone. My husband tried to download the app on his hone but he used the same apple id as me and it said the app was already installed on another phone and wont install even using a new apple id on his phone.

    I have downloaded an app on my phone. My husband tried to download the same app on his phone but he used the same apple id as me and it said the app was already installed on another phone and wont install even using a new apple id on his phone. HOw do we get this app onto his phone?

    You got the new iphone?????   I have same problem.  I transferred audiobooks to device to find no audiobooks on device (despite it being in iTunes as if it was).  Have you found a solution?????   I even tried to change import settings on format transfer but hasn't worked. 

  • HT4759 My mac mini is not updating its software to OSX Lion v10.7.5.  I would like to use iCloud on my desktop along with my iphone and ipad but the auto updates are only upto 10.6.8.

    My mac mini is not updating its software to OSX Lion v10.7.5, which I need for iCloud.  I would like to use iCloud on my desktop along with my iphone and ipad but the auto updates are only upto 10.6.8. 

    You need to get the newer version from the Mac App Store.
    (70404)

  • I just paid for and downloaded the wrong version of Adobe Acrobat X Pro. I downloaded the Microsoft version and I have a Mac running OX Yosemite. How do I get a credit for what I ordered and then reorder the correct Mac version of Adobe Acrobat X Pro

    I just paid for and downloaded the wrong version of Adobe Acrobat X Pro. I downloaded the Microsoft version and I have a Mac running OX Yosemite. How do I get a credit for what I ordered and then reorder the correct Mac version of Adobe Acrobat X Pro

    If you ordered Acrobat via subscription, then you can use either Windows or Mac version.  Just download/install the Mac version, then activate it with your Adobe ID.
    If you purchased the perpetual license, then you need to Contact Customer Care bu chat or phone.

  • "You can not use this product at this time. Try uninstalling and then reinstalling the product..."

    Hello,
      I am a U.S. citizen who works over the internet at home for a man in the U.K. My boss in the U.K. ordered CS3 from the U.K. and shipped it to the U.S.
    For almost a year, I was able to use the CS3 products until all the sudden, I get an error message that says, "You cannot use this product at this time. Try uninstalling and then reinstalling the product or contact Adobe for technical support." Every time I try and talk to a customer service representative from Adobe, I am either put on hold for about 30 minutes, am asked to contact the offices in the U.K since the product was purchased in the U.K. or am told I can't get any support because I don't have an order number or a serial number or whatever these people are asking for. I do not have that kind of money to be making long distance phone calls to the U.K. only to receive no technical support at all. My job is very important and if my boss paid over $1,000 for the product then either he or I should get the support we need before I end up loosing my job over it. I was once promised a very new clean CS3 CD along with a new serial key for all the trouble I went through with technical support and never received it in the mail. I can give you my boss' contact info, but I refuse to quit until I get the support I am looking for. My boss' number is
    [personal contact info deleted by forum host]
      and he might be able to supply the order number.
                                                   Sincerely,
                                                          Michael S. Lowe

    Try reading this:
    http://www.megaleecher.net/Flexnet_Licensing_Service
    Bob

  • Imac not showing the contents of my classic iPod and iPad when i connect them to the iMac?

    imac not showing the contents of my ipod classic and ipad when i connect them to my imac?

    That's not much to go on.
    What operating system and version are you using? Are you using the most recent version of iTunes? If so, did you update prior to this happening? What other changes might have triggered this? What troubleshooting have you done already and what was the result?

  • How do I get rid of Maverick on my computer and revert to the previous operating system? This update has nearly ruined my iMac destroying its speed, efficiency and flexibility.

    How do I get rid of Maverick on my computer and revert to the previous operating system? This update has nearly ruined my iMac destroying its speed, efficiency and flexibility.

    If restoring to the previous state from backup isn't an option (hopefully it is), it may be easier to try to resolve what is causing problems. It's possible that some incompatible software you have installed is messing with the smooth running of your Mac.
    Can you describe more fully what problems you are experiencing? You could also run EtreCheck and post the contents of its report here - it may reveal the cause as there is some software 'out there' that is known to create problems: http://www.etresoft.com/etrecheck

Maybe you are looking for

  • How can I make a specific page open in a new window when clicked from a menu?

    Don't know if its possible but I have one specific page I want to open in a new window in the browswer when clicked on from a widget menu.  I know how to go in and put the coding in but it would be nice if there is some option in Muse to do that alre

  • How to throw a permanent exception during mapping?

    I'm using the java coding: "throw new RuntimeException(message);" to trigger an error during mapping. This will set the message status to: "System error, manual restart possible". How can I throw a permanent exception during mapping? So that the mess

  • OM: Evaluation Path

    Hi, I need to do the following: Using the general structure interface, display the u2018implementationu2019 structure (object type u201899u2019 and evaluation path u2018BZ99u2019) from root object u201800-XYZ Implementationsu2019. But I do not have t

  • Working with non EO based VO

    Hi, I have a table where the customer id, site use id and inventory_id are saved. the corresponding customer names and site name are saved in 2 different tables. As based on inventory_id passed, customer name and site names should be visible on page.

  • Enable shared variable buffer

    Dear all, I'm writing on a program to create shared variables programmatically. I use the examples available in labview and DSC 8.0 as reference. I'm able to create and set the different properties such as scaling, alarms, inital value etc for the sh