diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-05-13 16:39:41 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-05-13 16:39:41 -0700 |
commit | 8aa1eac606d8e5030de6509f5d5d66e90db521f4 (patch) | |
tree | fe5722129198e83f2c96c5fd928b9e29fe3bc6fa /public/fpdf_ppo.h | |
parent | fdc5e691745cf16fb105f3ad4a9fb5f8f64f56b4 (diff) | |
download | pdfium-8aa1eac606d8e5030de6509f5d5d66e90db521f4.tar.xz |
Tidy public/ directory.
- Make include guards consistent with standard and filenames.
- Remove stray semicolon folowing extern "C" section close-brace.
- Untabify.
- Delete trailing whitespace.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1128003005
Diffstat (limited to 'public/fpdf_ppo.h')
-rw-r--r-- | public/fpdf_ppo.h | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/public/fpdf_ppo.h b/public/fpdf_ppo.h index 3e7e5c9a5e..2e033f14d3 100644 --- a/public/fpdf_ppo.h +++ b/public/fpdf_ppo.h @@ -1,11 +1,11 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FPDFPPO_H_ -#define _FPDFPPO_H_ +#ifndef PUBLIC_FPDF_PPO_H_ +#define PUBLIC_FPDF_PPO_H_ #include "fpdfview.h" @@ -14,30 +14,29 @@ extern "C" { #endif // Function: FPDF_ImportPages -// Import some pages to a PDF document. -// Parameters: -// dest_doc - The destination document which add the pages. -// src_doc - A document to be imported. -// pagerange - A page range string, Such as "1,3,5-7". -// If this parameter is NULL, it would import all pages in src_doc. -// index - The page index wanted to insert from. +// Import some pages to a PDF document. +// Parameters: +// dest_doc - The destination document which add the pages. +// src_doc - A document to be imported. +// pagerange - A page range string, Such as "1,3,5-7". +// If this parameter is NULL, it would import all pages in src_doc. +// index - The page index wanted to insert from. // Return value: -// TRUE for succeed, FALSE for Failed. +// TRUE for succeed, FALSE for Failed. DLLEXPORT FPDF_BOOL STDCALL FPDF_ImportPages(FPDF_DOCUMENT dest_doc,FPDF_DOCUMENT src_doc, FPDF_BYTESTRING pagerange, int index); // Function: FPDF_CopyViewerPreferences -// Copy the viewer preferences from one PDF document to another.#endif -// Parameters: -// dest_doc - Handle to document to write the viewer preferences to. -// src_doc - Handle to document with the viewer preferences. +// Copy the viewer preferences from one PDF document to another.#endif +// Parameters: +// dest_doc - Handle to document to write the viewer preferences to. +// src_doc - Handle to document with the viewer preferences. // Return value: -// TRUE for success, FALSE for failure. +// TRUE for success, FALSE for failure. DLLEXPORT FPDF_BOOL STDCALL FPDF_CopyViewerPreferences(FPDF_DOCUMENT dest_doc, FPDF_DOCUMENT src_doc); #ifdef __cplusplus -}; +} #endif -#endif //_FPDFPPO_H_ - +#endif // PUBLIC_FPDF_PPO_H_ |