| 1 |
/* |
| 2 |
* select pages from a DVI file. |
| 3 |
* |
| 4 |
* The original version is: |
| 5 |
* Copyright (c) 1999 |
| 6 |
* WATANABE Takeshi [email protected] |
| 7 |
* |
| 8 |
* Heavily changed for xdvik: |
| 9 |
* Copyright (c) 2002-2004 the xdvik development team |
| 10 |
* |
| 11 |
* Permission is hereby granted, free of charge, to any person obtaining a copy |
| 12 |
* of this software and associated documentation files (the "Software"), to |
| 13 |
* deal in the Software without restriction, including without limitation the |
| 14 |
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
| 15 |
* sell copies of the Software, and to permit persons to whom the Software is |
| 16 |
* furnished to do so, subject to the following conditions: |
| 17 |
* |
| 18 |
* The above copyright notice and this permission notice shall be included in |
| 19 |
* all copies or substantial portions of the Software. |
| 20 |
* |
| 21 |
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 22 |
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 23 |
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| 24 |
* NONINFRINGEMENT. IN NO EVENT SHALL ANY AUTHO OF THIS SOFTWARE BE |
| 25 |
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN |
| 26 |
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| 27 |
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 28 |
* SOFTWARE. |
| 29 |
*/ |
| 30 |
|
| 31 |
#ifndef DVISEL_H_ |
| 32 |
#define DVISEL_H_ |
| 33 |
|
| 34 |
#include "dvi-init.h" |
| 35 |
#include "print-internal.h" |
| 36 |
|
| 37 |
/* callbacks */ |
| 38 |
Boolean check_pagerange(struct save_or_print_info *info, int pageno); |
| 39 |
Boolean check_marked(struct save_or_print_info *info, int pageno); |
| 40 |
void select_pages(struct save_or_print_info *info); |
| 41 |
|
| 42 |
#endif /* DVISEL_H_ */ |