From 2b23708839a5646e2b61ac04c83e12343fb6c58b Mon Sep 17 00:00:00 2001 From: Mark Emlyn David Thomas Date: Mon, 15 Jan 2007 23:11:09 +0000 Subject: [PATCH] Add standard licence header for src/documentation/content directory Add svn properties where not present git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496536 13f79535-47bb-0310-9956-ffa450edef68 --- src/documentation/content/xdocs/3rdparty.xml | 19 +- src/documentation/content/xdocs/book.xml | 19 +- .../content/xdocs/casestudies.xml | 19 +- src/documentation/content/xdocs/changes.xml | 19 +- src/documentation/content/xdocs/faq.xml | 19 +- .../content/xdocs/getinvolved/book.xml | 19 +- .../content/xdocs/getinvolved/branching.xml | 19 +- .../content/xdocs/getinvolved/index.xml | 19 +- .../content/xdocs/historyandfuture.xml | 19 +- .../content/xdocs/howtobuild.xml | 19 +- src/documentation/content/xdocs/hpsf/book.xml | 19 +- .../content/xdocs/hpsf/how-to.xml | 19 +- .../content/xdocs/hpsf/index.xml | 19 +- .../content/xdocs/hpsf/internals.xml | 19 +- .../content/xdocs/hpsf/thumbnails.xml | 19 +- src/documentation/content/xdocs/hpsf/todo.xml | 19 +- src/documentation/content/xdocs/hslf/book.xml | 19 +- .../content/xdocs/hslf/how-to-shapes.xml | 619 +++++++++--------- .../content/xdocs/hslf/index.xml | 19 +- .../content/xdocs/hslf/ppt-file-format.xml | 19 +- .../content/xdocs/hslf/quick-guide.xml | 19 +- src/documentation/content/xdocs/hssf/book.xml | 19 +- .../content/xdocs/hssf/chart.xml | 19 +- .../content/xdocs/hssf/diagram1.xml | 19 +- .../content/xdocs/hssf/diagrams.xml | 19 +- .../content/xdocs/hssf/eval-devguide.xml | 19 +- src/documentation/content/xdocs/hssf/eval.xml | 19 +- .../content/xdocs/hssf/formula.xml | 19 +- .../content/xdocs/hssf/hacking-hssf.xml | 19 +- .../content/xdocs/hssf/how-to.xml | 19 +- .../content/xdocs/hssf/index.xml | 19 +- .../content/xdocs/hssf/limitations.xml | 19 +- .../content/xdocs/hssf/quick-guide.xml | 19 +- .../content/xdocs/hssf/record-generator.xml | 19 +- .../content/xdocs/hssf/use-case.xml | 19 +- src/documentation/content/xdocs/hwpf/book.xml | 19 +- .../content/xdocs/hwpf/docoverview.xml | 19 +- .../content/xdocs/hwpf/index.xml | 19 +- .../content/xdocs/hwpf/projectplan.xml | 19 +- .../content/xdocs/hwpf/quick-guide.xml | 19 +- src/documentation/content/xdocs/index.xml | 19 +- src/documentation/content/xdocs/legal.xml | 19 +- src/documentation/content/xdocs/mirrors.xml | 19 +- src/documentation/content/xdocs/news.xml | 19 +- src/documentation/content/xdocs/news/book.xml | 19 +- .../content/xdocs/news/logocontest.xml | 19 +- src/documentation/content/xdocs/overview.xml | 19 +- src/documentation/content/xdocs/patches.xml | 19 +- .../content/xdocs/plan/POI10Vision.xml | 19 +- .../content/xdocs/plan/POI20Vision.xml | 19 +- src/documentation/content/xdocs/plan/book.xml | 19 +- .../content/xdocs/plan/index.xml | 19 +- .../content/xdocs/plan/release.xml | 19 +- src/documentation/content/xdocs/poi-ruby.xml | 19 +- .../content/xdocs/poifs/book.xml | 19 +- .../content/xdocs/poifs/fileformat.xml | 19 +- .../content/xdocs/poifs/how-to.xml | 19 +- .../xdocs/poifs/html/POIFSDesignDocument.html | 19 +- .../content/xdocs/poifs/index.xml | 19 +- .../content/xdocs/poifs/usecases.xml | 19 +- .../content/xdocs/references/book.xml | 19 +- .../content/xdocs/references/index.xml | 19 +- .../content/xdocs/resolutions/book.xml | 19 +- .../content/xdocs/resolutions/index.xml | 19 +- .../content/xdocs/resolutions/res001.xml | 19 +- src/documentation/content/xdocs/site.xml | 19 +- src/documentation/content/xdocs/status.xml | 19 +- src/documentation/content/xdocs/tabs.xml | 19 +- src/documentation/content/xdocs/todo.xml | 19 +- .../content/xdocs/trans/book.xml | 19 +- .../content/xdocs/trans/de/book.xml | 19 +- .../content/xdocs/trans/de/index.xml | 19 +- .../content/xdocs/trans/es/3rdparty.xml | 19 +- .../content/xdocs/trans/es/book.xml | 19 +- .../content/xdocs/trans/es/casestudies.xml | 19 +- .../content/xdocs/trans/es/changes.xml | 19 +- .../content/xdocs/trans/es/faq.xml | 19 +- .../xdocs/trans/es/historyandfuture.xml | 19 +- .../content/xdocs/trans/es/hssf/book.xml | 19 +- .../content/xdocs/trans/es/hssf/diagram1.xml | 19 +- .../content/xdocs/trans/es/hssf/diagrams.xml | 19 +- .../content/xdocs/trans/es/hssf/formula.xml | 19 +- .../xdocs/trans/es/hssf/hacking-hssf.xml | 19 +- .../content/xdocs/trans/es/hssf/how-to.xml | 19 +- .../content/xdocs/trans/es/hssf/index.xml | 19 +- .../xdocs/trans/es/hssf/limitations.xml | 19 +- .../xdocs/trans/es/hssf/quick-guide.xml | 19 +- .../xdocs/trans/es/hssf/record-generator.xml | 19 +- .../content/xdocs/trans/es/hssf/use-case.xml | 19 +- .../content/xdocs/trans/es/index.xml | 19 +- .../content/xdocs/trans/es/news.xml | 19 +- .../content/xdocs/trans/es/overview.xml | 19 +- .../content/xdocs/trans/es/patches.xml | 19 +- .../content/xdocs/trans/es/todo.xml | 19 +- .../content/xdocs/trans/es/who.xml | 19 +- .../content/xdocs/trans/guidelines.xml | 19 +- .../content/xdocs/trans/index.xml | 19 +- .../content/xdocs/utils/book.xml | 19 +- .../content/xdocs/utils/index.xml | 19 +- .../content/xdocs/utils/logging.xml | 19 +- src/documentation/content/xdocs/who.xml | 19 +- src/documentation/skinconf.xml | 19 +- 102 files changed, 2136 insertions(+), 402 deletions(-) diff --git a/src/documentation/content/xdocs/3rdparty.xml b/src/documentation/content/xdocs/3rdparty.xml index 2c957c941..ada6da4d3 100644 --- a/src/documentation/content/xdocs/3rdparty.xml +++ b/src/documentation/content/xdocs/3rdparty.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/book.xml b/src/documentation/content/xdocs/book.xml index 7da92a665..7c8fd34eb 100644 --- a/src/documentation/content/xdocs/book.xml +++ b/src/documentation/content/xdocs/book.xml @@ -1,5 +1,22 @@ - + - + diff --git a/src/documentation/content/xdocs/changes.xml b/src/documentation/content/xdocs/changes.xml index 898991c23..0f2a57dcf 100644 --- a/src/documentation/content/xdocs/changes.xml +++ b/src/documentation/content/xdocs/changes.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/faq.xml b/src/documentation/content/xdocs/faq.xml index 79a38ce71..e74b6f090 100644 --- a/src/documentation/content/xdocs/faq.xml +++ b/src/documentation/content/xdocs/faq.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/getinvolved/book.xml b/src/documentation/content/xdocs/getinvolved/book.xml index a4c1b9277..9e9f13771 100644 --- a/src/documentation/content/xdocs/getinvolved/book.xml +++ b/src/documentation/content/xdocs/getinvolved/book.xml @@ -1,5 +1,22 @@ - + - + diff --git a/src/documentation/content/xdocs/getinvolved/index.xml b/src/documentation/content/xdocs/getinvolved/index.xml index 0bc5ec015..9f55aa6db 100644 --- a/src/documentation/content/xdocs/getinvolved/index.xml +++ b/src/documentation/content/xdocs/getinvolved/index.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/historyandfuture.xml b/src/documentation/content/xdocs/historyandfuture.xml index d15880a10..3473a664f 100644 --- a/src/documentation/content/xdocs/historyandfuture.xml +++ b/src/documentation/content/xdocs/historyandfuture.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/howtobuild.xml b/src/documentation/content/xdocs/howtobuild.xml index 8b738454b..48d9beb0e 100644 --- a/src/documentation/content/xdocs/howtobuild.xml +++ b/src/documentation/content/xdocs/howtobuild.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/hpsf/book.xml b/src/documentation/content/xdocs/hpsf/book.xml index f50c1b507..165f3209f 100644 --- a/src/documentation/content/xdocs/hpsf/book.xml +++ b/src/documentation/content/xdocs/hpsf/book.xml @@ -1,5 +1,22 @@ - + - + diff --git a/src/documentation/content/xdocs/hpsf/index.xml b/src/documentation/content/xdocs/hpsf/index.xml index dab408682..9386b7149 100644 --- a/src/documentation/content/xdocs/hpsf/index.xml +++ b/src/documentation/content/xdocs/hpsf/index.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/hpsf/internals.xml b/src/documentation/content/xdocs/hpsf/internals.xml index 3f314752a..10430201e 100644 --- a/src/documentation/content/xdocs/hpsf/internals.xml +++ b/src/documentation/content/xdocs/hpsf/internals.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/hpsf/thumbnails.xml b/src/documentation/content/xdocs/hpsf/thumbnails.xml index fb24ba807..3b62481ee 100644 --- a/src/documentation/content/xdocs/hpsf/thumbnails.xml +++ b/src/documentation/content/xdocs/hpsf/thumbnails.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/hpsf/todo.xml b/src/documentation/content/xdocs/hpsf/todo.xml index 7b5bffeb9..917a1e158 100644 --- a/src/documentation/content/xdocs/hpsf/todo.xml +++ b/src/documentation/content/xdocs/hpsf/todo.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/hslf/book.xml b/src/documentation/content/xdocs/hslf/book.xml index a8e76d7f7..643d17c66 100644 --- a/src/documentation/content/xdocs/hslf/book.xml +++ b/src/documentation/content/xdocs/hslf/book.xml @@ -1,5 +1,22 @@ - + - - - - -
- Busy Developers' Guide to HSLF drawing layer - - - -
- -
Busy Developers' Guide to HSLF drawing layer -
Index of Features -
    -
  • How to create a new presentation and add new slides to it
  • -
  • How to retrieve or change slide size
  • -
  • How to get shapes contained in a particular slide
  • -
  • Drawing a shape on a slide
  • -
  • How to work with pictures
  • -
  • How to set slide title
  • -
  • How to work with slide/shape background
  • -
