Hello Nick,
It's weired. When i create a docx File with word, i can see in the document xml
that<w:caps/>
is used to get the uppercase effect.
Unfortunately i have a document here that shows the same effect in word but
does not have a
<w:caps/> in its document.xml which can describe why the code snippet i posted
does not work
(it works when creating a new word file). It also shows the same checkbox
marked in the
word dialog, so there must be something else triggering this.
Greetings,
Fabian
I want to know whether a XWPFRun is set to all caps. Since
XWPFRun only offers isitalic, isBold and isStrike i tried this:
What does Word actually set in the file if it makes it all caps? Does it
set the caps flag on the Pr xml, or does it do something else?
(Once you know what word is setting, then you can find it)
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]