/third_party/cups-filters/filter/ |
H A D | pdfutils.c | 19 void pdfOut_printf(pdfOut *pdf,const char *fmt,...) // {{{ in pdfOut_printf() argument 21 assert(pdf); in pdfOut_printf() 28 pdf->filepos+=len; in pdfOut_printf() 32 void pdfOut_putString(pdfOut *pdf,const char *str,int len) // {{{ - >len==-1: strlen() in pdfOut_putString() argument 34 assert(pdf); in pdfOut_putString() 46 pdf->filepos+=iA+4; in pdfOut_putString() 52 pdf->filepos+=iA+2; in pdfOut_putString() 57 pdf->filepos+=iA+2; in pdfOut_putString() 63 void pdfOut_putHexString(pdfOut *pdf,const char *str,int len) // {{{ - >len==-1: strlen() in pdfOut_putHexString() argument 65 assert(pdf); in pdfOut_putHexString() 109 pdfOut_add_xref(pdfOut *pdf) pdfOut_add_xref() argument 129 pdfOut_add_page(pdfOut *pdf,int obj) pdfOut_add_page() argument 150 pdfOut_add_kv(pdfOut *pdf,const char *key,const char *val) pdfOut_add_kv() argument 175 pdfOut_begin_pdf(pdfOut *pdf) pdfOut_begin_pdf() argument 192 pdfOut_finish_pdf(pdfOut *pdf) pdfOut_finish_pdf() argument 273 pdfOut_free(pdfOut *pdf) pdfOut_free() argument 287 pdfOut *pdf=(pdfOut *)context; pdfOut_outfn() local 298 pdfOut_write_font(pdfOut *pdf,EMB_PARAMS *emb) pdfOut_write_font() argument [all...] |
H A D | test_pdf2.c | 9 static inline void write_string(pdfOut *pdf,EMB_PARAMS *emb,const char *str) // {{{ in write_string() argument 11 assert(pdf); in write_string() 22 pdf->filepos+=4*iA+2; in write_string() 26 // TODO: pdf: otf_from_pdf_default_encoding in write_string() 28 pdfOut_putString(pdf,str,-1); in write_string() 35 pdfOut *pdf; in main() local 37 pdf=pdfOut_new(); in main() 38 assert(pdf); in main() 40 pdfOut_begin_pdf(pdf); in main() 65 const int cobj=pdfOut_add_xref(pdf); in main() [all...] |
H A D | test_pdf1.c | 7 pdfOut *pdf; in main() local 9 pdf=pdfOut_new(); in main() 10 assert(pdf); in main() 12 pdfOut_begin_pdf(pdf); in main() 15 int font_obj=pdfOut_add_xref(pdf); in main() 16 pdfOut_printf(pdf,"%d 0 obj\n" in main() 25 int cobj=pdfOut_add_xref(pdf); in main() 27 pdfOut_printf(pdf,"%d 0 obj\n" in main() 36 int obj=pdfOut_add_xref(pdf); in main() 37 pdfOut_printf(pdf," in main() [all...] |
H A D | pdf.cxx | 20 #include "pdf.h" 35 * http://blog.idrsolutions.com/2011/05/understanding-the-pdf-file-format-%E2%80%93-pdf-xref-tables-explained 36 * http://labs.appligent.com/pdfblog/pdf-hello-world/ 63 QPDF *pdf = new QPDF(); in pdf_load_template() local 64 pdf->processFile(filename); in pdf_load_template() 65 unsigned pages = (pdf->getAllPages()).size(); in pdf_load_template() 70 delete pdf; in pdf_load_template() 74 return pdf; in pdf_load_template() 82 extern "C" void pdf_free(pdf_t *pdf) in pdf_free() argument 95 QPDF *pdf = new QPDF(); pdf_pages() local 119 pdf_prepend_stream(pdf_t *pdf, unsigned page_num, char const *buf, size_t len) pdf_prepend_stream() argument 167 pdf_add_type1_font(pdf_t *pdf, unsigned page_num, const char *name) pdf_add_type1_font() argument 286 pdf_resize_page(pdf_t *pdf, unsigned page_num, float width, float length, float *scale) pdf_resize_page() argument 325 pdf_duplicate_page(pdf_t *pdf, unsigned page_num, unsigned count) pdf_duplicate_page() argument 349 pdf_write(pdf_t *pdf, FILE *file) pdf_write() argument [all...] |
H A D | texttopdf.c | 135 pdfOut *pdf; variable 183 emb->font->fobj=pdfOut_write_font(pdf,emb); in WriteEpilogue() 194 pdf->xref[FontResource-1]=pdf->filepos; in WriteEpilogue() 195 pdfOut_printf(pdf,"%d 0 obj\n" in WriteEpilogue() 203 pdfOut_printf(pdf," /%s%02x %d 0 R\n",names[i],j,emb->font->fobj); in WriteEpilogue() 208 pdfOut_printf(pdf,">>\n" in WriteEpilogue() 211 pdfOut_finish_pdf(pdf); in WriteEpilogue() 213 pdfOut_free(pdf); in WriteEpilogue() 225 int content=pdfOut_add_xref(pdf); in WritePage() [all...] |
H A D | pdfutils.h | 33 void pdfOut_free(pdfOut *pdf); 35 /* start outputting a pdf 38 int pdfOut_begin_pdf(pdfOut *pdf); 39 void pdfOut_finish_pdf(pdfOut *pdf); 41 /* General output routine for our pdf. 44 void pdfOut_printf(pdfOut *pdf,const char *fmt,...) 47 /* write out an escaped pdf string: e.g. (Text \(Test\)\n) 50 void pdfOut_putString(pdfOut *pdf,const char *str,int len); 51 void pdfOut_putHexString(pdfOut *pdf,const char *str,int len); 54 * pdf requirement [all...] |
H A D | rastertopdf.cpp | 297 QPDF pdf; member 324 info->pdf.emptyPDF(); in create_pdf_file() 428 QPDFObjectHandle embedIccProfile(QPDF &pdf) in embedIccProfile() argument 485 iccstream = QPDFObjectHandle::newStream(&pdf, ph); in embedIccProfile() 492 ret = pdf.makeIndirectObject(array); in embedIccProfile() 500 QPDFObjectHandle embedSrgbProfile(QPDF &pdf) in embedSrgbProfile() argument 507 iccbased_reference = embedIccProfile(pdf); in embedSrgbProfile() 615 makePclmStrips(QPDF &pdf, unsigned num_strips, in makePclmStrips() argument 622 ret[i] = QPDFObjectHandle::newStream(&pdf); in makePclmStrips() 706 QPDFObjectHandle makeImage(QPDF &pdf, PointerHolde argument 1309 struct pdf_info pdf; main() local [all...] |
H A D | urftopdf.cpp | 75 QPDF pdf; member 90 info->pdf.emptyPDF(); in create_pdf_file() 118 if(cupsTempFile2(tempfile_name, 255) == NULL) die("Unable to create a temporary pdf file"); 122 QPDFObjectHandle makeImage(QPDF &pdf, PointerHolder<Buffer> page_data, unsigned width, unsigned height, ColorSpace cs, unsigned bpc) in makeImage() argument 124 QPDFObjectHandle ret = QPDFObjectHandle::newStream(&pdf); in makeImage() 171 QPDFObjectHandle image = makeImage(info->pdf, info->page_data, info->width, info->height, DEVICE_RGB, 8); in finish_page() 213 page.replaceKey("/Contents",QPDFObjectHandle::newStream(&info->pdf)); // data will be provided later in add_pdf_page() 215 // Convert to pdf units in add_pdf_page() 220 info->page = info->pdf.makeIndirectObject(page); // we want to keep a reference in add_pdf_page() 221 info->pdf in add_pdf_page() 418 struct pdf_info pdf; main() local [all...] |
/third_party/cups-filters/filter/pdftopdf/ |
H A D | qpdf_pdftopdf_processor.cc | 37 QPDF_PDFTOPDF_PageHandle::QPDF_PDFTOPDF_PageHandle(QPDF *pdf,float width,float height) // {{{ in QPDF_PDFTOPDF_PageHandle() argument 41 assert(pdf); in QPDF_PDFTOPDF_PageHandle() 52 page.replaceKey("/Contents",QPDFObjectHandle::newStream(pdf)); in QPDF_PDFTOPDF_PageHandle() 56 page=pdf->makeIndirectObject(page); // stores *pdf in QPDF_PDFTOPDF_PageHandle() 457 pdf.reset(); in closeFile() 483 pdf.reset(new QPDF); in loadFile() 493 pdf->processFile("temp file",f,false); in loadFile() 501 pdf->processFile("temp file",f,true); in loadFile() 520 pdf in loadFilename() [all...] |
H A D | qpdf_cm.cc | 41 bool hasOutputIntent(QPDF &pdf) // {{{ in hasOutputIntent() argument 43 auto catalog=pdf.getRoot(); in hasOutputIntent() 53 void addOutputIntent(QPDF &pdf,const char *filename) // {{{ in addOutputIntent() argument 57 // ICC data, subject to "version limitations" per pdf version... in addOutputIntent() 59 QPDFObjectHandle outicc=QPDFObjectHandle::newStream(&pdf,icc); in addOutputIntent() 78 auto catalog=pdf.getRoot(); in addOutputIntent() 106 void addDefaultRGB(QPDF &pdf,QPDFObjectHandle srcicc) // {{{ in addDefaultRGB() argument 110 auto pages=pdf.getAllPages(); in addDefaultRGB() 133 QPDFObjectHandle setDefaultICC(QPDF &pdf,const char *filename) // {{{ in setDefaultICC() argument 139 // ICC data, subject to "version limitations" per pdf versio in setDefaultICC() [all...] |
H A D | qpdf_cm.h | 6 bool hasOutputIntent(QPDF &pdf); 7 void addOutputIntent(QPDF &pdf,const char *filename); 9 void addDefaultRGB(QPDF &pdf,QPDFObjectHandle srcicc); 10 QPDFObjectHandle setDefaultICC(QPDF &pdf,const char *filename);
|
H A D | qpdf_tools.cc | 45 QPDFObjectHandle makePage(QPDF &pdf,const std::map<std::string,QPDFObjectHandle> &xobjs,QPDFObjectHandle mediabox,const std::string &content) // {{{ in makePage() argument 54 ret.replaceKey("/Contents",QPDFObjectHandle::newStream(&pdf,content)); in makePage()
|
/third_party/mbedtls/docs/architecture/ |
H A D | Makefile | 8 pdf: $(all_markdown:.md=.pdf) 9 all: html pdf 12 .SUFFIXES: .md .html .pdf 16 .md.pdf: 20 rm -f *.html *.pdf 21 rm -f testing/*.html testing/*.pdf
|
/third_party/mbedtls/docs/proposed/ |
H A D | Makefile | 13 pdf: $(all_markdown:.md=.pdf) 14 all: html pdf 17 .SUFFIXES: .md .html .pdf 21 .md.pdf: 25 rm -f *.html *.pdf
|
/third_party/python/Doc/ |
H A D | Makefile | 88 @echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \ 89 "run these through (pdf)latex." 189 (cd build/latex; make clean && make all-pdf && make FMT=pdf zip bz2) 190 cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-a4.zip 191 cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-a4.tar.bz2 197 (cd build/latex; make clean && make all-pdf && make FMT=pdf zi [all...] |
/third_party/ltp/docparse/ |
H A D | Makefile | 14 METADATA_GENERATOR_PARAMS_PDF := -b pdf -r asciidoctor-pdf 19 METADATA_GENERATOR_PARAMS_PDF := -f pdf 41 MAKE_TARGETS += metadata.pdf 65 metadata.pdf: txt
|
/third_party/vk-gl-cts/external/vulkan-docs/src/ |
H A D | Makefile | 52 # pdf - PDF single-page API specification 65 allspecs: html pdf styleguide registry 112 # PDFDIR - 'pdf' target 116 PDFDIR = $(OUTDIR)/pdf 171 # This used to be a dependency in the spec html/pdf targets, 236 ADOCPDFEXTS = -r asciidoctor-pdf \ 242 -a pdf-fontsdir=$(CONFIGS)/fonts,GEM_FONTS_DIR \ 243 -a pdf-stylesdir=$(CONFIGS)/themes -a pdf-style=pdf [all...] |
/third_party/skia/tests/ |
H A D | PDFMetadataAttributeTest.cpp | 25 SkDynamicMemoryWStream pdf; in DEF_TEST() local 26 auto doc = SkPDF::MakeDocument(&pdf, metadata); in DEF_TEST() 29 sk_sp<SkData> data = pdf.detachAsData(); in DEF_TEST()
|
H A D | PDFJpegEmbedTest.cpp | 57 SkDynamicMemoryWStream pdf; in DEF_TEST() local 58 auto document = SkPDF::MakeDocument(&pdf); in DEF_TEST() 70 sk_sp<SkData> pdfData = pdf.detachAsData(); in DEF_TEST() 84 #include "src/pdf/SkJpegInfo.h"
|
/third_party/skia/experimental/tools/ |
H A D | coreGraphicsPdf2png.cpp | 34 CGPDFDocumentRef pdf = CGPDFDocumentCreateWithProvider(data); in main() local 36 ASSERT(pdf); in main() 37 CGPDFPageRef page = CGPDFDocumentGetPage(pdf, PAGE); in main() 50 CGPDFDocumentRelease(pdf); in main()
|
/third_party/selinux/secilc/docs/ |
H A D | Makefile | 3 PDFDIR = $(CWD)/pdf 33 PDF_OUT=CIL_Reference_Guide.pdf 43 all: html pdf 71 pdf: $(PANDOC_FILE_LIST) $(TMPDIR)/policy.cil secil.xml
|
/third_party/cups-filters/filter/braille/filters/ |
H A D | texttobrf.in | 74 application/pdf|application/vnd.cups-pdf-banner) 144 application/pdf|application/vnd.cups-pdf-banner)
|
/third_party/skia/tools/fiddle/ |
H A D | fiddle_main.h | 50 , pdf(p) in DrawOptions() 66 bool pdf; member
|
/third_party/EGL/sdk/docs/man/xhtml/ |
H A D | Makefile | 16 .SUFFIXES: .gl .xml .html .xhtml .ck.xhtml .tex .pdf .3G .tar .tar.gz 17 .PHONY: man html pdf tex
|
/third_party/skia/third_party/externals/egl-registry/sdk/docs/man/xhtml/ |
H A D | Makefile | 16 .SUFFIXES: .gl .xml .html .xhtml .ck.xhtml .tex .pdf .3G .tar .tar.gz 17 .PHONY: man html pdf tex
|