Examples of XTextSectionsSupplier


Examples of com.sun.star.text.XTextSectionsSupplier

      return( oTTS.getFootnotes() );
    }

    if ( iDsc instanceof TextSectionDsc ) {
      XTextSectionsSupplier oTSS = (XTextSectionsSupplier)
          UnoRuntime.queryInterface(
                    XTextSectionsSupplier.class, xParent );

      oNA = oTSS.getTextSections();
    }

    return (XIndexAccess)UnoRuntime.queryInterface(
                          XIndexAccess.class, oNA);
  }
View Full Code Here

Examples of com.sun.star.text.XTextSectionsSupplier

                                                   xTextDoc);

            XInterface oTS;
            XTextSection xTS;

            XTextSectionsSupplier oTSSupp = (XTextSectionsSupplier) UnoRuntime.queryInterface(
                                                    XTextSectionsSupplier.class,
                                                    xTextDoc);
            XNameAccess oTSSuppName = oTSSupp.getTextSections();

            oTS = (XInterface) oDocMSF.createInstance(
                          "com.sun.star.text.TextSection");

            XTextContent oTSC = (XTextContent) UnoRuntime.queryInterface(
View Full Code Here

Examples of com.sun.star.text.XTextSectionsSupplier

      return( oTTS.getFootnotes() );
    }

    if ( iDsc instanceof TextSectionDsc ) {
      XTextSectionsSupplier oTSS = (XTextSectionsSupplier)
          UnoRuntime.queryInterface(
                    XTextSectionsSupplier.class, xParent );

      oNA = oTSS.getTextSections();
    }

    return (XIndexAccess)UnoRuntime.queryInterface(
                          XIndexAccess.class, oNA);
  }
View Full Code Here

Examples of com.sun.star.text.XTextSectionsSupplier

        log.println("...done");

        log.println("Checking sections in loaded test document...");

        XTextSectionsSupplier xTSS = (XTextSectionsSupplier)
            UnoRuntime.queryInterface(XTextSectionsSupplier.class, xTextDoc);

        XNameAccess xSections = xTSS.getTextSections();

        XMetadatable xSection1 = (XMetadatable) UnoRuntime.queryInterface(
                XMetadatable.class, xSections.getByName("Section 1"));
        assure("idsection1", eq(xSection1.getMetadataReference(),
                    new StringPair("content.xml", "idSection1")));
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.