private ISheet CreateSheet <T>(RelationalHeader header) where T : IRelationalDataRow
 {
     if (header.AvailableLanguages.Count() > 1)
     {
         return(new RelationalMultiSheet <RelationalMultiRow, T>(this, header));
     }
     return(new RelationalDataSheet <T>(this, header, header.AvailableLanguages.First()));
 }
Esempio n. 2
0
        protected override ISheet CreateSheet(Header header)
        {
            RelationalHeader relHeader = (RelationalHeader)header;

            if (relHeader.Variant == 2)
            {
                return(CreateSheet <Variant2.RelationalDataRow>(relHeader));
            }
            return(CreateSheet <Variant1.RelationalDataRow>(relHeader));
        }
 public RelationalColumn(RelationalHeader header, int index, byte[] buffer, int offset)
     : base(header, index, buffer, offset)
 {
 }
Esempio n. 4
0
 public RelationalDataSheet(RelationalExCollection collection, RelationalHeader header, Language language)
     : base(collection, header, language)
 {
 }
Esempio n. 5
0
 public RelationalMultiSheet(RelationalExCollection collection, RelationalHeader header)
     : base(collection, header)
 {
 }