-
-
Features - -
New Presentation - - //create a new empty slide show - SlideShow ppt = new SlideShow(); - - //add first slide - Slide s1 = ppt.createSlide(); - - //add second slide - Slide s2 = ppt.createSlide(); - - //save changes in a file - FileOutputStream out = new FileOutputStream("slideshow.ppt"); - wb.write(out); - out.close(); - -
- -
How to retrieve or change slide size - - SlideShow ppt = new SlideShow(new HSLFSlideShow("slideshow.ppt")); - //retrieve page size. Coordinates are expressed in points (72 dpi) - java.awt.Dimension pgsize = ppt.getPageSize(); - int pgx = pgsize.width; //slide width - int pgy = pgsize.height; //slide height - - //set new page size - ppt.setPageSize(new java.awt.Dimension(1024, 768)); - //save changes - FileOutputStream out = new FileOutputStream("slideshow.ppt"); - wb.write(out); - out.close(); - -
- -
How to get shapes contained in a particular slide -

The superclass of all shapes in HSLF is the Shape class - the elemental object that composes a drawing. - The following pictute shows the class tree of HSLF shapes: -

-

- Class Tree of HSLF Shapes -

-

- The following fragment demonstrates how to iterate over shapes for each slide. -

- - SlideShow ppt = new SlideShow(new HSLFSlideShow("slideshow.ppt")); - //get slides - Slide[] slide = ppt.getSlides(); - for (int i = 0; i < slide.length; i++){ - Shape[] sh = slide[i].getShapes(); - for (int j = 0; j < sh.length; j++){ - //name of the shape - String name = sh[j].getShapeName(); - - //shapes's anchor which defines the position of this shape in the slide - java.awt.Rectangle anchor = sh[j].getAnchor(); - - if (sh[j] instanceof Line){ - Line line = (Line)sh[j]; - //work with Line - } else if (sh[j] instanceof AutoShape){ - AutoShape shape = (AutoShape)sh[j]; - //work with AutoShape - } else if (sh[j] instanceof TextBox){ - TextBox shape = (TextBox)sh[j]; - //work with TextBox - } else if (sh[j] instanceof Picture){ - Picture shape = (Picture)sh[j]; - //work with Picture - } - } - } - -
- -
Drawing a shape on a slide -

