mirror of
				https://github.com/michaelrsweet/pdfio.git
				synced 2025-10-31 18:35:45 +01:00 
			
		
		
		
	Update TODOs.
This commit is contained in:
		
							
								
								
									
										5
									
								
								TODO.md
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								TODO.md
									
									
									
									
									
								
							| @@ -1,9 +1,8 @@ | |||||||
| To-Do List | To-Do List | ||||||
| ========== | ========== | ||||||
|  |  | ||||||
| - Reference streams | - All of the object write code | ||||||
| - All of the object read/write code | - All of the stream write code | ||||||
| - All of the stream read/write code |  | ||||||
| - Page create method | - Page create method | ||||||
| - Write out trailer | - Write out trailer | ||||||
| - How to handle object references between documents, i.e., if I copy a page from | - How to handle object references between documents, i.e., if I copy a page from | ||||||
|   | |||||||
| @@ -218,7 +218,7 @@ pdfio_obj_t *				// O - New object | |||||||
| pdfioFileCreatePage(pdfio_file_t *pdf,	// I - PDF file | pdfioFileCreatePage(pdfio_file_t *pdf,	// I - PDF file | ||||||
|                     pdfio_dict_t *dict)	// I - Page dictionary |                     pdfio_dict_t *dict)	// I - Page dictionary | ||||||
| { | { | ||||||
|   // TODO: Implement me |   // TODO: Implement pdfioFileCreatePage | ||||||
|   (void)pdf; |   (void)pdf; | ||||||
|   (void)dict; |   (void)dict; | ||||||
|   return (NULL); |   return (NULL); | ||||||
|   | |||||||
| @@ -22,7 +22,7 @@ | |||||||
| bool					// O - `true` on success, `false` on failure | bool					// O - `true` on success, `false` on failure | ||||||
| pdfioObjClose(pdfio_obj_t *obj)		// I - Object | pdfioObjClose(pdfio_obj_t *obj)		// I - Object | ||||||
| { | { | ||||||
|   // TODO: Implement me |   // TODO: Implement pdfioObjClose | ||||||
|   (void)obj; |   (void)obj; | ||||||
|  |  | ||||||
|   return (false); |   return (false); | ||||||
| @@ -38,7 +38,7 @@ pdfioObjCreateStream( | |||||||
|     pdfio_obj_t    *obj,		// I - Object |     pdfio_obj_t    *obj,		// I - Object | ||||||
|     pdfio_filter_t filter)		// I - Type of compression to apply |     pdfio_filter_t filter)		// I - Type of compression to apply | ||||||
| { | { | ||||||
|   // TODO: Implement me |   // TODO: Implement pdfioObjCreateStream | ||||||
|   (void)obj; |   (void)obj; | ||||||
|   (void)filter; |   (void)filter; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -22,7 +22,7 @@ pdfio_obj_t *				// O - Destination page | |||||||
| pdfioPageCopy(pdfio_file_t *pdf,	// I - PDF file | pdfioPageCopy(pdfio_file_t *pdf,	// I - PDF file | ||||||
|               pdfio_obj_t  *src)	// I - Source page |               pdfio_obj_t  *src)	// I - Source page | ||||||
| { | { | ||||||
|   // TODO: Implement me |   // TODO: Implement pdfioPageCopy | ||||||
|   (void)pdf; |   (void)pdf; | ||||||
|   (void)src; |   (void)src; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -64,7 +64,7 @@ _pdfioStreamCreate( | |||||||
|     pdfio_obj_t    *obj,		// I - Object |     pdfio_obj_t    *obj,		// I - Object | ||||||
|     pdfio_filter_t compression)		// I - Compression to apply |     pdfio_filter_t compression)		// I - Compression to apply | ||||||
| { | { | ||||||
|   // TODO: Implement me |   // TODO: Implement _pdfioStreamCreate | ||||||
|   (void)obj; |   (void)obj; | ||||||
|   (void)compression; |   (void)compression; | ||||||
|  |  | ||||||
| @@ -478,7 +478,7 @@ pdfioStreamWrite( | |||||||
|   if (!st || st->pdf->mode != _PDFIO_MODE_WRITE || !buffer || !bytes) |   if (!st || st->pdf->mode != _PDFIO_MODE_WRITE || !buffer || !bytes) | ||||||
|     return (false); |     return (false); | ||||||
|  |  | ||||||
|   // TODO: Implement me |   // TODO: Implement pdfioStreamWrite | ||||||
|   return (false); |   return (false); | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user