Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zathura-pdf-mupdf
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pwmt
zathura-pdf-mupdf
Commits
8297eda8
Commit
8297eda8
authored
Jan 30, 2016
by
Sebastian Ramacher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some spelling mistakes
Signed-off-by:
Sebastian Ramacher
<
sebastian@ramacher.at
>
parent
2f083aba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
plugin.h
plugin.h
+18
-18
No files found.
plugin.h
View file @
8297eda8
...
...
@@ -31,7 +31,7 @@ typedef struct mupdf_page_s
* Open a pdf document
*
* @param document Zathura document
* @return true if no error occured, otherwise false
* @return true if no error occur
r
ed, otherwise false
*/
zathura_error_t
pdf_document_open
(
zathura_document_t
*
document
);
...
...
@@ -39,7 +39,7 @@ zathura_error_t pdf_document_open(zathura_document_t* document);
* Closes and frees the internal document structure
*
* @param document Zathura document
* @return true if no error occured, otherwise false
* @return true if no error occur
r
ed, otherwise false
*/
zathura_error_t
pdf_document_free
(
zathura_document_t
*
document
,
mupdf_document_t
*
mupdf_document
);
...
...
@@ -48,7 +48,7 @@ zathura_error_t pdf_document_free(zathura_document_t* document, mupdf_document_t
*
* @param document Zathura document
* @param path File path
* @return ZATHURA_ERROR_OK when no error occured, otherwise see
* @return ZATHURA_ERROR_OK when no error occur
r
ed, otherwise see
* zathura_error_t
*/
zathura_error_t
pdf_document_save_as
(
zathura_document_t
*
document
,
...
...
@@ -59,7 +59,7 @@ zathura_error_t pdf_document_save_as(zathura_document_t* document,
*
* @param document Zathura document
* @param error Set to an error value (see zathura_error_t) if an
* error occured
* error occur
r
ed
* @return Tree node object or NULL if an error occurred (e.g.: the document has
* no index)
*/
...
...
@@ -70,7 +70,7 @@ girara_tree_node_t* pdf_document_index_generate(zathura_document_t* document,
* Returns a reference to a page
*
* @param page Page object
* @return A page object or NULL if an error occured
* @return A page object or NULL if an error occur
r
ed
*/
zathura_error_t
pdf_page_init
(
zathura_page_t
*
page
);
...
...
@@ -78,7 +78,7 @@ zathura_error_t pdf_page_init(zathura_page_t* page);
* Frees a pdf page
*
* @param page Page
* @return true if no error occured, otherwise false
* @return true if no error occur
r
ed, otherwise false
*/
zathura_error_t
pdf_page_clear
(
zathura_page_t
*
page
,
mupdf_page_t
*
mupdf_page
);
...
...
@@ -88,8 +88,8 @@ zathura_error_t pdf_page_clear(zathura_page_t* page, mupdf_page_t* mupdf_page);
* @param page Page
* @param text Search item
* @param error Set to an error value (see zathura_error_t) if an
* error occured
* @return List of search results or NULL if an error occured
* error occur
r
ed
* @return List of search results or NULL if an error occur
r
ed
*/
girara_list_t
*
pdf_page_search_text
(
zathura_page_t
*
page
,
mupdf_page_t
*
mupdf_page
,
const
char
*
text
,
zathura_error_t
*
error
);
...
...
@@ -98,8 +98,8 @@ girara_list_t* pdf_page_search_text(zathura_page_t* page, mupdf_page_t* mupdf_pa
*
* @param page Page
* @param error Set to an error value (see zathura_error_t) if an
* error occured
* @return List of links or NULL if an error occured
* error occur
r
ed
* @return List of links or NULL if an error occur
r
ed
*/
girara_list_t
*
pdf_page_links_get
(
zathura_page_t
*
page
,
mupdf_page_t
*
mupdf_page
,
zathura_error_t
*
error
);
...
...
@@ -108,7 +108,7 @@ girara_list_t* pdf_page_links_get(zathura_page_t* page, mupdf_page_t* mupdf_page
*
* @param page The page
* @param error Set to an error value (see zathura_error_t) if an
* error occured
* error occur
r
ed
* @return List of images
*/
girara_list_t
*
pdf_page_images_get
(
zathura_page_t
*
page
,
mupdf_page_t
*
mupdf_page
,
zathura_error_t
*
error
);
...
...
@@ -120,8 +120,8 @@ girara_list_t* pdf_page_images_get(zathura_page_t* page, mupdf_page_t* mupdf_pag
* @param page Page
* @param image Image identifier
* @param error Set to an error value (see \ref zathura_error_t) if an
* error occured
* @return The cairo image surface or NULL if an error occured
* error occur
r
ed
* @return The cairo image surface or NULL if an error occur
r
ed
*/
cairo_surface_t
*
pdf_page_image_get_cairo
(
zathura_page_t
*
page
,
mupdf_page_t
*
mupdf_page
,
zathura_image_t
*
image
,
zathura_error_t
*
error
);
...
...
@@ -132,7 +132,7 @@ cairo_surface_t* pdf_page_image_get_cairo(zathura_page_t* page, mupdf_page_t*
* @param page Page
* @param rectangle Selection
* @error Set to an error value (see \ref zathura_error_t) if an error
* occured
* occur
r
ed
* @return The selected text (needs to be deallocated with g_free)
*/
char
*
pdf_page_get_text
(
zathura_page_t
*
page
,
mupdf_page_t
*
mupdf_page
,
zathura_rectangle_t
rectangle
,
zathura_error_t
*
error
);
...
...
@@ -142,7 +142,7 @@ char* pdf_page_get_text(zathura_page_t* page, mupdf_page_t* mupdf_page, zathura_
*
* @param document Zathura document
* @param error Set to an error value (see zathura_error_t) if an
* error occured
* error occur
r
ed
* @return List of information entries or NULL if an error occurred
*/
girara_list_t
*
pdf_document_get_information
(
zathura_document_t
*
document
,
...
...
@@ -154,8 +154,8 @@ girara_list_t* pdf_document_get_information(zathura_document_t* document,
*
* @param page Page
* @param error Set to an error value (see zathura_error_t) if an
* error occured
* @return Image buffer or NULL if an error occured
* error occur
r
ed
* @return Image buffer or NULL if an error occur
r
ed
*/
zathura_image_buffer_t
*
pdf_page_render
(
zathura_page_t
*
page
,
mupdf_page_t
*
mupdf_page
,
zathura_error_t
*
error
);
...
...
@@ -165,7 +165,7 @@ zathura_image_buffer_t* pdf_page_render(zathura_page_t* page, mupdf_page_t* mupd
*
* @param page Page
* @param cairo Cairo object
* @return true if no error occured, otherwise false
* @return true if no error occur
r
ed, otherwise false
*/
zathura_error_t
pdf_page_render_cairo
(
zathura_page_t
*
page
,
mupdf_page_t
*
mupdf_page
,
cairo_t
*
cairo
,
bool
printing
);
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment