my requirement is to update the Font color and background color of Text box shape of the existing docx document.I'm very new to docx update(docx4j) , so i have no clue how to do this.i have seen xpathquery sample but don't know how to apply this to shape font attribute?

<mc:AlternateContent><mc:ChoiceRequires="wps"><w:drawing><wp:anchordistT="0"distB="0"distL="114300"distR="114300"simplePos="0"relativeHeight="251659264"behindDoc="0"locked="0"layoutInCell="1"allowOverlap="1"wp14:editId="36B11C9B"><wp:simplePosx="0"y="0"/><wp:positionHrelativeFrom="column"><wp:align>center</wp:align></wp:positionH><wp:positionVrelativeFrom="paragraph"><wp:posOffset>0</wp:posOffset></wp:positionV><wp:extentcx="2374265"cy="1403985"/><wp:effectExtentl="0"t="0"r="3175"b="5715"/><wp:wrapNone/><wp:docPrid="307"name="Text Box 2"/><wp:cNvGraphicFramePr><a:graphicFrameLocksxmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"/></wp:cNvGraphicFramePr><a:graphicxmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"><a:graphicDatauri="http://schemas.microsoft.com/office/word/2010/wordprocessingShape"><wps:wsp><wps:cNvSpPrtxBox="1"><a:spLocksnoChangeArrowheads="1"/></wps:cNvSpPr><wps:spPrbwMode="auto"><a:xfrm><a:offx="0"y="0"/><a:extcx="2374265"cy="1403985"/></a:xfrm><a:prstGeomprst="rect"><a:avLst/></a:prstGeom><a:solidFill><a:srgbClrval="FFFFFF"/></a:solidFill><a:lnw="9525"><a:solidFill><a:srgbClrval="000000"/></a:solidFill><a:miterlim="800000"/><a:headEnd/><a:tailEnd/></a:ln></wps:spPr><wps:txbx><w:txbxContent><w:pw:rsidR="00F54378"w:rsidRDefault="00F54378"><w:r><w:t>Here are the contents of the text box.</w:t></w:r></w:p></w:txbxContent></wps:txbx><wps:bodyPrrot="0"vert="horz"wrap="square"lIns="91440"tIns="45720"rIns="91440"bIns="45720"anchor="t"anchorCtr="0"><a:spAutoFit/></wps:bodyPr></wps:wsp></a:graphicData></a:graphic><wp14:sizeRelHrelativeFrom="margin"><wp14:pctWidth>40000</wp14:pctWidth></wp14:sizeRelH><wp14:sizeRelVrelativeFrom="margin"><wp14:pctHeight>20000</wp14:pctHeight></wp14:sizeRelV></wp:anchor></w:drawing></mc:Choice><mc:Fallback><w:pict><v:shapetypeid="_x0000_t202"coordsize="21600,21600"o:spt="202"path="m,l,21600r21600,l21600,xe"><v:strokejoinstyle="miter"/><v:pathgradientshapeok="t"o:connecttype="rect"/></v:shapetype><v:shapeid="Text Box 2"o:spid="_x0000_s1026"type="#_x0000_t202"style="position:absolute;margin-left:0;margin-top:0;width:186.95pt;height:110.55pt;z-index:251659264;visibility:visible;mso-wrap-style:square;mso-width-percent:400;mso-height-percent:200;mso-wrap-distance-left:9pt;mso-wrap-distance-top:0;mso-wrap-distance-right:9pt;mso-wrap-distance-bottom:0;mso-position-horizontal:center;mso-position-horizontal-relative:text;mso-position-vertical:absolute;mso-position-vertical-relative:text;mso-width-percent:400;mso-height-percent:200;mso-width-relative:margin;mso-height-relative:margin;v-text-anchor:top"o:gfxdata="UEsDBBQABgAIAAAAIQC2gziS/gAAAOEBAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbJSRQU7DMBBF&#xA;90jcwfIWJU67QAgl6YK0S0CoHGBkTxKLZGx5TGhvj5O2G0SRWNoz/78nu9wcxkFMGNg6quQqL6RA&#xA;0s5Y6ir5vt9lD1JwBDIwOMJKHpHlpr69KfdHjyxSmriSfYz+USnWPY7AufNIadK6MEJMx9ApD/oD&#xA;OlTrorhX2lFEilmcO2RdNtjC5xDF9pCuTyYBB5bi6bQ4syoJ3g9WQ0ymaiLzg5KdCXlKLjvcW893&#xA;SUOqXwnz5DrgnHtJTxOsQfEKIT7DmDSUCaxw7Rqn8787ZsmRM9e2VmPeBN4uqYvTtW7jvijg9N/y&#xA;JsXecLq0q+WD6m8AAAD//wMAUEsDBBQABgAIAAAAIQA4/SH/1gAAAJQBAAALAAAAX3JlbHMvLnJl&#xA;bHOkkMFqwzAMhu+DvYPRfXGawxijTi+j0Gv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m7lC+vYzEBp2HTMZcsVsj3+NkhXG4tmPU&#xA;j/nffgcAAP//AwBQSwMEFAAGAAgAAAAhAP0vMtbbAAAABQEAAA8AAABkcnMvZG93bnJldi54bWxM&#xA;j8FOwzAQRO9I/IO1SNyokxQVSONUVQTXSm2RuG7jbRKw1yF20vD3GC5wWWk0o5m3xWa2Rkw0+M6x&#xA;gnSRgCCune64UfB6fLl7BOEDskbjmBR8kYdNeX1VYK7dhfc0HUIjYgn7HBW0IfS5lL5uyaJfuJ44&#xA;emc3WAxRDo3UA15iuTUyS5KVtNhxXGixp6ql+uMwWgXjsdpO+yp7f5t2+n63ekaL5lOp25t5uwYR&#xA;aA5/YfjBj+hQRqaTG1l7YRTER8Lvjd7yYfkE4qQgy9IUZFnI//TlNwAAAP//AwBQSwECLQAUAAYA&#xA;CAAAACEAtoM4kv4AAADhAQAAEwAAAAAAAAAAAAAAAAAAAAAAW0NvbnRlbnRfVHlwZXNdLnhtbFBL&#xA;AQItABQABgAIAAAAIQA4/SH/1gAAAJQBAAALAAAAAAAAAAAAAAAAAC8BAABfcmVscy8ucmVsc1BL&#xA;AQItABQABgAIAAAAIQAUgLpIJQIAAEcEAAAOAAAAAAAAAAAAAAAAAC4CAABkcnMvZTJvRG9jLnht&#xA;bFBLAQItABQABgAIAAAAIQD9LzLW2wAAAAUBAAAPAAAAAAAAAAAAAAAAAH8EAABkcnMvZG93bnJl&#xA;di54bWxQSwUGAAAAAAQABADzAAAAhwUAAAAA&#xA;"><v:textboxstyle="mso-fit-shape-to-text:t"><w:txbxContent><w:pw:rsidR="00F54378"w:rsidRDefault="00F54378"><w:r><w:t>Here are the contents of the text box.</w:t></w:r></w:p></w:txbxContent></v:textbox></v:shape></w:pict></mc:Fallback></mc:AlternateContent></w:r></w:p>

