Page 1 of 1

Manage cell metadata

PostPosted: Mon Feb 15, 2016 11:08 pm
by A.L
Hello,

I would like to manipulate metadata attached to a cell with xlsx4j. From what I understand, I can use the setCm() method to link my cell to the correct metadata. Furthermore, I know I can create a metadata with this line :
CTMetadata md = Context.getsmlObjectFactory().createCTMetadata();

Unfortunately, I don't know where this should be added.

Also, is there a way to create the metadata xml file like the styles part ? ==> Styles styles = new Styles(new PartName("/xl/styles.xml"));

Appreciate your help on this.

Thanks

Re: Manage cell metadata

PostPosted: Thu Mar 17, 2016 3:58 am
by A.L
Hello again,

I forget the idea to use the metadata, it was too complicated. Instead, I've used the CTExtensionList attached to a cell (which move along the cell and is not copied !).