Fix typos
Change-Id: I08c6affc57806e8c36e8f188bc47b4cb61d6b794 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209938 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
committed by
Julien Nabet
parent
73c085276a
commit
82869b1d51
@@ -21,11 +21,11 @@
|
||||
|
||||
#include "hbox.h"
|
||||
/**
|
||||
* Transfer number to roman character
|
||||
* Transfer number to Roman numeral
|
||||
*/
|
||||
void num2roman(int num, char *buf);
|
||||
/**
|
||||
* Transfer 8bit string to 16bit string used internally in hwp
|
||||
* Transfer 8-bit string to 16-bit string used internally in hwp
|
||||
*/
|
||||
void str2hstr(const char *c, hchar *i);
|
||||
|
||||
|
||||
@@ -88,9 +88,9 @@ struct HWPColumnInfo{
|
||||
* f.ReadHwpFile( stream );
|
||||
* </pre>
|
||||
*
|
||||
* There are two way to read hwp information from stream, one is to read all at a time
|
||||
* to use @ref ReadhwpFile() method like above example, other is to read partial information
|
||||
* to use @ref Open(), @ref InfoRead(), @ref FontRead(), @ref StyleRead(), @ref ParaListRead(), @ref TagsRead(),
|
||||
* There are two ways to read hwp information from stream, one is to read all at a time
|
||||
* using @ref ReadHwpFile() method like the example above; the other is to read partial information
|
||||
* using @ref Open(), @ref InfoRead(), @ref FontRead(), @ref StyleRead(), @ref ParaListRead(), @ref TagsRead(),
|
||||
*
|
||||
* @short HWP file management object
|
||||
*/
|
||||
@@ -114,7 +114,7 @@ class DLLEXPORT HWPFile
|
||||
|
||||
/**
|
||||
* Say current state
|
||||
* @returns 0 if normal, otherwise error code. If it's bigger than USER_ERROR_BIT, it is internally using error, otherwise it's system error which is able to get the message @ref strerror() method.
|
||||
* @returns 0 if normal, otherwise error code. If it's bigger than USER_ERROR_BIT, it is an internal error, otherwise it's system error which is able to get the message @ref strerror() method.
|
||||
*/
|
||||
int State( void ) const { return error_code;}
|
||||
/**
|
||||
@@ -282,7 +282,7 @@ class DLLEXPORT HWPFile
|
||||
std::vector<std::unique_ptr<HWPColumnInfo>> columnlist;
|
||||
// paragraph list
|
||||
std::vector<std::unique_ptr<HWPPara>> plist;
|
||||
// keep paragraph's that failed to load until
|
||||
// keep paragraphs that failed to load until
|
||||
// import is complete to avoid dangling references
|
||||
// elsewhere
|
||||
std::vector<std::unique_ptr<HWPPara>> pfailedlist;
|
||||
@@ -297,7 +297,7 @@ class DLLEXPORT HWPFile
|
||||
std::vector<HeaderFooter*> headerfooters;
|
||||
std::vector<ShowPageNum*> pagenumbers;
|
||||
std::vector<std::unique_ptr<Table>> tables;
|
||||
//track the stack of HParas types we're currently importing
|
||||
// track the stack of HPara types we're currently importing
|
||||
std::vector<unsigned char> element_import_stack;
|
||||
|
||||
// for global document handling
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
/* hwp96부터 hunit가 4byte가 되었다. */
|
||||
/**
|
||||
* size of hunit is 4 since hwp96 version
|
||||
* size of hunit is 4 bytes since hwp96 version
|
||||
*/
|
||||
typedef char16_t hchar;
|
||||
typedef int hunit;
|
||||
|
||||
Reference in New Issue
Block a user