- When you add a shape, you usually specify the dimensions of the shape and the position - 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). -

- - SlideShow ppt = new SlideShow(); - - Slide slide = ppt.createSlide(); - - //Line shape - Line line = new Line(); - line.setAnchor(new java.awt.Rectangle(50, 50, 100, 20)); - line.setLineColor(new Color(0, 128, 0)); - line.setLineStyle(Line.LineDashDotSys); - slide.addShape(line); - - //TextBox - TextBox txt = new TextBox(); - txt.setText("Hello, World!"); - txt.setAnchor(new java.awt.Rectangle(300, 100, 300, 50)); - - //use RichTextRun to work with the text format - RichTextRun rt = txt.getRichTextRuns()[0]; - rt.setFontSize(32); - rt.setFontName("Arial"); - rt.setBold(true); - rt.setItalic(true); - rt.setUnderlined(true); - rt.setFontColor(Color.red); - rt.setAlignment(TextBox.AlignRight); - - slide.addShape(txt); - - //Autoshape - //32-point star - AutoShape sh1 = new AutoShape(ShapeTypes.Star32); - sh1.setAnchor(new java.awt.Rectangle(50, 50, 100, 200)); - sh1.setFillColor(Color.red); - slide.addShape(sh1); - - //Trapezoid - AutoShape sh2 = new AutoShape(ShapeTypes.Trapezoid); - sh2.setAnchor(new java.awt.Rectangle(150, 150, 100, 200)); - sh2.setFillColor(Color.blue); - slide.addShape(sh2); - - FileOutputStream out = new FileOutputStream("slideshow.ppt"); - ppt.write(out); - out.close(); - -
- -
How to work with pictures - -

- Currently, HSLF API supports the following types of pictures: -

-
    -
  • Windows Metafiles (WMF)
  • -
  • Enhanced Metafiles (EMF)
  • -
  • JPEG Interchange Format
  • -
  • Portable Network Graphics (PNG)
  • -
  • Macintosh PICT
  • -
- - - SlideShow ppt = new SlideShow(new HSLFSlideShow("slideshow.ppt")); - - //extract all pictures contained in the presentation - PictureData[] pdata = ppt.getPictureData(); - for (int i = 0; i < pdata.length; i++){ - PictureData pict = pdata[i]; - - // picture data - byte[] data = pict.getData(); - - int type = pict.getType(); - String ext; - switch (type){ - case Picture.JPEG: ext=".jpg"; break; - case Picture.PNG: ext=".png"; break; - case Picture.WMF: ext=".wmf"; break; - case Picture.EMF: ext=".emf"; break; - case Picture.PICT: ext=".pict"; break; - default: continue; - } - FileOutputStream out = new FileOutputStream("pict_"+i + ext); - out.write(data); - out.close(); - - } - - // add a new picture to this slideshow and insert it in a new slide - int idx = ppt.addPicture(new File("clock.jpg"), Picture.JPEG); - - Picture pict = new Picture(idx); - - //set image position in the slide - pict.setAnchor(new java.awt.Rectangle(100, 100, 300, 200)); - - Slide slide = ppt.createSlide(); - slide.addShape(pict); - - //now retrieve pictures containes in the first slide and save them on disk - slide = ppt.getSlides()[0]; - Shape[] sh = slide.getShapes(); - for (int i = 0; i < sh.length; i++){ - if (sh[i] instanceof Picture){ - Picture pict = (Picture)sh[i]; - PictureData data = pict.getPictureData(); - byte[] data = pict.getData(); - int type = pict.getType(); - if (type == Picture.JPEG){ - FileOutputStream out = new FileOutputStream("slide0_"+i+".jpg"); - out.write(data); - out.close(); - } else if (type == Picture.PNG){ - FileOutputStream out = new FileOutputStream("slide0_"+i+".png"); - out.write(data); - out.close(); - } - } - } - - FileOutputStream out = new FileOutputStream("slideshow.ppt"); - wb.write(out); - out.close(); - - -
- -
How to set slide title - - SlideShow ppt = new SlideShow(); - Slide slide = ppt.createSlide(); - TextBox title = slide.addTitle(); - title.setText("Hello, World!"); - - //save changes - FileOutputStream out = new FileOutputStream("slideshow.ppt"); - wb.write(out); - out.close(); - -

- Below is the equivalent code in PowerPoint VBA: -

