internal override void 7T(C1PdfDocumentBase 0AF) { this.S4 = 0AF.65("Image"); byte[] numArray1 = this.80(0AF.Compression); 0AF.67(); 0AF.68("Type", "/XObject"); 0AF.68("Subtype", "/Image"); 0AF.6A("Length", ((long) numArray1.Length)); Size size1 = this.Y0; 0AF.6A("Width", ((long) size1.Width)); size1 = this.Y0; 0AF.6A("Height", ((long) size1.Height)); 0AF.6A("BitsPerComponent", ((long) (this.XZ ? 1 : 8))); 0AF.68("ColorSpace", (this.XZ ? "/DeviceGray" : "/DeviceRGB")); if (0AF.Compression != CompressionEnum.None) { 0AF.68("Filter", "/FlateDecode"); } if (this.SD) { 0AF.68("ImageMask", "true"); } else if (this.SE != null) { 0AF.68("Mask", 0AF.6K(this.SE.S4)); } 0AF.6B(); 0AF.6E(this.S4, numArray1); 0AF.66(); }
internal virtual void 7T(C1PdfDocumentBase 0A6) { byte[] numArray1; MemoryStream stream1; this.S4 = 0A6.65("Image"); if (((this.S5 is Bitmap) && (this.S5.PixelFormat == PixelFormat.Format1bppIndexed)) && ((this.S5.Width * this.S5.Height) < 1000000)) { numArray1 = this.7W(((Bitmap) this.S5), 0A6.Compression); 0A6.67(); 0A6.68("Type", "/XObject"); 0A6.68("Subtype", "/Image"); 0A6.68("Filter", "/FlateDecode"); 0A6.6A("Length", ((long) numArray1.Length)); 0A6.6A("Width", ((long) this.S5.Width)); 0A6.6A("Height", ((long) this.S5.Height)); 0A6.68("ColorSpace", "/DeviceGray"); 0A6.6A("BitsPerComponent", ((long) 1)); 0A6.6B(); 0A6.6E(this.S4, numArray1); 0A6.66(); return; } bool flag1 = ((bool) (Image.IsAlphaPixelFormat(this.S5.PixelFormat) ? 1 : this.S5.RawFormat.Equals(ImageFormat.Gif))); if ((this.S5 is Bitmap) && !flag1) { stream1 = new MemoryStream(); this.7U(0A6, this.S5, stream1); numArray1 = stream1.ToArray(); 0A6.67(); 0A6.68("Type", "/XObject"); 0A6.68("Subtype", "/Image"); 0A6.68("Filter", "/DCTDecode"); 0A6.6A("Length", ((long) numArray1.Length)); 0A6.6A("Width", ((long) this.S5.Width)); 0A6.6A("Height", ((long) this.S5.Height)); 0A6.6A("BitsPerComponent", ((long) 8)); 0A6.68("ColorSpace", "/DeviceRGB"); 0A6.6B(); 0A6.6E(this.S4, numArray1); 0A6.66(); return; } Bitmap bitmap1 = this.7V(0A6.ImageQuality); numArray1 = this.7W(bitmap1, 0A6.Compression); 0A6.67(); 0A6.68("Type", "/XObject"); 0A6.68("Subtype", "/Image"); 0A6.68("Filter", "/FlateDecode"); 0A6.6A("Length", ((long) numArray1.Length)); 0A6.6A("Width", ((long) bitmap1.Width)); 0A6.6A("Height", ((long) bitmap1.Height)); 0A6.6A("BitsPerComponent", ((long) 8)); 0A6.68("ColorSpace", "/DeviceRGB"); 0A6.68("Mask", this.S6); 0A6.6B(); 0A6.6E(this.S4, numArray1); 0A6.66(); }
internal PdfSecurity(C1PdfDocumentBase doc) { this.VQ = new byte[256]; this.VR = new byte[256]; this.VC = doc; this.VF = string.Empty; this.VE = string.Empty; this.VL = true; this.VM = true; this.VN = true; this.VO = true; this.VK = new MD5CryptoServiceProvider(); }
// Methods internal PdfDocumentInfo(C1PdfDocumentBase doc) { this.P2 = doc; string text1 = string.Empty; this.P8 = text1; text1 = text1; this.P7 = text1; this.P4 = text1; text1 = string.Empty; this.P6 = text1; this.P5 = text1; this.P9 = "ComponentOne C1Pdf"; }
internal void 9S(C1PdfDocumentBase 0DZ) { this.US = 0DZ.65("Page content"); byte[] numArray1 = this.UT.ToArray(); 0DZ.67(); 0DZ.6A("Length", ((long) numArray1.Length)); if (this.UV) { 0DZ.68("Filter", "/FlateDecode"); } 0DZ.6B(); 0DZ.6E(this.US, numArray1); 0DZ.66(); }
// Methods internal PdfPageCollection(C1PdfDocumentBase doc) { this.UP = doc; }
// Methods internal 0O (C1PdfDocumentBase doc) { this.UL = doc; }
// Methods internal 0G (C1PdfDocumentBase doc) { this.S2 = doc; }