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.
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
Copy link to clipboard
Copied
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.