Package org.xlsx4j.sml

Examples of org.xlsx4j.sml.CTLegacyDrawing


          // Add <legacyDrawing r:id="rId1"/>
          VMLPart vmlPart = new VMLPart();
          vmlPart.setContents(getVml(0,0))// corresponds to A1
            // you'll need extra VML for each comment
          Relationship rel = sheet.addTargetPart(vmlPart);
          CTLegacyDrawing legacyDrawing = Context.getsmlObjectFactory().createCTLegacyDrawing();
          legacyDrawing.setId(rel.getId());
          sheet.getContents().setLegacyDrawing(legacyDrawing);

      }
View Full Code Here


      // Add <legacyDrawing r:id="rId1"/>
      VMLPart vmlPart = new VMLPart();
      vmlPart.setContents(getVml(0,0))// corresponds to A1
        // you'll need extra VML for each comment
      Relationship rel = sheet.addTargetPart(vmlPart);
      CTLegacyDrawing legacyDrawing = Context.getsmlObjectFactory().createCTLegacyDrawing();
      legacyDrawing.setId(rel.getId());
      sheet.getContents().setLegacyDrawing(legacyDrawing);
 
  }
View Full Code Here

TOP

Related Classes of org.xlsx4j.sml.CTLegacyDrawing

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.