Quantcast
Channel: Adobe Community : Popular Discussions - InDesign SDK
Viewing all 78596 articles
Browse latest View live

How to delete a single note from a text model

$
0
0

Hi,

 

This is probably a dumb question, but I've looked through the note interfaces and can't find a method which allows me to clear a single note.

I've found ClearAllNotes, but all references in the SDK to deleting a single note seem to be for the panel UI.

 

for the moment, I'm just deleting the text of the note, but that leaves the note marker in the text.

 

Any help for the misguided gratefully accepted.

 

Best

 

Caerwyn


Help! Missing "YTD Channels Model.sdk.InDesign Plug In"

$
0
0

Some existing InDesign files have this message showing up. What should I do? Can I delete this somehow? Or, does anyone know where I could get this missing Plug In? I'm not familiar with what this does, or where it came from. Thanks for your help. Deborah

Spread size in IDML

$
0
0

Hello, I am trying to find out the dimensions of a spread (page) created with InDesign and exported to IDML, but inside the IDML, the XMLs don't appear to include this information...

 

Does anybody know how to get the width and height (in points) of the spread from IDML files?

 

Thanks

error R32762: # Error: Error looking for resource specification. Need 'resource' or 'type'

$
0
0

I have succesfully ported some of my developments to CS5. I have used the following procedure:

- create new project by using dollyX

- add source code

- fix the errors

 

But now I have encountered an error I can't figure out.

 

Error 1 error R32762: # Error: Error looking for resource specification.  Need 'resource' or 'type'. C:\Program Files\Adobe\CS5\InDesign Product SDK\source\public\interfaces\architecture\IPMUnknown.h 47

 

Any suggestions?

 

Im running a windows7 machine, visual studio 2008

How to find InDesign CS5 application folder

$
0
0

Hello, I am trying to install our plug-in to InDesign CS5 plug-ins folder.  Does anyone know how to find where InDesign CS5 is installed on Windows platform?  I am looking for the App Paths registry entry which has worked for previous versions of InDesign, but it seems to me that CS5 does not update/add this App Paths entry.  I tested on Windows XP and Windows 7, none has the entry.

 

Appreciate suggestions.

 

Thanks.

All versions of InDesign: Printing object on pasteboard.

$
0
0

I have a small graphic I am required to place on the pasteboard a few millimeters above the page just before exporting the page to a PDF file.  This graphic must be exported along with the page at export time.  I have found that I must include enough bleed to cover the object or it will not get exported.

 

Adding bleed may play havoc with manufacturing processes further down the line and I really need to export the page without bleed, if at all possible.  Is there any way to print the page and the small graphic as well?

Indesign Server vs. Indesign for COM Programming

$
0
0

Hi,

 

I'm currently using Indesign's COM interface and VB.NET to automate Indesign.  I was considering upgrading to Indesign server, but other than being able to launch multiple instances of server, I can't find very many benefits.  Has anyone else made(or considered) the switch?

 

Thanks,
Jordan

How to interrupt/cancel save process

$
0
0

Hello,

 

Here is the situation : A user is working on an InDesign document with the plugin I develop. He clicks on the save button. At this moment, I would like to "catch" the save action to display a OK/Cancel dialog box. A click on OK will effectively save, while a Cancel click cancels the save action.

 

I have seen the signal system, but it only allows to be informed when a save is being to be processed. I did not see anything about canceling the save process. Is it possible ?

 

Thanks a lot.


EvaluateXPathsForElement gives "Content contains characters which cannot be encoded"

$
0
0

We have a plugin that uses the XML tree to modify graphical objects.

We use EvaluateXPathsForElement to find the XML nodes that need modifying.

 

However, we get the error message: "Content contains characters which cannot be encoded" for the document. The code used is this:

 

K2Vector<WideString> xPaths;
xPaths.push_back(WideString("//*[@c4xpath]"));
xPaths.push_back(WideString("//*[@smddatakey]"));
IDataBase *db = docref.GetDataBase();
InterfacePtr<IIDXMLElement> rootElement(Utils<IXMLUtils>()->QueryRootElement(db));
HitMatches matches;
Utils<IXMLParserUtils>()->EvaluateXPathsForElement(xPaths, rootElement, matches, 0);

 

The document is at:

http://dl.dropbox.com/u/3092856/EvaluateXPathsForElement.indd

 

And I can't see what kind of character should give the error. The document contains no characters at all!

 

Any help would be greatly appreciated!

Not able to use Visual studio 2010 editor intelligence while running SDK sample code ?

$
0
0

whenevr i start sdk sample project in visual studio i can build it ,debug it ,run it but the problem is that VS 2010 editor showing lots of red lines under many lines of code which on Mouse hover show some kind of error(mostly _____ is undefined) moreover i am not able to use intelligence feature of VS editor and i have to check reference of SDK everey time .what is the solution to this problem .

Getting Linker errors while porting InDesign CC plugin code to InDesign CC 2014

$
0
0

Hello,

 

I am getting following linker errors during porting of plugin code from InDesign CC to InDesign CC 2014

 

