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

PlugIn ported from CS6/Win32 to CC2014/Win64: PlugIn not lodable

$
0
0

Hello everybody!

 

I have ported my CS6 plug-in to CC 2014, but at loading time this message appears:

 

Entry point "?_Orphan_all@_Container_base0@std@@QEAAXXZ not found in DLL <plug-in>-name."

 

Procedure: I took BasicDialog sdk example, built it, it is loadable in CC2014. Then I added all of my c-files, build succeeded. Loading failed.

After this error I removed step by step my own files from the project until the PlugIn was loadable again.

I compared compiler settings with my CS6 project and changed some of them, e.g. optimization. When I switched-off this option, the error also occured, even if the plug-in was loadble with the same code but different settings.

Has anybody seen this message before? And if so, what should I check in my IDE or code?

Thanks a lot!

 

kb_alfa


Problem with kDuplicateCmdBoss (IDCS3)

$
0
0
Hi,<br /><br />I have the following problem :<br /><br />After duplicated an item with kDuplicateCmdBoss, any action on my document cause crash of ID (not protective shutdown).<br />This is the "duplicate" function code:<br /><br />UIDList list(item);<br />UIDRef RefReturn = UIDRef::gNull;<br /><br />InterfacePtr<IHierarchy> hierarchy(item, UseDefaultIID());<br />ASSERT_AND_BREAK_IF_NIL(hierarchy);<br /><br />UIDRef parent(item.GetDataBase(), hierarchy->GetParentUID());<br /><br />InterfacePtr<ICommand> dupCmd(CmdUtils::CreateCommand(kDuplicateCmdBoss));<br />ASSERT_AND_BREAK_IF_NIL(dupCmd);<br /><br />InterfacePtr<ICopyCmdData> data(dupCmd, UseDefaultIID());<br />data->Set(dupCmd, &list, parent);<br />data->SetOffset(PMPoint(0,0));<br /><br />if (CmdUtils::ProcessCommand(dupCmd) == kSuccess) <br />{<br />     RefReturn = dupCmd->GetItemList()->GetRef(0);<br />}<br /><br />return RefReturn; <br /><br />What can i do ?<br />Thanks in advance.

IDML to INDD conversion

$
0
0

Is there any way programatically using Indesign SDK/any other tool to convert IDML XML archive to a binary INDD file?

 

yes ofcourse, IDML can be directly opened in indesign. I want to create IDML dynamically and present it as INDD.

 

Looking forward for some advice on this...

 

Thanks...

How to cut white edge around the exported PDF?

$
0
0

hi all,

When I export the selected item using the kPDFExportItemsCmdBoss, there is white edge around the image.

Is there any method to remove this white edge?

 

Thanks,

Dexter.

How can I replace a text/range of text enclosed in a XML tag

$
0
0

I want to replace a piece of text enclosed inside a XML tag in a text frame.

 

In my input parameters, I have the In-design document page number, text frame UID in that page and the XML tag name inside that text frame

which encloses my old text.

 

what command/function/interface can I use which can help me to replace the existing text with the input text ?

 

eg:

[old text]  -----> [new text]

 

where [ ] is XML tag with name tag1.

Remove all plugin data from a document?

$
0
0
How can I "clean a document" by removing plugin data added by pluggins in a dokument?

Best regards
/ Pontus

PMString XCODE DEBUG - How i see the value in string?

$
0
0
I try to see the value from a PMString, but the debug only show me value in UTF16TextChar [16], when I change the value using View Value AS... I got a message in summary "OUT OF SCOPE".
Someone know how i can do that?

Thanks a loot!

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?


我需要一个示例来告诉我如何用VS2010SP1来开发一个IndesignCS6的插件。为什么所有的SDK指南都没有中文版呢?英语对我来说是个巨大的障碍!

$
0
0

我下载了SDK,安装了VS2010SP1。

但至今我连一个InDesignCS6的插件哪怕是一个示例都没能生成!

中文的资料根本没有,英语对我来说是个巨大的障碍!

希望能看到一个完整的示例教程,那怕是最基础的示例,让我来生成我的第一个插件也好。

XCode CC2014 value summary debugger problems

$
0
0

In previous versions of XCode I have used data formatters to see the values of PMString and the likes. But in XCode5 developing for CC2014, XCode reports the data formatter as valid, but for the individual variables reports "Summary Unavailable".

 

Has anyone a solution to this problem ?

PanelView is not found in InDesign CC 2014

$
0
0

Hi all,

I'm trying to port indesign CS6 into InDesign CC and meet PanelView is not supported in InDesgin CC. Can you please tell me can I use the another for PanelView instead?

I want to put buttons and somethings in a dialog and want they are always in center when i resize dialog.

I also try to use PalettePanelView but it not effect.

Thank so much!

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

EventHandler for TextComboBoxWidget

$
0
0
Hi,

I am using TextComboBoxWidget in my panel. I want to capture enter key on textcomboboxwidget.