<w:pict><v:shapetypeid="_x0000_t202"coordsize="21600,21600"o:spt="202"path="m,l,21600r21600,l21600,xe"><v:strokejoinstyle="miter"/><v:pathgradientshapeok="t"o:connecttype="rect"/></v:shapetype><v:shapeid="Text Box 2"o:spid="_x0000_s1026"type="#_x0000_t202"style="position:absolute;margin-left:0;margin-top:0;width:186.95pt;height:110.55pt;z-index:251659264;visibility:visible;mso-wrap-style:square;mso-width-percent:400;mso-height-percent:200;mso-wrap-distance-left:9pt;mso-wrap-distance-top:0;mso-wrap-distance-right:9pt;mso-wrap-distance-bottom:0;mso-position-horizontal:center;mso-position-horizontal-relative:text;mso-position-vertical:absolute;mso-position-vertical-relative:text;mso-width-percent:400;mso-height-percent:200;mso-width-relative:margin;mso-height-relative:margin;v-text-anchor:top"o:gfxdata="...."><v:textboxstyle="mso-fit-shape-to-text:t"><w:txbxContent><w:pw:rsidR="00F54378"w:rsidRDefault="00F54378"><w:r><w:t>Here are the contents of the text box.</w:t></w:r></w:p></w:txbxContent></v:textbox></v:shape></w:pict>

<w:pict><v:shapetypeid="_x0000_t202"coordsize="21600,21600"o:spt="202"path="m,l,21600r21600,l21600,xe"><v:strokejoinstyle="miter"/><v:pathgradientshapeok="t"o:connecttype="rect"/></v:shapetype><v:shapeid="Text Box 2"o:spid="_x0000_s1026"type="#_x0000_t202"style="position:absolute;margin-left:0;margin-top:0;width:186.95pt;height:110.55pt;z-index:251659264;visibility:visible;mso-wrap-style:square;mso-width-percent:400;mso-height-percent:200;mso-wrap-distance-left:9pt;mso-wrap-distance-top:0;mso-wrap-distance-right:9pt;mso-wrap-distance-bottom:0;mso-position-horizontal:center;mso-position-horizontal-relative:text;mso-position-vertical:absolute;mso-position-vertical-relative:text;mso-width-percent:400;mso-height-percent:200;mso-width-relative:margin;mso-height-relative:margin;v-text-anchor:top"fillcolor="yellow"><v:textboxstyle="mso-fit-shape-to-text:t"><w:txbxContent><w:pw:rsidR="00F54378"w:rsidRPr="00E82642"w:rsidRDefault="00F54378"><w:pPr><w:rPr><w:colorw:val="FF0000"/></w:rPr></w:pPr><w:rw:rsidRPr="00E82642"><w:rPr><w:colorw:val="FF0000"/></w:rPr><w:t>Here are the contents of the text box.</w:t></w:r></w:p></w:txbxContent></v:textbox></v:shape></w:pict>