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

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?


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.

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?

Observing text cut-paste, copy/paste event and extracting pasted RangeData from observer notification?

$
0
0

Hi,

I have written a Observer to notify me on text editing. I have aggregated the CObserver on kTextStoryBoss and I attaching on IID_TEXTMODEL.

 

I am getting the notification in Update() when ever i try to edit text,delete,paste etc. But I need to know the range of text which just triggered the Notification.

 

Eg: In copy paste if a set of characters are pasted in a frame, I need to have the RangeData object for that range so that I can do some manipulations.

 

can someone suggest a way to do it?

InDesign CS3 crash during document open (at XML Attribute Value update for locked item)

$
0
0

OS: Windows XP
InDesign: InDesign Release 5.0.0.458   
Plugins: No additional plugins

 

I am facing crash in InDesign at following workflow

 

Steps:
------
1. Create a new document.
2. Create a graphic frame.
3. Place an Image (C:\TESTDIR\images\test-image.jpg)
4. Tag the graphic frame (Right Click -> Autotag).
5. Lock the layer.
6. Save the doc at (C:\TESTDIR\files\test-doc.indd).
7. Move the image file to (C:\TESTDIR\)

8. Open the same document.
9. InDesign Crash.

 

Crash log:
-----------------
Adobe InDesign Protective Shutdown Log
06/01/09 14:48:51

Unhandled error condition

Session started up at 2:44 PM on Monday, June 01, 2009
Version: 5.0.0 - Build: 458

Error Code 0xbfcd: "Cannot modify elements that contain locked content, or are contained by locked content. Please unlock or check out the content and try again."

 

Command Sequence:
----------------------
> kOpenFileWithWindowCmdBoss = ""
> kOpenFileCmdBoss = ""
  > kOpenDocCmdBoss = ""
   > kSetDocNameCmdBoss = ""
   > kSetDocNameCmdBoss = ""
> kSetAllUsedStyleCmdBoss = ""
  > kSetAllUsedStyleCmdBoss = ""
> kRestoreLinkCmdBoss = "Restore Link" : kBeforeDoMessageBoss @ kDocBoss (IID_ICOMMANDMGR)
> kSetAssetAttributesCmdBoss = "" : kBeforeDoMessageBoss @ kDocBoss (IID_ICOMMANDMGR)
  > kSetAssetAttributesCmdBoss = "" : kAfterDoMessageBoss @ kDocBoss (IID_ICOMMANDMGR)
> kXMLSetAttributeValueCmdBoss = "Set Attribute Value" : kBeforeDoMessageBoss @ kDocBoss (IID_ICOMMANDMGR)
  > kXMLSetAttributeValueCmdBoss = "Set Attribute Value" : kAfterDoMessageBoss @ kDocBoss (IID_ICOMMANDMGR)
> kRestoreLinkCmdBoss = "Restore Link" : kAfterDoMessageBoss @ kDocBoss (IID_ICOMMANDMGR)

 

Please let me know how to stop XML tag updation (execution of  kXMLSetAttributeValueCmdBoss) at document open.

Export Adobe PDF (print ) BasicTextAdornment

$
0
0

Hello,

 

We have a plugin that uses Text Adornments very much like the BasicTextAdornment sample plugin. When we choose to export to PDF our adornments are not being printed, the sample plugin BasicTextAdornment does not print either.

 

Does any one know how we can fix this.

 

Many Thanks.

 

P.

[CS5] Hang when opening a document

$
0
0

Hello,

 

