public void Release()
 {
     if (this.m_rplContext != null)
     {
         this.m_rplContext.Release();
         this.m_rplContext = null;
     }
 }
Example #2
0
        public RPLPageContent(long endOffset, RPLContext context, Version rplVersion)
        {
            this.m_endOffset = endOffset;
            this.m_context   = context;
            switch (this.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"));
            }
        }
 public RPLReport(BinaryReader reader)
 {
     this.m_rplContext = new RPLContext(reader);
     RPLReader.ReadReport(this, this.m_rplContext);
 }
 public RPLTablix(long startOffset, RPLContext context)
     : base(startOffset, context)
 {
 }
 public RPLParagraph(long textRunOffsets, RPLContext context)
     : base(context)
 {
     this.m_textRunOffsets = textRunOffsets;
 }
 public OffsetItemInfo(long endOffset, RPLContext context)
     : base(endOffset, context)
 {
 }