Removing CALS (or HTML) from the insert table dialog

dcramer
Posts: 161
Joined: Sat Aug 28, 2010 1:23 am

Removing CALS (or HTML) from the insert table dialog

Post 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
Radu
Posts: 9041
Joined: Fri Jul 09, 2004 5:18 pm

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

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
dcramer
Posts: 161
Joined: Sat Aug 28, 2010 1:23 am

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

Post 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
Radu
Posts: 9041
Joined: Fri Jul 09, 2004 5:18 pm

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

Post by Radu »

Thanks David,

I added an improvement request for this.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply