{"_id":"topdf","_rev":"41-a536787f5a4dc61d040da8b35c44bf68","name":"topdf","description":"A node.js addon for Oracle's pdf export library.","dist-tags":{"latest":"0.0.7"},"versions":{"0.0.1":{"name":"topdf","version":"0.0.1","description":"A node.js addon for Oracle's pdf export library.","main":"lib/topdf.js","directories":{"test":"test"},"scripts":{"install":"node-gyp rebuild"},"repository":{"type":"git","url":"git@github.com:ryancole/topdf.git"},"keywords":["oracle","pdf","converter"],"author":{"name":"Ryan Cole"},"license":"BSD","gypfile":true,"readmeFilename":"readme.md","readme":"A node.js addon for Oracle's pdf export library.\n\n# Usage\n\n```javascript\nvar topdf = require('topdf');\n\ntopdf.convert('./test/etc/foo.xlsx', './test/etc/foo.pdf', function (err, success) {\n    \n    if (err || !success) {\n        \n        console.log(err);\n        \n    } else {\n        \n        console.log(success);\n        \n    }\n    \n});\n```\n\n# Compiling Prerequisites\n\nDownload the Oracle pdf export SDK, place the header files in `/usr/local/include/pdfexport` and the *entire* contents of the sdk's `redist` directory into `/usr/local/lib/pdfexport`. Make sure `/usr/local/lib/pdfexport` is in `$LD_LIBRARY_PATH`.\n\n# Oracle\n\nYou can download Oracle's tools at the following URL: http://www.oracle.com/technetwork/middleware/content-management/downloads/oit-dl-otn-097435.html","_id":"topdf@0.0.1","dist":{"shasum":"b81f698109a658cb9199bcdd70fb8d5fdd640d1e","tarball":"https://registry.npmjs.org/topdf/-/topdf-0.0.1.tgz","integrity":"sha512-VvrhuGqgbYwl0yLlbg03gEJoehIQP7GwGqKmbH6N+MGesaSFK7fLoYb8bHaLR/CSrZhi3OolWcuew57iu+rNPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4Wxl6eHvJcdp656WiEDkEJ8+b2Rx44MhenWKkNAw8iQIhAMGMS2aSWxfNUs3cwOuo6ddyv09CqZPSCXvIDe3oYk+g"}]},"_npmVersion":"1.1.64","_npmUser":{"name":"ryancole","email":"ryan@rycole.com"},"maintainers":[{"name":"ryancole","email":"ryan@rycole.com"}]},"0.0.2":{"name":"topdf","version":"0.0.2","description":"A node.js addon for Oracle's pdf export library.","main":"lib/topdf.js","directories":{"test":"test"},"scripts":{"install":"node-gyp rebuild"},"repository":{"type":"git","url":"git@github.com:ryancole/topdf.git"},"keywords":["oracle","pdf","converter"],"author":{"name":"Ryan Cole"},"license":"BSD","gypfile":true,"readmeFilename":"readme.md","readme":"A node.js addon for Oracle's pdf export library.\n\n# Usage\n\n```javascript\nvar topdf = require('topdf');\n\ntopdf.convert('./test/etc/foo.xlsx', './test/etc/foo.pdf', function (err, success) {\n    \n    if (err || !success) {\n        \n        console.log(err);\n        \n    } else {\n        \n        console.log(success);\n        \n    }\n    \n});\n```\n\n# Runtime Prerequisites\n\nMake sure `/usr/local/lib/pdfexport` is in `$LD_LIBRARY_PATH`. Also, I currently have the font directory hard-coded to `/usr/share/fonts/truetype/msttcorefonts`. I plan to make this configurable, soon.\n\n# Compiling Prerequisites\n\nDownload the Oracle pdf export SDK, place the header files in `/usr/local/include/pdfexport` and the *entire* contents of the sdk's `redist` directory into `/usr/local/lib/pdfexport`. Make sure `/usr/local/lib/pdfexport` is in `$LD_LIBRARY_PATH`.\n\n# Oracle\n\nYou can download Oracle's tools at the following URL: http://www.oracle.com/technetwork/middleware/content-management/downloads/oit-dl-otn-097435.html","_id":"topdf@0.0.2","dist":{"shasum":"7527417ac1d812a4987dc1bb1d00e6d99eaddda6","tarball":"https://registry.npmjs.org/topdf/-/topdf-0.0.2.tgz","integrity":"sha512-2AzPHMezHt3ZMV/vZuf7FWjeToe16bIlfsparZK+Jw+XGpY+tVmB3A31Rg5+TmH1dQ7HkBAVnUFVLXQtZ3KNjQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDXKUftojKlIsaKU63XF7E7cF6/0mQNPLNTfh66SRz33AiAMM/Pb1F3B4ZQrpNorH6GapLC11Z9Ni+HwoAsLy6rWBw=="}]},"_npmVersion":"1.1.64","_npmUser":{"name":"ryancole","email":"ryan@rycole.com"},"maintainers":[{"name":"ryancole","email":"ryan@rycole.com"}]},"0.0.3":{"name":"topdf","version":"0.0.3","description":"A node.js addon for Oracle's pdf export library.","main":"lib/topdf.js","directories":{"test":"test"},"scripts":{"install":"node-gyp rebuild"},"repository":{"type":"git","url":"git@github.com:ryancole/topdf.git"},"keywords":["oracle","pdf","converter"],"author":{"name":"Ryan Cole"},"license":"BSD","gypfile":true,"readmeFilename":"readme.md","readme":"A node.js addon for Oracle's pdf export library.\n\n# Usage\n\n```javascript\nvar topdf = require('topdf');\n\n// the default settings\nvar options = {\n    \n    watermark: './test/etc/test.png',\n    fontdirectory: '/usr/share/fonts/truetype/msttcorefonts'\n    \n};\n\n// convert a single document, using custom settings\ntopdf.convert('./test/etc/foo.xlsx', './test/etc/foo.pdf', options, function (err, success) {\n    \n    if (err || !success) {\n        \n        console.log(err);\n        \n    } else {\n        \n        console.log(success);\n        \n    }\n    \n});\n```\n\n# Options\n\n1. watermark\n    \n    > A path to an image file to be used as the watermark image. This defaults to not watermark image if this propery is omitted.\n\n2. fontdirectory\n    \n    > A path to a directory containing true type fonts to be used. This defaults to `/usr/share/fonts/truetype/msttcorefonts` if this property is omitted. This option is *required*, if the default does not fit your setup.\n\n# Runtime Prerequisites\n\nMake sure `/usr/local/lib/pdfexport` is in `$LD_LIBRARY_PATH`. Also, I currently have the font directory hard-coded to `/usr/share/fonts/truetype/msttcorefonts`. I plan to make this configurable, soon.\n\n# Compiling Prerequisites\n\nDownload the Oracle pdf export SDK, place the header files in `/usr/local/include/pdfexport` and the *entire* contents of the sdk's `redist` directory into `/usr/local/lib/pdfexport`. Make sure `/usr/local/lib/pdfexport` is in `$LD_LIBRARY_PATH`.\n\n# Oracle\n\nYou can download Oracle's tools at the following URL: http://www.oracle.com/technetwork/middleware/content-management/downloads/oit-dl-otn-097435.html","_id":"topdf@0.0.3","dist":{"shasum":"a3336ef51fc6a0af303b842616d31d740ec42c20","tarball":"https://registry.npmjs.org/topdf/-/topdf-0.0.3.tgz","integrity":"sha512-BDTb4SKKDtYwsw8vd/7vtSNgw8OlzvbxEHXdODQKoMNFjbqDE8p67bg5dv6LIR2weLJLaZrJD/qwuwpq4GBojA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2wxSHWNoZ1YxlZ6uGRNfdQNKXj1ugKLKowES2qosH7wIhAIJLh3WCrWYlAly+jXlYGUct2+9tuFv5EIj6Kk7USOZA"}]},"_npmVersion":"1.1.64","_npmUser":{"name":"ryancole","email":"ryan@rycole.com"},"maintainers":[{"name":"ryancole","email":"ryan@rycole.com"}]},"0.0.4":{"name":"topdf","version":"0.0.4","description":"A node.js addon for Oracle's pdf export library.","main":"lib/topdf.js","directories":{"test":"test"},"scripts":{"install":"node-gyp rebuild"},"repository":{"type":"git","url":"git@github.com:ryancole/topdf.git"},"keywords":["oracle","pdf","converter"],"author":{"name":"Ryan Cole"},"license":"BSD","gypfile":true,"readmeFilename":"readme.md","readme":"A node.js addon for Oracle's pdf export library.\n\n# Usage\n\n```javascript\nvar topdf = require('topdf');\n\n// the default settings\nvar options = {\n    \n    watermark: './test/etc/test.png',\n    fontdirectory: '/usr/share/fonts/truetype/msttcorefonts',\n    override: false,\n    gridlines: false,\n    headings: false,\n    \n};\n\n// convert a single document, using custom settings\ntopdf.convert('./test/etc/foo.xlsx', './test/etc/foo.pdf', options, function (err, success) {\n    \n    if (err || !success) {\n        \n        console.log(err);\n        \n    } else {\n        \n        console.log(success);\n        \n    }\n    \n});\n```\n\n# Options\n\n1. watermark\n    \n    > A path to an image file to be used as the watermark image. This defaults to not watermark image if this propery is omitted.\n\n2. fontdirectory\n    \n    > A path to a directory containing true type fonts to be used. This defaults to `/usr/share/fonts/truetype/msttcorefonts` if this property is omitted. This option is *required*, if the default does not fit your setup.\n\n3. override\n    \n    > A `boolean` specifying whether or not you wish to override the settings specified in the document. This defaults to `false`, which means any settings stored in the document to be converted will be used. This must be `true` in order to use any other formatting options.\n\n4. gridlines\n    \n    > A `boolean` specifying whether or not to print gridlines in spreadsheet documents. This `defaults` to `false`.\n\n5. headings\n    \n    > A `boolean` specifying whether or not to print headings in spreadsheet documents. This `defaults` to `false`.\n\n# Runtime Prerequisites\n\nMake sure `/usr/local/lib/pdfexport` is in `$LD_LIBRARY_PATH`. Also, I currently have the font directory hard-coded to `/usr/share/fonts/truetype/msttcorefonts`. I plan to make this configurable, soon.\n\n# Compiling Prerequisites\n\nDownload the Oracle pdf export SDK, place the header files in `/usr/local/include/pdfexport` and the *entire* contents of the sdk's `redist` directory into `/usr/local/lib/pdfexport`. Make sure `/usr/local/lib/pdfexport` is in `$LD_LIBRARY_PATH`.\n\n# Oracle\n\nYou can download Oracle's tools at the following URL: http://www.oracle.com/technetwork/middleware/content-management/downloads/oit-dl-otn-097435.html","_id":"topdf@0.0.4","dist":{"shasum":"fdded22824e821c514fd7dca5966d46729cccdd4","tarball":"https://registry.npmjs.org/topdf/-/topdf-0.0.4.tgz","integrity":"sha512-6Xb7a8RLHViNpSZGyI/FeE98MNlN6BQcjtoKwqtUDwy4IMf7KwJLsgalbX2PlKYbiN+hLjO1e+Jdm8R7VEjZXA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWzd/GejsBfhP28n2ExJXsuI/4qtNw91X7X+jNAAbZiQIgRLjEmG1Xb7ID8QSHrD/9X1AuIPxP1YKxGpX2hRbVVX0="}]},"_npmVersion":"1.1.64","_npmUser":{"name":"ryancole","email":"ryan@rycole.com"},"maintainers":[{"name":"ryancole","email":"ryan@rycole.com"}]},"0.0.5":{"name":"topdf","version":"0.0.5","description":"A node.js addon for Oracle's pdf export library.","main":"lib/topdf.js","directories":{"test":"test"},"scripts":{"install":"node-gyp rebuild","test":"node test/test.js"},"repository":{"type":"git","url":"git@github.com:ryancole/topdf.git"},"keywords":["oracle","pdf","converter"],"author":{"name":"Ryan Cole"},"license":"BSD","gypfile":true,"readmeFilename":"readme.md","readme":"A node.js addon for Oracle's pdf export library.\n\n## Example\n\n```javascript\nvar topdf = require('topdf');\n\ntopdf.convert('./test/etc/foo.xlsx', './test/etc/foo.pdf', options, function (err, success) {\n    \n    /* ... */\n    \n});\n```\n\n## API\n\n### convert(source, destination, [options,] callback)\n\nTakes a `source` document and saves it to `destination` as a PDF. The `options` parameter is optional.\n\n- `watermark`: A path to an image file to be used as the watermark image. This defaults to no watermark, if this propery is omitted.\n- `fontdirectory`: A path to a directory containing true type fonts to be used. This option is *required*, if the default does not fit your setup. This defaults to `/usr/share/fonts/truetype/msttcorefonts`.\n- `override`: A `boolean` specifying whether or not you wish to override the settings specified in the document. This defaults to `false`, which means any settings stored in the document to be converted will be used. This must be `true` in order to use any other formatting options.\n- `gridlines`: A `boolean` specifying whether or not to print gridlines in spreadsheet documents. This `defaults` to `false`. \n- `headings`: A `boolean` specifying whether or not to print headings in spreadsheet documents. This `defaults` to `false`.\n- `memory`: An `integer` specifying the maximum about of memory, in MB, that the PDF converter may use for caching the `source` file. More memory means less disk reads. Must be a value in the following collection: `4`, `16`, `64`, `256`, `1024`. This defaults to `16`.\n- `pages`: An `integer` specifying the maximum number of pages to write to the `destination` file. Specifying `0` will save all pages. This `defaults` to `0`.\n\n## Runtime Prerequisites\n\nMake sure `/usr/local/lib/pdfexport` is in `$LD_LIBRARY_PATH`.\n\n## Compiling Prerequisites\n\nDownload the Oracle pdf export SDK, place the header files in `/usr/local/include/pdfexport` and the *entire* contents of the sdk's `redist` directory into `/usr/local/lib/pdfexport`. Make sure `/usr/local/lib/pdfexport` is in `$LD_LIBRARY_PATH`.\n\n## Oracle\n\nYou can download Oracle's tools at the following URL: http://www.oracle.com/technetwork/middleware/content-management/downloads/oit-dl-otn-097435.html","_id":"topdf@0.0.5","dist":{"shasum":"83aa58a0adbd4fa441d94a01893c34df0e3d54c9","tarball":"https://registry.npmjs.org/topdf/-/topdf-0.0.5.tgz","integrity":"sha512-TlGH2XVJTWqjAxIC2N8SP6gnMid99XLAe8TMZ7zvgPM+bNepyAYp/2qoFj4dwRgs7vf9url48G2oVkqjtPm3xg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdM6r892i79hHXHYSchLsFk5UlK6t/tqDX3vgEOZ11/QIgbqUSpdvLmWTOYnFzsdrC+AaMmPngtZnK+qL01WS86Bg="}]},"_npmVersion":"1.1.64","_npmUser":{"name":"ryancole","email":"ryan@rycole.com"},"maintainers":[{"name":"ryancole","email":"ryan@rycole.com"}]},"0.0.6":{"name":"topdf","version":"0.0.6","description":"A node.js addon for Oracle's pdf export library.","main":"lib/topdf.js","directories":{"test":"test"},"scripts":{"install":"node-gyp rebuild","test":"node test/test.js"},"repository":{"type":"git","url":"git@github.com:ryancole/topdf.git"},"keywords":["oracle","pdf","converter"],"author":{"name":"Ryan Cole"},"license":"BSD","gypfile":true,"readmeFilename":"readme.md","readme":"A node.js addon for Oracle's pdf export library.\n\n## Example\n\n```javascript\nvar topdf = require('topdf');\n\ntopdf.convert('./test/etc/foo.xlsx', './test/etc/foo.pdf', options, function (err, success) {\n    \n    /* ... */\n    \n});\n```\n\n## API\n\n### convert(source, destination, [options,] callback)\n\nTakes a `source` document and saves it to `destination` as a PDF. The `options` parameter is optional.\n\n- `watermark`: A path to an image file to be used as the watermark image. This defaults to no watermark, if this propery is omitted.\n- `fontdirectory`: A path to a directory containing true type fonts to be used. This option is *required*, if the default does not fit your setup. This defaults to `/usr/share/fonts/truetype/msttcorefonts`.\n- `override`: A `boolean` specifying whether or not you wish to override the settings specified in the document. This defaults to `false`, which means any settings stored in the document to be converted will be used. This must be `true` in order to use any other formatting options.\n- `gridlines`: A `boolean` specifying whether or not to print gridlines in spreadsheet documents. This `defaults` to `false`. \n- `headings`: A `boolean` specifying whether or not to print headings in spreadsheet documents. This `defaults` to `false`.\n- `memory`: An `integer` specifying the maximum about of memory, in MB, that the PDF converter may use for caching the `source` file. More memory means less disk reads. Must be a value in the following collection: `4`, `16`, `64`, `256`, `1024`. This defaults to `16`.\n- `pages`: An `integer` specifying the maximum number of pages to write to the `destination` file. Specifying `0` will save all pages. This `defaults` to `0`.\n\n## Runtime Prerequisites\n\nMake sure `/usr/local/lib/pdfexport` is in `$LD_LIBRARY_PATH`.\n\n## Compiling Prerequisites\n\nDownload the Oracle pdf export SDK, place the header files in `/usr/local/include/pdfexport` and the *entire* contents of the sdk's `redist` directory into `/usr/local/lib/pdfexport`. Make sure `/usr/local/lib/pdfexport` is in `$LD_LIBRARY_PATH`.\n\n## Oracle\n\nYou can download Oracle's tools at the following URL: http://www.oracle.com/technetwork/middleware/content-management/downloads/oit-dl-otn-097435.html","_id":"topdf@0.0.6","dist":{"shasum":"573cc5b8b341c3f4159c6b9fbbcd8e11fbf409fc","tarball":"https://registry.npmjs.org/topdf/-/topdf-0.0.6.tgz","integrity":"sha512-VeBk1SbKAMp/FwcYH+q8YfVzjSFUDijJ+QeqJa3y9J9wYh8D9o4aB14ne4diZkofSwzKdpQH0JT0sCXZ9X7xtw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBGU3n1U9a0HSHjEVOt8Q8LrYOCaMtW+cD5RSaAHLMsQAiEA8LyEUeT8PagwpAiJfv6cJ5WtGmtItpUjISE0sYOHL7Q="}]},"_npmVersion":"1.1.64","_npmUser":{"name":"ryancole","email":"ryan@rycole.com"},"maintainers":[{"name":"ryancole","email":"ryan@rycole.com"}]},"0.0.7":{"name":"topdf","version":"0.0.7","description":"A node.js addon for Oracle's pdf export library.","main":"lib/topdf.js","directories":{"test":"test"},"scripts":{"install":"node-gyp rebuild","test":"node test/test.js"},"repository":{"type":"git","url":"git@github.com:ryancole/topdf.git"},"keywords":["oracle","pdf","converter"],"author":{"name":"Ryan Cole"},"license":"BSD","gypfile":true,"readmeFilename":"readme.md","readme":"A node.js addon for Oracle's pdf export library.\n\n## Example\n\n```javascript\nvar topdf = require('topdf');\n\ntopdf.convert('./test/etc/foo.xlsx', './test/etc/foo.pdf', options, function (err, success) {\n    \n    /* ... */\n    \n});\n```\n\n## API\n\n### convert(source, destination, [options,] callback)\n\nTakes a `source` document and saves it to `destination` as a PDF. The `options` parameter is optional.\n\n- `watermark`: A path to an image file to be used as the watermark image. This defaults to no watermark, if this propery is omitted.\n- `fontdirectory`: A path to a directory containing true type fonts to be used. This option is *required*, if the default does not fit your setup. This defaults to `/usr/share/fonts/truetype/msttcorefonts`.\n- `override`: A `boolean` specifying whether or not you wish to override the settings specified in the document. This defaults to `false`, which means any settings stored in the document to be converted will be used. This must be `true` in order to use any other formatting options.\n- `gridlines`: A `boolean` specifying whether or not to print gridlines in spreadsheet documents. This `defaults` to `false`. \n- `headings`: A `boolean` specifying whether or not to print headings in spreadsheet documents. This `defaults` to `false`.\n- `memory`: An `integer` specifying the maximum about of memory, in MB, that the PDF converter may use for caching the `source` file. More memory means less disk reads. Must be a value in the following collection: `4`, `16`, `64`, `256`, `1024`. This defaults to `16`.\n- `pages`: An `integer` specifying the maximum number of pages to write to the `destination` file. Specifying `0` will save all pages. This `defaults` to `0`.\n\n## Runtime Prerequisites\n\nMake sure `/usr/local/lib/pdfexport` is in `$LD_LIBRARY_PATH`.\n\n## Compiling Prerequisites\n\nDownload the Oracle pdf export SDK, place the header files in `/usr/local/include/pdfexport` and the *entire* contents of the sdk's `redist` directory into `/usr/local/lib/pdfexport`. Make sure `/usr/local/lib/pdfexport` is in `$LD_LIBRARY_PATH`.\n\n## Oracle\n\nYou can download Oracle's tools at the following URL: http://www.oracle.com/technetwork/middleware/content-management/downloads/oit-dl-otn-097435.html","_id":"topdf@0.0.7","dist":{"shasum":"0bb0e5c6c3a05aaed720f8c1ca825d97905a2e61","tarball":"https://registry.npmjs.org/topdf/-/topdf-0.0.7.tgz","integrity":"sha512-kdyXyl2JBkcqyGco8nHpmM8rF4ZMHbXWRe/lJPlHA4PZjMBY8pjY5AvI56NtLuyX9+kcgYAq5wjUjQs1Mb6v5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCH0HwQILecjzBTXsa5SnL1uWsj7vOv8nV5J6xnNjHFPsCIQCWsCltR+cDc0ph7ITKLTktEYeiKNaDRjPEyp8dVfgjPQ=="}]},"_npmVersion":"1.1.64","_npmUser":{"name":"ryancole","email":"ryan@rycole.com"},"maintainers":[{"name":"ryancole","email":"ryan@rycole.com"}]}},"readme":"A node.js addon for Oracle's pdf export library.\n\n# Usage\n\n```javascript\nvar topdf = require('topdf');\n\ntopdf.convert('./test/etc/foo.xlsx', './test/etc/foo.pdf', function (err, success) {\n    \n    if (err || !success) {\n        \n        console.log(err);\n        \n    } else {\n        \n        console.log(success);\n        \n    }\n    \n});\n```\n\n# Compiling Prerequisites\n\nDownload the Oracle pdf export SDK, place the header files in `/usr/local/include/pdfexport` and the *entire* contents of the sdk's `redist` directory into `/usr/local/lib/pdfexport`. Make sure `/usr/local/lib/pdfexport` is in `$LD_LIBRARY_PATH`.\n\n# Oracle\n\nYou can download Oracle's tools at the following URL: http://www.oracle.com/technetwork/middleware/content-management/downloads/oit-dl-otn-097435.html","maintainers":[{"name":"ryancole","email":"ryan@rycole.com"}],"time":{"modified":"2022-06-27T18:37:58.654Z","created":"2012-11-16T20:19:50.631Z","0.0.1":"2012-11-16T20:19:51.101Z","0.0.2":"2012-11-16T20:31:36.667Z","0.0.3":"2012-11-18T23:09:57.121Z","0.0.4":"2012-11-27T03:11:25.210Z","0.0.5":"2012-12-04T01:57:41.353Z","0.0.6":"2012-12-18T01:12:25.636Z","0.0.7":"2013-01-17T01:39:49.708Z"},"author":{"name":"Ryan Cole"},"repository":{"type":"git","url":"git@github.com:ryancole/topdf.git"}}