예제 #1
0
        public PDF_Trailer(Boolean is_True = true)
        {
            PDF_Versions pdf_versions = new PDF_Versions();

            Size.pdf_version_f           = pdf_versions.v10;
            Size.required                = true;
            Size.value                   = 0;
            Size.found                   = false;
            Size.key                     = "/Size";
            Size.kind_of_object_expected = Kinds_of_Objects.Numeric;
            Size.kind_of_object_found    = -1;

            Prev.pdf_version_f           = pdf_versions.v10;
            Prev.required                = false;
            Prev.value                   = 0;
            Prev.found                   = false;
            Prev.key                     = "/Prev";
            Prev.kind_of_object_expected = Kinds_of_Objects.Numeric;
            Prev.kind_of_object_found    = -1;

            XRefStm.pdf_version_f           = pdf_versions.v15;
            XRefStm.required                = false;
            XRefStm.value                   = 0;
            XRefStm.found                   = false;
            XRefStm.key                     = "/XRefStm";
            XRefStm.kind_of_object_expected = Kinds_of_Objects.Numeric;
            XRefStm.kind_of_object_found    = -1;

            Root.pdf_version_f           = pdf_versions.v10;
            Root.required                = true;
            Root.value                   = new string[3];
            Root.found                   = false;
            Root.key                     = "/Root";
            Root.kind_of_object_expected = Kinds_of_Objects.Array;
            Root.kind_of_object_found    = -1;

            Encrypt.pdf_version_f           = pdf_versions.v11;
            Encrypt.required                = false;
            Encrypt.value                   = new string[3];
            Encrypt.found                   = false;
            Encrypt.key                     = "/Encrypt";
            Encrypt.kind_of_object_expected = Kinds_of_Objects.Array;
            Encrypt.kind_of_object_found    = -1;

            Info.pdf_version_f           = pdf_versions.v10;
            Info.required                = false;
            Info.value                   = new string[3];
            Info.found                   = false;
            Info.key                     = "/Info";
            Info.kind_of_object_expected = Kinds_of_Objects.Array;
            Info.kind_of_object_found    = -1;

            ID.pdf_version_f           = pdf_versions.v11;
            ID.required                = false;
            ID.value                   = new string[3];
            ID.found                   = false;
            ID.key                     = "/ID";
            ID.kind_of_object_expected = Kinds_of_Objects.Array;
            ID.kind_of_object_found    = -1;
        }
예제 #2
0
        public Globals()
        {
            Boolean is_true = true;

            PDF_Versions = new PDF_Versions();

            Kinds_of_Objects = new Kinds_of_Objects();

            PDF_Plugin_Properties = new PDF_Plugin_Properties();

            PDF_File = new PDF_File();

            PDF_Trailer = new PDF_Trailer(is_true);
        }
예제 #3
0
        public PDF_Trailer(Boolean is_True = true)
        {
            PDF_Versions pdf_versions = new PDF_Versions();

            Size.pdf_version_f = pdf_versions.v10;
            Size.required      = true;
            Size.value         = 0;
            Size.found         = false;
            Size.key           = "/Size";

            Prev.pdf_version_f = pdf_versions.v10;
            Prev.required      = false;
            Prev.value         = 0;
            Prev.found         = false;
            Prev.key           = "/Prev";

            Root.pdf_version_f = pdf_versions.v10;
            Root.required      = true;
            Root.value         = new string[3];
            Root.found         = false;
            Root.key           = "/Root";

            Encrypt.pdf_version_f = pdf_versions.v11;
            Encrypt.required      = false;
            Encrypt.value         = new string[3];
            Encrypt.found         = false;
            Encrypt.key           = "/Encrypt";

            Info.pdf_version_f = pdf_versions.v10;
            Info.required      = false;
            Info.value         = new string[3];
            Info.found         = false;
            Info.key           = "/Info";

            ID.pdf_version_f = pdf_versions.v11;
            ID.required      = false;
            ID.value         = new string[3];
            ID.found         = false;
            ID.key           = "/ID";

            byte_offset_of_last_cross_reference_section.pdf_version_f = pdf_versions.v10;
            byte_offset_of_last_cross_reference_section.required      = true;
            byte_offset_of_last_cross_reference_section.value         = 0;
            byte_offset_of_last_cross_reference_section.found         = false;
            byte_offset_of_last_cross_reference_section.key           = string.Empty;
        }