Esempio n. 1
0
 public void Release()
 {
     if (m_rplContext != null)
     {
         m_rplContext.Release();
         m_rplContext = null;
     }
 }
Esempio 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"));
            }
        }
Esempio n. 3
0
 internal RPLParagraph(long textRunOffsets, RPLContext context)
     : base(context)
 {
     m_textRunOffsets = textRunOffsets;
 }
Esempio n. 4
0
 internal RPLTextBox(long startOffset, RPLContext context)
     : base(startOffset, context)
 {
 }
 internal OffsetItemInfo(long endOffset, RPLContext context)
     : base(endOffset, context)
 {
 }
Esempio n. 6
0
 public RPLReport(BinaryReader reader)
 {
     m_rplContext = new RPLContext(reader);
     RPLReader.ReadReport(this, m_rplContext);
 }