Page 1 of 1

CTGraphicFrameNonVisual - NvPr?

PostPosted: Fri Apr 22, 2011 3:29 am
by compactMetric
One more comment: CTGraphicFrameNonVisual currently has a getter and setter for CNvPr. From examining other pptx files, it appears that it should also have a getter and setter for NvPr. E.g. here is a nvGraphicFramePr from a pptx file generated in Powerpoint:
Code: Select all
            <p:nvGraphicFramePr>
               <p:cNvPr id="4" name="Chart 3"/>
               <p:cNvGraphicFramePr/>
               <p:nvPr>
                  <p:extLst>
                     <p:ext uri="{D42A27DB-BD31-4B8C-83A1-F6EECF244321}">
                        <p14:modId xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main" val="1842877689"/>
                     </p:ext>
                  </p:extLst>
               </p:nvPr>
            </p:nvGraphicFramePr>


If you are really busy, I can try to write a patch for it.

Thanks.

Re: CTGraphicFrameNonVisual - NvPr?

PostPosted: Fri Apr 22, 2011 8:09 pm
by jason
I think the relevant object is org.pptx4j.pml.CTGraphicalObjectFrameNonVisual, not org.docx4j.dml.chartDrawing.CTGraphicFrameNonVisual