My plug-in copies InDesign documents (aka "templates") inside another one (aka "destination"), after doing some modifications in the "templates". It works on CS4 and CS5, but I have a hang in CS5 during the opening of one of the "templates". I use IDocumentCommands::Open() to open the document.

 

  1. The problem exists only in CS5 (haven't tried CS5.5) and not in CS4
  2. It appears the problem appears only if all my "templates" use different ICC Profiles than my workspace or "destination"'s profiles
  3. If I don't copy my "templates" in my "destination" but just modify them and close them, the hang doesn't appear neither.
  4. I tried to modify the ICC Profiles of the "templates" to be the same of the "destination" before modifications and copy (I don't save the "templates"), the problem appears but not at the same opening.

 

I puzzled... Have someone encountered a similar problem?

 

The stack is :

[...My code...]

6 GetPlugIn + 58568 (in Document Actions) [0x1f26d158]

  6 CmdUtils::ProcessCommand(ICommand*) + 59 (in PublicLib.dylib) [0x116562b]

     6 ??? (in AppFramework + 108264) [0x1e2d96e8]

       6 ??? (in Utilities + 7372) [0x23e6bccc]

         6 ??? (in Utilities + 6819) [0x23e6baa3]

           6 Command::DoImmediate(short) + 34 (in PublicLib.dylib) [0x11644d2]

             6 GetPlugIn + 2347 (in Open Place) [0x2121086b]

               6 ??? (in Open Place + 6213) [0x2120f845]

                 6 GetPlugIn + 33990 (in Open Place) [0x21218406]

                   6 GetPlugIn + 29244 (in Open Place) [0x2121717c]

                     6 GetPlugIn + 2185 (in Document Actions) [0x1f25f519]

                       6 CmdUtils::ProcessCommand(ICommand*) + 59 (in PublicLib.dylib) [0x116562b]

                         6 ??? (in AppFramework + 108264) [0x1e2d96e8]

                           6 ??? (in Utilities + 7372) [0x23e6bccc]

                             6 ??? (in Utilities + 6819) [0x23e6baa3]

                               6 Command::DoImmediate(short) + 34 (in PublicLib.dylib) [0x11644d2]

                                 6 ??? (in Document Actions + 10182) [0x1f2597c6]

                                   6 ??? (in Document Framework + 57356) [0x1f29400c]

                                     6 ??? (in Document Framework + 403670) [0x1f2e88d6]

                                       6 ??? (in Document Framework + 402749) [0x1f2e853d]

                                         6 ??? (in Document Framework + 402105) [0x1f2e82b9]

                                           6 ShuksanInit(IStartupScreen* (*)(), IPlugIn*) + 48550 (in ObjectModelLib.dylib) [0x1076f86]

                                             6 ShuksanInit(IStartupScreen* (*)(), IPlugIn*) + 42722 (in ObjectModelLib.dylib) [0x10758c2]

                                               6 ShuksanInit(IStartupScreen* (*)(), IPlugIn*) + 110394 (in ObjectModelLib.dylib) [0x108611a]

                                                 6 ShuksanInit(IStartupScreen* (*)(), IPlugIn*) + 142405 (in ObjectModelLib.dylib) [0x108de25]

                                                   6 ShuksanInit(IStartupScreen* (*)(), IPlugIn*) + 55650 (in ObjectModelLib.dylib) [0x1078b42]

                                                     6 PreDirty(IPMUnknown*, IDType<ImplementationID_tag>, short) + 89 (in PublicLib.dylib) [0x136b929]

                                                       6 ??? (in ObjectModelLib.dylib + 177181) [0x106341d]

                                                         6 ??? (in ObjectModelLib.dylib + 175398) [0x1062d26]

                                                           6 GetPlugIn + 776491 (in AppFramework) [0x1e3a16bb]

                                                             6 GetPlugIn + 795294 (in AppFramework) [0x1e3a602e]

                                                               4 DatabaseSnapshot::GetPersistObjLastRevInfo(IDType<UID_tag>, IDType<ImplementationID_tag>, ILastRevInfoCache*) const + 332 (in DataBaseLib.dylib) [0x1108f9c]

                                                                 4 InterfaceSnapshotUtils::GetSnapshotSize(scoped_snapshotdataref const&) + 15282 (in DataBaseLib.dylib) [0x1103a02]

                                                                   1 InterfaceSnapshotUtils::GetSnapshotSize(scoped_snapshotdataref const&) + 13974 (in DataBaseLib.dylib) [0x11034e6]

                                                                     1 InterfaceSnapshotUtils::GetSnapshotSize(scoped_snapshotdataref const&) + 12501 (in DataBaseLib.dylib) [0x1102f25]

                                                                       1 InterfaceSnapshotUtils::GetSnapshotSize(scoped_snapshotdataref const&) + 14199 (in DataBaseLib.dylib) [0x11035c7]

                                                                         1 InterfaceSnapshotUtils::GetSnapshotSize(scoped_snapshotdataref const&) + 13026 (in DataBaseLib.dylib) [0x1103132]

                                                                           1 DatabaseSnapshot::GetPersistObjLastRevInfo(IDType<UID_tag>, IDType<ImplementationID_tag>, ILastRevInfoCache*) const + 168 (in DataBaseLib.dylib) [0x1108ef8]

                                                                             1 InterfaceSnapshotUtils::GetSnapshotSize(scoped_snapshotdataref const&) + 3738 (in DataBaseLib.dylib) [0x1100cea]

                                                                               1 DatabaseSnapshot::GetPersistObjLastRevInfo(IDType<UID_tag>, IDType<ImplementationID_tag>, ILastRevInfoCache*) const + 330 (in DataBaseLib.dylib) [0x1108f9a]

How to setup Xcode 4.2 for indesign plugin development

$
0
0

Hi all,

i am trying to add an indesign project template to xcode 4.2. I read and try almost all and nothing is working for me. I was trying to go step by step as getting started pdf from adobe shows, but its targeted for xcode 3.x, so any luck here... I am not able to sucessfuly run even dollyxs from terminal, it just generate empty txt file. Could anyone tell me please or shows link how to add indesign template to xcode 4.2???

thanks in advice


Equivalent method in C++

$
0
0

Hi,

 

 

   We have the requirement to place symbols in a textframe. As each symbol has one character code . We have the method in javascript String.FromCharCode.

which converts the charcode to eqivalent value. What is the method equivalent of String.FromCharCode in C++.

 

Shirish.M

Self signed Extension not visible in Indesign CC although installed in Extension manager CC

$
0
0

I have a HTML Extensions which I self signed (by creating a self signed certificate) using ZxpSignCmd. I exported my Extension in ZXP format

and it got installed under Indesign CC 32 bit.

 

But when i open indesign and check for my extension, I cannot find it under Extensions Tab.

 

Pleas note that when I copy the ZXP contents in the "C:\Users\CS47\AppData\Roaming\Adobe\CEPServiceManager4\extensions", It appear in Indesign CC.

 

But i need to install it using Extension manager.

I can't find another thread with a similar issue so please let me know how to deal with this.

Getting Linker error while running our code in InDesign CC

$
0
0

Hi,

 

We are upgrading our plug-ins to Adobe InDesign CC. In that we are facing a problem(linker error) while running our code,

 

1>AssetCustomView.obj :error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall DVControlView::~DVControlView(void)" (__imp_??1DVControlView@@UAE@XZ) referenced in function __unwindfunclet$??0AssetCustomView@@QAE@PAVIPMUnknown@@@Z$0

1>AssetCustomView.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall DVControlView::DVControlView(class IPMUnknown *)" (__imp_??0DVControlView@@QAE@PAVIPMUnknown@@@Z) referenced in function "public: __thiscall AssetCustomView::AssetCustomView(class IPMUnknown *)" (??0InCatAssetCustomView@@QAE@PAVIPMUnknown@@@Z)

1>AssetCustomView.obj : error LNK2001: unresolved external symbol "public: virtual class IPMUnknown * __thiscall AbstractControlView::QueryInterface(class IDType<struct PMIID_tag>)const " (?QueryInterface@AbstractControlView@@UBEPAVIPMUnknown@@V?$IDType@UPMIID_tag@@@@@Z)

1>AssetCustomView.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall AbstractControlView::AddRef(void)const " (?AddRef@AbstractControlView@@UBEXXZ)

1>AssetCustomView.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall AbstractControlView::Release(void)const " (?Release@AbstractControlView@@UBEXXZ)

1>AssetCustomView.obj : error LNK2001: unresolved external symbol "public: virtual class IDType<struct WidgetID_tag> __thiscall AbstractControlView::GetWidgetID(void)const " (?GetWidgetID@AbstractControlView@@UBE?AV?$IDType@UWidgetID_tag@@@@XZ)

1>AssetCustomView.obj : error LNK2001: unresolved external symbol "public: virtual class PMRect const & __thiscall DVHostedWidgetView::GetFrame(void)const " (?GetFrame@DVHostedWidgetView@@UBEABVPMRect@@XZ)

1>AssetCustomView.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall DVHostedWidgetView::Resize(class PMPoint const &,short)" (?Resize@DVHostedWidgetView@@UAEXABVPMPoint@@F@Z)

1>AssetCustomView.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall DVHostedWidgetView::Invalidate(class PMRect *)" (?Invalidate@DVHostedWidgetView@@UAEXPAVPMRect@@@Z)

1>AssetCustomView.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall DVHostedWidgetView::Show(short)" (?Show@DVHostedWidgetView@@UAEXF@Z)

1>AssetCustomView.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall DVHostedWidgetView::Hide(void)" (?Hide@DVHostedWidgetView@@UAEXXZ)

1>AssetCustomView.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall DVHostedWidgetView::Enable(short,short)" (?Enable@DVHostedWidgetView@@UAEXFF@Z)

1>AssetCustomView.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall DVHostedWidgetView::Disable(short)" (?Disable@DVHostedWidgetView@@UAEXF@Z)

 

Please help us if anyone has idea regarding this error.

 

Thanks,

Vimala L

SnapshotUtilsEx::ExportImageToPNG differences in performance in CC

$
0
0

This is a bit random, but I'm out of ideas.

 

I'm using SnapshotUtilsEx::ExportImageToPNG in my plugin. It's working great in InDesign CS5.5 and CS6, but when I run it in CC, it takes around 1.5 seconds per page item instead of around 0.01s. The effect making the plugin virtually unusable when applying to a significant number of page items.

 

To make things more mysterious, I'm running the Snapshot sample on the same page items in CC, and it runs at the faster speed.

 

My plugin code creates and draws the snapshot in exactly the same way as the snapshot SDK sample, with exactly the same parameters.

There's no CC-specific code in my plugin which would make the snapshot different to 5.5 / 6

 

Is there something I could be failing to set up which the sample would have done? Or something I'm doing that could be affecting the export function adversely?

Any ideas gratefully received!

 

Thanks in advance

How to re-use indesign plugin version CS6 in CC version

$
0
0

Hi everyone

 

Now I completed some plugins for CS6 version(they are running ok in CS6), when I copy them to CC version and start CC version, an error occurs "InDesign does not recognize pluginName.PLN as a valid plugin.  Please reinstall..."

 

So, can guide me how to re-use plugins version CS6 in CC version please?

 

Thanks

How to get the spread coordinates w.r.t. the page?

$
0
0

The original problem is -

 

I need to move some InDesign elements form one position to the other. For this I've used ITransformFacade::TransformItems(). Everything is working fine except the case-

 

- If I try to move the element beyond the spread, InDesign crashes! So the problem is- HOW TO HANDLE THIS CASE?

 

I'm not really sure if there's a straight-forward solution to handle this case but the possible solution to this that I thought of is that- get the spread coordinates wrt the page and then do a check before moving the items.

 

So to get the spread coordinates wrt the page, I did this-

 

PMMatrix page2pb = ::InnerToPasteboardMatrix(pageGeometry);
PMMatrix pb2page = page2pb.Invert();
//bounds
spreadGeometry->GetPathBoundingBox(pb2page)

 

 

Now, for the first page/spread, I'm getting absolutely correct coordinates of the spread, but for the other pages I'm getting incorrect y-coordinate! I'm not really sure what wrong am I doing here!

 

Please guide me. Thanks!

How to add notes?

$
0
0

Hi

 

Can you please help me how to add multiple notes through insertion points in InDesign Document?


Thanks,


I am new to in-design plugin. Could any one tell me or better provide me some code snippet how to use event 'kAfterSelectionAttributeChangedEventScriptElement'. Thanks in advance.

$
0
0

I am new to in-design plugin. Could any one tell me or better provide me some code snippet how to use event 'kAfterSelectionAttributeChangedEventScriptElement'.

Thanks in advance.

Can I get sample plugin code/project etc. in which all the event supported has been handle. similar to JS script found at http://in-tools.com/downloads/asst/EventWatcher.zxp. Posted on forum https://forums.adobe.com/message/3930199

InDesign Plugins Development using C# or Java

$
0
0

Dear All,

I would like to know the below questions all answers are welcome:

  1. Is it possible to develope InDesign plugins using C#/Java? If yes, then please let me know how.
  2. Is it possible to develop cross-platform plugins (Mac & Windows) using any languages?
  3. Why InDesign SDK is having limitation for using VC++?

 

I am going to work on InDesign CS4 plugins development and the challenges infornt of me is cross-platform & VC++.

 

Regards,

Rajeev Kumar

Getting error while opening our plugin in InDesign CC debugger

$
0
0

Hi,

 

I am getting below error while opening our plugin in Adobe InDesign CC Debugger. Kindly help me to fix this issue.

NodeID_rv::fNodeID should be nil, NodeID_rv should only be used as a return value, and it should always Relinquish() it's NodeIDClass*.  Otherwise we'll leak

 

Thanks,

Vimala L

Double-Click Event in a Tree View Widget

$
0
0

Hello all,

 

I am managing a tree view widget with an attached observer. My question now is how to react to double-clicks? Is there a way to achieve this inside one observer?

 

Thank you!

 

Regards,

Reinhard

Viewing all 78596 articles
Browse latest View live


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