diff options
Diffstat (limited to 'odk/examples/DevelopersGuide/Drawing/TextDemo.java')
-rw-r--r-- | odk/examples/DevelopersGuide/Drawing/TextDemo.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/odk/examples/DevelopersGuide/Drawing/TextDemo.java b/odk/examples/DevelopersGuide/Drawing/TextDemo.java index 579f2167da09..cbc87a34d446 100644 --- a/odk/examples/DevelopersGuide/Drawing/TextDemo.java +++ b/odk/examples/DevelopersGuide/Drawing/TextDemo.java @@ -2,7 +2,7 @@ * * The Contents of this file are made available subject to the terms of * the BSD license. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * All rights reserved. * @@ -29,7 +29,7 @@ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * + * *************************************************************************/ // __________ Imports __________ @@ -82,12 +82,12 @@ public class TextDemo xDrawDoc = Helper.createDocument( xOfficeContext, "private:factory/sdraw", "_blank", 0, pPropValues ); - XDrawPage xPage = PageHelper.getDrawPageByIndex( xDrawDoc, 0 ); + XDrawPage xPage = PageHelper.getDrawPageByIndex( xDrawDoc, 0 ); XShapes xShapes = (XShapes) UnoRuntime.queryInterface( XShapes.class, xPage ); - XShape xRectangle; + XShape xRectangle; XPropertySet xTextPropSet, xShapePropSet; LineSpacing aLineSpacing = new LineSpacing(); aLineSpacing.Mode = LineSpacingMode.PROP; @@ -126,7 +126,7 @@ public class TextDemo xRectangle = ShapeHelper.createShape( xDrawDoc, new Point( 0, 10000 ), new Size( 21000, 12500 ), - "com.sun.star.drawing.RectangleShape" ); + "com.sun.star.drawing.RectangleShape" ); xShapes.add( xRectangle ); xShapePropSet = (XPropertySet) UnoRuntime.queryInterface( XPropertySet.class, xRectangle ); |