From ff0f31904e6ce66cc95a02d98cfd49436fd79f32 Mon Sep 17 00:00:00 2001 From: Sergey Vladimirov Date: Tue, 9 Aug 2011 05:45:20 +0000 Subject: [PATCH] mark org.apache.poi.hwpf.converter classes as @Beta git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155216 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/hwpf/converter/AbstractWordConverter.java | 2 ++ .../src/org/apache/poi/hwpf/converter/AbstractWordUtils.java | 2 ++ .../src/org/apache/poi/hwpf/converter/DefaultFontReplacer.java | 3 +++ .../src/org/apache/poi/hwpf/converter/FoDocumentFacade.java | 2 ++ .../src/org/apache/poi/hwpf/converter/FontReplacer.java | 3 +++ .../src/org/apache/poi/hwpf/converter/HtmlDocumentFacade.java | 2 ++ .../src/org/apache/poi/hwpf/converter/NumberFormatter.java | 3 +++ .../src/org/apache/poi/hwpf/converter/PicturesManager.java | 2 ++ .../src/org/apache/poi/hwpf/converter/WordToFoConverter.java | 2 ++ .../src/org/apache/poi/hwpf/converter/WordToFoUtils.java | 2 ++ .../src/org/apache/poi/hwpf/converter/WordToHtmlConverter.java | 2 ++ .../src/org/apache/poi/hwpf/converter/WordToHtmlUtils.java | 2 ++ 12 files changed, 27 insertions(+) diff --git a/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java b/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java index afb5a5f701..3612011dd5 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java @@ -47,11 +47,13 @@ import org.apache.poi.hwpf.usermodel.Section; import org.apache.poi.hwpf.usermodel.Table; import org.apache.poi.hwpf.usermodel.TableCell; import org.apache.poi.hwpf.usermodel.TableRow; +import org.apache.poi.util.Beta; import org.apache.poi.util.POILogFactory; import org.apache.poi.util.POILogger; import org.w3c.dom.Document; import org.w3c.dom.Element; +@Beta public abstract class AbstractWordConverter { private static final byte BEL_MARK = 7; diff --git a/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordUtils.java b/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordUtils.java index 8ed299f4ed..e7b85b0b74 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordUtils.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordUtils.java @@ -35,6 +35,7 @@ import org.apache.poi.hwpf.usermodel.Table; import org.apache.poi.hwpf.usermodel.TableCell; import org.apache.poi.hwpf.usermodel.TableRow; import org.apache.poi.poifs.filesystem.POIFSFileSystem; +import org.apache.poi.util.Beta; import org.apache.poi.util.IOUtils; import org.apache.poi.util.POILogFactory; import org.apache.poi.util.POILogger; @@ -44,6 +45,7 @@ import org.w3c.dom.NamedNodeMap; import org.w3c.dom.Node; import org.w3c.dom.NodeList; +@Beta public class AbstractWordUtils { static final String EMPTY = ""; diff --git a/src/scratchpad/src/org/apache/poi/hwpf/converter/DefaultFontReplacer.java b/src/scratchpad/src/org/apache/poi/hwpf/converter/DefaultFontReplacer.java index 7f9f34a8ca..d3fedec4a1 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/converter/DefaultFontReplacer.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/converter/DefaultFontReplacer.java @@ -1,5 +1,8 @@ package org.apache.poi.hwpf.converter; +import org.apache.poi.util.Beta; + +@Beta public class DefaultFontReplacer implements FontReplacer { public Triplet update( Triplet original ) diff --git a/src/scratchpad/src/org/apache/poi/hwpf/converter/FoDocumentFacade.java b/src/scratchpad/src/org/apache/poi/hwpf/converter/FoDocumentFacade.java index 5aad12fd3e..42fa15044f 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/converter/FoDocumentFacade.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/converter/FoDocumentFacade.java @@ -16,12 +16,14 @@ ==================================================================== */ package org.apache.poi.hwpf.converter; +import org.apache.poi.util.Beta; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import org.w3c.dom.Text; +@Beta public class FoDocumentFacade { private static final String NS_RDF = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"; diff --git a/src/scratchpad/src/org/apache/poi/hwpf/converter/FontReplacer.java b/src/scratchpad/src/org/apache/poi/hwpf/converter/FontReplacer.java index 51ec26d67a..aa50ea0425 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/converter/FontReplacer.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/converter/FontReplacer.java @@ -1,5 +1,8 @@ package org.apache.poi.hwpf.converter; +import org.apache.poi.util.Beta; + +@Beta public interface FontReplacer { public class Triplet diff --git a/src/scratchpad/src/org/apache/poi/hwpf/converter/HtmlDocumentFacade.java b/src/scratchpad/src/org/apache/poi/hwpf/converter/HtmlDocumentFacade.java index a02b2942c5..a6bbffe124 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/converter/HtmlDocumentFacade.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/converter/HtmlDocumentFacade.java @@ -19,10 +19,12 @@ package org.apache.poi.hwpf.converter; import java.util.LinkedHashMap; import java.util.Map; +import org.apache.poi.util.Beta; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Text; +@Beta public class HtmlDocumentFacade { protected final Element body; diff --git a/src/scratchpad/src/org/apache/poi/hwpf/converter/NumberFormatter.java b/src/scratchpad/src/org/apache/poi/hwpf/converter/NumberFormatter.java index 9897cfb0c1..e5c7b32f08 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/converter/NumberFormatter.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/converter/NumberFormatter.java @@ -19,11 +19,14 @@ package org.apache.poi.hwpf.converter; +import org.apache.poi.util.Beta; + /** * Comment me * * @author Ryan Ackley */ +@Beta public final class NumberFormatter { diff --git a/src/scratchpad/src/org/apache/poi/hwpf/converter/PicturesManager.java b/src/scratchpad/src/org/apache/poi/hwpf/converter/PicturesManager.java index dbbca57003..d4befb75a3 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/converter/PicturesManager.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/converter/PicturesManager.java @@ -17,12 +17,14 @@ package org.apache.poi.hwpf.converter; import org.apache.poi.hwpf.usermodel.PictureType; +import org.apache.poi.util.Beta; /** * User-implemented pictures manager to store images on-disk * * @author Sergey Vladimirov (vlsergey {at} gmail {dot} com) */ +@Beta public interface PicturesManager { /** diff --git a/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToFoConverter.java b/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToFoConverter.java index 653b44cec9..2bf9dc55fe 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToFoConverter.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToFoConverter.java @@ -45,6 +45,7 @@ import org.apache.poi.hwpf.usermodel.Section; import org.apache.poi.hwpf.usermodel.Table; import org.apache.poi.hwpf.usermodel.TableCell; import org.apache.poi.hwpf.usermodel.TableRow; +import org.apache.poi.util.Beta; import org.apache.poi.util.POILogFactory; import org.apache.poi.util.POILogger; import org.w3c.dom.Document; @@ -54,6 +55,7 @@ import org.w3c.dom.Text; /** * @author Sergey Vladimirov (vlsergey {at} gmail {dot} com) */ +@Beta public class WordToFoConverter extends AbstractWordConverter { diff --git a/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToFoUtils.java b/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToFoUtils.java index b7b0680fd9..29723cfced 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToFoUtils.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToFoUtils.java @@ -22,8 +22,10 @@ import org.apache.poi.hwpf.usermodel.Paragraph; import org.apache.poi.hwpf.usermodel.Picture; import org.apache.poi.hwpf.usermodel.TableCell; import org.apache.poi.hwpf.usermodel.TableRow; +import org.apache.poi.util.Beta; import org.w3c.dom.Element; +@Beta public class WordToFoUtils extends AbstractWordUtils { static void compactInlines( Element blockElement ) diff --git a/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlConverter.java b/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlConverter.java index beba077c79..a0af195590 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlConverter.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlConverter.java @@ -42,6 +42,7 @@ import org.apache.poi.hwpf.usermodel.Section; import org.apache.poi.hwpf.usermodel.Table; import org.apache.poi.hwpf.usermodel.TableCell; import org.apache.poi.hwpf.usermodel.TableRow; +import org.apache.poi.util.Beta; import org.apache.poi.util.POILogFactory; import org.apache.poi.util.POILogger; import org.w3c.dom.Document; @@ -59,6 +60,7 @@ import static org.apache.poi.hwpf.converter.AbstractWordUtils.TWIPS_PER_INCH; * * @author Sergey Vladimirov (vlsergey {at} gmail {dot} com) */ +@Beta public class WordToHtmlConverter extends AbstractWordConverter { diff --git a/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlUtils.java b/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlUtils.java index 3745a53faa..b36e1db834 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlUtils.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlUtils.java @@ -21,8 +21,10 @@ import org.apache.poi.hwpf.usermodel.CharacterRun; import org.apache.poi.hwpf.usermodel.Paragraph; import org.apache.poi.hwpf.usermodel.TableCell; import org.apache.poi.hwpf.usermodel.TableRow; +import org.apache.poi.util.Beta; import org.w3c.dom.Element; +@Beta public class WordToHtmlUtils extends AbstractWordUtils { public static void addBold( final boolean bold, StringBuilder style ) -- 2.39.5