コード例 #1
0
        public void CheckForXMPMetadataUpdateStrings_PDFA2b()
        {
            InitializeTest(TestFile.TestpagePDFA2b);

            _pdfProcessor.ProcessPdf(_th.Job);

            XmpMetadataTester.CheckForXMPMetadataUpdateStrings(_th.Job);
        }
コード例 #2
0
        public void CheckForXMPMetadataUpdateStrings_PDFA1b()
        {
            SetUp(TestFile.TestpagePDFA1b);

            _pdfProcessor.ProcessPdf(_th.Job);

            XmpMetadataTester.CheckForXMPMetadataUpdateStrings(_th.Job);
        }
コード例 #3
0
ファイル: CombinedTest.cs プロジェクト: zsy960/PDFCreator
        public void MetadataAndSigning()
        {
            _th.Job.Profile.OutputFormat = OutputFormat.PdfA2B; //Enables pdf metadata update
            _th.Job.Profile.PdfSettings.Security.Enabled  = false;
            _th.Job.Profile.PdfSettings.Signature.Enabled = true;
            _th.Job.Profile.BackgroundPage.Enabled        = false;

            PDFProcessor.ProcessPDF(_th.Job.OutputFiles[0], _th.Job.Profile, _th.Job.Passwords);

            XmpMetadataTester.CheckForXMPMetadataUpdateStrings(_th.Job);
            SigningTester.TestSignature(_th.Job);
        }
コード例 #4
0
        public void MetadataAndEncryption()
        {
            _th.Job.Profile.OutputFormat = OutputFormat.PdfA2B; //Enables pdf metadata update
            _th.Job.Profile.PdfSettings.Security.Enabled  = true;
            _th.Job.Profile.PdfSettings.Signature.Enabled = false;
            _th.Job.Profile.BackgroundPage.Enabled        = false;

            PdfProcessor.ProcessPdf(_th.Job);

            XmpMetadataTester.CheckForXMPMetadataUpdateStrings(_th.Job);
            EncryptionTester.MakeSecurityTest(_th.Job);
        }
コード例 #5
0
        public void MetadataAndBackground()
        {
            GenerateGsJob_WithSettedOutput(TestFile.TestpagePDFA2b); //Enables pdf metadata update
            _th.Job.Profile.PdfSettings.Security.Enabled  = false;
            _th.Job.Profile.PdfSettings.Signature.Enabled = false;
            _th.Job.Profile.BackgroundPage.Enabled        = true;

            _pdfProcessor.ProcessPdf(_th.Job);

            XmpMetadataTester.CheckForXMPMetadataUpdateStrings(_th.Job);
            BackgroundPageTester.BackgroundOnPage(_th.Job);
        }
コード例 #6
0
ファイル: CombinedTest.cs プロジェクト: zsy960/PDFCreator
        public void MetadataEncryptionAndBackground()
        {
            _th.Job.Profile.OutputFormat = OutputFormat.PdfA2B; //Enables pdf metadata update
            _th.Job.Profile.PdfSettings.Security.Enabled  = true;
            _th.Job.Profile.PdfSettings.Signature.Enabled = false;
            _th.Job.Profile.BackgroundPage.Enabled        = true;

            PDFProcessor.ProcessPDF(_th.Job.OutputFiles[0], _th.Job.Profile, _th.Job.Passwords);

            XmpMetadataTester.CheckForXMPMetadataUpdateStrings(_th.Job);
            EncryptionTester.MakeSecurityTest(_th.Job);
            BackgroundPageTester.BackgroundOnPage(_th.Job);
        }
コード例 #7
0
        public void MetadataSigningAndBackground()
        {
            _th.Job.Profile.OutputFormat = OutputFormat.PdfA2B; //Enables pdf metadata update
            _th.Job.Profile.PdfSettings.Security.Enabled  = false;
            _th.Job.Profile.PdfSettings.Signature.Enabled = true;
            _th.Job.Profile.BackgroundPage.Enabled        = true;

            PdfProcessor.ProcessPdf(_th.Job);

            XmpMetadataTester.CheckForXMPMetadataUpdateStrings(_th.Job);
            SigningTester.TestSignature(_th.Job);
            BackgroundPageTester.BackgroundOnPage(_th.Job);
        }
コード例 #8
0
        public void CheckForXMPMetadataUpdateStrings_Neu()
        {
            _th.GenerateGsJob(PSfiles.PDFCreatorTestpage, OutputFormat.PdfA2B);

            _th.Job.JobInfo.Metadata.Title    = "Test Title";
            _th.Job.JobInfo.Metadata.Subject  = "Test Subject";
            _th.Job.JobInfo.Metadata.Keywords = "Test Keywords";
            _th.Job.JobInfo.Metadata.Author   = "Test Author";

            _th.RunGsJob();

            XmpMetadataTester.CheckForXMPMetadataUpdateStrings(_th.Job);
        }
コード例 #9
0
        public void CheckForXMPMetadataUpdateStrings()
        {
            PDFProcessor.ProcessPdf(_th.Job);

            XmpMetadataTester.CheckForXMPMetadataUpdateStrings(_th.Job);
        }
コード例 #10
0
        public void CheckForXMPMetadataUpdateStrings()
        {
            PDFProcessor.ProcessPDF(_th.Job.OutputFiles[0], _th.Job.Profile, _th.Job.Passwords);

            XmpMetadataTester.CheckForXMPMetadataUpdateStrings(_th.Job);
        }