Author mode - run actions on insert of element
Posted: Mon Aug 24, 2009 4:01 pm
Hello,
it would be nice to extend current functionality and to allow running of actions beside shortcut also on insert of specified element. If now there is inserted itemizedlist element into docbook document manually, you have to add also nested listitem and para elements. All these elements can be inserted automatically via action. I'd suggest adding extra column into Document Type Association|Author|Action table in Preferences dialog. In this column control elements would be specified. If such element would be inserted manually, action would be performed. As current action inserts also already inserted 'root' element, there would be necessary new set of actions inserting only child elements. In ideal case current action could be used and stripping of 'root' element would be performed automatically. Or it could be set via another extra column in above mentioned table, where would be settings 'strip root element' (true/false).
Jan
it would be nice to extend current functionality and to allow running of actions beside shortcut also on insert of specified element. If now there is inserted itemizedlist element into docbook document manually, you have to add also nested listitem and para elements. All these elements can be inserted automatically via action. I'd suggest adding extra column into Document Type Association|Author|Action table in Preferences dialog. In this column control elements would be specified. If such element would be inserted manually, action would be performed. As current action inserts also already inserted 'root' element, there would be necessary new set of actions inserting only child elements. In ideal case current action could be used and stripping of 'root' element would be performed automatically. Or it could be set via another extra column in above mentioned table, where would be settings 'strip root element' (true/false).
Jan