- - Set myDocument = ActivePresentation.Slides(1) - myDocument.Shapes.AddTitle.TextFrame.TextRange.Text = "Hello, World!" - -
- -
How to modify background of a slide master - - SlideShow ppt = new SlideShow(); - SlideMaster master = ppt.getSlidesMasters()[0]; - - Fill fill = master.getBackground().getFill(); - int idx = ppt.addPicture(new File("background.png"), Picture.PNG); - fill.setFillType(Fill.FILL_PICTURE); - fill.setPictureData(idx); - -
-
How to modify background of a slide - - SlideShow ppt = new SlideShow(); - Slide slide = ppt.createSlide(); - - //This slide has its own background. - //Without this line it will use master's background. - slide.setFollowMasterBackground(false); - Fill fill = slide.getBackground().getFill(); - int idx = ppt.addPicture(new File("background.png"), Picture.PNG); - fill.setFillType(Fill.FILL_PATTERN); - fill.setPictureData(idx); - -
-
How to modify background of a shape - - SlideShow ppt = new SlideShow(); - Slide slide = ppt.createSlide(); - - Shape shape = new AutoShape(ShapeTypes.Rectangle); - shape.setAnchor(new java.awt.Rectangle(100, 100, 200, 200)); - Fill fill = shape.getFill(); - fill.setFillType(Fill.FILL_SHADE); - fill.setBackgroundColor(Color.red); - fill.setForegroundColor(Color.green); - - slide.addShape(shape); - -
- -
-
- -
+ + + + + +
+ Busy Developers' Guide to HSLF drawing layer + + + +
+ +
Busy Developers' Guide to HSLF drawing layer +
Index of Features +
    +
  • How to create a new presentation and add new slides to it
  • +
  • How to retrieve or change slide size
  • +
  • How to get shapes contained in a particular slide
  • +
  • Drawing a shape on a slide
  • +
  • How to work with pictures
  • +
  • How to set slide title
  • +
  • How to work with slide/shape background
  • +
+
+
Features + +
New Presentation + + //create a new empty slide show + SlideShow ppt = new SlideShow(); + + //add first slide + Slide s1 = ppt.createSlide(); + + //add second slide + Slide s2 = ppt.createSlide(); + + //save changes in a file + FileOutputStream out = new FileOutputStream("slideshow.ppt"); + wb.write(out); + out.close(); + +
+ +
How to retrieve or change slide size + + SlideShow ppt = new SlideShow(new HSLFSlideShow("slideshow.ppt")); + //retrieve page size. Coordinates are expressed in points (72 dpi) + java.awt.Dimension pgsize = ppt.getPageSize(); + int pgx = pgsize.width; //slide width + int pgy = pgsize.height; //slide height + + //set new page size + ppt.setPageSize(new java.awt.Dimension(1024, 768)); + //save changes + FileOutputStream out = new FileOutputStream("slideshow.ppt"); + wb.write(out); + out.close(); + +
+ +
How to get shapes contained in a particular slide +

The superclass of all shapes in HSLF is the Shape class - the elemental object that composes a drawing. + The following pictute shows the class tree of HSLF shapes: +

+

+ Class Tree of HSLF Shapes +

+

+ The following fragment demonstrates how to iterate over shapes for each slide. +

+ + SlideShow ppt = new SlideShow(new HSLFSlideShow("slideshow.ppt")); + //get slides + Slide[] slide = ppt.getSlides(); + for (int i = 0; i < slide.length; i++){ + Shape[] sh = slide[i].getShapes(); + for (int j = 0; j < sh.length; j++){ + //name of the shape + String name = sh[j].getShapeName(); + + //shapes's anchor which defines the position of this shape in the slide + java.awt.Rectangle anchor = sh[j].getAnchor(); + + if (sh[j] instanceof Line){ + Line line = (Line)sh[j]; + //work with Line + } else if (sh[j] instanceof AutoShape){ + AutoShape shape = (AutoShape)sh[j]; + //work with AutoShape + } else if (sh[j] instanceof TextBox){ + TextBox shape = (TextBox)sh[j]; + //work with TextBox + } else if (sh[j] instanceof Picture){ + Picture shape = (Picture)sh[j]; + //work with Picture + } + } + } + +
+ +
Drawing a shape on a slide +

+ When you add a shape, you usually specify the dimensions of the shape and the position + 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). +

+ + SlideShow ppt = new SlideShow(); + + Slide slide = ppt.createSlide(); + + //Line shape + Line line = new Line(); + line.setAnchor(new java.awt.Rectangle(50, 50, 100, 20)); + line.setLineColor(new Color(0, 128, 0)); + line.setLineStyle(Line.LineDashDotSys); + slide.addShape(line); + + //TextBox + TextBox txt = new TextBox(); + txt.setText("Hello, World!"); + txt.setAnchor(new java.awt.Rectangle(300, 100, 300, 50)); + + //use RichTextRun to work with the text format + RichTextRun rt = txt.getRichTextRuns()[0]; + rt.setFontSize(32); + rt.setFontName("Arial"); + rt.setBold(true); + rt.setItalic(true); + rt.setUnderlined(true); + rt.setFontColor(Color.red); + rt.setAlignment(TextBox.AlignRight); + + slide.addShape(txt); + + //Autoshape + //32-point star + AutoShape sh1 = new AutoShape(ShapeTypes.Star32); + sh1.setAnchor(new java.awt.Rectangle(50, 50, 100, 200)); + sh1.setFillColor(Color.red); + slide.addShape(sh1); + + //Trapezoid + AutoShape sh2 = new AutoShape(ShapeTypes.Trapezoid); + sh2.setAnchor(new java.awt.Rectangle(150, 150, 100, 200)); + sh2.setFillColor(Color.blue); + slide.addShape(sh2); + + FileOutputStream out = new FileOutputStream("slideshow.ppt"); + ppt.write(out); + out.close(); + +
+ +
How to work with pictures + +

+ Currently, HSLF API supports the following types of pictures: +

+
    +
  • Windows Metafiles (WMF)
  • +
  • Enhanced Metafiles (EMF)
  • +
  • JPEG Interchange Format
  • +
  • Portable Network Graphics (PNG)
  • +
  • Macintosh PICT
  • +
