Examples of XMasterPageTarget


Examples of com.sun.star.drawing.XMasterPageTarget

        if (shape != null) {
          XSimpleText xSimpleText = unoCast(XSimpleText.class, shape);

          // Recherche du nom de la page maitresse (= style de
          // page)
          XMasterPageTarget xMasterPageTarget = unoCast(
              XMasterPageTarget.class, page);
          XDrawPage xMasterPage = xMasterPageTarget.getMasterPage();
          XPropertySet masterSet = unoCast(XPropertySet.class,
              xMasterPage);

          // Ajout de la page a la liste de resultat
          try {
View Full Code Here

Examples of com.sun.star.drawing.XMasterPageTarget

  public int addSlide(int page, String title, String style)
      throws ImpressException {
    XDrawPage newPage = componentPages.insertNewByIndex(page);

    XMasterPageTarget xMasterPageTarget = unoCast(XMasterPageTarget.class,
        newPage);
    xMasterPageTarget.setMasterPage(findMasterPage(style));

    return componentPages.getCount();
  }
View Full Code Here

Examples of com.sun.star.drawing.XMasterPageTarget

    /** return the corresponding masterpage for the giving drawpage
  */
  static public XDrawPage getMasterPage( XDrawPage xDrawPage )
  {
    XMasterPageTarget xMasterPageTarget =
      (XMasterPageTarget)UnoRuntime.queryInterface(
        XMasterPageTarget.class, xDrawPage );
    return xMasterPageTarget.getMasterPage();
  }
View Full Code Here

Examples of com.sun.star.drawing.XMasterPageTarget

    /** sets given masterpage at the drawpage
  */
  static public void setMasterPage( XDrawPage xDrawPage, XDrawPage xMasterPage )
  {
    XMasterPageTarget xMasterPageTarget =
      (XMasterPageTarget)UnoRuntime.queryInterface(
        XMasterPageTarget.class, xDrawPage );
    xMasterPageTarget.setMasterPage( xMasterPage );
  }
View Full Code Here

Examples of com.sun.star.drawing.XMasterPageTarget

    /** return the corresponding masterpage for the giving drawpage
  */
  static public XDrawPage getMasterPage( XDrawPage xDrawPage )
  {
    XMasterPageTarget xMasterPageTarget =
      (XMasterPageTarget)UnoRuntime.queryInterface(
        XMasterPageTarget.class, xDrawPage );
    return xMasterPageTarget.getMasterPage();
  }
View Full Code Here

Examples of com.sun.star.drawing.XMasterPageTarget

    /** sets given masterpage at the drawpage
  */
  static public void setMasterPage( XDrawPage xDrawPage, XDrawPage xMasterPage )
  {
    XMasterPageTarget xMasterPageTarget =
      (XMasterPageTarget)UnoRuntime.queryInterface(
        XMasterPageTarget.class, xDrawPage );
    xMasterPageTarget.setMasterPage( xMasterPage );
  }
View Full Code Here

Examples of com.sun.star.drawing.XMasterPageTarget

    /** return the corresponding masterpage for the giving drawpage
  */
  static public XDrawPage getMasterPage( XDrawPage xDrawPage )
  {
    XMasterPageTarget xMasterPageTarget =
      (XMasterPageTarget)UnoRuntime.queryInterface(
        XMasterPageTarget.class, xDrawPage );
    return xMasterPageTarget.getMasterPage();
  }
View Full Code Here

Examples of com.sun.star.drawing.XMasterPageTarget

    /** sets given masterpage at the drawpage
  */
  static public void setMasterPage( XDrawPage xDrawPage, XDrawPage xMasterPage )
  {
    XMasterPageTarget xMasterPageTarget =
      (XMasterPageTarget)UnoRuntime.queryInterface(
        XMasterPageTarget.class, xDrawPage );
    xMasterPageTarget.setMasterPage( xMasterPage );
  }
View Full Code Here

Examples of com.sun.star.drawing.XMasterPageTarget

    /** return the corresponding masterpage for the giving drawpage
  */
  static public XDrawPage getMasterPage( XDrawPage xDrawPage )
  {
    XMasterPageTarget xMasterPageTarget =
      (XMasterPageTarget)UnoRuntime.queryInterface(
        XMasterPageTarget.class, xDrawPage );
    return xMasterPageTarget.getMasterPage();
  }
View Full Code Here

Examples of com.sun.star.drawing.XMasterPageTarget

    /** sets given masterpage at the drawpage
  */
  static public void setMasterPage( XDrawPage xDrawPage, XDrawPage xMasterPage )
  {
    XMasterPageTarget xMasterPageTarget =
      (XMasterPageTarget)UnoRuntime.queryInterface(
        XMasterPageTarget.class, xDrawPage );
    xMasterPageTarget.setMasterPage( xMasterPage );
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.