Update TODOs.

This commit is contained in:
Michael R Sweet 2021-05-10 21:33:26 -04:00
parent b030c24ba1
commit 7cb4d0a557
No known key found for this signature in database
GPG Key ID: 999559A027815955
5 changed files with 8 additions and 9 deletions

View File

@ -1,9 +1,8 @@
To-Do List
==========
- Reference streams
- All of the object read/write code
- All of the stream read/write code
- All of the object write code
- All of the stream write code
- Page create method
- Write out trailer
- How to handle object references between documents, i.e., if I copy a page from

View File

@ -218,7 +218,7 @@ pdfio_obj_t * // O - New object
pdfioFileCreatePage(pdfio_file_t *pdf, // I - PDF file
pdfio_dict_t *dict) // I - Page dictionary
{
// TODO: Implement me
// TODO: Implement pdfioFileCreatePage
(void)pdf;
(void)dict;
return (NULL);

View File

@ -22,7 +22,7 @@
bool // O - `true` on success, `false` on failure
pdfioObjClose(pdfio_obj_t *obj) // I - Object
{
// TODO: Implement me
// TODO: Implement pdfioObjClose
(void)obj;
return (false);
@ -38,7 +38,7 @@ pdfioObjCreateStream(
pdfio_obj_t *obj, // I - Object
pdfio_filter_t filter) // I - Type of compression to apply
{
// TODO: Implement me
// TODO: Implement pdfioObjCreateStream
(void)obj;
(void)filter;

View File

@ -22,7 +22,7 @@ pdfio_obj_t * // O - Destination page
pdfioPageCopy(pdfio_file_t *pdf, // I - PDF file
pdfio_obj_t *src) // I - Source page
{
// TODO: Implement me
// TODO: Implement pdfioPageCopy
(void)pdf;
(void)src;

View File

@ -64,7 +64,7 @@ _pdfioStreamCreate(
pdfio_obj_t *obj, // I - Object
pdfio_filter_t compression) // I - Compression to apply
{
// TODO: Implement me
// TODO: Implement _pdfioStreamCreate
(void)obj;
(void)compression;
@ -478,7 +478,7 @@ pdfioStreamWrite(
if (!st || st->pdf->mode != _PDFIO_MODE_WRITE || !buffer || !bytes)
return (false);
// TODO: Implement me
// TODO: Implement pdfioStreamWrite
return (false);
}