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

Can't find IID_IAPPSTARTUPSHUTDOWN in CS5

$
0
0

Hi,

 

I've been searching for a while why my .fr could not compile since I'd try to add a startup/shutdown service, adding

 

Class
{
kMyStartupShutdownBoss,
kInvalidClass,
{
    IID_IAPPSTARTUPSHUTDOWN, kMyStartupShutdownImpl,
    IID_IK2SERVICEPROVIDER, kCStartupShutdownProviderImpl,
}
}

 

as documentation said.

 

ODFRC had a problem, it didn't find IID_IAPPSTARTUPSHUTDOWN...

 

I've finally discovered it has been changed for IID_ISTARTUPSHUTDOWN (maybe due do multi-threading) but documentation is obsolete.

 

HTH,

 

J.


TIF / TIFF Import Support in Indesign CS5.5 / CS6

$
0
0

This is also posted in the Indesign forum (http://forums.adobe.com/thread/1348056) though someone suggested to post it here instead.

 

-----

 

Hello,

 

 

I can't find a  reference for the limitations of the type of TIFF file that Indesign CS5.5 / CS6 can support.

 

e.g. Indesign cannot import TIFF file with CCITT Group 4 compression / CCITT Group 3

 

I thought Indesign can support all kinds of TIFF and I was proven wrong when I tried to import a TIFF with CCITT 4 compression (B/W TIFF).

"Error encountered while reading TIFF image. Image may be damaged or incompatible. Resave the image with different settings and try again."

 

Can anyone confirm that importing TIFFs with CCITT Group 4 and CITT Group 3 compression is not supported (and Indesign can only support importing TIFFS LZW, ZIP or no compression) (with reference)?

 

It seems weird that Indesign can set CCITT Group 4 as an export compression format for monochrome images in the PDF export options but doesn't support it in its import options. Am I missing a plugin/update which can do this?

 

Also, can anyone point me to a listing of image graphics that Indesign can import (preferably with detailed information as there may be subsets that are not supported)?

I can only find "http://help.adobe.com/en_US/indesign/cs/using/WSa285fff53dea4f86173837 51001ea8cb3f-6bdea.html".

 

 

Thanks

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

How to enable redraw?

$
0
0

Hi All,

 

How to enable redraw as in the below javascript line?

 

app.scriptPreferences.enableRedraw = true;

 

Regards,

Chinna

AddPlugPlugEventListener in IStartupShutdownService

$
0
0

Hello,

 

I've been trying to figure out what the best place to add event listeners in the plugin lifecycle.

 

It works great if I add it after the application has loaded (i.e. in an action from a context menu)

 

However when I add it in the Startup method from IStarupShutdownService the return value is kEventErrorCode_OperationFailed

 

The code is identical and I cannot get a more detailed error message. Where would otherwise be a good place to put it?

 

InDesign cc 2017 sdk

$
0
0

Hello,

 

I am building plug-ins for InDesign and I need to download the newest SDK for cc 2017, where can I download it ?

 

 

br.

Łukasz

How get Font Id from IPMFont?

$
0
0

To set Font by SDK , I using UID font=170;

If input is font name, i want get font id.

So i get list font from application,

How get Font Id from IPMFont?

I try : font->GetMacFontID()

But it show error: error C2039: 'GetMacFontID' : is not a member of 'IPMFont'

InDesign CC Server 2015 and LBQ

$
0
0

Hi,

 

We are using multiple instances of InDesign CC Server 2015 along with LBQ on a Windows Server 2012.

 

LBQ log files show an error communicating with one the IOR files, and tells that the job will be requeued. But for some unknown reason, the job is not rescheduled before a little more than 10 minutes, meanwhile some IDS instances got free at some point.

 

I can't seem to find any explanation on why this wait time gets so long.. Is there any kind of configuration (like a wait time for rescheduling or something else) I've missed ?

 

Would it be possible to automatically raise priority for a job planned to be requeued ?

 

Thanks for your help.

 

Christophe


First-time InDesign Plugin Developer - Some basic questions

$
0
0

Hello All,

 

I'm an experienced plugin developer for Adobe products but am new to InDesign. I've downloaded the InDesign plugin_sdk_125.zip, extracted it and compiled the sample plugins, I've got some newbie questions :

 

1. When I placed the debug builds into the Plugins folder InDesign said I needed a debug build of InDesign to run them. Seriously? Do I have to get a special build for debugging? The release build plugins ran OK, or some of them, only tested a few so far. Am I missing something really obvious as to why the debug one's failed?

 

2. On the SDK download page there were links to both the 2017 SDK and 2018 SDK. Can I assume if I work to the 2017 SDK the plugins will work in 2018. I don't need to build a version of my plugin per binary do I?

 

Excuse the super-newbie questions.

Thanks

R

Zusatzmodul Cross-References.pln ist nicht mehr installiert - aber alte Dateien benötigen dies

$
0
0

Hallo,

beim Öffnen älterer Dateien erscheint ein Fenster: "Fehlende Zusatzmodule": Cross-references.pln.

Ich kann die Datei zwar öffnen und bearbeiten und mit der neuen Querverweis-Funktion Querverweise setzen, die Datei zeigt keine Fehler an, aber ich kann diese Datei nicht in eine INDB einbinden, da stört das nicht mehr installierte Cross-Reference-Modul.

Ich habe die Datei daraufhin als IDML und auch als INX abgespeichert. Aber selbst wenn ich diese Dateien öffnete, kam der Hinweis mit dem fehlenden Zusatzmodul.

Wie bekomme ich die "Verwendung" von Cross-References.pln entfernt. Ich verwende es ja nicht mehr, aber irgendwo ist das noch "eingeklinkt" und stört.

Danke

indesign multiple substitution opentype feature

$
0
0

I'm trying making a font where a glyph is converted in more glyphs using a stylistic set

and the multiple substitution opentype feature

 

sub f_i by f i;

 

but InDesign seems not support this feature and the original glyph is displayed

is there any workaround?

InDesign Startup alert: Adobe Indesign CC 2018 does not recognize Table Model.InDesignPlugin when opening the program end crashes.

$
0
0

I work on a Macbook Pro with macOS Mojave version 10.14.3.

I was using my InDesign a day before and everything was working smoothly. However when I try to open it today I get a Startup Alert.

 

Adobe Photoshop, Illustrator are still working normally. Can anybody tell me why this is happening and how to solve this problem.

 

It says Adobe InDesign doesn't recognize the Table Model.InDesignPlugin. Please install it again and restart the program (translated from German). I have searched for a Table Model Plugin but couldn't find any result when googling it.

 

Please help, I need this program for my work.

Simple question about "Ignored Words" list

$
0
0
Hello everyone, Merry Christmas and Happy New Year! I have a simple question. How I can change "Ignored Words" list programmatically (add and remove words)? Are there any way to do this? Help me please, I can't find it.

Find/Change presaved Queries Access in Plug-Ins (InDesign 5, Win&Mac)

$
0
0
Hi All!
I try to find an info on how to get an access to presaved Find/Change Queries correctly in my Plug-In. These Queries are saved as separate XML-files in the Presets sub folder. As a result I need to get a queries list like in the "Query" drop-down widget (kFindQueryDropDownBoss) -- (the very top on a Find/Change Dialog) and use these queries outside (and without) the F/C Dialog.

The code must work under Mac or Windows, so I don't want to think out any "nonstandard things" if it possible.

Thanx in advance for your help. Viacheslav.

Getting the XMLReference to change xml element

$
0
0
Hi list,

i'm stuck with the following:
In my plugin, attached observers to the BackingStore to get notified when changes in the xml structure happen. The code works fine to that point, when a user tags text or images, the update method of my observer gets called.
Now i want to go further an do something with the xml element being changed, like adding an attribute.
I find no way however, to get a reference to the element, even after looking at the examples.
Here is the code of my Update method:

void TrvtBackingStoreObserver::Update(const ClassID& theChange, ISubject* theSubject, const PMIID& protocol, void* changedBy)
{
InterfacePtr<IIDXMLElement> theElement(theSubject, IID_IIDXMLELEMENT);
XMLReference theRef= theElement->GetXMLReference();
Utils<IXMLAttributeCommands> command;
command->CreateAttribute (theRef, "testAttribute", "testValue", kTrue);

}

I know the following:
theChange is kXMLSetElementTagCommandBoss
theSubject is the BackingStore
protocol is IID_IIDXMLELEMENT

Can anyone help me out? this code does nothing.
Thanks in advance,
Florian.

Can any body give idea about indesign debug version cs4?

$
0
0

Hi this is sanjeev working for indesign plugin development,

 

can anybody tell where can i get indesign debug version cs4? whether it is available free if it is can please provide the link,

 

if not then how can i get this?

 

Thanks

Sanjeev.k

Find/replace

$
0
0

Hi there,

 

I want to find "a" and replace "b" with "Arial" font using Find/replace method.


I able to find "a" and replace it as "b".

 

I want to know how to set change (font) attributes? Could you please suggest?

 

Here is my code:

InterfacePtr<IFindChangeFormatCmdData> formatCmdData(formatCmd, IID_IFINDCHANGEFORMATCMDDATA);

formatCmdData->ApplyChangeAttributeBossList(???????);

Setting the Facing Pages option of Document Setup.

$
0
0

Hi All,

 

How to uncheck the Facing Pages option of Document Setup dialog.

 

Jasmine

How to make previous version documents(CS1 and CS3) without extension readable in InDesign CS5

$
0
0

I have some previous version documents of CS1 and CS3  on Mac  which have been saved without any extension e.g 300, CS3doc etc.

 

When I open such documents in InDesign CS5 they appear to be unreadable .  Only on  selecting 'All documents' filter  I am able to open those documents.

 

I want to make all such documents (which are without extension) readable with 'All Readable Documents ' also .

 

How I can do that, please  help me !!!!!

CS5 Embedded Image Access

$
0
0

I'm trying to save the embedded image of a frame to a file. (usually, I have access to the linked file, but sometimes, they aren't available to the user, so I have to use the embedded image instead)

 

When I ported my CS4 plugin to CS5, the functionality was removed from the interface I was using.

 

I've tried

     Utils<ILinkUtils>()->CreateFileFromEmbedded(uidRef, idFile);

but it fails.

 

I assume that I've got the wrong uidRef- I know that idFile is correct.

 

Has anybody done this in CS5?

Viewing all 78596 articles
Browse latest View live


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