Hello--

My project creates XWPFTable objects and inserts them into a document (a
docx file). In order to control the table cell vertical alignment, I need
to use the following classes:

org.openxmlformats.schemas.wordprocessingml.x2006.main.CTShd
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTVerticalJc
org.openxmlformats.schemas.wordprocessingml.x2006.main.STShd
org.openxmlformats.schemas.wordprocessingml.x2006.main.STVerticalJc

These are not defined in poi-ooxml-schemas-3.8-beta5.jar. I can make my
code work by swapping ooxml-schemas-1.1.jar for poi-ooxml-schemas.jar, but
that seems a bit like cheating. Can I add the required classes to
poi-ooxml-schemas? If so, how? It's not obvious to me from looking at the
code.

Thanks for any suggestions!

Gregg

Reply via email to