Exemplo n.º 1
0
        private static PDFDocument AddQiqqaManualToLibrary(Library library)
        {
            ImportingIntoLibrary.FilenameWithMetadataImport fwmi = new ImportingIntoLibrary.FilenameWithMetadataImport();
            fwmi.filename = QiqqaManualFilename;
            fwmi.tags     = new List <string> {
                "manual", "help"
            };
            fwmi.bibtex =
                "@booklet{qiqqa_manual" + "\n" +
                ",	title	= {The Qiqqa Manual}"+ "\n" +
                ",	author	= {The Qiqqa Team,}"+ "\n" +
                ",	year	= {2013}"+ "\n" +
                "}"
            ;

            PDFDocument pdf_document = ImportingIntoLibrary.AddNewPDFDocumentsToLibraryWithMetadata_SYNCHRONOUS(library, true, true, new ImportingIntoLibrary.FilenameWithMetadataImport[] { fwmi });

            return(pdf_document);
        }
Exemplo n.º 2
0
        private static PDFDocument AddLoexManualToLibrary(Library library)
        {
            ImportingIntoLibrary.FilenameWithMetadataImport fwmi = new ImportingIntoLibrary.FilenameWithMetadataImport();
            fwmi.filename = LoexManualFilename;
            fwmi.tags.AddRange(new List <string> {
                "manual", "help"
            });
            fwmi.bibtex =
                "@article{qiqqatechmatters" + "\n" +
                ",	title	= {TechMatters: “Qiqqa” than you can say Reference Management: A Tool to Organize the Research Process}"+ "\n" +
                ",	author	= {Krista Graham}"+ "\n" +
                ",	year	= {2014}"+ "\n" +
                ",	publication	= {LOEX Quarterly}"+ "\n" +
                ",	volume	= {40}"+ "\n" +
                ",	pages	= {4-6}"+ "\n" +
                "}"
            ;

            PDFDocument pdf_document = ImportingIntoLibrary.AddNewPDFDocumentsToLibraryWithMetadata_SYNCHRONOUS(library, true, true, new ImportingIntoLibrary.FilenameWithMetadataImport[] { fwmi });

            return(pdf_document);
        }