+ + + SlideShow ppt = new SlideShow(new HSLFSlideShow("slideshow.ppt")); + + //extract all pictures contained in the presentation + PictureData[] pdata = ppt.getPictureData(); + for (int i = 0; i < pdata.length; i++){ + PictureData pict = pdata[i]; + + // picture data + byte[] data = pict.getData(); + + int type = pict.getType(); + String ext; + switch (type){ + case Picture.JPEG: ext=".jpg"; break; + case Picture.PNG: ext=".png"; break; + case Picture.WMF: ext=".wmf"; break; + case Picture.EMF: ext=".emf"; break; + case Picture.PICT: ext=".pict"; break; + default: continue; + } + FileOutputStream out = new FileOutputStream("pict_"+i + ext); + out.write(data); + out.close(); + + } + + // add a new picture to this slideshow and insert it in a new slide + int idx = ppt.addPicture(new File("clock.jpg"), Picture.JPEG); + + Picture pict = new Picture(idx); + + //set image position in the slide + pict.setAnchor(new java.awt.Rectangle(100, 100, 300, 200)); + + Slide slide = ppt.createSlide(); + slide.addShape(pict); + + //now retrieve pictures containes in the first slide and save them on disk + slide = ppt.getSlides()[0]; + Shape[] sh = slide.getShapes(); + for (int i = 0; i < sh.length; i++){ + if (sh[i] instanceof Picture){ + Picture pict = (Picture)sh[i]; + PictureData data = pict.getPictureData(); + byte[] data = pict.getData(); + int type = pict.getType(); + if (type == Picture.JPEG){ + FileOutputStream out = new FileOutputStream("slide0_"+i+".jpg"); + out.write(data); + out.close(); + } else if (type == Picture.PNG){ + FileOutputStream out = new FileOutputStream("slide0_"+i+".png"); + out.write(data); + out.close(); + } + } + } + + FileOutputStream out = new FileOutputStream("slideshow.ppt"); + wb.write(out); + out.close(); + + +
+ +
How to set slide title + + SlideShow ppt = new SlideShow(); + Slide slide = ppt.createSlide(); + TextBox title = slide.addTitle(); + title.setText("Hello, World!"); + + //save changes + FileOutputStream out = new FileOutputStream("slideshow.ppt"); + wb.write(out); + out.close(); + +

+ Below is the equivalent code in PowerPoint VBA: +

