Document Handling Functions
HPDF_New, HPDF_NewEX
#include
"apdf.h"
HPDF_Doc
HPDF_New (HPDF_Error_Handler user_error_fn,
void *user_data);
HPDF_Doc
HPDF_NewEx (HPDF_Error_Handler user_error_fn,
HPDF_Alloc_Func user_alloc_fn,
HPDF_Free_Func user_free_fn,
HPDF_UINT mem_pool_buf_size,
void *user_data);
HPDF_Doc
HPDF_New (HPDF_Error_Handler user_error_fn,
void *user_data);
HPDF_Doc
HPDF_NewEx (HPDF_Error_Handler user_error_fn,
HPDF_Alloc_Func user_alloc_fn,
HPDF_Free_Func user_free_fn,
HPDF_UINT mem_pool_buf_size,
void *user_data);
Description
HPDF_New() and HPDF_NewEX() create an instance of a document object and
initialize it. Parameter
user_error_fn user_alloc_fnSpecify user-defined memory allocation
function. If NULL is specified,
malloc() is used.
user_free_fn
Specify user-defined memory freeing function.
If NULL is specified,
free() is used.
mem_pool_buf_size
On default setting, Haru does not use memory
pool. A memory allocation
function is called on demand from an application. If this parameter set
to non-zero value, a memory management will be done as following.
user_data
- A memory is allocated per mem_pool_buf_size.
- Memory manager gives a memory of requested size to an application. And pool the remaining memory to use at next request
- If the size of requested memory is larger than the remaining memory, a new memory block is allocated.
- The unused memory is not released immediately. It is released all together when HPDF_Free() is invoked.
Specify user-defind void pointer.This pointer
is used by error
handling.
Returns
HPDF_New() and HPDF_NewEX() returns a handle of document object. If it failed, it returns NULL.HPDF_Free
#include "apdf.h"
HPDF_Doc
HPDF_Free (HPDF_Doc pdf);
HPDF_Doc
HPDF_Free (HPDF_Doc pdf);
Description
HPDF_Free() revokes a document object and all resources. Parameter
pdfSpecify the handle of a document object.
HPDF_NewDoc
#include "apdf.h"
HPDF_STATUS
HPDF_NewDoc (HPDF_Doc pdf);
HPDF_STATUS
HPDF_NewDoc (HPDF_Doc pdf);
Description
HPDF_NewDoc() creates new document. If document object already has a
document, the current document is revoked.Parameter
pdfSpecify the handle of a document object.
Returns
When HPDF_NewDoc succeeds, it returns HPDF_OK. Otherwise, it returns error-code and error-handler is called.Error
HPDF_INVALID_DOCUMENTAn invalid document handle is set.
HPDF_FAILD_TO_ALLOC_MEM
Memory Allocation Failed.
HPDF_FreeDoc、 HPDF_FreeDocAll
#include
<apdf.h>
void
HPDF_FreeDoc (HPDF_Doc pdf);
void
HPDF_FreeDocAll (HPDF_Doc pdf);
void
HPDF_FreeDoc (HPDF_Doc pdf);
void
HPDF_FreeDocAll (HPDF_Doc pdf);
Description
HPDF_FreeDoc(), HPDF_FreeDocAll() revokes the current document.
HPDF_FreeDoc() keeps loaded resource (such as fonts and encodings) and
these resources are recycled when new document required these
resources. HPDF_FreeDocAll() revokes the current document and all
resources.Parameter
pdfSpecify the handle of a document object.
HPDF_SaveToFile
#include <apdf.h>
HPDF_STATUS
HPDF_SaveToFile (HPDF_Doc pdf,
const char *file_name);
HPDF_STATUS
HPDF_SaveToFile (HPDF_Doc pdf,
const char *file_name);
Description
HPDF_SaveToFile() saves the current document to a file.Parameter
pdfSpecify the handle of a document object.
file_name
Specify the name of file to save.
Returns
When HPDF_SaveToFile() succeeds, it returns HPDF_OK. Otherwise, it returns error-code and error-handler is called.Error
HPDF_INVALID_DOCUMENTAn invalid document handle is set.
HPDF_FAILD_TO_ALLOC_MEM
Memory Allocation Failed.
HPDF_FILE_IO_ERRORAn error occurred while processing file I/O.
HPDF_SaveToStream
#include <apdf.h>
HPDF_STATUS
HPDF_SaveToStream (HPDF_Doc pdf);
HPDF_STATUS
HPDF_SaveToStream (HPDF_Doc pdf);
Description
HPDF_SaveToStream() saves the current document to a temporary stream of
a document object.Parameter
pdfSpecify the handle of a document object.
Returns
When HPDF_SaveToStream() succeeds, it returns HPDF_OK. Otherwise, it returns error-code and error-handler is called.Error
HPDF_INVALID_DOCUMENTAn invalid document handle is set.
HPDF_FAILD_TO_ALLOC_MEM
Memory Allocation Failed.
HPDF_GetStreamSize
#include <apdf.h>
HPDF_UINT32
HPDF_GetStreamSize (HPDF_Doc pdf);
HPDF_UINT32
HPDF_GetStreamSize (HPDF_Doc pdf);
Description
HPDF_GetStreamSize() gets the size of the temporary stream of the
document.Parameter
pdfSpecify the handle of a document object.
Returns
When HPDF_GetStreamSize() succeeds, it returns the size of the temporary stream of the document. Otherwise, it returns 0.Error
HPDF_INVALID_DOCUMENTAn invalid document handle is set.
HPDF_ReadFromStream
#include <apdf.h>
HPDF_STATUS
HPDF_ReadFromStream (HPDF_Doc pdf,
HPDF_BYTE *buf,
HPDF_UINT32 *size)
HPDF_STATUS
HPDF_ReadFromStream (HPDF_Doc pdf,
HPDF_BYTE *buf,
HPDF_UINT32 *size)
Description
HPDF_ReadFromStream() copies the data from the temporary stream of the
document into the buffer.Parameter
pdfSpecify the handle of a document object.
bufA pointer of the buffer.
sizeSpecifiy the size of buffer. After
HPDF_ReadFromStream() is execute, the number of bytes that succeeds in
reading is set.
Returns
When HPDF_ReadFromStream() succeeds, it returns HPDF_OK or HPDF_STREAM_EOF. Otherwise, it returns error-code and error-handler is invoked.NOTE:
Even if the result of HPDF_ReadFromStream() is HPDF_EOF, if the value of size parameter is more than 0, data is read into the buffer.
Even if the result of HPDF_ReadFromStream() is HPDF_EOF, if the value of size parameter is more than 0, data is read into the buffer.
Error
HPDF_INVALID_DOCUMENTAn invalid document handle is set.
HPDF_INVALID_OPERATIONNo data is saved to the temporary stream of the
document.
HPDF_INVALID_PARAMETER
An invalid value was set to 'size' parameter.
HPDF_ResetStream
#include <apdf.h>
HPDF_STATUS
HPDF_ResetStream (HPDF_Doc pdf);
HPDF_STATUS
HPDF_ResetStream (HPDF_Doc pdf);
Description
HPDF_ResetStream() rewinds the temporary stream of the document.Parameter
pdfSpecify the handle of a document object.
Returns
When HPDF_ResetStream() succeeds, it returns HPDF_OK. Otherwise, it returns error-code and error-handler is invoked.Error
HPDF_INVALID_DOCUMENTAn invalid document handle is set.
HPDF_INVALID_OPERATION
No data is saved to the temporary stream of the
document.
HPDF_HasDoc
#include
<apdf.h>
HPDF_BOOL
HPDF_HasDoc (HPDF_Doc pdf);
HPDF_BOOL
HPDF_HasDoc (HPDF_Doc pdf);
Description
HPDF_SaveToFile() saves the current document to a file.Parameter
pdfSpecify the handle of a document object.
file_name
Specify the name of file to save.
Returns
If the spacified document handle is valid, it returns HPDF_TRUE. Otherwise, it returns error-code and error-handler is called.Error
HPDF_INVALID_DOCUMENTAn invalid document handle is set.
HPDF_SetErrorHandler
#include
<apdf.h>
HPDF_STATUS
HPDF_SetErrorHandler (HPDF_Doc pdf,
HPDF_Error_Handler user_error_fn);
HPDF_STATUS
HPDF_SetErrorHandler (HPDF_Doc pdf,
HPDF_Error_Handler user_error_fn);
Description
HPDF_SetErrorHandler() sets an user-defined error handler. If a
function call fails, the function this error handler is called.Parameter
pdfSpecify the handle of a document object.
user_error_fn
Specify user-defined
error handler which is invoked when an error occurred. If this
parameter is set to NULL, the error-handler which has been set is
revoked.
Returns
When HPDF_SaveToFile() succeeds, it returns HPDF_OK. Otherwise, it returns error-code and error-handler is called.Error
HPDF_INVALID_DOCUMENTAn invalid document handle is set.
HPDF_GetError
#include
<apdf.h>
HPDF_STATUS
HPDF_GetError (HPDF_Doc pdf);
HPDF_STATUS
HPDF_GetError (HPDF_Doc pdf);
Description
HPDF_GetError returns the last-error code of specified PdfDoc object.Parameter
pdfSpecify the handle of a document object
Returns
HPDF_GetError returns the last-error code of specified PdfDoc object.If there is no error, it returns HPDF_OK.
Error
HPDF_INVALID_DOCUMENTAn invalid document handle is set.
HPDF_ResetError
#include
<apdf.h>
void
HPDF_ResetError (HPDF_Doc pdf);
void
HPDF_ResetError (HPDF_Doc pdf);
Description
Once an error code is set, IO processing functions cannot be invoked.In the case of executing a function after the cause of the error is fixed, an application have to invoke HPDF_ResetError to clear error-code before executing functions.
Parameter
pdfSpecify the handle of a document object
HPDF_SetPagesConfiguration
#include
<apdf.h>
HPDF_STATUS
HPDF_SetPagesConfiguration (HPDF_Doc pdf,
HPDF_UINT page_per_pages);
HPDF_STATUS
HPDF_SetPagesConfiguration (HPDF_Doc pdf,
HPDF_UINT page_per_pages);
Description
In the default setting, a HPDF_Doc object has one "Pages" object as
root of pages. All "Page" objects are created as a kid of the "Pages"
object.Since a "Pages" object can own only 8191 kids objects, the maximum number of pages are 8191 page.
Additionally, the state that there are a lot of "Page" object under one "Pages" object is not good, because it causes performance degradation of a viewer application.
An application can change the setting of a pages tree by invoking HPDF_SetPagesConfiguration(). If page_per_pages parameter is set to more than zero, a two-tier pages tree is created. A root "Pages" object can own 8191 "Pages" object, and each lower "Pages" object can own page_per_pages "Page" objects. As a result, the maximum number of pages becomes 8191 * page_per_pages page.
An application cannot invoke HPDF_SetPageConfiguration() after a page is added to document.
Parameter
pdfSpecify the handle of a document object.
page_per_pagesSpecify the numbers of pages that a "Pages"
object can own.
Returns
When HPDF_SetPageConfiguration() succeeds, it returns HPDF_OK. Otherwise, it returns error-code and error-handler is called.Error
HPDF_INVALID_DOCUMENTAn invalid document handle is set.
HPDF_INVALID_DOCUMENT_STATEA page object already exists in a document.
HPDF_FAILD_TO_ALLOC_MEM
Memory Allocation Failed.
HPDF_SetPageLayout
#include
<apdf.h>
HPDF_STATUS
HPDF_SetPageLayout (HPDF_Doc pdf,
HPDF_PageLayout layout);
HPDF_STATUS
HPDF_SetPageLayout (HPDF_Doc pdf,
HPDF_PageLayout layout);
Description
HPDF_SetPageLayout() sets how the page should be displayed. If this
attribute is not set, the setting of a viewer application is used.Parameter
pdfSpecify the handle of a document object.
layoutThe following values are available.
| Value |
Description |
| HPDF_PAGE_LAYOUT_SINGLE |
Only one page is displayed. |
| HPDF_PAGE_LAYOUT_ONE_COLUMN |
Display the pages in one column. |
| HPDF_PAGE_LAYOUT_TWO_COLUMN_LEFT |
Display the pages in two column.
The page of the odd number is displayed left. |
| HPDF_PAGE_LAYOUT_TWO_COLUMN_RIGHT |
Display the pages in two column.
The page of the odd number is displayed right. |
Returns
When HPDF_SetPageLayout() succeeds, it returns HPDF_OK. Otherwise, it returns error-code and error-handler is called.Error
HPDF_INVALID_DOCUMENTAn invalid document handle is set.
HPDF_FAILD_TO_ALLOC_MEM
Memory Allocation Failed.
HPDF_PAGE_LAYOUT_OUT_OF_RANGEAn invalid page layout is specified.
HPDF_GetPageLayout
#include
<apdf.h>
HPDF_PageLayout
HPDF_GetPageLayout (HPDF_Doc pdf);
HPDF_PageLayout
HPDF_GetPageLayout (HPDF_Doc pdf);
Description
HPDF_GetPageLayout() returns the current setting for page layout.Parameter
pdfSpecify the handle of a document object.
Returns
When HPDF_GetPageLayout() succeeds, it returns the current setting for page layout. If page layout is not set, it returns HPDF_PAGE_LAYOUT_EOFHPDF_SetPageMode
#include
"apdf.h"
HPDF_STATUS
HPDF_SetPageMode (HPDF_Doc pdf,
HPDF_PageMode mode);
HPDF_STATUS
HPDF_SetPageMode (HPDF_Doc pdf,
HPDF_PageMode mode);
Description
HPDF_SetPageMode() sets how the document should be displayed. Parameter
pdfSpecify the handle of a document object.
modeThe following values are available.
| Value |
Description |
| HPDF_PAGE_MODE_USE_NONE |
Display the document with neither outline nor thumbnail. |
| HPDF_PAGE_MODE_USE_OUTLINE |
Display the document with
outline pain. |
| HPDF_PAGE_MODE_USE_THUMBS |
Display the document with
thumbnail pain. |
| HPDF_PAGE_MODE_FULL_SCREEN |
Display the document with full
screen mode. |
Returns
When HPDF_SetPageMode() succeeds, it returns HPDF_OK. Otherwise, it returns error-code and error-handler is called.Error
HPDF_INVALID_DOCUMENTAn invalid document handle is set.
HPDF_FAILD_TO_ALLOC_MEM
Memory Allocation Failed.
HPDF_PAGE_MODE_OUT_OF_RANGEAn invalid page mode is specified.
HPDF_GetPageMode
#include
"apdf.h"
HPDF_PageMode
HPDF_GetPageMode (HPDF_Doc pdf);
HPDF_PageMode
HPDF_GetPageMode (HPDF_Doc pdf);
Description
HPDF_GetPageLayout() returns the current setting for page mode.Parameter
pdfSpecify the handle of a document object.
Returns
When HPDF_GetPageMode() succeeds, it returns the current setting for page mode.HPDF_SetOpenAction
#include <apdf.h>
HPDF_STATUS
HPDF_SetOpenAction (HPDF_Doc pdf,
HPDF_Destination open_action);
HPDF_STATUS
HPDF_SetOpenAction (HPDF_Doc pdf,
HPDF_Destination open_action);
Description
HPDF_SetOpenAction() set the first page appears when a document is
opened. Parameter
pdfSpecify the handle of a document object.
open_action
Set a valid destination object.
Returns
When HPDF_SetOpenAction() succeeds, it returns HPDF_OK. Otherwise, it returns error-code and error-handler is called.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEM
Memory Allocation Failed.
HPDF_INVALID_DESTINATIONAn invalid destination object was set.
HPDF_GetCurrentPage
#include
<apdf.h>
HPDF_Page
HPDF_GetCurrentPage (HPDF_Doc pdf);
HPDF_Page
HPDF_GetCurrentPage (HPDF_Doc pdf);
Description
HPDF_GetPageLayout() returns the handle of current page object.Parameter
pdfSpecify the handle of a document object.
Returns
When HPDF_GetPageLayout() succeeds, it returns the handle of a current page object. Otherwise it returns NULL.HPDF_AddPage
#include <apdf.h>
HPDF_Page
HPDF_AddPage (HPDF_Doc pdf);
HPDF_Page
HPDF_AddPage (HPDF_Doc pdf);
Description
HPDF_AddPage() creates a new page and adds it after the last page of a
document. Parameter
pdfSpecify the handle of a document object
Returns
When HPDF_AddPage() succeeds, it returns the handle of created page object. Otherwise, it returns error-code and error-handler is called.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEM
Memory Allocation Failed.
HPDF_InsertPage
#include <apdf.h>
HPDF_Page
HPDF_InsertPage (HPDF_Doc pdf,
HPDF_Page target)
HPDF_Page
HPDF_InsertPage (HPDF_Doc pdf,
HPDF_Page target)
Description
HPDF_InsertPage() creates a new page and inserts it just before the
specified page. Parameter
pdfSpecify the handle of a document object.
page
Specify the handle of a page object which
specifies the insertion place.
Returns
When HPDF_InsertPage() succeeds, it returns the handle of created page object. Otherwise, it returns NULL and error-handler is called.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_INVALID_PAGEAn invalid page handle was set.
HPDF_GetFont
#include "apdf.h"
HPDF_Font
HPDF_GetFont (HPDF_Doc pdf,
const char *font_name,
const char *encoding_name);
HPDF_Font
HPDF_GetFont (HPDF_Doc pdf,
const char *font_name,
const char *encoding_name);
Description
HPDF_GetFont gets the handle of a corresponding font object by
specified name and encoding.Parameter
pdfSpecify the handle of a document object.
font_name
encoding_name
Returns
When HPDF_GetFont() succeeds, it returns the handle of a font object. Otherwise, it returns NULL and error-handler is called.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_INVALID_FONT_NAME,
HPDF_UNSUPPORTED_FONT_TYPE
An invalid font name was set.
HPDF_INVALID_ENCODING_NAMEAn invalid encoding name was set.
HPDF_LoadType1FontFromFile
#include "apdf.h"
const char*
HPDF_LoadType1FontFromFile (HPDF_Doc pdf,
const char *afmfilename,
const char *pfmfilename);
const char*
HPDF_LoadType1FontFromFile (HPDF_Doc pdf,
const char *afmfilename,
const char *pfmfilename);
Description
HPDF_LoadType1FontFromFile loads a type1 font from an external file and
register it to a
document object. (See "Fonts
and Encodings")Parameter
pdfSpecify the handle of a document object.
afm_file_name
A path of an AFM file.
data_file_name
A path of a PFA/PFB file. If it is NULL, the
gryph data of font file is not embedded to a PDF file.
Returns
When HPDF_LoadType1FontFromFile() succeeds, it returns the name of a font. Otherwise, it returns NULL and error-handler is called.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_FONT_EXISTSThe font of the same name has already been
registered.
HPDF_INVALID_AFM_HEADER,
HPDF_INVALID_CHAR_MATRICS_DATA, HPDF_INVALID_N_DATACannot recognize AFM file.
HPDF_UNSUPPORTED_TYPE1_FONTCannot recognize PFA/PFB file.
HPDF_LoadTTFontFromFile
#include "apdf.h"
const char*
HPDF_LoadTTFontFromFile (HPDF_Doc pdf,
const char *file_name,
HPDF_BOOL embedding);
const char*
HPDF_LoadTTFontFromFile (HPDF_Doc pdf,
const char *file_name,
HPDF_BOOL embedding);
Description
HPDF_LoadTTFontFromFile loads a TrueType font from an external file and
register it to a
document object. (See "Fonts
and Encodings")Parameter
pdfSpecify the handle of a document object.
file_name
A path of a TrueType font file (.ttf).
embedding If this parameter is set to HPDF_TRUE, the glyph
data of the font is embedded, otherwise only the matrix data is
included in PDF file.
Returns
When HPDF_LoadTTFontFromFile() succeeds, it returns the name of a font. Otherwise, it returns NULL and error-handler is called.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_FONT_EXISTSThe font of the same name has already been
registered.
HPDF_INVALID_TTC_INDEX,
HPDF_INVALID_TTC_FILE, HPDF_TTF_INVALID_CMAP, HPDF_TTF_INVALID_FOMAT,
HPDF_TTF_MISSING_TABLE Failed to load .ttf file.
HPDF_TTF_CANNOT_EMBEDDING_FONTThe font is not allowed to embed.
HPDF_LoadTTFontFromFile2
#include "apdf.h"
HPDF_STATUS
HPDF_LoadTTFontFromFile2 (HPDF_Doc pdf,
const char *file_name,
HPDF_UINT index,
HPDF_BOOL embedding);
HPDF_STATUS
HPDF_LoadTTFontFromFile2 (HPDF_Doc pdf,
const char *file_name,
HPDF_UINT index,
HPDF_BOOL embedding);
Description
HPDF_LoadTTFontFromFile2 loads a TrueType font from an TrueType
collection file and register it to a
document object. (See "Fonts
and Encodings")Parameter
pdfSpecify the handle of a document object.
file_name
A path of a TrueType font collection file
(.ttc).
index
The index of font that wants to be loaded.
embedding If this parameter is set to HPDF_TRUE, the glyph
data of the font is embedded, otherwise only the matrix data is
included in PDF file.
Returns
When HPDF_LoadTTFontFromFile2() succeeds, it returns the name of a font. Otherwise, it returns NULL and error-handler is called.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_FONT_EXISTSThe font of the same name has already been
registered.
HPDF_INVALID_TTC_INDEX,
HPDF_INVALID_TTC_FILE, HPDF_TTF_INVALID_CMAP, HPDF_TTF_INVALID_FOMAT,
HPDF_TTF_MISSING_TABLE Failed to load .ttf file.
HPDF_TTF_CANNOT_EMBEDDING_FONTThe font is not allowed to embed.
HPDF_INVALID_TTC_INDEX
The value specified at index parameter exceeds
the number of fonts.
HPDF_AddPageLabel
#include "apdf.h"
HPDF_STATUS
HPDF_AddPageLabel (HPDF_Doc pdf,
HPDF_UINT page_num,
HPDF_PageNumStyle style,
HPDF_UINT first_page,
const char *prefix);
HPDF_STATUS
HPDF_AddPageLabel (HPDF_Doc pdf,
HPDF_UINT page_num,
HPDF_PageNumStyle style,
HPDF_UINT first_page,
const char *prefix);
Description
HPDF_AddPageLabel() adds a page labeling range for the document.Parameter
pdfThe handle of a document object.
page_num
The first page that applies this labeling range.
style
The numbering style.
first_page
| Value |
Description |
|
| 1 |
HPDF_PAGE_NUM_STYLE_DECIMAL |
Page label is displayed by
Arabic numerals. |
| 2 |
HPDF_PAGE_NUM_STYLE_UPPER_ROMAN |
Page label is displayed by
Uppercase roman numerals. |
| 3 |
HPDF_PAGE_NUM_STYLE_LOWER_ROMAN |
Page label is displayed by
Lowercase roman numerals. |
| 4 |
HPDF_PAGE_NUM_STYLE_UPPER_LETTERS |
Page label is displayed by
Uppercase letters (using A to Z). |
| 5 |
HPDF_PAGE_NUM_STYLE_LOWER_LETTERS |
Page label is displayed by Lowercase letters (using a to z). |
The first page number in this range.
prefix
The prefix for the page label. (NULL is
allowed.)
Returns
When HPDF_AddPageLabel () succeeds, it returns HPDF_OK. Otherwise, it returns error code and error-handler is invoked.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_PAGE_NUM_STYLE_OUT_OF_RANGEAn invalid page numbering style is specified.
HPDF_UseJPFonts
#include "apdf.h"
HPDF_STATUS
HPDF_UseJPFonts (HPDF_Doc pdf);
HPDF_STATUS
HPDF_UseJPFonts (HPDF_Doc pdf);
Description
HPDF_UseJPFonts() enables Japanese fonts. After HPDF_UseJPFonts() is
involed, an application can use the following Japanese fonts.- MS-Mincyo
- MS-Mincyo,Bold
- MS-Mincyo,Italic
- MS-Mincyo,BoldItalic
- MS-Gothic
- MS-Gothic,Bold
- MS-Gothic,Italic
- MS-Gothic,BoldItalic
- MS-PMincyo
- MS-PMincyo,Bold
- MS-PMincyo,Italic
- MS-PMincyo,BoldItalic
- MS-PGothic
- MS-PGothic,Bold
- MS-PGothic,Italic
- MS-PGothic,BoldItalic
Parameter
pdfThe handle of a document object.
Returns
When HPDF_UseJPFonts() succeeds, it returns HPDF_OK. Otherwise, it returns error code and error-handler is invoked.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_DUPLICATE_REGISTRATIONThe font of the same name has already been
registered.
HPDF_UseKRFonts
#include "apdf.h"
HPDF_STATUS
HPDF_UseKRFonts (HPDF_Doc pdf);
HPDF_STATUS
HPDF_UseKRFonts (HPDF_Doc pdf);
Description
HPDF_UseKRFonts() enables Korean fonts. After HPDF_UseKRFonts()
is involed, an application can use the following Korean fonts.- DotumChe
- DotumChe,Bold
- DotumChe,Italic
- DotumChe,BoldItalic
- Dotum
- Dotum,Bold
- Dotum,Italic
- Dotum,BoldItalic
- BatangChe
- BatangChe,Bold
- BatangChe,Italic
- BatangChe,BoldItalic
- Batang
- Batang,Bold
- Batang,Italic
- Batang,BoldItalic
Parameter
pdfThe handle of a document object.
Returns
When HPDF_UseKRFonts() succeeds, it returns HPDF_OK. Otherwise, it returns error code and error-handler is invoked.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_DUPLICATE_REGISTRATIONThe font of the same name has already been
registered.
HPDF_UseCNSFonts
#include "apdf.h"
HPDF_STATUS
HPDF_UseCNSFonts (HPDF_Doc pdf);
HPDF_STATUS
HPDF_UseCNSFonts (HPDF_Doc pdf);
Description
HPDF_UseCNSFonts() enables simplified Chinese fonts. After
HPDF_UseCNSFonts()
is involed, an application can use the following simplified Chinese
fonts.- SimSun
- SimSun,Bold
- SimSun,Italic
- SimSun,BoldItalic
- SimHei
- SimHei,Bold
- SimHei,Italic
- SimHei,BoldItalic
Parameter
pdfThe handle of a document object.
Returns
When HPDF_UseCNSFonts() succeeds, it returns HPDF_OK. Otherwise, it returns error code and error-handler is invoked.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_DUPLICATE_REGISTRATIONThe font of the same name has already been
registered.
HPDF_UseCNTFonts
#include "apdf.h"
HPDF_STATUS
HPDF_UseCNTFonts (HPDF_Doc pdf);
HPDF_STATUS
HPDF_UseCNTFonts (HPDF_Doc pdf);
Description
HPDF_UseCNTFonts() enables traditional Chinese fonts. After
HPDF_UseCNTFonts()
is involed, an application can use the following traditional Chinese
fonts.- MingLiU
- MingLiU,Bold
- MingLiU,Italic
- MingLiU,BoldItalic
Parameter
pdfThe handle of a document object.
Returns
When HPDF_UseCNSFonts() succeeds, it returns HPDF_OK. Otherwise, it returns error code and error-handler is invoked.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_DUPLICATE_REGISTRATIONThe font of the same name has already been
registered.
HPDF_CreateExtGstate
#include "apdf.h"
HPDF_ExtGState
HPDF_CreateExtGState (HPDF_Doc pdf);;
HPDF_ExtGState
HPDF_CreateExtGState (HPDF_Doc pdf);;
Description
HPDF_CreateExtGState() creates a new extended graphics state object.As a side effect, HPDF_CreateExtGState() bumps up the version of PDF to 1.4.
NOTE:
In Acrobat Reader 5.0, when ExtGState object is used combined with HPDF_Page_Concat(), there is a case that cannot be correctly displayed.
In Acrobat Reader 5.0, when ExtGState object is used combined with HPDF_Page_Concat(), there is a case that cannot be correctly displayed.
Parameter
pdfThe handle of a document object.
Returns
When HPDF_CreateExtGState() succeeds, it returns the handle of created extended graphics stateobject. Otherwise, it returns NULL and error-handler is invoked.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_CreateOutline
#include "apdf.h"
HPDF_Outline
HPDF_CreateOutline (HPDF_Doc pdf,
HPDF_Outline parent,
const char *title,
HPDF_Encoder encoder);
HPDF_Outline
HPDF_CreateOutline (HPDF_Doc pdf,
HPDF_Outline parent,
const char *title,
HPDF_Encoder encoder);
Description
HPDF_CreateOutline() creates a new outline object.Parameter
pdfThe handle of a document object.
parent
The handle of an outline object which comes to
the parent of the created outline object.
If this parameter is NULL, The outline is created as a root outline.
title
If this parameter is NULL, The outline is created as a root outline.
The caption of the outline object.
encoderThe handle of an encoding object applied to the
title. If NULL is set, PDFDocEncoding is used.
Returns
When HPDF_CreateOutline() succeeds, it returns the handle of created outline object. Otherwise, it returns NULL and error-handler is invoked.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_INVALID_OUTLINEAn invalid parent outline is specified.
HPDF_GetEncoder
#include "apdf.h"
HPDF_Encoder
HPDF_GetEncoder (HPDF_Doc pdf,
const char *encoding_name);
HPDF_Encoder
HPDF_GetEncoder (HPDF_Doc pdf,
const char *encoding_name);
Description
HPDF_GetEncoder() gets the handle of a corresponding encoder object by
specified encoding name.Parameter
pdfSpecify the handle of a document object.
encoding_name
Returns
When HPDF_GetEncoder() succeeds, it returns the handle of an encoder object. Otherwise, it returns NULL and error-handler is called.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_INVALID_ENCODING_NAMEAn invalid encoding name was set.
HPDF_GetCurrentEncoder
#include "apdf.h"
HPDF_Encoder
HPDF_GetCurrentEncoder (HPDF_Doc pdf);
HPDF_Encoder
HPDF_GetCurrentEncoder (HPDF_Doc pdf);
Description
HPDF_GetCurrentEncoder() gets the handle of the current encoder of the
document object.The current encoder is set by invoking HPDF_SetCurrentEncoder() and it is used to processing a text when an application invoks HPDF_Info_SetInfoAttr().
The default value of it is NULL.
Parameter
pdfA handle of a document object.
Returns
It returns a handle of an encoder object or NULL.HPDF_SetCurrentEncoder
#include "apdf.h"
HPDF_Outline
HPDF_SetCurrentEncoder (HPDF_Doc pdf,
const char *encoding_name);
HPDF_Outline
HPDF_SetCurrentEncoder (HPDF_Doc pdf,
const char *encoding_name);
Description
HPDF_SetCurrentEncoder() sets the current encoder for the document.Parameter
pdfThe handle of a document object.
encoding_name
Returns
When HPDF_SetCurrentEncoder() succeeds, it returns the handle of created outline object. Otherwise, it returns NULL and error-handler is invoked.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_INVALID_ENCODING_NAMEAn invalid encoding name was set.
HPDF_UseJPEncodings
#include "apdf.h"
HPDF_STATUS
HPDF_UseJPEncodings (HPDF_Doc pdf);
HPDF_STATUS
HPDF_UseJPEncodings (HPDF_Doc pdf);
Description
HPDF_UseJPEncodings() enables Japanese encodings. After
HPDF_UseJPEncodings() is
involed, an application can use the following Japanese encodings.- 90ms-RKSJ-H
- 90ms-RKSJ-V
- 90msp-RKSJ-H
- EUC-H
- EUC-V
Parameter
pdfThe handle of a document object.
Returns
When HPDF_UseJPEncodings() succeeds, it returns HPDF_OK. Otherwise, it returns error code and error-handler is invoked.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_DUPLICATE_REGISTRATIONThe encoding of the same name has already been
registered.
HPDF_UseKREncodings
#include "apdf.h"
HPDF_STATUS
HPDF_UseKREncodings (HPDF_Doc pdf);
HPDF_STATUS
HPDF_UseKREncodings (HPDF_Doc pdf);
Description
HPDF_UseKREncodings() enables Korean encodings. After
HPDF_UseKREncodings() is
involed, an application can use the following Korean encodings.- KSC-EUC-H
- KSC-EUC-V
- KSCms-UHC-H
- KSCms-UHC-HW-H
- KSCms-UHC-HW-V
Parameter
pdfThe handle of a document object.
Returns
When HPDF_UseKREncodings() succeeds, it returns HPDF_OK. Otherwise, it returns error code and error-handler is invoked.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_DUPLICATE_REGISTRATIONThe encodingof the same name has already been
registered.
HPDF_UseCNSEncodings
#include "apdf.h"
HPDF_STATUS
HPDF_UseCNSEncodings (HPDF_Doc pdf);
HPDF_STATUS
HPDF_UseCNSEncodings (HPDF_Doc pdf);
Description
HPDF_UseCNSEncodings() enables simplified Chinese encodings. After
HPDF_UseCNSEncodings()
is involed, an application can use the following simplified Chinese
encodings.- GB-EUC-H
- GB-EUC-V
- GBK-EUC-H
- GBK-EUC-V
Parameter
pdfThe handle of a document object.
Returns
When HPDF_UseCNSEncodings() succeeds, it returns HPDF_OK. Otherwise, it returns error code and error-handler is invoked.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_DUPLICATE_REGISTRATIONThe encoding of the same name has already been
registered.
HPDF_UseCNTEncodings
#include "apdf.h"
HPDF_STATUS
HPDF_UseCNTEncodings (HPDF_Doc pdf);
HPDF_STATUS
HPDF_UseCNTEncodings (HPDF_Doc pdf);
Description
HPDF_UseCNTEncodings() enables traditional Chinese encodings. After
HPDF_UseCNTEncodings()
is involed, an application can use the following traditional Chinese
encodings.- GB-EUC-H
- GB-EUC-V
- GBK-EUC-H
- GBK-EUC-V
Parameter
pdfThe handle of a document object.
Returns
When HPDF_UseCNTEncodings() succeeds, it returns HPDF_OK. Otherwise, it returns error code and error-handler is invoked.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_DUPLICATE_REGISTRATIONThe encoding of the same name has already been
registered.
HPDF_LoadPngImageFromFile
#include "apdf.h"
HPDF_Image
HPDF_LoadPngImageFromFile (HPDF_Doc pdf,
const char *filename);
HPDF_Image
HPDF_LoadPngImageFromFile (HPDF_Doc pdf,
const char *filename);
Description
HPDF_LoadPngImageFromFile() loads an external png image file. Parameter
pdfSpecify the handle of a document object.
filename
A path to a PNG image file.
Returns
When HPDF_LoadPngImageFromFile() succeeds, it returns the handle of an image object. Otherwise, it returns NULL and error-handler is called.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_UNSUPPORTED_FUNCThe library is not configured to use PNGLIB.
HPDF_LIBPNG_ERRORFailed when invoking PNGLIB's function.
HPDF_INVALID_PNG_IMAGEInvalid png format.
HPDF_LoadPngImageFromFile2
#include "apdf.h"
HPDF_Image
HPDF_LoadPngImageFromFile2 (HPDF_Doc pdf,
const char *filename);
HPDF_Image
HPDF_LoadPngImageFromFile2 (HPDF_Doc pdf,
const char *filename);
Description
HPDF_LoadPngImageFromFile2() loads an external png image file.Unlike HPDF_LoadPngImageFromFile(), HPDF_LoadPngImageFromFile2() does not load whole data immediately. (only size and color properties is loaded).
The main data is loaded just before the image object is written to PDF, and the loaded data is deleted immediately.
Parameter
pdfSpecify the handle of a document object.
filename
A path to a PNG image file.
Returns
When HPDF_LoadPngImageFromFile2() succeeds, it returns the handle of an image object. Otherwise, it returns NULL and error-handler is called.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_UNSUPPORTED_FUNCThe library is not configured to use PNGLIB.
HPDF_LIBPNG_ERRORFailed when invoking PNGLIB's function.
HPDF_INVALID_PNG_IMAGEInvalid png format.
HPDF_LoadRawImageFromFile
#include "apdf.h"
HPDF_Image
HPDF_LoadRawImageFromFile (HPDF_Doc pdf,
const char *filename,
HPDF_UINT width,
HPDF_UINT height,
HPDF_ColorSpace color_space);
HPDF_Image
HPDF_LoadRawImageFromFile (HPDF_Doc pdf,
const char *filename,
HPDF_UINT width,
HPDF_UINT height,
HPDF_ColorSpace color_space);
Description
HPDF_LoadRawImageFromFile() loads an image which has "raw" image format.This function loads the data without any conversion. So it is usually faster than the other functions.
HPDF_LoadRawImageFromFile() can load 3 types of format described below.
1. 8 bit gray scale image.
The gray scale describes one pixel by one byte.
And the size of the image data is same as width * height.
The sequence of the data is as follows.
1. 24bit RGB color image.
The sequence of the data is as follows.
| 1 |
2 |
3 |
4 |
| 6 |
7 |
8 |
9 |
| 11 |
12 |
13 |
14 |
The 24bit RGB color image describes one pixel by
3 byte (each one byte describes a value of either red, green or blue).
And the size of the image is same as width * height * 3.
The sequence of the data is as follows.
1. 36bit CMYK color image.
The sequence of the data is as follows.
| 1 |
1 |
1 |
2 |
2 |
2 |
3 |
3 |
3 |
4 |
4 |
4 |
| 6 |
6 |
6 |
7 |
7 |
7 |
8 |
8 |
8 |
9 |
9 |
9 |
| 11 |
11 |
11 |
12 |
12 |
12 |
13 |
13 |
13 |
14 |
14 |
14 |
The 36bit CMYK color image describes one pixel
by 4 byte (each one byte describes a value of either Cyan Magenta
Yellow Black). And the size of the image is same as width * height * 4.
The sequence of the data is as follows.
The sequence of the data is as follows.
| 1 |
1 |
1 |
1 |
2 |
2 |
2 |
2 |
3 |
3 |
3 |
3 |
4 |
4 |
4 |
4 |
| 6 |
6 |
6 |
6 |
7 |
7 |
7 |
7 |
8 |
8 |
8 |
8 |
9 |
9 |
9 |
9 |
| 11 |
11 |
11 |
11 |
12 |
12 |
12 |
12 |
13 |
13 |
13 |
13 |
14 |
14 |
14 |
14 |
Parameter
pdfSpecify the handle of a document object.
filename
A path to a image file.
widthThe width of an image file.
heightThe height of an image file.
color_spaceHPDF_CS_DEVICE_GRAY or HPDF_CS_DEVICE_RGB or
HPDF_CS_DEVICE_CMYK is allowed.
Returns
When HPDF_LoadRawImageFromFile() succeeds, it returns the handle of an image object. Otherwise, it returns NULL and error-handler is called.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_INVALID_COLOR_SPACEAn invalid color_space value is specified.
HPDF_INVALID_IMAGEThe size of an image data is invalid.
HPDF_FILE_IO_ERRORCannot read data from the file.
HPDF_LoadRawImageFromMem
#include "apdf.h"
HPDF_Image
HPDF_LoadRawImageFromMem (HPDF_Doc pdf,
const HPDF_BYTE *buf,
HPDF_UINT width,
HPDF_UINT height,
HPDF_ColorSpace color_space,
HPDF_UINT bits_per_component);
HPDF_Image
HPDF_LoadRawImageFromMem (HPDF_Doc pdf,
const HPDF_BYTE *buf,
HPDF_UINT width,
HPDF_UINT height,
HPDF_ColorSpace color_space,
HPDF_UINT bits_per_component);
Description
HPDF_LoadRawImageFromMem() loads an image which has "raw" image format
from buffer.This function loads the data without any conversion. So it is usually faster than the other functions.
The formats that HPDF_LoadRawImageFromMem() can load is the same as HPDF_LoadRawImageFromFile().
Parameter
pdfSpecify the handle of a document object.
buf
The pointer to the image data.
widthThe width of an image file.
heightThe height of an image file.
color_spaceHPDF_CS_DEVICE_GRAY or HPDF_CS_DEVICE_RGB or
HPDF_CS_DEVICE_CMYK is allowed.
bits_per_componentThe bit size of each color component. The valid
value is either 1, 2, 4, 8.
Returns
When HPDF_LoadRawImageFromMem() succeeds, it returns the handle of an image object. Otherwise, it returns NULL and error-handler is called.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_INVALID_COLOR_SPACEAn invalid color_space value is specified.
HPDF_INVALID_IMAGEThe size of an image data is invalid.
HPDF_LoadJpegImageFromFile
#include "apdf.h"
HPDF_Image
HPDF_LoadJpegImageFromFile (HPDF_Doc pdf,
const char *filename);
HPDF_Image
HPDF_LoadJpegImageFromFile (HPDF_Doc pdf,
const char *filename);
Description
HPDF_LoadJpegImageFromFile() loads an external Jpeg image file.Parameter
pdfSpecify the handle of a document object.
filename
A path to a Jpeg image file.
Returns
When HPDF_LoadJpegImageFromFile() succeeds, it returns the handle of an image object. Otherwise, it returns NULL and error-handler is called.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_UNSUPPORTED_JPEG_FORMATUnsupported () JPEG image format.
HPDF_SetInfoAttr
#include "apdf.h"
HPDF_STATUS
HPDF_SetInfoAttr (HPDF_Doc pdf,
HPDF_InfoType type,
const char *value);
HPDF_STATUS
HPDF_SetInfoAttr (HPDF_Doc pdf,
HPDF_InfoType type,
const char *value);
Description
HPDF_SetInfoAttr() sets the text of the info dictionary.
HPDF_SetInfoAttr() uses the current encoding of the document. If it is
not set, the PDFDocEncoding is used.Parameter
pdfSpecify the handle of a document object.
type
The following values are available.
value- HPDF_INFO_AUTHOR
- HPDF_INFO_CREATOR
- HPDF_INFO_TITLE
- HPDF_INFO_SUBJECT
- HPDF_INFO_KEYWORDS
A text to set the infomation.
Returns
When HPDF_SetInfoAttr() succeeds, it returns HPDF_OK. Otherwise, it returns error code and error-handler is called.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_INVALID_PARAMETERAn invalid type parameter was set.
HPDF_GetInfoAttr
#include "apdf.h"
const char*
HPDF_GetInfoAttr (HPDF_Doc pdf,
HPDF_InfoType type);
const char*
HPDF_GetInfoAttr (HPDF_Doc pdf,
HPDF_InfoType type);
Description
HPDF_GetInfoAttr() gets the string value fron info dictionary.Parameter
pdfSpecify the handle of a document object.
type
The following values are available.
- HPDF_INFO_CREATION_DATE
- HPDF_INFO_MOD_DATE
- HPDF_INFO_AUTHOR
- HPDF_INFO_CREATOR
- HPDF_INFO_TITLE
- HPDF_INFO_SUBJECT
- HPDF_INFO_KEYWORDS
Returns
When HPDF_GetInfoAttr() succeeds, it returns the string value of the info dictionary.If the infomation has not been set or an error has occurred, it returns NULL
Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_INVALID_PARAMETERAn invalid type parameter was set.
HPDF_SetInfoDateAttr
#include "apdf.h"
typedef struct _HPDF_Date {
HPDF_INT year;
HPDF_INT month;
HPDF_INT day;
HPDF_INT hour;
HPDF_INT minutes;
HPDF_INT seconds;
char ind;
HPDF_INT off_hour;
HPDF_INT off_minutes;
} HPDF_Date;
HPDF_STATUS
HPDF_Info_SetInfoDateAttr (HPDF_Dict info,
HPDF_InfoType type,
HPDF_Date value);
typedef struct _HPDF_Date {
HPDF_INT year;
HPDF_INT month;
HPDF_INT day;
HPDF_INT hour;
HPDF_INT minutes;
HPDF_INT seconds;
char ind;
HPDF_INT off_hour;
HPDF_INT off_minutes;
} HPDF_Date;
HPDF_STATUS
HPDF_Info_SetInfoDateAttr (HPDF_Dict info,
HPDF_InfoType type,
HPDF_Date value);
Description
HPDF_SetInfoDateAttr() sets the datetime value to the info dictionary. Parameter
pdfSpecify the handle of a document object.
type
The following values are available.
value- HPDF_INFO_CREATION_DATE
- HPDF_INFO_MOD_DATE
A datetime value to set the infomation.
HPDF_Date struct
HPDF_Date struct
| name |
effective
values |
|
| 1 |
year |
|
| 2 |
month |
between 1 and 12. |
| 3 |
day |
between 1 and ether of 28, 29,
30, 31. (It is different by the month.) |
| 4 |
hour |
0 to 23 |
| 5 |
minutes |
0 to 59 |
| 6 |
seconds |
0 to 59 |
| 7 |
ind |
the relationship of local time
to Universal Time. " ", +, −, and Z are available. |
| 8 |
off_hour |
if ind is not space, 0 to 23 is
valid. Otherwise, this value is ignored. |
| 9 |
off_minutes |
if ind is not space, 0 to 59 is valid. Otherwise, this value is ignored. |
Returns
When HPDF_SetInfoDateAttr() succeeds, it returns HPDF_OK. Otherwise, it returns error code and error-handler is called.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_INVALID_PARAMETERAn invalid type parameter was set.
HPDF_INVALID_DATE_TIME
An invalid datetime value was set.
HPDF_SetPassword
#include "apdf.h"
HPDF_STATUS
HPDF_SetPassword (HPDF_Doc pdf,
const char *owner_passwd,
const char *user_passwd);
HPDF_STATUS
HPDF_SetPassword (HPDF_Doc pdf,
const char *owner_passwd,
const char *user_passwd);
Description
HPDF_SetPassword() sets the pasword for the document.If the password is set, contents in the document are encrypted.
Parameter
pdfSpecify the handle of a document object.
owner_password
The password for the owner of the document. The
owner can change the permission of the document.
NULL, zero length string and the same value as user password are not allowed.
user_passwordNULL, zero length string and the same value as user password are not allowed.
The password for the user of the document. The
user_password is allowed to be set to NULL or zero length string.
Returns
When HPDF_SetPassword() succeeds, it returns HPDF_OK. Otherwise, it returns error code and error-handler is called.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_INVALID_PASSWORDNULL, zero length string and the same value as
user password are set to owner-password.
HPDF_SetPermission
#include "apdf.h"
HPDF_STATUS
HPDF_SetPermission (HPDF_Doc pdf,
HPDF_UINT permission);
HPDF_STATUS
HPDF_SetPermission (HPDF_Doc pdf,
HPDF_UINT permission);
Description
HPDF_SetPermission() set the flags of the permission for the document.Parameter
pdfSpecify the handle of a document object.
permissionThe flags specifying which operations are
permitted. This parameter is set by logical addition of the following
values.
| value |
description |
|
| 1 |
HPDF_ENABLE_READ |
user can read the document. |
| 2 |
HPDF_ENABLE_PRINT |
user can print the document. |
| 3 |
HPDF_ENABLE_EDIT_ALL |
user can edit the contents of
the document other than annotations, form fields. |
| 4 |
HPDF_ENABLE_COPY |
user can copy the text and the graphics of the document. |
| 5 |
HPDF_ENABLE_EDIT |
user can add or modify the
annotations and form fields of the document. |
Returns
When HPDF_SetPermission() succeeds, it returns HPDF_OK. Otherwise, it returns error code and error-handler is called.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_SetEncryptionMode
#include "apdf.h"
HPDF_STATUS
HPDF_SetEncryptionMode (HPDF_Doc pdf,
HPDF_EncryptMode mode,
HPDF_UINT key_len);
HPDF_STATUS
HPDF_SetEncryptionMode (HPDF_Doc pdf,
HPDF_EncryptMode mode,
HPDF_UINT key_len);
Description
HPDF_SetEncryptionMode() set the type of encryption.As the side effect, HPDF_SetEncryptionMode() ups the version of PDF to 1.4 when the mode is set to HPDF_ENCRYPT_R3.
Parameter
pdfSpecify the handle of a document object.
modeThe flags specifying which operations are
permitted. This parameter is set by logical addition of the following
values.
key_len| value |
description |
|
| 1 |
HPDF_ENCRYPT_R2 |
Use "Revision 2" algorithm. The length of key is automatically set to 5(40bit). |
| 2 |
HPDF_ENCRYPT_R3 |
Use "Revision 3" algorithm. Between 5(40bit) and 16(128bit) can be specified for length of the key. |
Specify the byte length of an encryption key.
This parameter is valid only when "mode" parameter is set to
HPDF_ENCRYPT_R3.
Between 5(40bit) and 16(128bit) can be specified for length of the key.
Between 5(40bit) and 16(128bit) can be specified for length of the key.
Returns
When HPDF_SetEncryptionMode() succeeds, it returns HPDF_OK. Otherwise, it returns error code and error-handler is called.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_INVALID_ENCRYPT_KEY_LENAn invalid key length was specified.
HPDF_FAILD_TO_ALLOC_MEMMemory Allocation Failed.
HPDF_SetCompressionMode
#include "apdf.h"
HPDF_STATUS
HPDF_SetCompressionMode (HPDF_Doc pdf,
HPDF_UINT mode);
HPDF_STATUS
HPDF_SetCompressionMode (HPDF_Doc pdf,
HPDF_UINT mode);
Description
HPDF_SetCompressionMode() set the mode of compression.Parameter
pdfSpecify the handle of a document object.
modeThe flags specifying which type of contents
should be compressed.
| value |
description |
|
| 1 |
HPDF_COMP_NONE |
All contents are not compressed.
|
| 2 |
HPDF_COMP_TEXT |
Compress the contents stream of the page. |
| 3 |
HPDF_COMP_IMAGE |
Compress the streams of the
image
objects. |
| 4 |
HPDF_COMP_METADATA |
Other stream datas (fonts,
cmaps and so on) are compressed. |
| 5 |
HPDF_COMP_ALL | All stream datas are compressed.
(The same as "HPDF_COMP_TEXT | HPDF_COMP_IMAGE | HPDF_COMP_METADATA") |
Returns
When HPDF_SetCompressionMode() succeeds, it returns HPDF_OK. Otherwise, it returns error code and error-handler is called.Error
HPDF_INVALID_DOCUMENTAn invalid document handle was set.
HPDF_INVALID_COMPRESSION_MODEAn invalid compression mode was specified.
HPDF_FAILD_TO_ALLOC_MEM
Memory Allocation Failed.


{{ partial "header.html" . }}
About
- It is a Vulnerable Web Application build in Node.js for learning and practicing web application security. It is like a social media platform where people can connect with each other.
- EJS is used as a frontend development templating engine with bootstrap and a mix of a simple HTML, CSS is used to build this vulnerable web application.
- Express libraries which are used are
- Multer (file upload both with s3 bucket and disk storage).
- Passport.js (for cookie-based authentication and JWT authentication).
- Basically this application contains various vulnerabilities as challenges for you to solve.
How to Install
- Download: Click here
- Go to side bar menu "Setup" tab to see how to configure the Threads application in your local system.
Features
This is like a social media application so it consist some of the similar features like:
- A user can sign up and login into this application.
- A user can create posts, he/she can also add images to the post he/she creates.
- A user can like and can comment on other users posts.
- A user can also chat with other users.
- A user can tag as many users he want to tag in his post.
All Challenges
Low level severity
- Self XSS
- CSRF(Cross-site Request Forgery)
- Hidden directories
Medium level severity
High level severity
- IDOR(Insecure Direct Object Reference)
- Stored XSS
- SSRF(Server-side Request Forgery)
Critical level severity
{{ partial "footer.html" . }}


Cheese star biscuits recipe
by Xanthe ClayThese classic buttery cheddar biscuits, made with a hint of cayenne and mustard powder, are great with drinks.
Prep time: 25 minutes, plus 1 hour chilling | Cooking time: 18-20 minutes
MAKES
About 30
INGREDIENTS
- 200g mature cheddar, grated
- 100g plain flour
- 1 tbsp cornflour
- ½ tsp salt
- ¼ tsp cayenne pepper
- 1 tsp mustard powder
- 100g chilled butter, grated
METHOD
- In a food processor, pulse together the cheese, flour, cornflour, salt, cayenne, and mustard powder to make a nubbly sand. Add the butter and pulse again until evenly combined.
- Tip the mixture out on to the work surface and bring together with your hands to make a dough, sprinkling over a little water if it is dry. On a sheet of baking parchment, roll out to ½cm thick. Cover and chill for at least a couple of hours, or up to two days.
- Preheat the oven to 180C/160C fan/Gas 4.
- Cut the dough into star shapes and lay on two baking sheets lined with baking parchment, at least 1cm apart.
- Bake for 10 minutes, then turn the baking sheets.
- Bake for another eight to 10 minutes until pale gold.
- Cool on the baking sheets.


Welcome to the CDD Docs
These pages will hold all useful non-internal documentation and best practices.
The repo for these docs are located here: https://github.com/cddnation/cddnation.github.io
Requirements
To run/build jekyll you need a couple of things installed:
- Ruby 1.9.3 or 2.0.0 installed (ruby –version)
- Bundler
gem install bundler
How to contribute
To contribute to this site, do the following…


Airflow Extension - Settings
DAGs highlighter
Highlight DAGs in the main Airflow page.
Use csv. Ex: dag1,dag2,dag3
Navbar color changer
Change the color of the Airflow navbar, useful when working on multiple environments.
Use csv without https. Ex: url1.fr,url2.com
Use csv without https. Ex: url1.fr,url2.com
Colorblind options
Change the colors of task's states, whereas you're colorblind or not.


<HAX.PSU>
Make something awesome!
What is HAX?
HAX is a paradigm shift for web publishing. It puts advanced authoring capabilities in the hands of everyone, regardless of technical ability and all items made are sustainability built in highly semantic HTML.
Why HAX?
- Simplicity - Blocks, Media, Edit system to ensure ease of use
- Sustainability - Writes HTML + Web components so it will never go out of date!
- Portability - HAX sites can be downloaded as single ZIP folder and put on any server
- Community - A diverse network of educators, students and staff driving requirements
- Accessible - HAX elements and themes are highly accessible and proactively prevent making common A11y mistakes
- Stylish - HAX themes are decoupled from designed, meaning content isn't tied to presentation.


ZwWdP 20.09.2011
|
Zeit |
Interpret |
Titel |
|
20 h |
Paul Weller |
Hung Up |
|
|
Mixed Emotions |
Gold Of My Life |
|
|
Michael Kiwanuka |
I Need Your Company |
|
|
Madness |
It Must Be Love |
|
|
Cashier No.9 |
Goldstar |
|
|
Tahiti 80 |
1,000 Times |
|
|
Mamas Gun |
Reconnection |
|
|
Alpha |
Hope Goes Blind 2011 |
|
|
Amor de Dias |
I See Your Face |
|
|
Tony Clarke |
The Entertainer |
|
|
Neon Indian |
Polish Girl |
|
|
The Waterboys |
A Girl Called Johnny |
|
|
The Waterboys |
White Birds |
|
|
DJ Y Alias JY |
Duffy Train Running |
|
|
Seahawks |
Candy Coloured Lady |
|
21 h |
Aqualung |
Brighter Than Sunshine |
|
|
Glen Campbell |
Wichita Lineman |
|
|
Glen Campbell |
Ghost On The Canvas |
|
|
Michael Kiwanuka |
Tell Me A Tale |
|
|
Michael Kiwanuka |
I'm Getting Ready |
|
|
Rufus Wainwright |
Cigarettes And Chocolate Milk |
|
|
Julian Cope |
China Doll |
|
|
Orwell |
Clair |
|
|
Oh Minnows |
You'll Never Know Us |
|
|
Memory Tapes |
Wait In The Dark |
|
|
The Waterboys |
A Man Is In Love |
|
|
Bent |
As You Fall |
|
|
Cashier No. 9 |
Good Human |
|
|
John Stammers |
Idle I'm (Shawn Lee Remix) |
|
|
The Kramford Look |
Justine |
|
22 h |
Shuggie Otis |
Aht Uh Mi Hed |
|
|
Kasabian |
La Fee Verte |
|
|
Michael Kiwanuka |
Any Day Will Do Fine |
|
|
Edward Sharpe & The Magnetic Zeros |
Simplest Love |
|
|
Mamas Gun |
We Make It Look So Easy |
|
|
Kylie Minogue |
Wonderful Life |
|
|
John Martyn |
Certain Surprise |
|
|
Stereophonics |
First Time Ever I Saw Your Face |
|
|
Alpha |
Because Of You |
|
|
The Very Most |
Anna & Mo |
|
|
Glen Campbell |
There's No Me Without You |
|
|
Jay Sean |
I Gotta Feeling |
|
|
Doris Day |
You Are So Beautiful |
|
|
Undersea Poem |
Against The Wall |
|
|
Kevin Hume |
Curtain Number On |


Eddie Murphy 'tried to stop Whitney Houston marrying Bobby Brown' on wedding day
A new memoir by Robyn Crawford has detailed her life with Whitney Houston and has revealed that Eddie Murphy looked to make a last minute intervention on her wedding day
by James Brinsford, https://www.facebook.com/james.brinsfordEddie Murphy allegedly made a last minute bid to stop Whitney Houston marrying Bobby Brown, according to a new memoir by the singer's closest friend.
Robyn Crawford has penned the book that shares intimate details of her friendship with superstar singer Whitney.
Crawford was the singer's best friend for more than three decades and she has recalled how Whitney was once infatuated with Hollywood star Eddie Murphy.
In her book, Crawford has revealed that while Bobby Brown pursued the attentions of Whitney in 1989, she was hoping for a bit of romance with Murphy, and "lost herself" in the process.
Crawford wrote: "She was more interested in Eddie Murphy, but he was elusive.”
They were supposedly meant to get together for a dinner date at Whitney's New Jersey mansion and she went all out to impress Murphy.
Crawford wrote about that night: "One day when Eddie was supposed to come for dinner, I caught a glimpse of Whitney.
"She was wearing a black dress and low-heeled slingbacks. For a moment, I thought ‘Boy, I wish she was doing that for me.'"
It was to end in sadness though as Murphy "never showed up that night,” leaving Whitney devastated by the rejection.
On the morning of her wedding day on July 18, 1992, Whitney was getting ready to say "I do" to Bobby Brown, when she received a surprise call from Murphy.
He was allegedly making a last ditch attempt to stop Whitney from tying the knot with the singer but it was to fall on deaf ears.
Crawford recalled: "[That day] Eddie Murphy called to say she was making a mistake, but she pressed ahead.”
Whitney's health and wellbeing would be on a slippery slope from then on and Crawford said that it was difficult watching her friend becoming isolated.
She is hoping that her book will redress the view of Whitney and share what a 'big hearted and generous friend' she was.
Crawford said: "I have a lot of beautiful, wonderful, exciting, adventurous, loving, caring memories of Whitney.
"Whitney was a beautiful friend, the friend that I prayed for."
Whitney's tragic death at the age of 48 came amid her spiralling descent into debt after blowing her $100million fortune on drugs.
She drowned in a bath at the Beverly Hilton hotel in February 2012, having binged on cocaine, cannabis and prescription drugs before her final moments.
Do you have a story to sell? Get in touch with us at<EMAIL_ADDRESS>or call us direct 0207 29 33033.


| Coupon |
* Sponsored Results
DIY Solar Panel System: The Real Cost Of Solar Power - YouTube
Aug 2, 2012 . http://BackwoodsSolar.com - How much does a solar panel system cost? How many panels do you need? How much power can you generate?
http://www.youtube.com/watch?v=aEZJ7RsoI58
apprendre l'anglais a malte blu book value 95 chevy cavelier
Cut The Price Of Solar In Half By Cutting Red Tape - Forbes
Jul 5, 2012 . Don't use strong language when wild-arse guessing! Check out Solar Systems USA or others for street prices of panels and inverters. Add 10% .
http://www.forbes.com/sites/toddwoody/2012/07/05/cut-the-price-of-solar-in-half-by-cutting-red-tape/
400 Elm Ave
Yukon,
OK 73099
alberta real estate calgary surrounding areas
Family Night Dinner Group Studies Ministries for all ages
chartis insurance worker's compensation department u s navy terminology the message lyrics by grandmaster flash
900 S Littler Ave
Edmond,
OK 73034
disorders advanced guestbook 2.3.3
Solar Panels Cost - Purchase Option Cost of Solar Panels - SolarCity
As more people have gone solar, the price of solar panels has come down. The federal tax credit alone covers 30% of the solar system cost, and combined with .
http://www.solarcity.com/residential/solar-panels-cost.aspx
1855 grand trunk railway map theatre cell phone announcements terminologies in communications engineering
500 S Country Club Rd
Solar Power Calculator | Find Solar
Use our Solar Calculator to figure out the required solar panel system size and approximate cost to reduce home energy costs to $0.
http://www.findsolar.com/index.php?page=rightforme
Commercial Solar Power Systems | Commercial Solar Panel | Grid ...
Do not be fooled by solar leasing programs that cost 400-600% or more over the life of the system. Need solar panels and or inverters for your solar power .
http://www.solarelectricsupply.com/commercial-solar-systems
jewelery appraisal greeneville tn games ipod nano 3g free printable 2nd grade reading sheets
Basic Listings
226 S 29th St
Affordable Solar - Solar Panels | Wholesale Solar | Solar Inverter
Products. Our preferred brands at competitive prices will last the lifetime of a system. . Solar kits contain Canadian Solar panels with Enphase inverters for easy .
http://www.affordable-solar.com/
nora lamb and china cry whirpool and compact refrigerator civil rights project c
1202 W Grand Ave
Solar Panels Residential Solar Power Kits
These systems will significantly decrease the cost of providing electricity in your remote site. Set your post/pole, install the solar panel in such a way as to .
http://www.mrsolar.com/
movie trailers hulk avabile downloading acceleration circular track a b relative heavy vehicle parts inc
116 E Georgia Ave
Cost of Home Solar Power Systems
How much does solar cost? About the same as your monthly power bill.
http://www.sunrunhome.com/solar-lease/cost-of-solar/
can clerks work with specimens cyfluthrin for black vine weevil active usaf bases in uk
301 S 2nd St
Solar Power
HOME SECURITY & SURVEILLANCE · Video Surveillance Systems · FIRE . While the up-front cost of installing solar panels can seem expensive, their 25+ .
http://www.homedepot.com/webapp/catalog/servlet/ContentView?pn=KH_BG_EL_Solar_Power&storeId=10051&langId=-1&catalogId=10053
solor panel system price las vegas cigar stores alpine development group december 20 2007
1910 S 20th St
Solar Panels from Wholesale Solar
Buy solar panels by pallet or in complete packages for offgrid & gridtie solar power. Free solar system design for DIY. Wholesale pricing for installers.
http://www.wholesalesolar.com/
jelly belly authentic large bean machine alpine development group december 20 2007 hp rp7410 service manual
728 W Michigan Ave
Solar Panels, PV Systems and Inverters Distributor
World's Lowest Prices in Solar Panels, Inverters, PV Systems for Home and Business. We carry the top brands at the lowest prices Guaranteed!
http://www.sunelec.com/
how to build a backyard shed post office drop-box kauai raymond prince and wanted
3340 S 16th St
How Much Does Solar Cost? - The Solar Company
Solar Panel System Cost. Since every customer's needs are unique, the exact solar panel system cost will depends on system size (see What Size Solar System .
http://www.thesolarco.com/solar-panels/how-much-does-solar-cost/
xp system restore recommended size making patterns in photoshop cs4 brett robinson rentals gulf shores ala
828 S 9th St
Cost of a Home Solar Power System
That question cannot be answered without doing a little detective work. It's like asking how much it will cost to feed 50 people. That would depend on whether .
http://www.wholesalesolar.com/solar-cost.html
usaopoly chicago edition monopoly quality assurance power point physiotherapy associates in grand ledge mi
1300 S 29th St
Solar Panel Costs | How much does it cost to Install Solar Panels?
System Size, 5 kW. Solar Panel Installation Costs: $25,000. 30% Federal Incentive, -$6,000. MD State Incentive ($500/kW), -$2,500. Local Incentives (vary) , - .
http://www.solargaines.com/solarpowercost.html
fender vibrolux ab763 schematic wow 2003 sheet music university of hampton football
102 E Almar Dr
Low cost solar electric system for DIY installation < $5/watt panels
I will illustrate the parts needed to construct a DIY low cost solar electric system. Contrary to popular belief, you can utilize solar power without being a contractor .
http://www.amazon.com/solar-electric-system-installation-panels/lm/R3H36N9YJR062F
brand name jeans for teens buy rite bedding and furniture unique austin texas restaurant
320 S 4th St
DIY Solar Panel Installation - Are Cheap Solar Panels Finally Here ...
Jun 17, 2009 . Is the Cost-Effective DIY Solar Panel Within Reach? . grounding allows a full 3- kilowatt system of about 20 panels to be installed by a two-man .
http://www.popularmechanics.com/science/energy/solar-wind/4317039
natural gas contract engineering work school newspaper welcome message housecleaning jobs melbourne australia
901 W Grand Ave
Solar Electric Supply Leading Wholesale Solar Panels & Solar ...
Get quantity solar panels systems discount. . technical support; Superior customer service; Wide variety of systems to choose from with current prices .
http://www.solarelectricsupply.com/
does windows 95 support fat32 required documentation to visit germany download game development software
2414 State Highway 92
Solar panel - Wikipedia, the free encyclopedia
Following to RMI, Balance-of-System (BoS) elements, this is, non-module cost of non-microinverter solar panels (as wiring, converters, .
http://en.wikipedia.org/wiki/Solar_panel
124 S 6th St
Solar Panel Cost | Solar for Home | Financial Incentives | SHARP
If your monthly electric bill is more than $100, you could save money every month with a Sharp solar electric system. Even if you finance the cost of your system, .
http://www.sharpusa.com/SolarElectricity/WhyGoSolar/FinancialIncentives.aspx
arerial map with street level photo jeff ambrosino and powerlifting usa
3320 S 16th St
Solar Power Cost
Here are some foolproof ways to estimate the cost of a solar photovoltaic or solar thermal system and to figure out if a solar energy system makes sense for you.
http://www.solarenergy.net/Articles/solar-power-cost.aspx
cheesecake factory baltimore md home security systems providers airlines leaving from brazil
802 Frisco Ave
Solar Pool Heater System: Doheny's Pool Solar Panel Heaters
Available for both in-ground or above-ground pools, our pool solar panels are complete systems for efficient and cost-effective heating. Just place the .
http://www.doheny.com/solar/Solar-Pool-Heaters.html
universal fuel tank fuel line fitting slim line air conditioners and heaters santa elena spain property
609 W Highway 277
Solar Economics - Financial Benefits of Solar Power | 1BOG Solar ...
All these factors affect your out-of-pocket price tag of solar power, so trying to pin down a typical system cost is close to impossible. This is why we direct users to .
http://howsolarworks.1bog.org/solar-economics/
dental assistant gainesville florida book stocker merchandiser charlotte nc hand jobs free video
2828 S 9th St
Solar Panels at Affordable Prices
AltE Store offers solar kits and solar panels from brands .
http://www.altestore.com/store/Solar-Panels/c541/
troy built lawnmower sudbury ontario gunshot would to chest subway station ave york walking
202 S 6th St
Westinghouse Solar Introduces Low-Cost, DIY Home Solar Power Kits
Sep 26, 2011 . Walmart Will Deploy Solar Panels on 60 More Stores in California ? . price of a rooftop system, according to a Westinghouse Solar press .
http://cleantechnica.com/2011/09/26/westinghouse-solar-introduces-low-cost-all-in-one-home-solar-power-kits/
credit union business deposit regulation e villians of the middle ages
428 E Almar Dr
DIY Solar Panel System: Components, Cost & Savings - YouTube
Aug 24, 2012 . Here I share with you every component I use for my DIY solar panel system, where you can buy it and how much I paid. I cover my solar panels, .
http://www.youtube.com/watch?v=pedyMd5mGg4
school 4 in jacksonville indiana rent to own sheds egg harbor business association
Free Solar Panel Price Survey « EcoBusinessLinks
ECS Solar Energy Systems, 245, 21, 5145, $239.67, $5,033.07, -, $0.98, usa.jpg, The Solar . (This table is for information purposes only, solar panel prices and .
http://www.ecobusinesslinks.com/surveys/free-solar-panel-price-survey/
New York Solar Panel Systems - Solar Energy How-to-Guide Directoy
In fact, because of the extremely high electric prices across New York, it is more cost effective to have a Solar Panel System in New York than it is Southern .
http://www.siliconsolar.com/new-york-solar-panel-system.html
Diy Solar Panel System Cost [Solar Panels Price] - YouTube
Jan 20, 2012 . solar panels price Solar Solar Panel alternative sources of energy solar panel installation jobs solar panel installation cost money payback time .
http://www.youtube.com/watch?v=c-jgIPmK-t4
* Sponsored Results
| Select from the listings below | (museum of church history and art) | |
|
heavy vehicle parts inc 226 S 29th St What's the Average Cost to Install a Solar-Electric System to Power ... |
||
|
whirpool and compact refrigerator 1202 W Grand Ave Solar System Price for Your Home. Estimate what solar will cost for ... |
||
|
case farming equipment 8900 116 E Georgia Ave Solar Estimate Estimator. Solar Calculator. Free solar panel cost ... |
||
|
education theory and practice 301 S 2nd St Fueled by Cheap Chinese Panels, U.S. Solar Use Soars - WSJ.com |
||
|
double broiler oven ranges 1910 S 20th St Solar panel calculator Solar energy cost and savings estimate ... |
||
|
easel business card holder 728 W Michigan Ave Free Solar Panel Price Survey « EcoBusinessLinks |
||
|
cascade employers association salem or 3340 S 16th St Got a deck? Solar panels now a plug-in appliance | Cutting Edge ... |
||
|
the work of irsa pakistan 828 S 9th St Our Simple DIY Home Solar Power System | Eartheasy Blog |
||
|
fix repair split 001 files 1300 S 29th St Solar Panel Costs |
||
|
unique austin texas restaurant 102 E Almar Dr Solar Power - Davis Wiki |
||
|
vrem sa vedem operati 320 S 4th St DIY Solar Panel System: Costly Mistakes - YouTube |
||
|
comic-con 2008 science fiction writers 901 W Grand Ave How to Lease Your Own Home Solar Power System - Kiplinger |
||
|
texas tech versus smu 2414 State Highway 92 Cost of Solar Panels |
||
|
post office drop-box kauai 124 S 6th St Subsidy boost for solar power systems in homes - Times Of India |
||
|
slim line air conditioners and heaters 3320 S 16th St Solar Power Estimate | Solar Panel Cost Calculator. Solar energy ... |
||
|
youths implication to drugabuse control 802 Frisco Ave Solar estimator solar energy calculator free solar power estimate ... |
||
|
sole makeup for mephisto adama shoes 609 W Highway 277 Hardy Solar Panel sun soaker 3000 system |
||
|
kansas city universe movie 2828 S 9th St Solar Electricity (Photovoltaic Panels) - Yes! Solar Solutions |
||
|
ansonia china royal bonn lock 202 S 6th St Burned By Solar - Seeking Alpha |
||
|
shadow of the tempers walk-through 428 E Almar Dr Can I really save money by putting solar panels on my roof? |
||
| Select from the listings above | (nj 2009 jelsoft enterprises ltd) | |


GRIB Collection Internals
11/15/2014
Type of Partitions
partition = none
- read in all files at once. limited by memory (400 bytes / record ??)
- create a seperate GC for each runtime. call it a single runtime collection SRC. All variables are in the SRC.
- if multiple runtimes, create a collection index. call it a time partition of SRC, or TPofSRC. So, we can look at the runtime and choose which SRC is needed.
partition = directory
- for each directory, create one index
- may be a SRC or a MRC
- if there are multiple directories, assume that its time partitioned
- yes: then we have a TPofSRC or TPofMRC (shouldnt matter which). above that we get TPofTP
- this is the default, if no partition is specified in config
partition = file
- for each file, create one index
- may be a SRC or a MRC
- if there are multiple files, should we assume that its time partitioned ??
- yes: then we have a TPofSRC or TPofMRC (shouldnt matter which). above that we get TPofTP
- no: union of GC? just keep seperate time partition for each variable??
Types of Grib Collections
- SRC, single runtime collection (formerly GC)
- MRC, multiple runtime collection.
- TPofSRC, time partition of single runtime collection (formerly PofGC)
- TPofMRC, time partition of multiple runtime collection
- TPofTP, time partition of time partition
Dark corners
- is the runtime accurate, eg do we know for sure for each record, or could a vertical have different runtime if theres missing
Homogeneity
- single Customizer(center, subcenter, master, local, genProcessId) for each GC
- center, subcenter, master, local, genProcessType, genProcessId, backProcessId copied from one partition (canonical). Just info I think
- horizCoordSystem (GDS)
Issues
- is the runtime accurate, eg do we know for sure for each record, or could a vertical have different runtime if theres missing. see GribPartitionBuilder.makeMissing()
- partitions sorted by name. should be by date.
=======================================================================
10/21/2014
InvDatasetFeatureCollection
InvDatasetFcGrib
{collection} -> {runTime} -> {Group} : a GC is a single runtime with 1 or more groups (GDS).
PofGC = {GC}
PofP = {PofGC}
case 1. {collection} has single runtime.
- config: name = collone, partition = none, topdir=c:/tmp/mixed
- index name = <config>-topdir
Ismoro-mixed.ncx2
lsmoro_N160.grib
lsmoro_N160.grib.gbx9
lsmoro_N320.grib
lsmoro_N320.grib.gbx9
lsmoro_N640.grib
lsmoro_N640.grib.gbx9
case 2. {collection} has multiple runtime.
- config name = coll2, partition=none, topdir=c:/tmp/gfsmrt
- PofGC GC names = <config>-<topdir>-<yyyyMMdd-hhmmss>.ncx2
- PofGC index name = <config>-<topdir>
GFS_CONUS_95km_20141010_0000.grib2
GFS_CONUS_95km_20141010_0000.grib2.gbx9
GFS_CONUS_95km_20141010_0600.grib2
GFS_CONUS_95km_20141010_0600.grib2.gbx9
coll2-gfsmrt-20141010-000000.ncx2
coll2-gfsmrt-20141010-060000.ncx2
coll2-gfsmrt.ncx2
case 3. {collection} has multiple runtimes, file partition
- config name = coll2, partition=none, topdir=c:/tmp/gfsmrt
- PofGC GC names = <file>.ncx2
- PofGC index name = <config>-<topdir>
GFS_CONUS_95km_20141010_1200.grib2
GFS_CONUS_95km_20141010_1200.grib2.gbx9
GFS_CONUS_95km_20141010_1200.grib2.ncx2
GFS_CONUS_95km_20141010_1800.grib2
GFS_CONUS_95km_20141010_1800.grib2.gbx9
GFS_CONUS_95km_20141010_1800.grib2.ncx2
coll3-gfsfp.ncx2


NL(1) User Commands NL(1) NAME nl - number lines of files SYNOPSIS nl [OPTION]... [FILE]... DESCRIPTION Write each FILE to standard output, with line numbers added. With no FILE, or when FILE is -, read standard input. Mandatory arguments to long options are mandatory for short options too. -b, --body-numbering=STYLE use STYLE for numbering body lines -d, --section-delimiter=CC use CC for separating logical pages -f, --footer-numbering=STYLE use STYLE for numbering footer lines -h, --header-numbering=STYLE use STYLE for numbering header lines -i, --line-increment=NUMBER line number increment at each line -l, --join-blank-lines=NUMBER group of NUMBER empty lines counted as one -n, --number-format=FORMAT insert line numbers according to FORMAT -p, --no-renumber do not reset line numbers at logical pages -s, --number-separator=STRING add STRING after (possible) line number -v, --starting-line-number=NUMBER first line number on each logical page -w, --number-width=NUMBER use NUMBER columns for line numbers --help display this help and exit --version output version information and exit By default, selects -v1 -i1 -l1 -sTAB -w6 -nrn -hn -bt -fn. CC are two delimiter characters for separating logical pages, a missing second char‐ acter implies :. Type \\ for \. STYLE is one of: a number all lines t number only nonempty lines n number no lines pBRE number only lines that contain a match for the basic regular expression, BRE FORMAT is one of: ln left justified, no leading zeros rn right justified, no leading zeros rz right justified, leading zeros AUTHOR Written by Scott Bartram and David MacKenzie. REPORTING BUGS Report nl bugs to<EMAIL_ADDRESS>GNU coreutils home page: <http://www.gnu.org/software/coreutils/> General help using GNU software: <http://www.gnu.org/gethelp/> Report nl translation bugs to <http://translationproject.org/team/> COPYRIGHT Copyright © 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. SEE ALSO The full documentation for nl is maintained as a Texinfo manual. If the info and nl programs are properly installed at your site, the command info coreutils 'nl invocation' should give you access to the complete manual. GNU coreutils 8.12.197-032bb September 2011 NL(1)


Flickr Cities is an exploratory interface to browse the millions of images shared by Yahoo Labs in its amazing Yahoo Flickr Creative Commons 100M dataset. Filter the dataset by location, date and time, topic, photographer's nationality or combine the different parameters to see weekend night parties, sunday morning activities, or the difference between DSLR photographs and smartphone snapshots.


Jain Gautam & Co.
Chartered Accountants
Home
Services
Gallery
Professional Update
Career
AboutUs
Our Values
Leadership
Contact us
Career
We are hiring!!
Current vacancy :-
Paid Assistant
Article Trainees
Eligible candidate
You may send resumes at
this email id:-<EMAIL_ADDRESS>and Fill the form below
Upload


SANParks tight-lipped on suspension of senior Kruger National Park ranger
by Buks ViljoenSANParks is remaining tight-lipped about the suspension of one of the Kruger National Park's most senior and respected game rangers, Don English.
English and a colleague, Victor Magakwe, were suspended on October 11 for the alleged assault and mistreatment of rangers and suspected poachers after complaints were filed by another game ranger.
The ranger, a corporal whose name is known to News24, was also apparently suspended prior to English and Magakwe's case for his alleged involvement in rhino poaching.
It is understood the corporal had been on the anti-poaching authorities' radar for quite a while.
News24 understands, he and another ranger were arrested in September during a sting operation when an illegal weapon was found in his tent in a bush camp.
This could, however, not be officially confirmed by SANParks or the Mpumalanga police.
The ranger, whose own case is pending, registered a complaint with his union. It is understood that he is not in custody while the case is being investigated.
Following his complaint, the EFF allegedly became involved, leading to the park's management taking action against Magakwe and English.
English, who has been working at Kruger for most of his career, is one of the rangers closely involved in the fight against rhino poaching.
SANParks spokesperson Ike Phaahla confirmed the two men had been suspended but refused to reveal more details.
Phaahla said when SANParks became aware of the allegations against English and Magakwe, advocate Boyce Mkhize was appointed as an independent consultant to handle the case.
According to him the investigation had been finalised, but management was still studying the outcome "to understand the facts".
"There might even be more suspensions later," said Phaahla.
He could not say when, and if, disciplinary hearings would be held.
There is currently uncertainty among the rhino poaching investigation teams, as well as the legal and prosecuting authorities on how the case might impact on numerous high-profile poaching cases in which English is a key witness.


Reading and Writing Plot3D Files¶
This Plot3D library is capable of reading binary (big endian/little endian) and ASCII plot3d files. This is an example of how to read a plot3D file in binary and convert it to ASCII
from plot3d import write_plot3D, read_plot3D
# Convert to binary because of size
blocks = read_plot3D('finalmesh.xyz', binary = True, big_endian=False)
write_plot3D('finalmesh-ASCII.xyz',blocks, binary=False)
You can also use it to append blocks
from plot3d import write_plot3D, read_plot3D
# Convert to binary because of size
blocks_mesh1 = read_plot3D('mesh1.xyz', binary = True, big_endian=False)
blocks_mesh2 = read_plot3D('mesh2.xyz', binary = True, big_endian=False)
blocks_mesh1.extend(blocks_mesh2)\
write_plot3D('finalmesh-ASCII.xyz',blocks_mesh1, binary=False)


LoadSplitExecute
SQLi
mdi-menu-downMySQLmdi-menu-rightDump all database namesDump tables from databaseDump columns from databaseUnion select statementError-based injection statementPostgreSQLmdi-menu-rightDump all database namesDump tables from databaseDump columns from databaseUnion select statementError-based injection statementPolyglotSpace to Inline comment
XSS
mdi-menu-downPolyglotHtml encodeHtml decodeString.fromCharCode encodeString.fromCharCode decode
LFI
mdi-menu-downPHP wrapper - Base64
SSTI
mdi-menu-downFlask RCE
Encoding
mdi-menu-downURL encodeURL decodeBase64 encodeBase64 decodeHexadecimal encodeHexadecimal decodeUnicode encodeUnicode decode
Hashing
mdi-menu-downMD5SHA1SHA256SHA512
Theme
mdi-menu-downLightDarkAdd Headermdi-close
Unable to fetch request information
After installing extension, it is required to reload the tab for recording the request.
Note that the extension cannot record sensitive requests. Please visit here for more information.
OK
SQL Injection
The number of columns must be larger than or equal to output position.
The number of columns to use in UNION SELECT statement.


|
|
Photographs
David Cloughley (playing hammered dulcimer) and son Robert (playing
fiddle). Cardrona, October 1983.
Jeremy Brookes (L) and Barrie MacDonald (R) at Cardrona, March 1979.
Ginger Minge Binge Bush Band. October 1978. Back Row: Martin Simpson, Rob
Doesburg, Peter Walton, Jono Lonie, Marcus Turner. Front Row: Adie Walton,
Trish Davidson.
Mike (L) and Phil (R) Garland at the Canterbury Folk Festival, at Diamond
Harbour, Easter 1979.
Description from Frank Povah: "It's from the NZ Women's Weekly (I kid you
not) sometime in the 70s at the old Canterbury University soon after the
long battle that saw it saved as an arts centre. In the pic are Anne
Davies and Frank Scaglione (bending over) and me. Seated (that I can
remember) are Sue Lutkenhouse (closest to Frank S) and Peter Meredith[?]"
Frank Povah |


{% extends "base_site.html" %} {% block title %} {% endblock %} {% block content_title %}
Use this page to search for structure types
Show statistics of which structures have the most compounds. Links to the deliberate structures we have considered. {% endblock %} {% block sidebar %} {% endblock %}


Two suspects in Uitkyk attack caught
After a manhunt by the police and Bossies Community Justice (BCJ), two men suspected of being involved in last week’s Uitkyk farm attack were apprehended this past weekend.
by Landé WillemseHenry Brown, his wife, Martie, and son, Tommy, were attacked at their home on November 3.
The incident occurred at approximately 02:00 after a small gang of men gained entry to their house through a window. All three victims sustained serious head injuries during the attack.
Tommy managed to fight back and one of the attackers was shot in self-defence. The attacker died.
The arrest followed after information was received from an informant with regards to the whereabouts of the suspect.
ALSO READ: High ranked court official arrested for fraud and corruption
Albert Gryvenstein of BCJ confirmed that the body of one of the suspects was found about 200 metres from the scene.
“It is believed that the deceased suspect is a pastor of a church in Pienaar, by the name of Thobela.”
His full name and age are not currently known, as he has not yet formally been identified by his family.
Following the attack, an operation between the Nelspruit Detective Services and BCJ was launched and a reward for information leading to arrests offered.
The 40-year-old suspect was traced to and arrested in Pienaar. He was due to appear in court yesterday.
The second suspect was traced and arrested on Monday.
Henry is recovering from a serious head injury and Tommy is in need of urgent facial reconstruction.


Name
Attestation
Date
Description
Received From
Approx. Cost
Gift/Entertainment
Action
{{user.name}}
{{user.attestation}}
{{user.date}}
{{user.description}}
{{user.receive}}
{{user.cost}}
gift
entertainment
{{user.mode}}
Delete
Update
gift
entertainment
Reset
Save


--- layout: default ---
I think it's important to have ideas about changes that should be integrated in our usual life. Every person should have as much as possible verified information about things happening around. I see that there's huge number of integrating data in medicine, environment, government, etc... I started to collect my ideas here and I would be happy if you enjoy it!
{% for post in site.categories.ideas %}


Toggle navigation
LPSense - Real Time Light and Proximity Analytics
User Profile
Settings
Logout
Sensor Dashboard
Light
13
Current Luminosity
Proximity
12
Current Distance
Area Chart Example
Light Sensor Data
Luminosity
Timestamp
Proximity Sensor Data
Distance
Timestamp


curriculum vitae
Personal Information
| Name | Christoph Junghans |
Education
| University | |
| Oct. 2010 | Dr. rer. nat. (Ph.D.) in Physics, Johannes Gutenberg University, Mainz, Germany |
| Nov. 2006 | Diploma (M.Sc.) in Physics, University of Leipzig, Germany |
| Minors: Meteorology, Chemistry | |
| School | |
| July 2000 | Abitur, Gymnasium Brandis, Germany |
| Major field of study: Mathematics, Physics | |
Work Experience
| Feb. 2021 - Present | Group Leader, Applied Computer Science Group, Computer, Computational, and Statistical Sciences Division, Los Alamos National Lab |
| Feb. 2016 - Present | CNLS Affiliate, Center for Nonlinear Studies, Theoretical Division, Los Alamos National Lab |
| July 2018 - Feb. 2021 | Deputy Group Leader, Applied Computer Science Group, Computer, Computational, and Statistical Sciences Division, Los Alamos National Lab |
| Jan. 2017 - July 2018 | Deputy Team Leader, Co-Design Team, Computer, Computational, and Statistical Sciences Division, Los Alamos National Lab |
| May 2014 - July 2018 | Staff Scientist, Computer, Computational, and Statistical Sciences Division, Los Alamos National Lab |
| Mar. 2013 - Apr. 2014 | Director’s Postdoc. Fellow, Theoretical Division, Los Alamos National Lab |
| Nov. 2011 - Feb. 2013 | Postdoc. Research Assistant, Theoretical Division, Los Alamos National Lab |
| May 2012 - June 2012 | Member, The Kavli Institute for Theoretical Physics, University of California, Santa Barbara, CA |
| Nov. 2010 - Oct. 2011 | Postdoc. Research Assistant, Polymer Theory Group, Max Planck Institute for Polymer Research, Mainz, Germany |
| Jan. 2007 - Oct. 2010 | PhD Student, Polymer Theory Group, Max Planck Institute for Polymer Research, Mainz, Germany |
| Jan. 2009 - July 2009 | Internship as Specialist for Application Performance & Deep Computing, IBM Systems & Technology Group |
| Oct. 2003 - Sep. 2006 | Student Assistant, Institute for Theoretical Physics, University of Leipzig |
| Aug. 2005 - Oct. 2005 | Visiting students program “Scientific Computing”, Jülich Supercomputing Centre, Germany |
| Sep. 2004 | Student Assistant, Institute for Meteorology, University of Leipzig |
| Feb. 2003 - Apr. 2003 | Service contract, Chair for Fluid Mechanics, Martin Luther University of Halle-Wittenberg, Halle, Germany |
| Mar. 2002 | Student Assistant, Institute for Theoretical Physics, University of Leipzig |
Awards
| Nov. 2019 | Top 10% most cited PLOS ONE papers published in 2015 |
| Sep. 2017 | LAAP Award in recognition of outstanding contributions to the ISTI Summer School Program |
| Feb. 2017 | Postdoc. Distinguished Mentor Award, LANL |
| July 2016 | LAAP Achievement Award in appreciation for active service on the WSST team |
| Jan. 2015 | Classified as outstanding researcher, USCIS |
| Jan. 2014 | Most cited article published in EPJE in the past 5 years |
| Mar. 2013 | Los Alamos National Laboratory Director’s Post-Doctoral Fellowship |
| May 2012 | Member of the Kavli Institute for Theoretical Physics |
| June 2010 | Participant of 60th Lindau Nobel Laureate Meeting |
| Nov. 2006 | Diploma with honor (highest possible grade) |
| Nov. 2005 | Wolfgang Natonek award, University of Leipzig |
| Oct. 2003 | Teubner award, Department for Physics and Earth Science, University of Leipzig |
| July 2000 | Book award of the German Physical Society (DPG) for high school graduates |
Open Source Projects
| VOTCA | Versatile object-oriented toolkit for coarse-graining applications | Core Developer |
| Cabana | Performance-portable library for particle-based simulations | Core Developer |
| FleCSI | Flexible Computer Science Infrastructure | Developer |
| Fedora | Linux distribution | Contributor |
| OpenSuse | Linux distribution | Contributor |
| ESPReSo++ | Successor of the ESPResSo simulation package | Developer |
| GroMaCS | Versatile package to perform molecular dynamics | Developer (inactive) |
| ESPReSo | Extensible Simulation Package for Research on Soft matter | Developer (inactive) |
For more infomation see my GitHub profile and my OpenHUB profile
Professional Skills
Referee for Scientific Journals
- ACS: J. Chem. Inf. Model. & J. Phys. Chem.
- AIP: J. Chem. Phys.
- Elsevier: Comp. Phys. Comm.
- RSC: Phys. Chem. Chem. Phys.
- and others
Code Review
Conferences
- Member of the Organization Committee for the Salishan Conference on High Speed Computing
- Chairman for the APS annual meetings
Representativ
| Nov. 2018 - Sep. 2022 | Member of the Information Science and Technology Institute (ISTI) council, LANL |
| July 2015 - June 2016 | Member of the Worker Safety & Security Team (WSST) for CCS-7, LANL |
| July 2007 - Dec. 2008 | PhD representative of the theory group, Max Planck Institute for Polymer Research, Mainz |
| Nov. 2007 - Nov. 2008 | PhD representative of the MPI for Polymer Research, Mainz |
| Oct. 2002 - Sep. 2005 | Elected member of student government (Fachschaftsrat) of the Department for Physics and Earth Science, University of Leipzig - Extensive committee work in this period incl. spokesperson, treasurer and member of several faculty/university committees |
Computer Skills
| General | Linux, AIX, Mac OS, DOS, Windows |
| Programming | C, C++, Fortran, MPI, OpenMP |
| Scripting | Shell, awk, Perl, expect, PHP, tcl, Python |
| Markup Languages | HTML, latex, mediawiki, txt2tags |
Teaching Experience
| Aug. 2021 | “Electronic Spectroscopy with VOTCA and LAMMPS” (Tutorial), LAMMPS Workshop and Symposium 2021, Virtual |
| Aug. 2019 | “VOTCA and LAMMPS for electronic spectroscopy and transport” (Tutorial), LAMMPS Workshop and Symposium 2019, Albuquerque, NM |
| May 2018 - Aug. 2018 | Co-Design Summer School (6 Students), Los Alamos National Laboratory |
| May 2017 - July 2017 | Co-Design Summer School (6 Students), Los Alamos National Laboratory |
| Oct. 2016 | “Coarse-Graining with VOTCA” (Tutorial), CECAM Workshop “Multiscale Simulations of Soft Matter with Hands-On Tutorials on ESPResSo++ and VOTCA”, Mainz, Germany |
| June 2016 - Aug. 2016 | Co-Design Summer School (7 Students), Los Alamos National Laboratory |
| May 2016 | Gitlab Hands-On course, ASC/NGC Program, LANL |
| Oct. 2015 | “Coarse-Graining with VOTCA” (Tutorial), CECAM Summer School “Simulating Soft and Active Matter with ESPResSo, ESPResSo++ and VOTCA”, ICP Stuttgart |
| Sep. 2015 | Git Hands-On course, ASC/NGC Program, LANL |
| June 2015 - Aug. 2015 | Co-Design Summer School (6 Students), Los Alamos National Laboratory |
| Nov. 2014 | Git IC Tutorial, Institutional Computing, LANL |
| Oct. 2014 | Hands-on: VOTCA, CECAM “School on Multiscale Modeling and Use of Espresso++ and VOTCA”, Mainz, Germany |
| June 2014 - Aug. 2014 | Co-Design Summer School (6 Students), Los Alamos National Laboratory |
| Aug. 2014 | Gromacs Tutorial, The Eighth q-bio Summer School, Albuquerque, NM (LA-UR 14-26188) |
| June 2014 | Gromacs IC Tutorial, Institutional Computing, LANL (LA-UR 14-24814) |
| Oct. 2013 | “Systematic Coarse-Graining with VOTCA” (Tutorial), CECAM Summer School “Simulating Soft Matter with ESPResSo, ESPResSo++ and VOTCA”, ICP Stuttgart |
| June 2013 - Aug. 2013 | Co-Design Summer School (6 Students), Los Alamos National Laboratory |
| July 2013 | Gromacs Tutorial, The Seventh q-bio Summer School, Santa Fe, NM |
| Oct. 2012 | “Systematic Coarse-Graining with VOTCA” (Tutorial), CECAM Workshop “Simulating Soft Matter with ESPResSo, ESPResSo++ and VOTCA”, ICP Stuttgart |
| July 2012 | Gromacs Tutorial, The Sixth q-bio Summer School, Santa Fe, NM |
| Oct. 2011 | Hands-on: VOTCA, CECAM Workshop “Coarse-grained Simulation of Biological Soft Matter Systems using ESPResSo”, ICP Stuttgart |
| May 2010 | Votca Workshop, CSI Darmstadt |
| Apr. 2008 - Sep. 2008 | Theoretical physics III, Johannes Gutenberg University of Mainz |
| Oct. 2007 - Mar. 2008 | Theoretical physics II, Johannes Gutenberg University of Mainz |
| Apr. 2007 - Sep. 2007 | Theoretical physics I, Johannes Gutenberg University of Mainz |
| Apr. 2006 - Sep. 2006 | Introduction to computer simulations I, University of Leipzig |
| Sep. 2004 - Oct. 2004 | Mathematical preparation course for first-year students, University of Leipzig |
Mentoring
| Feb. 2022 - Present | Postdoc. Research Assistant, Los Alamos National Laboratory |
| June 2019 - Mar. 2021 | Postdoc. Research Assistant, Los Alamos National Laboratory |
| Feb. 2018 - Apr. 2020 | Postdoc. Research Assistant (now Staff Scientist), Los Alamos National Laboratory |
| May 2018 - Feb. 2019 | Postdoc. Research Assistant (now Staff Scientist), Los Alamos National Laboratory |
| Feb. 2017 - Jan. 2019 | Postdoc. Research Assistant (now Staff Scientist), Los Alamos National Laboratory |
| Sep. 2018 | Member of PhD committee, University of Reims Champagne-Ardenne |
| June 2018 - Aug. 2018 | ECP Summer Student, Los Alamos National Laboratory |
| May 2018 - Aug. 2018 | Co-Design Summer School (6 Students), Los Alamos National Laboratory |
| May 2018 - Aug. 2018 | ASC Summer Student, Los Alamos National Laboratory |
| Feb. 2016 - May 2018 | Postdoc. Research Assistant (now Staff Scientist), Los Alamos National Laboratory |
| Dec. 2016 - Apr. 2018 | Postdoc. Research Assistant (now Staff Scientist), Los Alamos National Laboratory |
| June 2017 - Aug. 2017 | High School Internship Student, Los Alamos National Laboratory |
| Apr. 2017 - June 2017 | ASC Summer Student, Los Alamos National Laboratory |
| May 2017 - July 2017 | Data-Science at Scale Summer Student, Los Alamos National Laboratory |
| May 2017 - July 2017 | Co-Design Summer School (6 Students), Los Alamos National Laboratory |
| May 2015 - May 2017 | Metropolis Postdoc. Fellow (now Staff Scientist), Los Alamos National Laboratory |
| Aug. 2016 - Apr. 2017 | Postdoc. Research Assistant (now Staff Scientist), Los Alamos National Laboratory |
| Jul. 2016 - Sep. 2016 | CNLS Summer Student, Los Alamos National Laboratory |
| Jun. 2016 - Aug. 2016 | Co-Design Summer School (7 Students), Los Alamos National Laboratory |
| Jul. 2015 - Sep. 2015 | IC Summer Student, Los Alamos National Laboratory |
| Jun. 2015 - Aug. 2015 | Co-Design Summer School (6 Students), Los Alamos National Laboratory |
| Jul. 2014 - Sep. 2014 | CNLS Summer Student, Los Alamos National Laboratory |
| Jun. 2014 - Aug. 2014 | Co-Design Summer School (6 Students), Los Alamos National Laboratory |
| Jun. 2013 - Aug. 2013 | Co-Design Summer School (6 Students), Los Alamos National Laboratory |
| Jun. 2010 - Aug. 2010 | Summer Student, University of Mainz |
| Oct. 2005 - Mar. 2006 | Simulation methods in generalized ensembles (2 Students), University of Leipzig |
Talks
Over 50 invited and contributed talks
Selected Talks
| Sep. 2018 | Lecture: “Co-Design at Los Alamos National Laboratory”, University of Reims Champagne-Ardenne |
| Oct. 2016 | Talk: “Recent developments in VOTCA”, CECAM Workshop “Multiscale Simulations of Soft Matter with Hands-On Tutorials on ESPResSo++ and VOTCA”, Mainz, Germany |
| May 2012 | Seminar: “Particle-based multi-scale simulations using the Adaptive Resolution Scheme”, IBM Research, Almaden |
| July 2011 | Colloquium: “Locality Analysis via Adaptive Resolution Simulations”, Theoriekolloquium, Faculty of Natural Sciences II, Martin Luther University Halle-Wittenberg |
Publications
see here


Comma separated list of the relative locations of the files output from running scalastyle. e.g. server/target/scalastyle-result.xml, client/target/scalastyle-result.xml
{{ GOINPUTNAME[resultXmlFileLocations].$error.server }}Comma separated list of the relative locations of the results XML artifacts e.g. analysis/server, analysis/client
{{ GOINPUTNAME[artifactXmlFileLocations].$error.server }}


Use GitPie on Linux, Mac or Windows
Add, Clone or Create repositories.  All with the same UX.
GitPie was made to handle any git repository with any remote
We believe that the best way to build something awesome is together. For this, Pie is 100% open source.


The LIBTRALO (Liberian Translation & Literacy Organization) keyboard was designed to be used for all Liberian and Sierra Leonean languages.
The LIBTRALO keyboard requires characters that are not in many fonts. This keyboard installs the Charis SIL font which does support all the characters in the keyboard.
The Dan language requires a special form of the uppercase hooked B. The Charis SIL Dan font is required in order to display the proper capital hooked B. That font is also installed with this keyboard package. It can be used for documents in the Dan language. All other languages can use the normal Charis SIL font.
The LIBTRALO keyboard layout is documented in this file: welcome.htm.


On november 20th I was requested to make a keynote speech at the 9th MilanoR meeting, the most relevant italian meeting of R users.
The main topic of the speech was one of my last coding fatigues: the Paletter package.
While the full video of the event is still to come, you can find a knd reportage of the evening directly on the official MilanoR blog, and the full deck of slides online.