I have implemented my own boss class inheriting kTextComboBoxWidgetBoss and overridden the interface IID_IEVENTHANDLER. I have used the Shadow interface - to call the original event handler. In the overridden event handler, I have inherited it from CEventHandler.

But my event handler is never called.

In the panel observer I have called SetkeyboardFocus for my TextcomboBoxWidget - in this case CanHaveKeyFocus does get called.

I dont get any events call in my event handler.

Can anybody help me out of this.

Regards,
RahulR

Catch and cancel "Enter" processing in kIntComboBoxWidget

$
0
0
Hello everyone!

I've faced the following problem:

My dialog contains kIntComboBoxWidget. I need to catch and cancel processing of Enter, Return keypress.

I know (from documentation), that combobox consists of two controls: editbox and drop-downl list. So, I inherited kMyIntComboBoxWidgetBoss from kIntComboBoxWidgetBoss, signed it to IEventHandler through

Class
{
kPhfntFontSizeComboBoxWidgetBoss,
kIntComboBoxWidgetBoss,
{
IID_IEVENTHANDLER, kFontSizeComboBoxEventHandlerImpl,
}
},
and also subsribed my my observer with WindetID to IID_IEVENTHANDLER protocol.

But all I managed to catch - are messages from Dropdown-list. I could not catch any message from editbox.

So, IID_IEVENTHANDLER for EditBox in ComboBox is not reachable for me.

So why do a need to catch Enter-press? I just can't have any default OK button on my dialog, because it's presence on dialog leads to undefined behavoir to other controls on my dialog - I need to click twice on every control on order to LButtonUp invoked, though LButtonDown is invoked from the fist time.

How can I do that?

How to create listbox widget with check boxes?

$
0
0

Hi all,

I need a dialog that should display a listbox widget and for each item in the list box, I need a checkbox. I'm not sure how to implement this, as I'm a beginner. Could you please help me in this regard? Thanks in advance.

 

 

Regards,

John


IDML RelaxNG to XSD

$
0
0

I need the IDML schema in the form of XSD. I have found the full IDML Schema in RelaxNG format but I need XSD. Does Adobe supply the IDML schema in this format? I have tried to convert the RelaxNG format to XSD with no sucess.

 

Thanks in advance for your help.

Customize event handler for TextComboBoxWidget

$
0
0

Hi guys,

I want to customize "virtual bool16 LButtonUp(IEvent* e);" for my TextComboBoxWidget, and i create a new widget boss which inherits from kTextComboBoxWidgetBoss, and implement my own interface IID_IEVENTHANDLER.

 

However, the programe cannot run into my our event handler.

 

I notice that there were two topic in this forum asked this problem, but look like did not get the solution.

 

http://forums.adobe.com/thread/327975

http://forums.adobe.com/thread/454962

 

Any comment will be appreciated.

 

Thansk,

Aidy

Take snapshot and Get page text

$
0
0

hi,everyone

 

I have a question, my goal is get the page text(edit page) and take a snapshot after edit the current page;

 

I got the event save document

 

someone can give me a suggestion?

DollyXs - Release version Does not recognize WriteFishPrice.pln

$
0
0

Hi,

 

I am trying to follow the Getting Started for  Step 1: Use DollyXs to generate a dialog-based plug-in project

 

I have generated the win c++ files using DollyXs, however when I try to load the release version of WriteFishPrices in my Indesign 5.5 trial version, I get an error:

     Adobe InDesign does not recognize WriteFishPrice.pln as a valid plug in.  Please reinstall ...

 

I have built in Release mode, and copied the file to the plugins dir. following the instructions which I have copied below..

 

Copy the WriteFishPrice plug-in file to the Plug-Ins directory in the InDesign CS5 directory; then the

WriteFishPrice plug-in will be loaded when InDesign is launched.

NOTE: Do not install debug plug-ins to the Plug-Ins directory for the release build of InDesign, or vice versa;

if you do, your plug-in will fail to load.

 

Any idea what is going on here? 

What's the next step to getting the debug verison of InDesign CS6?

$
0
0

I've downloaded and used earlier versions of the developer build of InDesign for the Mac and I've completely forgotten how. Hopefully someone here can advise me what I should do and point me in the right direction.

 

At the header to this forum it says:

 

"To use the InDesign SDK effectively, you must have the InDesign debug version installed. The InDesign debug can be accessed through the Adobe partner programs. You can sign up to one of the partner programs using the partner portal. Here's a link to the Solution Partner landing page. Here's a link to the Enterprise Developer Program page."

 

I'm using the account through which we've established a partner program before. So here are my questions.

 

1) How do I search my details to see if I need to renew the partnership? We've previously had one but it could be expired and I can't tell. What sort of partner program should I get?

 

2) Once the partnership program is paid up, where do I go to actually download the debug build for InDesign CS6 for Mac?

 

3) If the above is the wrong approach, does anyone know the SKU for the debug version. We've talked to our contacts at Adobe and they haven't heard of a debug build of InDesign. The SKU might help them find the product for us.

Viewing all 78596 articles
Browse latest View live


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