Rotation of text within paragraph
Posted: Wed Mar 18, 2020 5:20 pm
I want to rotate text within R (org.docx4j.wml.R). The property scene3D of Rpr is of type org.docx4j.w14.CTScene3D and all the tags of w14 are ignored in the xml, due to which text rotation is not getting applied.
The document xml is as folows:
Please suggest the approach to handle this.
- Code: Select all
xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" mc:Ignorable="w14 w15 w16se w16cid wp14">
The document xml is as folows:
- Code: Select all
<w:r>
<w:rPr>
<w:rFonts w:ascii="Arial Regular" w:hAnsi="Arial Regular" w:cs="Arial Regular"/>
<w:color w:val="000000"/>
<w:sz w:val="18"/>
<w14:scene3d>
<w14:camera w14:prst="orthographicFront"/>
<w14:lightRig w14:rig="threePt" w14:dir="t">
<w14:rot w14:lat="0" w14:lon="0" w14:rev="1740000"/>
</w14:lightRig>
</w14:scene3d>
</w:rPr>
<w:t xml:space="preserve">zx czds cxvsd zsd </w:t>
</w:r>
Please suggest the approach to handle this.