Thread View: adobe.indesign.sdk
4 messages
4 total messages
Started by Hans Stoessel
Mon, 23 Mar 2009 16:45
CS3 / Win: TextModel - Text: How can I detect the insert or edit or delete of the content?
Author: Hans Stoessel
Date: Mon, 23 Mar 2009 16:45
Date: Mon, 23 Mar 2009 16:45
12 lines
901 bytes
901 bytes
Hi Is it possible to detect the insertion of text in a text frame? Is it possible to detect the deletion of text in a text frame? Is it possible to detect the edit of text in a text frame? Maybe there is an event or a service provider to do that. Can anybody help me? Thanks Hans
Re: CS3 / Win: TextModel - Text: How can I detect the insert or edit or delete of the content?
Author: Dirk_Becker
Date: Mon, 23 Mar 2009 18:39
Date: Mon, 23 Mar 2009 18:39
9 lines
964 bytes
964 bytes
See these services: IID_IK2SERVICEPROVIDER kTextPreProcessService (yes, that's an Impl!) IID_ITEXTEDITPREPROCESS => ITextCommandPreProcess / CTextCommandPreProcess IID_IK2SERVICEPROVIDER kTextPostProcessService (yes, that's an Impl!) IID_ITEXTEDITPOSTPROCESS => ITextCommandPostProcess / CTextCommandPostProcess Dirk
Re: CS3 / Win: TextModel - Text: How can I detect the insert or edit or delete of the content?
Author: Hans Stoessel
Date: Tue, 24 Mar 2009 07:30
Date: Tue, 24 Mar 2009 07:30
2 lines
687 bytes
687 bytes
Thanks, I will have a look. Hans
Re: CS3 / Win: TextModel - Text: How can I detect the insert or edit or delete of the content?
Author: Hans Stoessel
Date: Tue, 24 Mar 2009 14:26
Date: Tue, 24 Mar 2009 14:26
14 lines
1055 bytes
1055 bytes
Hi I have implemented the TextPreProcessService and the methods are called if I insert or delete text in a text frame. My question: How can I suppress the insertion or deletion of text in a frame? Is it right that I do that in the methods InsertPreProcess and DeletePreProcess? If yes what do I have to do? Do you have a short example? Thanks a lot for the help Hans
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads