Unable Export Indesign document  to RTF format

PMString inrtfPath1("C:\\exind1.rtf") ;<br />IDFile inrtfpath(inrtfPath1) ;<br />InterfacePtr<IK2ServiceRegistry> theRegistry(gSession, UseDefaultIID());<br />               ASSERT_MSG(theRegistry != nil, "Could not get IK2ServiceRegistry from session");<br /><br />               for(int32 iProvider = 0; iProvider < theRegistry->GetServiceProviderCount(kExportProviderService); ++iProvider)<br />               {<br />               // Get the service provider boss class<br />               InterfacePtr<IK2ServiceProvider> theProvider(theRegistry->QueryNthServiceProvider(kExportProviderService, iProvider));<br />               ASSERT_MSG(theProvider != nil, "Could not get IK2ServiceProvider from list");<br /><br />               InterfacePtr<IExportProvider> theExportProvider(theProvider, IID_IEXPORTPROVIDER);<br />               ASSERT_MSG(theExportProvider != nil, "Could not get IExportProvider from service provider");<br /><br />               IActiveContext* theContext = gSession->GetActiveContext();<br />               if(theExportProvider->CanExportThisFormat(doc, theContext->GetContextSelection(),"Rich Text Format" /*"Sangam Rtf Export" <br />//))// "HTML"))// "Adobe PDF"*/))<br />               {<br />               // Create a PDF from the document<br />               CAlert::InformationAlert("can export");<br />               theExportProvider->ExportToFile(FileUtils::PMStringToSysFile(inrtfPath1) , doc, theContext->GetContextSelection(),"Sangam Rtf Export" /<br />/*"Adobe PDF"*/, kSuppressUI);//kSuppressUI);<br />               }<br />               }<br /><br />I tried using "Rich Text Format" , "RTF" and "Sangam Rtf Export" but CanExportThisFormat fails.<br />Export file create .rtf file with 0 size without containing any data.<br /><br />With above code I am able to Export document as Adobe Pdf only other formats like TEXT , XML , HTML, RTF are failed.<br /><br />Please give some solution to

When I set ExportToFile() function's last parameter to kFullUI ,
I get one Export JPEG window and
then error :-
"exind1.rtf" is already open by "^2".
You don't have permission to change the file.
After showing this message
one progress bar is shown and after that SVG options window is shown.
then one progress bar is shown and then one window of Adobe Indesign Tagged Text Options is displayed . When I click on Okof this window.
Rtf file is created without containing ant data.
Please give some solution for exporting indesign document to RTF format.
Regards,
Pallavi.

Similar Messages

  • HOW TO EXPORT INDESIGN DOCUMENT TO RTF DOCUMENT?

    I don't have any basic idea about, how to export indesign document to RTF document?,pls help me ...

    I don't think you can, because in the UI you can only export to RTF (which is the closest to MS Word). Look into story commands.
    If you want to write an entire new plugin that takes an ID document (rather than a single story) and exports it to Word, you'll have to iterate over each of the page items (and/or stories, etc.) in your document and write them out in a format that Word would understand.

  • Automator Workflow to export Numbers documents in PDF format

    Does anyone know of any automator workflow to export Numbers documents in PDF format? I tried this program: Convert to PDF 1.2
    http://www.apple.com/downloads/macosx/automator/converttopdf_mauriziominelli.htm l
    But it gives an error.

    Reading carefully is often useful.
    The description of the tool which you tried clearly states :
    *About Convert to PDF*
    *_Convert all of your text files to PDF_. This action uses the underlying cups printing system ability to convert files, it’s a simple front end to the command line tool cupsfilter.*
    As far as I know, but maybe you don't, *_a Numbers document isn't a text file._*
    I already posted a script exporting Numbers documents as PDF.
    Here is an enhanced version which apply only to Numbers '09 (or maybe higher) :
    --[SCRIPT save2Numbers&PDF.app]
    Enregistrer le script en tant que Script : save2Numbers&PDF.scpt
    déplacer le fichier créé dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Numbers:
    Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
    aller au menu Scripts , choisir Numbers puis choisir save2Numbers&PDF
    Le script enregistre le document au format natif de Numbers
    et l'enregistre dans un fichier PDF.
    S'il existe déjà un PDF homonyme, il est renommé en lui ajoutant une chaîne
    construite sur sa date de modification.
    --=====
    L'aide du Finder explique:
    L'Utilitaire AppleScript permet d'activer le Menu des scripts :
    Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case "Afficher le menu des scripts dans la barre de menus".
    +++++++
    Save the script
    as a Script: save2Numbers&PDF.scpt
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
    Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
    go to the Scripts Menu, choose Numbers, then choose save2Numbers&PDF
    The script saves the document in the native Numbers format and saves it in a .pdf file
    If such a .pdf already exists, it is renamed with a stamp matching its modification date.
    --=====
    The Finder's Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the "Show Script Menu in menu bar" checkbox
    --=====
    Yvan KOENIG (VALLAURIS, France)
    modifié 2010/08/17
    property closeIt : true
    (* true = closes the saved document
    false = doesn't close it *)
    property theApp : "Numbers"
    property theExt : "numbers"
    --=====
    on run
    tell application theApp
    activate
    set le_document to front document
    if modified of le_document then save le_document
    delay 0.2
    set thePath to path of document 1
    end tell -- theapp
    set {xPath, xExt} to my saveAs(thePath)
    if closeIt then tell application theApp to close document 1 saving no
    end run
    --=====
    on saveAs(p)
    local extension_export, type_export, nomde_loriginal, dossierde_loriginal, nomde_lexport, cheminde_lexport
    set {extension_export, type_export} to {"pdf", "LSDocumentTypePDF"}
    set {nomde_loriginal, dossierde_loriginal} to my quelNomEtDossier(p)
    if nomde_loriginal ends with theExt then
    • replace the original extension by the xExt one *)
    set nomde_lexport to (text 1 thru -(1 + (length of theExt)) of nomde_loriginal) & extension_export
    else
    • add the xExt extension name *)
    set nomde_lexport to nomde_loriginal & "." & extension_export
    end if
    set cheminde_lexport to dossierde_loriginal & nomde_lexport
    • CAUTION, When saving, Numbers doesn't take care of an existing document.
    It replaces it by the new one. *)
    tell application "System Events"
    if exists (file cheminde_lexport) then
    Playing safety, we rename the existing file by inserting a modificationdatetime stamp *)
    set name of file cheminde_lexport to (text 1 thru -(2 + (length of extension_export)) of nomde_lexport) & my horoDateur(modification date of file cheminde_lexport) & "." & extension_export
    end if
    end tell -- System Events
    • save as type_export document *)
    tell application "Numbers" to save document nomde_loriginal as type_export in cheminde_lexport
    return {cheminde_lexport, extension_export}
    end saveAs
    -- =====
    on quelNomEtDossier(f)
    local nom, dossier
    tell application "System Events" to tell file (f as Unicode text)
    set nom to name (* Unicode text *)
    set dossier to path of container (* Unicode HFS path *)
    end tell -- to System Events
    return {nom, dossier}
    end quelNomEtDossier
    --=====
    • Build a stamp from the modification date_time
    on horoDateur(datedemodification)
    local les_secondes
    set les_secondes to time of datedemodification
    return ("_" & year of datedemodification & text -2 thru -1 of ("0" & (month of datedemodification as integer)) & text -2 thru -1 of ("0" & day of datedemodification) & "_" & text -2 thru -1 of ("0" & les_secondes div 3600) & text -2 thru -1 of ("0" & (les_secondes mod 3600) div 60) & text -2 thru -1 of ("0" & les_secondes mod 60))
    (* Here, the stamp is "YYYYMMDDhhmmss" *)
    end horoDateur
    --=====
    --[/SCRIPT]
    Yvan KOENIG (VALLAURIS, France) mardi 17 août 2010 18:16:27

  • Exporting InDesign document to epub

    InDesign exports documents to ePub. It works well.
    But afterwards the document needs more formatting. I have read the Adobe document entitled 'Producing ePub Documents from InDesign' but I am not able to open the file (after unzipping the archive) so that any of the existing xhtml coding is visible.
    Does anyone have any further documentation regarding producing ePub files?

    From InDesign 6.0 to 6.0.3, there were issues with font embedding, but they were quite easily overcome by editing the EPUB file (see fix here: http://forums.adobe.com/thread/330027). With 6.0.4, the font embedding feature is broken. Not all the type faces are copied into the Fonts folder. The CSS file doesn't reference all the type faces used and the encryption.xml file doesn't reference them either. It's possible to fix the EPUB file so that the fonts are embedded, but it's a huge pain, so stick with 6.0.3 if you're serious about EPUB publishing.
    As for using the PDFXML Inspector, I wasn't detailed enough in my explanation (sorry to create that confusion). When you open an XML or XHTML file with PDFXML Inspector, extra breaks are inserted in order to make the code easier to read.
    So the following code...
    <p class="body"><span class="generated-style">Ehene nemquunto tet, omnit untium aut aut molupta temquia saperum venis aut dit, </span><span class="italic">conem</span><span class="generated-style"> dolut am cus rehendiatur? Ducitibusam et qui culpa dolum volore provitaque sit accum rerspelit fugia ped ma </span><span class="italic">velicipsanis</span><span class="generated-style"> consequ aturibus dolum laut a dolest, cuptis es dolorro ma aliam sit optatur, eos alique se veris cus in repellabo. Aquiasp </span><span class="bold">icaborerae</span><span class="generated-style">. Nat as sum arum harchici audanis et verrore henimoluptas utecepuda ped que odignimo delit voluptatat quosa etur?</span></p>
    becomes...
    <p class="body">
    <span class="generated-style">
    Ehene nemquunto tet, omnit untium aut aut molupta temquia saperum venis aut dit,
    </span>
    <span class="italic">
    conem
    </span>
    <span class="generated-style">
    dolut am cus rehendiatur? Ducitibusam et qui culpa dolum volore provitaque sit accum rerspelit fugia ped ma
    </span>
    <span class="italic">
    velicipsanis
    </span>
    <span class="generated-style">
    consequ aturibus dolum laut a dolest, cuptis es dolorro ma aliam sit optatur, eos alique se veris cus in repellabo. Aquiasp
    </span>
    <span class="bold">
    icaborerae
    </span>
    <span class="generated-style">
    . Nat as sum arum harchici audanis et verrore henimoluptas utecepuda ped que odignimo delit voluptatat quosa etur?
    </span>
    </p>
    The line breaks are rendered as spaces in the EPUB file, which is not always a problem. But it can be a problem, for example, if a bold word is followed by a period at the end of a sentence. In that case, an extra space will be added between the bold word and the period.
    I just discovered that you can overcome this issue if you turn off the "Pretty Printing" option by choosing View > XML > Pretty Printing. Do this before opening an EPUB file and making edits to it.
    So thanks to Jeremy, I looked into PDFXML Inspector a little deeper and now I recommend it for editing EPUB files! It's not as user-friendly and robust as a professional XML editor, but it gets the job done for free.

  • Export Indesign Document to Incopy Document

    Hi,
       I need to export the Indesign Document(.indd) to Incopy Document(.incx).I have used the following code
    app.documents[0].exportFile(ExportFormat.INCOPY_DOCUMENT, File("C:/Program Files/Adobe/Adobe InDesign CS3/Scripts/test/Input_Output/test.incx"), false);
    But it shows error like "The specified object doesn't support the desired export format".
    Please suggest me.
    Regards
    Kumar

    Could you send me a sample document (askoldich [at] yahoo [dot] com) so I could recreate the problem? I wrote this script for our own workflow and it has been working for us without any problems for about 9 months — probably your documents have a different set up than ours — I'd like to see what causes the error .
    Kasyan

  • Crystal report 8.5 export to csv and rtf format not working with office 2013

    Hi Experts,
    Crystal report version 8.5 hangs and eventually crash when i export my report to csv or rtf format on windows 7 with office 2013 installed, code is written in VB 6 although the same scenario is working with office 2010 installed.
    i debugged the code and found the application hangs at function Report.Export(False).
    below is the code snippet
           .PDFExportAllPages = True 'ePDFExportAllPages
           .PDFFirstPageNumber = ePDFFirstPageNumber
           .PDFLastPageNumber = ePDFLastPageNumber
           .RTFExportAllPages = True 'eRTFExportAllPages
           .RTFFirstPageNumber = eRTFFirstPageNumber
           .RTFLastPageNumber = eRTFLastPageNumber
           .UseReportDateFormat = eUseReportDateFormat
           .UseReportNumberFormat = eUseReportNumberFormat
           .UseReportNumberFormat = eUseReportNumberFormat
           .XMLAllowMultipleFiles = eXMLAllowMultipleFiles
           .XMLFileName = eXMLFileName
           Report.Export (False) ----Application hangs here and eventually crash
    Looking forward for your help, as it is very urgent
    Regards
    Mohit

    Hi Mohit
    CR 8.5, being about 15 years old, does not support Windows 7. I am surprised this works for you with MS Office 2010 and to be honest, I'd consider my self lucky there. The fact that is does not work with office 2013... well, like I said, lucky with Office 2010 and your luck ran out with Office 2013.
    Your option; rewrite the app in VS 2010 / 2012 / 2013 and use the CR Assemblies for VS .NET from SAP Crystal Reports, Developer Version for Visual Studio .NET. The CR Java SDK would be another option.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Unable to View output in .rtf format

    Hi guys,
    I am new to BI publisher.
    I want to view the output in .rtf format
    When click on view output I am getting an error "Unable to find the published output for this request" and then "No output file exists for request xxxxxxxx"
    Do we need to apply any patch on the applications side in order to resolve this
    I am able the output in .pdf format on the serverside
    I am unable to view it in .rft or excel format
    Any suggestions

    Is the issue with XML/PDF concurrent requests or with all requests?
    Can you find any errors in Apache/Database log files?
    Is the application listener up and running? Can you find any errors in the listener log file?
    Have you tried to run AutoConfig and bounce the services and see if this helps?
    Thanks,
    Hussein

  • Export indesign document to pdf white strokes around text

    Hello there, I have this problem, I am exporting an indesign document to interactive pdf, and the problem seams to appear, when I open the created pdf in adobe reader x, it shows some of the text with white outlines, and the text looks very thick. When previewed in indesign, it looks perfect, text looks crisp. I also opened the pdf document with apples preview, and in preview it looks fine! But in adobe reader it looks horible, I tried adobe readers on other computers, and they all show up with the outline. What causes this anoying issue? plase help, thanks

    We'd have to see the file to know for sure, but this sounds like a transparency flattening issue. Thickened text is indicative of it being converted to outlines, whcih can happen when it interacts with transparency. It's not clear if your white lines are around theindividual glyphs, or around the entire areas. The latter is also a common flattenign artifact called "stitching" that shows up on screen and in low resoution printing.
    The first bit of advice is to keep your text at the top of the stacking order, above transparency, shadows, and other effects. It sometimes helps to have a top layer just for text. The way to eliminate these artifacts 100% of the time is to not flatten transparency at all, which is possible in Print PDFs, but alas, not in Interactive.

  • Create documents (.doc / .rtf format) through a custom form

    Hi all!
    As I specify in the object I need to find a way to create a document (in doc format) exporting data either through a custom form or with a concurrent request (if u have another choice please explain me!!).
    P.S.: I' ve just posted a similar topic in another forum but we have high priority and I dont know how to post it!! :)
    Thx all
    Jacopo

    you should look at XML Publisher for generating such reports.
    http://www.oracle.com/technology/products/applications/publishing/index.html

  • Problem export Indesign document to epub

    I get the following message everytime when I try to export an Indesign document to epub.
    "  The file was exported but one or more problems were detected:
    Resource: 1 missing
    Macintosh HD:Ap…n
    CS6.app:Contents:MacOS:template.css"
    Can someone tell me what it means and what I can do to correct this.
    Thanks
    Regards
    Claudine

    Your InDesign CS6 file probably was created in an earlier version where the CSS file created was handled in a different way. It's associated with a "template.css" file that InDesign cannot find.
    Choose File > Export > EPUB. Go to the Advanced panel. In the CSS Options section, select "template.css" in the Additional CSS section, and click Delete.

  • How to export indesign document to MS word?

    I didn't have any idea about this ,pls help me

    I don't think you can, because in the UI you can only export to RTF (which is the closest to MS Word). Look into story commands.
    If you want to write an entire new plugin that takes an ID document (rather than a single story) and exports it to Word, you'll have to iterate over each of the page items (and/or stories, etc.) in your document and write them out in a format that Word would understand.

  • Cannot export InDesign document as small pdf

    Need to export an InDesign multi-page document as a small pdf file for internet viewing.
    Have tried in CC and CS6. Even though it's set to "Smallest File Size," the document is not compressed.
    The interesting thing is that, with exactly the same document, sometimes it will be properly compressed and sometimes it won't (original document size: 31MB; Smallest File Size: 4 to 6MB). Have tried with the same document in both CC and CS6.
    Any explanations or cures?

    Dear Mylenium,
    Thank you (I think) for your response. There was a similar post from early in July somewhere, and I had already followed all the suggested steps to no avail (as did the poster).
    I solved the problem by deconstructing the document and extracting pages until I found the spread that was causing the difficulty. Prior to that, I had audited the space usage (in the pdf optimizer command) and found that the bulk of the megabytes were being used in shading instructions.
    As a last resort, when I found the offending spread I imported the extracted pdf page into Photoshop, flattened the file thus rasterizing it, and exported it again as a Photoshop pdf.
    I recombined the pages and ended up with a document that was suitable for our use.
    I'm sorry I chose the wrong forum. This was the first time I'd ever posted anything. There are several Adobe applications that produce pdfs and aside from not really knowing where to go, wondered if the problem had been encountered in other applications.
    I have been using InDesign in various forms since it was Aldus PageMaker. And this is not the only issue we've had with the CC software. We are discussing now whether to drop the Cloud membership when it expires and move to Quark. We are primarily print publishers with tight, tight deadlines. What we need is relatively reliable software that produces consistent results, not something that seems to be in a chronic state of BETA testing.

  • Indesign Document to Ibooks format?

    What is the best method to take a document/catalog created in indesign cs5 to the new ibooks format (using the new software) Are any users doing this?
    Robert

    You don’t…you start from scratch.
    And if it’s a catalog I wouldn’t count on it being approved by Apple, though if you don’t sell it, you could just sideload it.
    Bob

  • Export InDesign Document to PDF-Clipped Error

    When I export an InDesign file to Interactive PDF, I get the following message.
    I've tried everything I can think of. What is the resolution?
    Brooke ...

    The only answer is to not clip the interactive elements, and to always have them on the top layer. That's how the files will end up anyway. Because, as the message says-- the PDF format cannot reproduce what you did in an interactive file.

  • Trouble Exporting a Document to Word format

    I just installed the update to Pages and now can't seem to export a Pages document to word.  The document has a lot of tracked changes in it and I am getting an error message of "an unknown error has occurred".  Any suggestions how to fix this?

    As we can not see the "complete mess" maybe you should describe the problem to us?
    Or were you just letting us know?
    Peter

Maybe you are looking for