Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/extract/src/text.h @ 2:b50eed0cc0ef upstream
ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4.
The directory name has changed: no version number in the expanded directory now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:43:07 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1:1d09e1dec1d9 | 2:b50eed0cc0ef |
|---|---|
| 1 #ifndef EXTRACT_TEXT_H | |
| 2 #define EXTRACT_TEXT_H | |
| 3 | |
| 4 #include "extract/alloc.h" | |
| 5 | |
| 6 #include "astring.h" | |
| 7 | |
| 8 | |
| 9 int extract_content_insert( | |
| 10 extract_alloc_t* alloc, | |
| 11 const char* original, | |
| 12 const char* single_name, | |
| 13 const char* mid_begin_name, | |
| 14 const char* mid_end_name, | |
| 15 extract_astring_t* contentss, | |
| 16 int contentss_num, | |
| 17 char** o_out | |
| 18 ); | |
| 19 /* Creates a new string by inserting sequence of strings into a template | |
| 20 string. | |
| 21 | |
| 22 If <single_name> is in <original>, it is replaced by <contentss>. | |
| 23 | |
| 24 Otherwise the text between the end of <mid_begin_name> and beginning of | |
| 25 <mid_end_name> is replaced by <contentss>. | |
| 26 | |
| 27 If <mid_begin_name> is NULL, we insert into the zero-length region before | |
| 28 <mid_end_name>. | |
| 29 | |
| 30 If <mid_end_name> is NULL, we insert into the zero-length region after | |
| 31 <mid_begin_name>. | |
| 32 | |
| 33 At least one of <single_name>, <mid_begin_name> and <mid_end_name> must be | |
| 34 non-NULL. | |
| 35 */ | |
| 36 | |
| 37 #endif |
