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

How Text Adornment to idml

New Here ,
Sep 05, 2024 Sep 05, 2024

Copy link to clipboard

Copied

Hello everyone,
I am studying the SDK example—BasicTextAdornment, and I have a question. It seems that it cannot store relevant information in the exported IDML file. If I want to make it save the relevant information in the exported IDML file, how should I adjust it?
Thank you.

TOPICS
SDK

Views

62

Translate

Translate

Report

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
Contributor ,
Sep 05, 2024 Sep 05, 2024

Copy link to clipboard

Copied

Hi,

 

Adornment is just the decoration and it will never get saved with IDML file.

You might want to save some data that is used by adornment.

 

For saving the data along with IDML file -

 

1. If you are saving data along with frames then refer FrameLabel SDK sample. You have to expose scripting functions to get your data saved along with IDML file.

 

2. If you have data that belongs to certain range of text ( as you are referring to Text Adornment) then in that case consider tagging the data and add your XML elements and attributes. This will automatically gets saved along with IDML file.

 

Refer to Tags Panel - Window->Utilities->Tags

Refer to View->Structure->Show Structure 

 

- Rahul Rastogi

Adobe InDesign C++ Custom Plugin Architect 

Votes

Translate

Translate

Report

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
New Here ,
Sep 05, 2024 Sep 05, 2024

Copy link to clipboard

Copied

LATEST

Thank you for your reply.

kTARubyXXXBoss are all TextAdornments. Why can this data be saved to IDML, and how can this data be converted back when opening the IDML? I am not very familiar with how TextAdornment works and feel confused.

Votes

Translate

Translate

Report

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