adobe-indesign

COM returns type that does not implement any interface

安稳与你 提交于 2020-01-13 13:12:10
问题 I need to automate some tasks in Adobe InDesign CS3 from a .NET 4.0 application. I've added a reference to the InDesign Type Library using the Add Reference dialog in Visual Studio. It genereates an interop assembly, which correctly includes all of the interfaces and types declared in the type library. I haven't installed any Adobe SDK, as the type library was available in Visual Studio without installing anything but Adobe InDesign CS3. The interesting types in the interop assembly for me

Random Errors in ActionScript - Memory overflow?

戏子无情 提交于 2020-01-06 21:21:23
问题 We're developing an InDesign CS6 Extension with Adobe Flash Builder 4.6. I got strange errors in a JavaScript Injection, so I converted the JavaScript to Action Script and put it directly into my code. But the errors continue to appear. This is the code: var pageItem:PageItem = (component as BaseComponent).pageItem; var frame:Frame = new Frame(pageItem); var itemIsHidden:Boolean = !pageItem.visible; var tempFile:File; var container:Rectangle = InDesign.app.activeDocument.rectangles.add

Identify coordinates for a visual element in idml

ぐ巨炮叔叔 提交于 2020-01-02 04:59:26
问题 I need to process Indesign Idml files, generate an image, and overlay other elements over certain elements in html. Given an Indesign Idml file (which is a package of zipped xml) and given a visual element in that file (via a tag in the xml). Is there a way to find at what coordinates on the image that visual element falls? 回答1: The heirarchy of containers for an image in an IDML document is as follows: Document [Contains] > Spread > PageItem > PlacedImage. Pages aren't used as containers,

Getting website data into Adobe InDesign

陌路散爱 提交于 2019-12-31 08:52:45
问题 I'd like our magazine team to be able to download website data in a file that Adobe InDesign can read. They can then import/open the file, make a few tweaks, and cut out a vast deal of repetitive manual labour (they currently use copy&paste for a few hours). After a brief Google I note that v2 of InDesign can import/export XML so perhaps that is my best bet? Are there any alternatives, and can anyone offer any advice on them? I am using a PC, and the magazine team are on Macs; testing will be

Getting website data into Adobe InDesign

ぃ、小莉子 提交于 2019-12-31 08:52:05
问题 I'd like our magazine team to be able to download website data in a file that Adobe InDesign can read. They can then import/open the file, make a few tweaks, and cut out a vast deal of repetitive manual labour (they currently use copy&paste for a few hours). After a brief Google I note that v2 of InDesign can import/export XML so perhaps that is my best bet? Are there any alternatives, and can anyone offer any advice on them? I am using a PC, and the magazine team are on Macs; testing will be

how to link server Images in Indesign using XML

本秂侑毒 提交于 2019-12-25 18:58:16
问题 I am using XML as input for indesign, I can format paragraph styles and character styles using XSLT, but I do not know how to link a server image that should load inside indesign when flowing XML in indesign. Can anyone please give a suggestion in this. I tried : <xlink href="file://209.11.157.44:803/Images/2/aec030af5c7a4011ac017e948baa84d7.jpg"/> Kindly note this is a server image, I want to load this image in indesign. Thanks in advance ! 回答1: You cannot load images from an external server

Automated rotating and placing image and text on a page in InDesign

一世执手 提交于 2019-12-25 06:47:07
问题 I have been tasked with taking a set of product images and text and placing them in a booklet (with facing pages) and putting the product description next to the image. Most images are landscape orientation whilst the book is portrait, and so they need to be rotated. For the images that have to be rotated, I'm placing the text in a textframe, fitting the frame to the content, then calculating the max image size, to then resize and then placing the image and rotating 90 / 270 degrees depending

InDesign CS5 Script: Why is `#targetengine` not working correctly?

☆樱花仙子☆ 提交于 2019-12-25 05:06:02
问题 I understand that the declaration #targetengine "myEngineName" would be used for InDesign to remember global variables (found information on this here: http://incom.org/post/89818). However, this was still not enough for it to remember global variables as it still throws an error regarding the global variable imgs : Error Number: 30476 Error String: "if(imgs[i].itemLink != null)" could not be completed because the object no longer exists. ...or something like that anyway. It doesn't like that

How to set Excel Import Preferences in InDesign CS6 using extendscript?

怎甘沉沦 提交于 2019-12-25 03:38:33
问题 This seems like it should be really simple, but for some reason I can't get it to work at all. The following code has no effect whatsoever: function setExcelImportPrefs() { with(app.excelImportPreferences){ rangeName = "A1:Z300"; sheetName = "whatever"; tableFormatting = TableFormattingOptions.excelFormattedTable; } } And this doesn't work either: function setExcelImportPrefs() { with(app.excelImportPreferences){ app.excelImportPreferences.rangeName = "A1:Z300"; app.excelImportPreferences

Batch export indesign file to pdf with custom footer for each client

南笙酒味 提交于 2019-12-24 14:30:41
问题 I have a fairly large Indesign file with a text field that needs to have a different text for each client. The name of the client must come in the text field. When I have for example 100 clients, I want to automaticly export 100 PDF's and each PDF has its own custom text in that field. The name of the client must be appended to the filename of the exported PDF. Example: Portfolio_1_contoso.pdf with "Contoso" in the text field. Portfolio_2_stackexchange.pdf with "Stackexchange" in the text