Return-Path: X-Original-To: apmail-poi-commits-archive@minotaur.apache.org Delivered-To: apmail-poi-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 714EA951D for ; Wed, 21 Sep 2011 09:48:38 +0000 (UTC) Received: (qmail 70634 invoked by uid 500); 21 Sep 2011 09:48:38 -0000 Delivered-To: apmail-poi-commits-archive@poi.apache.org Received: (qmail 70601 invoked by uid 500); 21 Sep 2011 09:48:38 -0000 Mailing-List: contact commits-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@poi.apache.org Delivered-To: mailing list commits@poi.apache.org Received: (qmail 70592 invoked by uid 99); 21 Sep 2011 09:48:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2011 09:48:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2011 09:48:36 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 8EBDC23888FD for ; Wed, 21 Sep 2011 09:48:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1173548 - in /poi/trunk/src: scratchpad/src/org/apache/poi/hwpf/model/types/STDAbstractType.java scratchpad/src/org/apache/poi/hwpf/model/types/StdfBaseAbstractType.java types/definitions/StdfBase_type.xml types/definitions/std_type.xml Date: Wed, 21 Sep 2011 09:48:16 -0000 To: commits@poi.apache.org From: sergey@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20110921094816.8EBDC23888FD@eris.apache.org> Author: sergey Date: Wed Sep 21 09:48:16 2011 New Revision: 1173548 URL: http://svn.apache.org/viewvc?rev=1173548&view=rev Log: rename STD to StdfBase Added: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/StdfBaseAbstractType.java - copied, changed from r1173545, poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/STDAbstractType.java poi/trunk/src/types/definitions/StdfBase_type.xml - copied, changed from r1173545, poi/trunk/src/types/definitions/std_type.xml Removed: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/STDAbstractType.java poi/trunk/src/types/definitions/std_type.xml Copied: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/StdfBaseAbstractType.java (from r1173545, poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/STDAbstractType.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/StdfBaseAbstractType.java?p2=poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/StdfBaseAbstractType.java&p1=poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/STDAbstractType.java&r1=1173545&r2=1173548&rev=1173548&view=diff ============================================================================== --- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/STDAbstractType.java (original) +++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/StdfBaseAbstractType.java Wed Sep 21 09:48:16 2011 @@ -22,8 +22,8 @@ import org.apache.poi.util.Internal; import org.apache.poi.util.LittleEndian; /** - * Each individual style description is stored in an STD structure.

Class and - fields descriptions are quoted from Microsoft Office Word 97-2007 Binary File Format and + * The StdfBase structure specifies general information about a style.

Class + and fields descriptions are quoted from Microsoft Office Word 97-2007 Binary File Format and [MS-DOC] - v20110608 Word (.doc) Binary File Format *

@@ -38,7 +38,7 @@ import org.apache.poi.util.LittleEndian; */ @Internal -public abstract class STDAbstractType +public abstract class StdfBaseAbstractType { protected short field_1_info1; @@ -70,7 +70,7 @@ public abstract class STDAbstractType /**/private static final BitField fQFormat = new BitField(0x1000); /**/private static final BitField fReserved = new BitField(0xE000); - protected STDAbstractType() + protected StdfBaseAbstractType() { } @@ -103,7 +103,7 @@ public abstract class STDAbstractType public String toString() { StringBuilder builder = new StringBuilder(); - builder.append("[STD]\n"); + builder.append("[StdfBase]\n"); builder.append(" .info1 = "); builder.append(" (").append(getInfo1()).append(" )\n"); builder.append(" .sti = ").append(getSti()).append('\n'); @@ -138,12 +138,12 @@ public abstract class STDAbstractType builder.append(" .fQFormat = ").append(isFQFormat()).append('\n'); builder.append(" .fReserved = ").append(getFReserved()).append('\n'); - builder.append("[/STD]\n"); + builder.append("[/StdfBase]\n"); return builder.toString(); } /** - * Get the info1 field for the STD record. + * Get the info1 field for the StdfBase record. */ @Internal public short getInfo1() @@ -152,7 +152,7 @@ public abstract class STDAbstractType } /** - * Set the info1 field for the STD record. + * Set the info1 field for the StdfBase record. */ @Internal public void setInfo1( short field_1_info1 ) @@ -161,7 +161,7 @@ public abstract class STDAbstractType } /** - * Get the info2 field for the STD record. + * Get the info2 field for the StdfBase record. */ @Internal public short getInfo2() @@ -170,7 +170,7 @@ public abstract class STDAbstractType } /** - * Set the info2 field for the STD record. + * Set the info2 field for the StdfBase record. */ @Internal public void setInfo2( short field_2_info2 ) @@ -179,7 +179,7 @@ public abstract class STDAbstractType } /** - * Get the info3 field for the STD record. + * Get the info3 field for the StdfBase record. */ @Internal public short getInfo3() @@ -188,7 +188,7 @@ public abstract class STDAbstractType } /** - * Set the info3 field for the STD record. + * Set the info3 field for the StdfBase record. */ @Internal public void setInfo3( short field_3_info3 ) Copied: poi/trunk/src/types/definitions/StdfBase_type.xml (from r1173545, poi/trunk/src/types/definitions/std_type.xml) URL: http://svn.apache.org/viewvc/poi/trunk/src/types/definitions/StdfBase_type.xml?p2=poi/trunk/src/types/definitions/StdfBase_type.xml&p1=poi/trunk/src/types/definitions/std_type.xml&r1=1173545&r2=1173548&rev=1173548&view=diff ============================================================================== --- poi/trunk/src/types/definitions/std_type.xml (original) +++ poi/trunk/src/types/definitions/StdfBase_type.xml Wed Sep 21 09:48:16 2011 @@ -17,10 +17,10 @@ limitations under the License. ==================================================================== --> - + AbstractType - Each individual style description is stored in an STD structure. <p>Class and - fields descriptions are quoted from Microsoft Office Word 97-2007 Binary File Format and + The StdfBase structure specifies general information about a style. <p>Class + and fields descriptions are quoted from Microsoft Office Word 97-2007 Binary File Format and [MS-DOC] - v20110608 Word (.doc) Binary File Format Sergey Vladimirov; according to Microsoft Office Word 97-2007 Binary File Format @@ -45,21 +45,33 @@ - - + + - - - - - - + + + + + + - - + + - - + + --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org For additional commands, e-mail: commits-help@poi.apache.org