Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Adornment PDF(Print) issue?

Participant ,
Aug 01, 2013 Aug 01, 2013

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

TOPICS
SDK
1.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 01, 2013 Aug 01, 2013

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 01, 2013 Aug 01, 2013

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 01, 2013 Aug 01, 2013

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 01, 2013 Aug 01, 2013

Thank you, for imm reply.

~Ays.Hakkim

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 05, 2013 Aug 05, 2013

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Aug 05, 2013 Aug 05, 2013
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 05, 2013 Aug 05, 2013

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Aug 05, 2013 Aug 05, 2013

Hello,

I suspect Roddy is correct. Check that your project is using the correct Frameworks.

P.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Aug 05, 2013 Aug 05, 2013

I correct.

This is not a bug.

Refer Multithreading in Programming Guide.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 05, 2013 Aug 05, 2013

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).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Aug 06, 2013 Aug 06, 2013
LATEST

Refer transparencyeffectui and transparencyeffect sample.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines