Removing CALS (or HTML) from the insert table dialog

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

Removing CALS (or HTML) from the insert table dialog

Post by dcramer » Thu Sep 22, 2011 5:34 pm

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: 6507
Joined: Fri Jul 09, 2004 5:18 pm

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

Post by Radu » Fri Sep 23, 2011 10:29 am

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: 154
Joined: Sat Aug 28, 2010 1:23 am

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

Post by dcramer » Fri Sep 23, 2011 5:44 pm

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: 6507
Joined: Fri Jul 09, 2004 5:18 pm

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

Post by Radu » Mon Sep 26, 2011 10:08 am

Thanks David,

I added an improvement request for this.

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

Post Reply