Ejemplo n.º 1
0
 public void Release()
 {
     if (m_rplContext != null)
     {
         m_rplContext.Release();
         m_rplContext = null;
     }
 }
Ejemplo n.º 2
0
        internal RPLPageContent(long endOffset, RPLContext context, Version rplVersion)
        {
            m_endOffset = endOffset;
            m_context   = context;
            switch (m_context.VersionPicker)
            {
            case RPLVersionEnum.RPL2008:
            case RPLVersionEnum.RPL2008WithImageConsolidation:
                RPLReader.ReadPageContent2008(this, endOffset, context);
                break;

            case RPLVersionEnum.RPLAccess:
            case RPLVersionEnum.RPLMap:
            case RPLVersionEnum.RPL2009:
                RPLReader.ReadPageContent(this, endOffset, context);
                break;

            default:
                throw new ArgumentException(RPLRes.UnsupportedRPLVersion(rplVersion.ToString(3), "10.6"));
            }
        }
Ejemplo n.º 3
0
 internal RPLParagraph(long textRunOffsets, RPLContext context)
     : base(context)
 {
     m_textRunOffsets = textRunOffsets;
 }
Ejemplo n.º 4
0
 internal RPLTextBox(long startOffset, RPLContext context)
     : base(startOffset, context)
 {
 }
Ejemplo n.º 5
0
 internal OffsetItemInfo(long endOffset, RPLContext context)
     : base(endOffset, context)
 {
 }
Ejemplo n.º 6
0
 public RPLReport(BinaryReader reader)
 {
     m_rplContext = new RPLContext(reader);
     RPLReader.ReadReport(this, m_rplContext);
 }