summaryrefslogtreecommitdiff
path: root/include/mupdf/helpers
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-12-21 17:41:59 +0100
committerTor Andersson <tor.andersson@artifex.com>2016-12-27 15:06:51 +0100
commit0805c1add0e3fc951d16c27d3837bc5123842303 (patch)
treebdce2e6e246f0f693552423c9b554092ce47a689 /include/mupdf/helpers
parente22743070ff1f3d4cc83177c4669476fd2526844 (diff)
downloadmupdf-0805c1add0e3fc951d16c27d3837bc5123842303.tar.xz
Strip extraneous blank lines.
Diffstat (limited to 'include/mupdf/helpers')
-rw-r--r--include/mupdf/helpers/mu-office-lib.h29
-rw-r--r--include/mupdf/helpers/mu-threads.h1
2 files changed, 0 insertions, 30 deletions
diff --git a/include/mupdf/helpers/mu-office-lib.h b/include/mupdf/helpers/mu-office-lib.h
index 1c856962..8d2afbb8 100644
--- a/include/mupdf/helpers/mu-office-lib.h
+++ b/include/mupdf/helpers/mu-office-lib.h
@@ -40,7 +40,6 @@
#include <stddef.h> /* For size_t */
#include "mupdf/fitz.h" /* For fz_context/fz_document/fz_page */
-
/** Error type returned from most MuOffice functions
*
* 0 means no error
@@ -52,7 +51,6 @@
*/
typedef int MuError;
-
/** Errors returned to MuOfficeLoadingErrorFn
*
* Other values may also be returned.
@@ -80,7 +78,6 @@ typedef enum MuOfficeDocErrorType
MuOfficeDocErrorType_PasswordRequest = 0x1000
} MuOfficeDocErrorType;
-
/**
*Structure holding the detail of the layout of a bitmap. b5g6r5 is assumed.
*/
@@ -92,7 +89,6 @@ typedef struct MuOfficeBitmap_s
int lineSkip;
} MuOfficeBitmap;
-
/**
* Structure defining a point
*
@@ -147,7 +143,6 @@ typedef struct MuOfficeRenderArea_s
MuOfficeBox renderArea;
} MuOfficeRenderArea;
-
typedef struct MuOfficeLib_s MuOfficeLib;
typedef struct MuOfficeDoc_s MuOfficeDoc;
typedef struct MuOfficePage_s MuOfficePage;
@@ -165,7 +160,6 @@ typedef struct MuOfficeRender_s MuOfficeRender;
typedef void *(MuOfficeAllocFn)(void *cookie,
size_t size);
-
/**
* Callback function monitoring document loading
*
@@ -184,7 +178,6 @@ typedef void (MuOfficeLoadingProgressFn)(void *cookie,
int pagesLoaded,
int complete);
-
/**
* Callback function used to monitor errors in the process of loading
* a document.
@@ -196,8 +189,6 @@ typedef void (MuOfficeLoadingProgressFn)(void *cookie,
typedef void (MuOfficeLoadingErrorFn)( void *cookie,
MuOfficeDocErrorType error);
-
-
/**
* Callback function used to monitor page changes
*
@@ -231,7 +222,6 @@ typedef enum
MuOfficeDocType_IMG
} MuOfficeDocType;
-
/**
* The possible results of a save operation
*/
@@ -243,7 +233,6 @@ typedef enum MuOfficeSaveResult
}
MuOfficeSaveResult;
-
/**
* Callback function used to monitor save operations.
*
@@ -254,7 +243,6 @@ MuOfficeSaveResult;
typedef void (MuOfficeSaveResultFn)( void *cookie,
MuOfficeSaveResult result);
-
/**
* Create a MuOfficeLib instance.
*
@@ -323,7 +311,6 @@ MuError MuOfficeLib_loadDocument(MuOfficeLib *mu,
void *cookie,
MuOfficeDoc **pDoc);
-
/**
* Perform MuPDF native operations on a given MuOfficeLib
* instance.
@@ -341,7 +328,6 @@ MuError MuOfficeLib_loadDocument(MuOfficeLib *mu,
*/
MuError MuOfficeLib_run(MuOfficeLib *mu, void (*fn)(fz_context *ctx, void *arg), void *arg);
-
/**
* Provide the password for a document
*
@@ -356,7 +342,6 @@ MuError MuOfficeLib_run(MuOfficeLib *mu, void (*fn)(fz_context *ctx, void *arg),
*/
int MuOfficeDoc_providePassword(MuOfficeDoc *doc, const char *password);
-
/**
* Return the type of an open document
*
@@ -366,7 +351,6 @@ int MuOfficeDoc_providePassword(MuOfficeDoc *doc, const char *password);
*/
MuOfficeDocType MuOfficeDoc_docType(MuOfficeDoc *doc);
-
/**
* Return the number of pages of a document
*
@@ -385,7 +369,6 @@ MuOfficeDocType MuOfficeDoc_docType(MuOfficeDoc *doc);
*/
MuError MuOfficeDoc_getNumPages(MuOfficeDoc *doc, int *pNumPages);
-
/**
* Determine if the document has been modified
*
@@ -395,7 +378,6 @@ MuError MuOfficeDoc_getNumPages(MuOfficeDoc *doc, int *pNumPages);
*/
int MuOfficeDoc_hasBeenModified(MuOfficeDoc *doc);
-
/**
* Start a save operation
*
@@ -411,7 +393,6 @@ MuError MuOfficeDoc_save(MuOfficeDoc *doc,
MuOfficeSaveResultFn *resultFn,
void *cookie);
-
/**
* Stop a document loading. The document is not destroyed, but
* no further content will be read from the file.
@@ -420,7 +401,6 @@ MuError MuOfficeDoc_save(MuOfficeDoc *doc,
*/
void MuOfficeDoc_abortLoad(MuOfficeDoc *doc);
-
/**
* Destroy a MuOfficeDoc object. Loading of the document is shutdown
* and no further callbacks will be issued for the specified object.
@@ -429,7 +409,6 @@ void MuOfficeDoc_abortLoad(MuOfficeDoc *doc);
*/
void MuOfficeDoc_destroy(MuOfficeDoc *doc);
-
/**
* Get a page of a document
*
@@ -448,7 +427,6 @@ MuError MuOfficeDoc_getPage( MuOfficeDoc *doc,
void *cookie,
MuOfficePage **pPage);
-
/**
* Perform MuPDF native operations on a given document.
*
@@ -475,7 +453,6 @@ MuError MuOfficeDoc_getPage( MuOfficeDoc *doc,
*/
MuError MuOfficeDoc_run(MuOfficeDoc *doc, void (*fn)(fz_context *ctx, fz_document *doc, void *arg), void *arg);
-
/**
* Destroy a page object
*
@@ -487,7 +464,6 @@ MuError MuOfficeDoc_run(MuOfficeDoc *doc, void (*fn)(fz_context *ctx, fz_documen
*/
void MuOfficePage_destroy(MuOfficePage *page);
-
/**
* Get the size of a page in pixels
*
@@ -506,7 +482,6 @@ MuError MuOfficePage_getSize( MuOfficePage *page,
float *pWidth,
float *pHeight);
-
/**
* Return the zoom factors necessary to render at to a given
* size in pixels. (deprecated)
@@ -525,7 +500,6 @@ MuError MuOfficePage_calculateZoom( MuOfficePage *page,
float *pXZoom,
float *pYZoom);
-
/**
* Get the size of a page in pixels for a specified zoom factor
* (deprecated)
@@ -546,7 +520,6 @@ MuError MuOfficePage_getSizeForZoom( MuOfficePage *page,
int *pWidth,
int *pHeight);
-
/**
* Perform MuPDF native operations on a given page.
*
@@ -573,7 +546,6 @@ MuError MuOfficePage_getSizeForZoom( MuOfficePage *page,
*/
MuError MuOfficePage_run(MuOfficePage *page, void (*fn)(fz_context *ctx, fz_page *page, void *arg), void *arg);
-
/**
* Schedule the rendering of an area of document page to
* an area of a bitmap.
@@ -609,7 +581,6 @@ MuError MuOfficePage_render( MuOfficePage *page,
void *cookie,
MuOfficeRender **pRender);
-
/**
* Destroy a render
*
diff --git a/include/mupdf/helpers/mu-threads.h b/include/mupdf/helpers/mu-threads.h
index 7cdd817b..77ee0b6c 100644
--- a/include/mupdf/helpers/mu-threads.h
+++ b/include/mupdf/helpers/mu-threads.h
@@ -168,7 +168,6 @@ void mu_lock_mutex(mu_mutex *mutex);
*/
void mu_unlock_mutex(mu_mutex *mutex);
-
/*
Everything under this point is implementation specific.
Only people looking to extend the capabilities of this