Package com.sun.star.text

Examples of com.sun.star.text.XRelativeTextContentInsert.insertTextContentAfter()


                    // Create a new empty paragraph and get it's XTextContent interface
                    XTextContent xNewPara = (XTextContent) UnoRuntime.queryInterface( XTextContent.class,
                            mxDocFactory.createInstance( "com.sun.star.text.Paragraph" ) );

                    // Insert the empty paragraph after the fish Text Section
                    xRelative.insertTextContentAfter ( xNewPara, mxFishSection );
            }
            catch (Exception e)
            {
                    e.printStackTrace ( System.out );
            }
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.