Page 1 of 1

Removing CALS (or HTML) from the insert table dialog

Posted: Thu Sep 22, 2011 5:34 pm
by dcramer
Hi there,
We've decided to go with HTML tables in DocBook. The insert table dialog offers a radio button with CALS as the default choice. I would like to remove this choice altogether (or at least change the default). I can modify ro.sync.ecss.extensions.docbook.table.InsertTableOperation but I was wondering if this is configurable in some other way.

Thanks,
David

Re: Removing CALS (or HTML) from the insert table dialog

Posted: Fri Sep 23, 2011 10:29 am
by Radu
Hi David,

No, we do not have any special setting for this.
So you will probably have to modify the:

ro.sync.ecss.extensions.docbook.table.SADocbookTableCustomizerDialog

One of the boolean values it delegates on the constructor is used to determine whether to show or not the model chooser.

Regards,
Radu

Re: Removing CALS (or HTML) from the insert table dialog

Posted: Fri Sep 23, 2011 5:44 pm
by dcramer
Ok, I can probably figure that out, but please log a feature request to add a couple of parameters to that action: One to configure the default and another to configure whether the choice is even presented.

Thanks,
David

Re: Removing CALS (or HTML) from the insert table dialog

Posted: Mon Sep 26, 2011 10:08 am
by Radu
Thanks David,

I added an improvement request for this.

Regards,
Radu