FileDocCategorySizeDatePackage
RecordTypes.javaAPI DocApache Poi 3.0.114457Thu May 31 18:45:28 BST 2007org.apache.poi.hslf.record

RecordTypes

public class RecordTypes extends Object
List of all known record types in a PowerPoint document, and the classes that handle them. There are two categories of records:
  • PowerPoint records: 0 <= info <= 10002 (will carry class info)
  • Escher records: info >= 0xF000 (handled by DDF, so no class info)
  • author
    Yegor Kozlov
    author
    Nick Burch

    Fields Summary
    public static HashMap
    typeToName
    public static HashMap
    typeToClass
    public static final Type
    Unknown
    public static final Type
    Document
    public static final Type
    DocumentAtom
    public static final Type
    EndDocument
    public static final Type
    Slide
    public static final Type
    SlideAtom
    public static final Type
    Notes
    public static final Type
    NotesAtom
    public static final Type
    Environment
    public static final Type
    SlidePersistAtom
    public static final Type
    SSlideLayoutAtom
    public static final Type
    MainMaster
    public static final Type
    SSSlideInfoAtom
    public static final Type
    SlideViewInfo
    public static final Type
    GuideAtom
    public static final Type
    ViewInfo
    public static final Type
    ViewInfoAtom
    public static final Type
    SlideViewInfoAtom
    public static final Type
    VBAInfo
    public static final Type
    VBAInfoAtom
    public static final Type
    SSDocInfoAtom
    public static final Type
    Summary
    public static final Type
    DocRoutingSlip
    public static final Type
    OutlineViewInfo
    public static final Type
    SorterViewInfo
    public static final Type
    ExObjList
    public static final Type
    ExObjListAtom
    public static final Type
    PPDrawingGroup
    public static final Type
    PPDrawing
    public static final Type
    NamedShows
    public static final Type
    NamedShow
    public static final Type
    NamedShowSlides
    public static final Type
    SheetProperties
    public static final Type
    List
    public static final Type
    FontCollection
    public static final Type
    BookmarkCollection
    public static final Type
    SoundCollAtom
    public static final Type
    Sound
    public static final Type
    SoundData
    public static final Type
    BookmarkSeedAtom
    public static final Type
    ColorSchemeAtom
    public static final Type
    ExObjRefAtom
    public static final Type
    OEShapeAtom
    public static final Type
    OEPlaceholderAtom
    public static final Type
    GPopublicintAtom
    public static final Type
    GRatioAtom
    public static final Type
    OutlineTextRefAtom
    public static final Type
    TextHeaderAtom
    public static final Type
    TextCharsAtom
    public static final Type
    StyleTextPropAtom
    public static final Type
    BaseTextPropAtom
    public static final Type
    TxMasterStyleAtom
    public static final Type
    TxCFStyleAtom
    public static final Type
    TxPFStyleAtom
    public static final Type
    TextRulerAtom
    public static final Type
    TextBookmarkAtom
    public static final Type
    TextBytesAtom
    public static final Type
    TxSIStyleAtom
    public static final Type
    TextSpecInfoAtom
    public static final Type
    DefaultRulerAtom
    public static final Type
    FontEntityAtom
    public static final Type
    FontEmbeddedData
    public static final Type
    CString
    public static final Type
    MetaFile
    public static final Type
    ExOleObjAtom
    public static final Type
    SrKinsoku
    public static final Type
    HandOut
    public static final Type
    ExEmbed
    public static final Type
    ExEmbedAtom
    public static final Type
    ExLink
    public static final Type
    BookmarkEntityAtom
    public static final Type
    ExLinkAtom
    public static final Type
    SrKinsokuAtom
    public static final Type
    ExHyperlinkAtom
    public static final Type
    ExHyperlink
    public static final Type
    SlideNumberMCAtom
    public static final Type
    HeadersFooters
    public static final Type
    HeadersFootersAtom
    public static final Type
    TxInteractiveInfoAtom
    public static final Type
    CharFormatAtom
    public static final Type
    ParaFormatAtom
    public static final Type
    RecolorInfoAtom
    public static final Type
    ExQuickTimeMovie
    public static final Type
    ExQuickTimeMovieData
    public static final Type
    ExControl
    public static final Type
    SlideListWithText
    public static final Type
    InteractiveInfo
    public static final Type
    InteractiveInfoAtom
    public static final Type
    UserEditAtom
    public static final Type
    CurrentUserAtom
    public static final Type
    DateTimeMCAtom
    public static final Type
    GenericDateMCAtom
    public static final Type
    FooterMCAtom
    public static final Type
    ExControlAtom
    public static final Type
    ExMediaAtom
    public static final Type
    ExVideo
    public static final Type
    ExAviMovie
    public static final Type
    ExMCIMovie
    public static final Type
    ExMIDIAudio
    public static final Type
    ExCDAudio
    public static final Type
    ExWAVAudioEmbedded
    public static final Type
    ExWAVAudioLink
    public static final Type
    ExOleObjStg
    public static final Type
    ExCDAudioAtom
    public static final Type
    ExWAVAudioEmbeddedAtom
    public static final Type
    AnimationInfoAtom
    public static final Type
    RTFDateTimeMCAtom
    public static final Type
    ProgTags
    public static final Type
    ProgStringTag
    public static final Type
    ProgBinaryTag
    public static final Type
    BinaryTagData
    public static final Type
    PrpublicintOptions
    public static final Type
    PersistPtrFullBlock
    public static final Type
    PersistPtrIncrementalBlock
    public static final Type
    GScalingAtom
    public static final Type
    GRColorAtom
    public static final Type
    Comment2000
    public static final Type
    Comment2000Atom
    public static final Type
    Comment2000Summary
    public static final Type
    Comment2000SummaryAtom
    public static final Type
    DocumentEncryptionAtom
    public static final int
    EscherDggContainer
    public static final int
    EscherDgg
    public static final int
    EscherCLSID
    public static final int
    EscherOPT
    public static final int
    EscherBStoreContainer
    public static final int
    EscherBSE
    public static final int
    EscherBlip_START
    public static final int
    EscherBlip_END
    public static final int
    EscherDgContainer
    public static final int
    EscherDg
    public static final int
    EscherRegroupItems
    public static final int
    EscherColorScheme
    public static final int
    EscherSpgrContainer
    public static final int
    EscherSpContainer
    public static final int
    EscherSpgr
    public static final int
    EscherSp
    public static final int
    EscherTextbox
    public static final int
    EscherClientTextbox
    public static final int
    EscherAnchor
    public static final int
    EscherChildAnchor
    public static final int
    EscherClientAnchor
    public static final int
    EscherClientData
    public static final int
    EscherSolverContainer
    public static final int
    EscherConnectorRule
    public static final int
    EscherAlignRule
    public static final int
    EscherArcRule
    public static final int
    EscherClientRule
    public static final int
    EscherCalloutRule
    public static final int
    EscherSelection
    public static final int
    EscherColorMRU
    public static final int
    EscherDeletedPspl
    public static final int
    EscherSplitMenuColors
    public static final int
    EscherOleObject
    public static final int
    EscherUserDefined
    Constructors Summary
    Methods Summary
    public static java.lang.ClassrecordHandlingClass(int type)
    Returns the class handling a record by its type. If given an un-handled PowerPoint record, will return a dummy placeholder class. If given an unknown PowerPoint record, or and Escher record, will return null.

    param
    type section of the record header
    return
    class to handle the record, or null if an unknown (eg Escher) record

    		Class c = (Class)typeToClass.get(new Integer(type));
    		return c;
    	
    public static java.lang.StringrecordName(int type)
    Returns name of the record by its type

    param
    type section of the record header
    return
    name of the record

    
                                 
             
            String name = (String)typeToName.get(new Integer(type));
            if (name == null) name = "Unknown" + type;
            return name;