+ + Set myDocument = ActivePresentation.Slides(1) + myDocument.Shapes.AddTitle.TextFrame.TextRange.Text = "Hello, World!" + +
+ +
How to modify background of a slide master + + SlideShow ppt = new SlideShow(); + SlideMaster master = ppt.getSlidesMasters()[0]; + + Fill fill = master.getBackground().getFill(); + int idx = ppt.addPicture(new File("background.png"), Picture.PNG); + fill.setFillType(Fill.FILL_PICTURE); + fill.setPictureData(idx); + +
+
How to modify background of a slide + + SlideShow ppt = new SlideShow(); + Slide slide = ppt.createSlide(); + + //This slide has its own background. + //Without this line it will use master's background. + slide.setFollowMasterBackground(false); + Fill fill = slide.getBackground().getFill(); + int idx = ppt.addPicture(new File("background.png"), Picture.PNG); + fill.setFillType(Fill.FILL_PATTERN); + fill.setPictureData(idx); + +
+
How to modify background of a shape + + SlideShow ppt = new SlideShow(); + Slide slide = ppt.createSlide(); + + Shape shape = new AutoShape(ShapeTypes.Rectangle); + shape.setAnchor(new java.awt.Rectangle(100, 100, 200, 200)); + Fill fill = shape.getFill(); + fill.setFillType(Fill.FILL_SHADE); + fill.setBackgroundColor(Color.red); + fill.setForegroundColor(Color.green); + + slide.addShape(shape); + +
+ +
+
+ +
diff --git a/src/documentation/content/xdocs/hslf/index.xml b/src/documentation/content/xdocs/hslf/index.xml index 47ac9001c..779a279d1 100755 --- a/src/documentation/content/xdocs/hslf/index.xml +++ b/src/documentation/content/xdocs/hslf/index.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/hslf/ppt-file-format.xml b/src/documentation/content/xdocs/hslf/ppt-file-format.xml index 7fd8c6a82..d76fd7f54 100644 --- a/src/documentation/content/xdocs/hslf/ppt-file-format.xml +++ b/src/documentation/content/xdocs/hslf/ppt-file-format.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/hslf/quick-guide.xml b/src/documentation/content/xdocs/hslf/quick-guide.xml index 955e9f9c2..7e6f9ae2e 100644 --- a/src/documentation/content/xdocs/hslf/quick-guide.xml +++ b/src/documentation/content/xdocs/hslf/quick-guide.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/hssf/book.xml b/src/documentation/content/xdocs/hssf/book.xml index 116a076b0..ef7a26803 100644 --- a/src/documentation/content/xdocs/hssf/book.xml +++ b/src/documentation/content/xdocs/hssf/book.xml @@ -1,5 +1,22 @@ - + - + diff --git a/src/documentation/content/xdocs/hssf/diagram1.xml b/src/documentation/content/xdocs/hssf/diagram1.xml index df781edac..fbbe1f66c 100644 --- a/src/documentation/content/xdocs/hssf/diagram1.xml +++ b/src/documentation/content/xdocs/hssf/diagram1.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/hssf/diagrams.xml b/src/documentation/content/xdocs/hssf/diagrams.xml index b928d1fdd..1c1f2a76f 100644 --- a/src/documentation/content/xdocs/hssf/diagrams.xml +++ b/src/documentation/content/xdocs/hssf/diagrams.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/hssf/eval-devguide.xml b/src/documentation/content/xdocs/hssf/eval-devguide.xml index bd58291fc..29c33b8a2 100644 --- a/src/documentation/content/xdocs/hssf/eval-devguide.xml +++ b/src/documentation/content/xdocs/hssf/eval-devguide.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/hssf/eval.xml b/src/documentation/content/xdocs/hssf/eval.xml index 5132e0c41..548df78e7 100644 --- a/src/documentation/content/xdocs/hssf/eval.xml +++ b/src/documentation/content/xdocs/hssf/eval.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/hssf/formula.xml b/src/documentation/content/xdocs/hssf/formula.xml index e945d8b04..7684bf076 100644 --- a/src/documentation/content/xdocs/hssf/formula.xml +++ b/src/documentation/content/xdocs/hssf/formula.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/hssf/hacking-hssf.xml b/src/documentation/content/xdocs/hssf/hacking-hssf.xml index 4c5c3ef71..940ebab86 100644 --- a/src/documentation/content/xdocs/hssf/hacking-hssf.xml +++ b/src/documentation/content/xdocs/hssf/hacking-hssf.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/hssf/how-to.xml b/src/documentation/content/xdocs/hssf/how-to.xml index 1570efda1..43c835282 100644 --- a/src/documentation/content/xdocs/hssf/how-to.xml +++ b/src/documentation/content/xdocs/hssf/how-to.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/hssf/index.xml b/src/documentation/content/xdocs/hssf/index.xml index c58785341..e8363fabd 100644 --- a/src/documentation/content/xdocs/hssf/index.xml +++ b/src/documentation/content/xdocs/hssf/index.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/hssf/limitations.xml b/src/documentation/content/xdocs/hssf/limitations.xml index 37683e655..41f1b2418 100644 --- a/src/documentation/content/xdocs/hssf/limitations.xml +++ b/src/documentation/content/xdocs/hssf/limitations.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/hssf/quick-guide.xml b/src/documentation/content/xdocs/hssf/quick-guide.xml index 8bc58d6ba..6c3d964d0 100644 --- a/src/documentation/content/xdocs/hssf/quick-guide.xml +++ b/src/documentation/content/xdocs/hssf/quick-guide.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/hssf/record-generator.xml b/src/documentation/content/xdocs/hssf/record-generator.xml index 85b282ff5..281d71824 100644 --- a/src/documentation/content/xdocs/hssf/record-generator.xml +++ b/src/documentation/content/xdocs/hssf/record-generator.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/hssf/use-case.xml b/src/documentation/content/xdocs/hssf/use-case.xml index 3cfee2e5b..acd66fc6e 100644 --- a/src/documentation/content/xdocs/hssf/use-case.xml +++ b/src/documentation/content/xdocs/hssf/use-case.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/hwpf/book.xml b/src/documentation/content/xdocs/hwpf/book.xml index d2d95fe9c..c45aa7f48 100644 --- a/src/documentation/content/xdocs/hwpf/book.xml +++ b/src/documentation/content/xdocs/hwpf/book.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/hwpf/docoverview.xml b/src/documentation/content/xdocs/hwpf/docoverview.xml index 468a618bd..3a58556c1 100644 --- a/src/documentation/content/xdocs/hwpf/docoverview.xml +++ b/src/documentation/content/xdocs/hwpf/docoverview.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/hwpf/index.xml b/src/documentation/content/xdocs/hwpf/index.xml index 0f824f4d1..bab314fbf 100644 --- a/src/documentation/content/xdocs/hwpf/index.xml +++ b/src/documentation/content/xdocs/hwpf/index.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/hwpf/projectplan.xml b/src/documentation/content/xdocs/hwpf/projectplan.xml index 7b4746569..e2fb763d7 100644 --- a/src/documentation/content/xdocs/hwpf/projectplan.xml +++ b/src/documentation/content/xdocs/hwpf/projectplan.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/hwpf/quick-guide.xml b/src/documentation/content/xdocs/hwpf/quick-guide.xml index b60b5f1a0..197922f07 100644 --- a/src/documentation/content/xdocs/hwpf/quick-guide.xml +++ b/src/documentation/content/xdocs/hwpf/quick-guide.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/index.xml b/src/documentation/content/xdocs/index.xml index 642689970..c7d764dbc 100644 --- a/src/documentation/content/xdocs/index.xml +++ b/src/documentation/content/xdocs/index.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/legal.xml b/src/documentation/content/xdocs/legal.xml index 38706d177..c7769b27a 100644 --- a/src/documentation/content/xdocs/legal.xml +++ b/src/documentation/content/xdocs/legal.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/mirrors.xml b/src/documentation/content/xdocs/mirrors.xml index 2b4505cbd..f21ef4ee0 100644 --- a/src/documentation/content/xdocs/mirrors.xml +++ b/src/documentation/content/xdocs/mirrors.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/news.xml b/src/documentation/content/xdocs/news.xml index 9a4483266..61f088c38 100644 --- a/src/documentation/content/xdocs/news.xml +++ b/src/documentation/content/xdocs/news.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/news/book.xml b/src/documentation/content/xdocs/news/book.xml index 612b113a8..dc26164fe 100644 --- a/src/documentation/content/xdocs/news/book.xml +++ b/src/documentation/content/xdocs/news/book.xml @@ -1,5 +1,22 @@ - + - + diff --git a/src/documentation/content/xdocs/overview.xml b/src/documentation/content/xdocs/overview.xml index 987c1868f..c6c66e699 100644 --- a/src/documentation/content/xdocs/overview.xml +++ b/src/documentation/content/xdocs/overview.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/patches.xml b/src/documentation/content/xdocs/patches.xml index 0079aa3c8..ad599c990 100644 --- a/src/documentation/content/xdocs/patches.xml +++ b/src/documentation/content/xdocs/patches.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/plan/POI10Vision.xml b/src/documentation/content/xdocs/plan/POI10Vision.xml index f662d6a69..757401254 100644 --- a/src/documentation/content/xdocs/plan/POI10Vision.xml +++ b/src/documentation/content/xdocs/plan/POI10Vision.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/plan/POI20Vision.xml b/src/documentation/content/xdocs/plan/POI20Vision.xml index 9f9b04b10..3725c81f5 100644 --- a/src/documentation/content/xdocs/plan/POI20Vision.xml +++ b/src/documentation/content/xdocs/plan/POI20Vision.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/plan/book.xml b/src/documentation/content/xdocs/plan/book.xml index 5ee8db53e..ab6f727b8 100644 --- a/src/documentation/content/xdocs/plan/book.xml +++ b/src/documentation/content/xdocs/plan/book.xml @@ -1,5 +1,22 @@ - + - + diff --git a/src/documentation/content/xdocs/plan/release.xml b/src/documentation/content/xdocs/plan/release.xml index d58358a6d..ddbb2f7fc 100644 --- a/src/documentation/content/xdocs/plan/release.xml +++ b/src/documentation/content/xdocs/plan/release.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/poi-ruby.xml b/src/documentation/content/xdocs/poi-ruby.xml index 11a96b591..18b723a03 100644 --- a/src/documentation/content/xdocs/poi-ruby.xml +++ b/src/documentation/content/xdocs/poi-ruby.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/poifs/book.xml b/src/documentation/content/xdocs/poifs/book.xml index c613f5073..1bc752826 100644 --- a/src/documentation/content/xdocs/poifs/book.xml +++ b/src/documentation/content/xdocs/poifs/book.xml @@ -1,5 +1,22 @@ - + - +
diff --git a/src/documentation/content/xdocs/poifs/how-to.xml b/src/documentation/content/xdocs/poifs/how-to.xml index dbb1bb781..e1bc8c2c6 100644 --- a/src/documentation/content/xdocs/poifs/how-to.xml +++ b/src/documentation/content/xdocs/poifs/how-to.xml @@ -1,5 +1,22 @@ - +
diff --git a/src/documentation/content/xdocs/poifs/html/POIFSDesignDocument.html b/src/documentation/content/xdocs/poifs/html/POIFSDesignDocument.html index 086b39aff..e4dcdb504 100644 --- a/src/documentation/content/xdocs/poifs/html/POIFSDesignDocument.html +++ b/src/documentation/content/xdocs/poifs/html/POIFSDesignDocument.html @@ -1,4 +1,21 @@ - + POIFS Design Document diff --git a/src/documentation/content/xdocs/poifs/index.xml b/src/documentation/content/xdocs/poifs/index.xml index c7c652507..024d95e5a 100644 --- a/src/documentation/content/xdocs/poifs/index.xml +++ b/src/documentation/content/xdocs/poifs/index.xml @@ -1,5 +1,22 @@ - +
diff --git a/src/documentation/content/xdocs/poifs/usecases.xml b/src/documentation/content/xdocs/poifs/usecases.xml index 1b68a8ef9..8d2dea3ad 100644 --- a/src/documentation/content/xdocs/poifs/usecases.xml +++ b/src/documentation/content/xdocs/poifs/usecases.xml @@ -1,5 +1,22 @@ - +
diff --git a/src/documentation/content/xdocs/references/book.xml b/src/documentation/content/xdocs/references/book.xml index 0355219f9..c0a3bb3e8 100644 --- a/src/documentation/content/xdocs/references/book.xml +++ b/src/documentation/content/xdocs/references/book.xml @@ -1,5 +1,22 @@ - + - + diff --git a/src/documentation/content/xdocs/resolutions/book.xml b/src/documentation/content/xdocs/resolutions/book.xml index ad3213623..82a55b2a0 100644 --- a/src/documentation/content/xdocs/resolutions/book.xml +++ b/src/documentation/content/xdocs/resolutions/book.xml @@ -1,5 +1,22 @@ - + - + diff --git a/src/documentation/content/xdocs/resolutions/res001.xml b/src/documentation/content/xdocs/resolutions/res001.xml index 57187b950..2a538e621 100644 --- a/src/documentation/content/xdocs/resolutions/res001.xml +++ b/src/documentation/content/xdocs/resolutions/res001.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/site.xml b/src/documentation/content/xdocs/site.xml index 8351fc0dd..954c4b6f4 100644 --- a/src/documentation/content/xdocs/site.xml +++ b/src/documentation/content/xdocs/site.xml @@ -1,5 +1,22 @@ - + + diff --git a/src/documentation/content/xdocs/tabs.xml b/src/documentation/content/xdocs/tabs.xml index 23d637292..ca4c5330e 100644 --- a/src/documentation/content/xdocs/tabs.xml +++ b/src/documentation/content/xdocs/tabs.xml @@ -1,5 +1,22 @@ - + - + diff --git a/src/documentation/content/xdocs/trans/book.xml b/src/documentation/content/xdocs/trans/book.xml index 4e6da658b..86ae3a94a 100644 --- a/src/documentation/content/xdocs/trans/book.xml +++ b/src/documentation/content/xdocs/trans/book.xml @@ -1,5 +1,22 @@ - + - + - + diff --git a/src/documentation/content/xdocs/trans/es/3rdparty.xml b/src/documentation/content/xdocs/trans/es/3rdparty.xml index e39d01758..82d3f173d 100644 --- a/src/documentation/content/xdocs/trans/es/3rdparty.xml +++ b/src/documentation/content/xdocs/trans/es/3rdparty.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/trans/es/book.xml b/src/documentation/content/xdocs/trans/es/book.xml index 3f267feb9..7c463a798 100644 --- a/src/documentation/content/xdocs/trans/es/book.xml +++ b/src/documentation/content/xdocs/trans/es/book.xml @@ -1,5 +1,22 @@ - + - + diff --git a/src/documentation/content/xdocs/trans/es/changes.xml b/src/documentation/content/xdocs/trans/es/changes.xml index 07b7bbcbe..b7c903fd2 100644 --- a/src/documentation/content/xdocs/trans/es/changes.xml +++ b/src/documentation/content/xdocs/trans/es/changes.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/trans/es/faq.xml b/src/documentation/content/xdocs/trans/es/faq.xml index ed67e2b8f..33076a51e 100644 --- a/src/documentation/content/xdocs/trans/es/faq.xml +++ b/src/documentation/content/xdocs/trans/es/faq.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/trans/es/historyandfuture.xml b/src/documentation/content/xdocs/trans/es/historyandfuture.xml index fc999294d..dde8ef956 100644 --- a/src/documentation/content/xdocs/trans/es/historyandfuture.xml +++ b/src/documentation/content/xdocs/trans/es/historyandfuture.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/trans/es/hssf/book.xml b/src/documentation/content/xdocs/trans/es/hssf/book.xml index 065561c77..0fe3c5f99 100644 --- a/src/documentation/content/xdocs/trans/es/hssf/book.xml +++ b/src/documentation/content/xdocs/trans/es/hssf/book.xml @@ -1,5 +1,22 @@ - + - + diff --git a/src/documentation/content/xdocs/trans/es/hssf/diagrams.xml b/src/documentation/content/xdocs/trans/es/hssf/diagrams.xml index 68a0bb422..f32b4613e 100644 --- a/src/documentation/content/xdocs/trans/es/hssf/diagrams.xml +++ b/src/documentation/content/xdocs/trans/es/hssf/diagrams.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/trans/es/hssf/formula.xml b/src/documentation/content/xdocs/trans/es/hssf/formula.xml index a072b5ba6..4de9b8dbe 100644 --- a/src/documentation/content/xdocs/trans/es/hssf/formula.xml +++ b/src/documentation/content/xdocs/trans/es/hssf/formula.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/trans/es/hssf/hacking-hssf.xml b/src/documentation/content/xdocs/trans/es/hssf/hacking-hssf.xml index a5802c154..d63411c21 100644 --- a/src/documentation/content/xdocs/trans/es/hssf/hacking-hssf.xml +++ b/src/documentation/content/xdocs/trans/es/hssf/hacking-hssf.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/trans/es/hssf/how-to.xml b/src/documentation/content/xdocs/trans/es/hssf/how-to.xml index 98e5c0538..43c594e4f 100644 --- a/src/documentation/content/xdocs/trans/es/hssf/how-to.xml +++ b/src/documentation/content/xdocs/trans/es/hssf/how-to.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/trans/es/hssf/index.xml b/src/documentation/content/xdocs/trans/es/hssf/index.xml index 69859657b..95016a69f 100644 --- a/src/documentation/content/xdocs/trans/es/hssf/index.xml +++ b/src/documentation/content/xdocs/trans/es/hssf/index.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/trans/es/hssf/limitations.xml b/src/documentation/content/xdocs/trans/es/hssf/limitations.xml index e8fda0cb3..304add20d 100644 --- a/src/documentation/content/xdocs/trans/es/hssf/limitations.xml +++ b/src/documentation/content/xdocs/trans/es/hssf/limitations.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/trans/es/hssf/quick-guide.xml b/src/documentation/content/xdocs/trans/es/hssf/quick-guide.xml index 8aa93a76a..9392ac3ad 100644 --- a/src/documentation/content/xdocs/trans/es/hssf/quick-guide.xml +++ b/src/documentation/content/xdocs/trans/es/hssf/quick-guide.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/trans/es/hssf/record-generator.xml b/src/documentation/content/xdocs/trans/es/hssf/record-generator.xml index c5b5d5fe9..b52d17eb2 100644 --- a/src/documentation/content/xdocs/trans/es/hssf/record-generator.xml +++ b/src/documentation/content/xdocs/trans/es/hssf/record-generator.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/trans/es/hssf/use-case.xml b/src/documentation/content/xdocs/trans/es/hssf/use-case.xml index cba260655..76248bf93 100644 --- a/src/documentation/content/xdocs/trans/es/hssf/use-case.xml +++ b/src/documentation/content/xdocs/trans/es/hssf/use-case.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/trans/es/index.xml b/src/documentation/content/xdocs/trans/es/index.xml index 4395d8a7b..5eca17f70 100644 --- a/src/documentation/content/xdocs/trans/es/index.xml +++ b/src/documentation/content/xdocs/trans/es/index.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/trans/es/news.xml b/src/documentation/content/xdocs/trans/es/news.xml index c6c88746d..088ff9838 100644 --- a/src/documentation/content/xdocs/trans/es/news.xml +++ b/src/documentation/content/xdocs/trans/es/news.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/trans/es/overview.xml b/src/documentation/content/xdocs/trans/es/overview.xml index 1803e43f3..ba7b3b5a8 100644 --- a/src/documentation/content/xdocs/trans/es/overview.xml +++ b/src/documentation/content/xdocs/trans/es/overview.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/trans/es/patches.xml b/src/documentation/content/xdocs/trans/es/patches.xml index 4e23e5445..acc1ae011 100644 --- a/src/documentation/content/xdocs/trans/es/patches.xml +++ b/src/documentation/content/xdocs/trans/es/patches.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/trans/es/todo.xml b/src/documentation/content/xdocs/trans/es/todo.xml index b95499845..572ced3b9 100644 --- a/src/documentation/content/xdocs/trans/es/todo.xml +++ b/src/documentation/content/xdocs/trans/es/todo.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/trans/es/who.xml b/src/documentation/content/xdocs/trans/es/who.xml index 430f2e3dd..fb0c17b1d 100644 --- a/src/documentation/content/xdocs/trans/es/who.xml +++ b/src/documentation/content/xdocs/trans/es/who.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/trans/guidelines.xml b/src/documentation/content/xdocs/trans/guidelines.xml index 3a350f29a..26eccaf6b 100644 --- a/src/documentation/content/xdocs/trans/guidelines.xml +++ b/src/documentation/content/xdocs/trans/guidelines.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/trans/index.xml b/src/documentation/content/xdocs/trans/index.xml index c08b7c262..448f0ea31 100644 --- a/src/documentation/content/xdocs/trans/index.xml +++ b/src/documentation/content/xdocs/trans/index.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/utils/book.xml b/src/documentation/content/xdocs/utils/book.xml index 0745564cc..f2c92fbd9 100644 --- a/src/documentation/content/xdocs/utils/book.xml +++ b/src/documentation/content/xdocs/utils/book.xml @@ -1,5 +1,22 @@ - + - + diff --git a/src/documentation/content/xdocs/utils/logging.xml b/src/documentation/content/xdocs/utils/logging.xml index 19ba76ded..69b80ae83 100644 --- a/src/documentation/content/xdocs/utils/logging.xml +++ b/src/documentation/content/xdocs/utils/logging.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/content/xdocs/who.xml b/src/documentation/content/xdocs/who.xml index 4df6f6cb5..45029b5e3 100644 --- a/src/documentation/content/xdocs/who.xml +++ b/src/documentation/content/xdocs/who.xml @@ -1,5 +1,22 @@ - + diff --git a/src/documentation/skinconf.xml b/src/documentation/skinconf.xml index 2a3ed0cb4..d9b1a56a5 100644 --- a/src/documentation/skinconf.xml +++ b/src/documentation/skinconf.xml @@ -1,5 +1,22 @@ - +