Adornment PDF(Print) issue?
Copy link to clipboard
Copied
Hi
I've developed a plugin just like sdk sample plugin "framelabel". I've added one label adornment to kDrawablePageItemsBoss. It works fine when I export it to pdf as interactive, jpeg...
But my adornment is not exported if I select pdf(print). But the sample plugin framelabel works fine with print too.
Could any one please suggest wats my mistake?
FYI
InDesign CS5.5 (Release)
Win 7
many thanks
~Ays.Hakkim
Copy link to clipboard
Copied
A common mistake is to not have declared the plug-in as a kModelPlugin in your *.fr file. Print PDF export is done asynchronously, so if your plug-in is of type kUIPlugin it won't be copied to the background thread and your adornment won't be drawn.
--Roddy
Copy link to clipboard
Copied
Thanks Roddy. Yes my plugin is a kUIPlugin. I'll split and try it as model & ui.
it won't be copied to the background thread and your adornment won't be drawn.
I hope u mean it wont draw on PDF. Becoz adornment draws fine in indesign page UI.
Copy link to clipboard
Copied
That's right, if the plug-in is defined as a kUIPlugin your adornment will be drawn to the page in InDesign, but it won't appear in the PDF.
--Roddy
Copy link to clipboard
Copied
Thank you, for imm reply.
~Ays.Hakkim
Copy link to clipboard
Copied
Hi Roddy
I tried as model plugin too. Adornment is not exporting to PDF if it is print. But works fine with interactive.
Could you please suggest?
many thanks
~ Ays.Hakkim
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Hi Pickory
Thanks for ur response. I think so.
Could you please check sdk sample "FrameLabel"? Becoz its working fine, and I could not see any interfaces/classes thats only accessible for adobe people.
many thanks
~ Ays.Hakkim
Copy link to clipboard
Copied
Hello,
I suspect Roddy is correct. Check that your project is using the correct Frameworks.
P.
Copy link to clipboard
Copied
I correct.
This is not a bug.
Refer Multithreading in Programming Guide.
Copy link to clipboard
Copied
Hi
Is it mandatory to store adornments to database? Becoz I just tested FrameLabel sample, by commenting write portion of it. Then InDesign didn't export adornment to PDF(print).
Copy link to clipboard
Copied
Refer transparencyeffectui and transparencyeffect sample.

