From: Yegor Kozlov
Date: Wed, 18 Apr 2007 14:21:40 +0000 (+0000)
Subject: fixed misc bugs in the hslf how-to doc
X-Git-Tag: REL_3_0_RC4~11
X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e8fa4639783ce2d0891edcb9b1652f2bc103a493;p=poi.git
fixed misc bugs in the hslf how-to doc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@530029 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/src/documentation/content/xdocs/hslf/how-to-shapes.xml b/src/documentation/content/xdocs/hslf/how-to-shapes.xml
index 2376938d9c..243935b536 100644
--- a/src/documentation/content/xdocs/hslf/how-to-shapes.xml
+++ b/src/documentation/content/xdocs/hslf/how-to-shapes.xml
@@ -54,7 +54,7 @@
//save changes in a file
FileOutputStream out = new FileOutputStream("slideshow.ppt");
- wb.write(out);
+ ppt.write(out);
out.close();
@@ -71,7 +71,7 @@
ppt.setPageSize(new java.awt.Dimension(1024, 768));
//save changes
FileOutputStream out = new FileOutputStream("slideshow.ppt");
- wb.write(out);
+ ppt.write(out);
out.close();
@@ -123,8 +123,8 @@
of the upper left corner of the bounding box for the shape relative to the upper left
corner of the slide. Distances in the drawing layer are measured in points (72 points = 1 inch).
-
@@ -259,7 +260,7 @@
//save changes
FileOutputStream out = new FileOutputStream("slideshow.ppt");
- wb.write(out);
+ ppt.write(out);
out.close();