CALS Table Editor use in other schema

Oxygen general issues.
goul
Posts: 2
Joined: Wed Feb 23, 2011 12:59 pm

CALS Table Editor use in other schema

Post by goul »

I hope this is the correct forum for this type of question, if not please point me in the right direction.

We have developed a schema for our client that includes the CALS table model.

I've seen the documentation on pages like : http://www.oxygenxml.com/doc/ug-oxygen/ ... vider.html - but I read this as the way we could create our own table editor.

What we would like to do is to re-use the excellent docbook CALs table editor you have already created, but in the context of our own schema. I'm sure I'm missing something obvious, but I've not spotted how to do this so far.

Regards,
Goul
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: CALS Table Editor use in other schema

Post by Radu »

Dear Goul,

In order for Oxygen to recognize your table as CALS you need to write some Java extensions.

So you will need to create a new document type in the Preferences->Document Type Association page which associates your type of XML files with the catalogs, CSS files and Java extensions needed to edit the XML file.

Please see the Author SDK:
http://www.oxygenxml.com/developer.html ... horing_SDK

The downloaded SDK also contains the source Java files from the Docbook framework.
The CALS functionality is given by this implementation:
ro.sync.ecss.extensions.commons.table.support.CALSandHTMLTableCellInfoProvider which is returned by the createAuthorTableCellSpanProvider.DocBookExtensionsBundleBase.createAuthorTableCellSpanProvider() method.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
goul
Posts: 2
Joined: Wed Feb 23, 2011 12:59 pm

Re: CALS Table Editor use in other schema

Post by goul »

Many many thanks for the speedy response - I will go and take a look.
Post Reply