> PlugInStatics.obj : error LNK2019: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAAEBVerror_category@12@XZ) referenced in function "void __cdecl boost::system::`dynamic initializer for 'posix_category''(void)" (??__Eposix_category@system@boost@@YAXXZ)

> PlugInStatics.obj : error LNK2019: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAAEBVerror_category@12@XZ) referenced in function "void __cdecl boost::system::`dynamic initializer for 'native_ecat''(void)" (??__Enative_ecat@system@boost@@YAXXZ)

 

I am using following environment :

 

OS : Windows 7 SP1 (64bit)

Visual Studio : VS 2013 with platform tool set = Visual Studio 2010 (v100)

InDesign SDK : InDesign CC 2014 plugin SDK (070)

Boost Libraries : 1.55

 

I have added external boost library paths in visual studio -> Linker properties -> Additional Library paths, still above linker errors persists, can someone help ?

 

Thanks,

-Harsh.

InDesign CS6 Hangs on textframe resize

$
0
0

Hi All,

 

I am having trouble with textframe resizing.

I have created custom texframe tool using tracker.

I use below classes and interface for creating custom tool

1. CTool

2. CPathCreationTracker

3.ITrackerRegister.

 

My problem is Indesign CS6 hangs when i perform below steps.

1.Draw texframe using our custom tool.

2.Stroke width = 5pt.

3.StrokeAlign = "Stroke Align to Inside"

4.StrokeColor ="Any color"

5. Resize text frame manually

 

Indesign hangs when i resize textbox manually but when StrokeAlign value is other than "Stroke Align to Inside" then functionality works properly.

 

Can some one suggest something?

 

Thanks

Tahir

Can I use InDesing 2015 SDK on OSX 10.11 and XCode 7.2?

$
0
0

Hi Guys,

 

I have updated my OSX from 10.9 to 10.11 and XCode 4.6.2, that I was using for InDesign plugin development is not working on 10.11.

 

Is there a way I can use XCode 10.11 for PLUGIN development purpose?

Please advice.

And if I can do it then how?

 

Thanks in Advance.

testing inDesign CC 2015 with c# : InvalidCastException error

$
0
0

Hi

I try to use testing inDesign CC 2015 version with this C# asp.net code

 

protected void Page_Load(object sender, EventArgs e)

{

     InDesign.Application app = (InDesign.Application)COMCreateObject("InDesign.Application");

 

     // other code

     ...

}

 

public static object COMCreateObject(string sProgID)

{

     Type oType = Type.GetTypeFromProgID(sProgID);

     if (oType != null)

     {

          return Activator.CreateInstance(oType);

     }

 

     return null;

}

 

When i run this, i receive an InvalidCastException

I try some of different cast sequence but the result is always the same, i can't recover the com object.

InDesign was launch succefully, the object was create, but i can't use it.

 

I search on different topic and forum, try lot of solution but none of them work.

 

Any help?

 

ps : sorry for my bad english, i am french (no, no, don't throw stone at me )

 

Nymau

Change page items type

$
0
0

Hello every one,

I am working on page items.

I meet an issue of changing type of frame.

First, i create a graphic frame by using Rectangle Frame Tool(F).

then i choose Type Tool(T) and click on frame i've just created.

Type of frame will be changed from Graphic to Text Frame.

 

Does any one know which even control this kind of action?

I want to control this action to prevent my frame to be changed.

 

Thank in advance

Duy.


error R32: # Error: Could not open include file VCPlugInHeaders.h

$
0
0

Newbie to Indesign SDK. Help me to get rid out of this following error:

 

     error R32: # Error: Could not open include file VCPlugInHeaders.h

Like this it is listing 22 missing header files error.

 

VS .Net 2005

Indesign CS4

 

Regards,

Suresh

Where to download InDesign CC debug version?

$
0
0

After finally having access to the InDesign CC SDK I am now presented with the problem of debugging a built plugin. Where can i get the InDesign CC (9.2 specifically) debug version?

why two plugin is conflict

$
0
0

Captur.JPGwhy

why two plugin is conflict. i am created one plugin such as DRAWLINE.SDK.PLN . when i was debugging plugin that time generate popup something like  show in above picture

why this is happening.

Sample plugin

$
0
0

Hi,

I am totally new to Adobe Indesign, having got the task to write Indesign plugins.

So I installed IndesignCS4-SDK and tried to start with sample plugins.

In the SDK there is a batchfile buildAllSamples.bat which I started.

For every every sample project there was created a folder [project].sdk.Resources but all thes folders are empty (?).

Furthermore for every project there was created a '.pln' and a '.pdb.file'

I guess, there is something missing, the so created plugins are not recognized by Indesign.

Compiling one single project in Visual Studio I get the warning:

 

SDK\build\win\debug\SDK\(WFP.sdk Resources)\*.idrc could not be found.

so what's wrong here?

any help would be appreciated.

 

Helmut

missing plugin SMD DB/channels does anyone know it?

$
0
0

I have an indesign file with a placed EPS which shows an error, and when opening get a warning that I 'should not open' the file...

 

The missing plugins are shown here (smd db model and smd channels model)...

I dont know anything much about plugins, but have never had a similar message before and a google search does not show any results. 

 

Can anyone enlighten me?

Viewing all 78596 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>