00001 /** 00002 * @file dfvifc_c.h 00003 * @brief SBC C Interface 00004 * 00005 * @author Antenna House, Inc. 00006 * 00007 * Copyright (C) 2002-2013 Antenna House, Inc. All rights reserved. 00008 */ 00009 00010 #ifndef DFVIFC_C_H__ 00011 #define DFVIFC_C_H__ 00012 00013 #include <stddef.h> 00014 00015 #if !defined(_DOXYGEN) && defined(_MSC_VER) && defined(_WIN32) 00016 #ifdef DFVINTERFACE_EXPORTS 00017 #define DFVINTERFACE_API __declspec( dllexport ) 00018 #else 00019 #define DFVINTERFACE_API __declspec( dllimport ) 00020 #endif 00021 #else 00022 #define DFVINTERFACE_API 00023 #endif 00024 00025 /** 00026 * Error Code 00027 */ 00028 typedef long DfvIfErrorCode; /* 0 means no error */ 00029 00030 /** 00031 * Error Level 00032 */ 00033 typedef enum { 00034 ELVL_NORMAL = 0, /* no error */ 00035 ELVL_INFORMATION = 1, 00036 ELVL_WARNING = 2, 00037 ELVL_RECOVERABLE = 3, 00038 ELVL_FATAL = 4 00039 } DfvIfErrorLevel; 00040 00041 /** 00042 * Error Stream Type for MessageListener 00043 */ 00044 typedef enum { 00045 EST_NONE, /* no output */ 00046 EST_STDOUT, /* output to stdout */ 00047 EST_STDERR /* output to stderr */ 00048 } DfvErrorStreamType; 00049 00050 /** 00051 * PDF version 00052 */ 00053 typedef enum { 00054 PDF_13, /* PDF 1.3 */ 00055 PDF_14, /* PDF 1.4 */ 00056 PDF_15, /* PDF 1.5 */ 00057 PDF_16, /* PDF 1.6 */ 00058 PDF_17, /* PDF 1.7 */ 00059 PDFA_1b_2005= 400 /* ISO 19005-1:2005 (based on PDF1.4) */ 00060 } DfvPDFVERSION; 00061 00062 /** 00063 * PDF encrypt level 00064 */ 00065 typedef enum { 00066 ENCLEVEL_40RC4 = 0, /* 40-bit RC4 */ 00067 ENCLEVEL_128RC4, /* 128-bit RC4 */ 00068 ENCLEVEL_128AES, /* 128-bit AES */ 00069 ENCLEVEL_256AES, /* 256-bit AES */ 00070 ENCLEVEL_40 = ENCLEVEL_40RC4, 00071 ENCLEVEL_128 = ENCLEVEL_128RC4 00072 } DfvPDFENCRYPTLEVEL; 00073 00074 /** 00075 * PDF print allow 00076 */ 00077 typedef enum { 00078 PRALLOW_NONE, /* not allowed */ 00079 PRALLOW_LOW, /* low resolution printing */ 00080 PRALLOW_HIGH /* high resolution printing */ 00081 } DfvPDFPRINTALLOW; 00082 00083 /** 00084 * PDF image compression 00085 */ 00086 typedef enum { 00087 IMGCMPR_AUTO, /* auto */ 00088 IMGCMPR_JPEG, /* JPEG */ 00089 IMGCMPR_ZLIB, /* ZLIB */ 00090 IMGCMPR_JPEG2K /* JPEG2000 */ 00091 } DfvPDFIMAGECOMPRESSION; 00092 00093 /** 00094 * PDF RGB conversion 00095 */ 00096 typedef enum { 00097 RGBCONV_NONE, /* no conversion */ 00098 RGBCONV_BLACK, /* black to devicegray */ 00099 RGBCONV_GRAY, /* gray to devicegray */ 00100 RGBCONV_ALL /* all rgb to devicegray */ 00101 } DfvPDFRGBCONVERSION; 00102 00103 /** 00104 * Embed font 00105 */ 00106 typedef enum { 00107 EMBALLFONT_PART, /* specified fonts */ 00108 EMBALLFONT_ALL, /* all fonts except Base14 fonts */ 00109 EMBALLFONT_BASE14 /* all fonts */ 00110 } DfvEMBEDALLFONT; 00111 00112 /** 00113 * Image downsampling 00114 */ 00115 typedef enum { 00116 IMGDOWNSAMPLING_NONE, /* no downsampling */ 00117 IMGDOWNSAMPLING_AVERAGE, /* average downsampling */ 00118 IMGDOWNSAMPLING_BICUBIC, /* bicubic downsampling */ 00119 IMGDOWNSAMPLING_SUBSAMPLING /* subsampling */ 00120 } DfvIMAGEDOWNSAMPLING; 00121 00122 /** 00123 * Monochrome compression 00124 */ 00125 typedef enum { 00126 MONOCMPR_CCITT4, /* CCITTFaxDecode group 4 filter,default value */ 00127 MONOCMPR_CCITT3, /* CCITTFaxDecode group 3 filter */ 00128 MONOCMPR_RUNLENGTH, /* RunLengthDecode filter */ 00129 MONOCMPR_ZLIB, /* FlateDecode filter */ 00130 MONOCMPR_OFF /* no filter */ 00131 } DfvMONOCHROMECOMPRESSION; 00132 00133 /** 00134 * SVG version 00135 */ 00136 typedef enum { 00137 SVG_11, /* SVG 1.1 */ 00138 SVG_Basic, /* SVG Basic */ 00139 SVG_Tiny /* SVG Tiny */ 00140 } DfvSVGVERSION; 00141 00142 /** 00143 * Image processing 00144 */ 00145 typedef enum { 00146 IMGPT_EMBED_ALL, /* embed all */ 00147 IMGPT_COPY_ALL, /* copy all */ 00148 IMGPT_LINK, /* link */ 00149 IMGPT_COPY /* copy */ 00150 } DfvIMAGEPROCTYPE; 00151 00152 /** 00153 * Image conversion 00154 */ 00155 typedef enum { 00156 IMGCNV_AUTO, /* auto */ 00157 IMGCNV_JPEG, /* jpeg conversion except png */ 00158 IMGCNV_PNG, /* png conversion except jpeg */ 00159 IMGCNV_JPEGALL /* jpeg-all conversion */ 00160 } DfvIMAGECONVERSION; 00161 00162 /** 00163 * INX output mode 00164 */ 00165 typedef enum { 00166 INXOM_TEXT, /* text area output mode */ 00167 INXOM_LINE, /* line area output */ 00168 INXOM_BLOCK /* block area output */ 00169 } DfvINXOUTPUTMODE; 00170 00171 /** 00172 * MIF output mode 00173 */ 00174 typedef enum { 00175 MIFOM_TEXT, /* text area output mode */ 00176 MIFOM_LINE, /* line area output */ 00177 MIFOM_BLOCK /* block area output */ 00178 } DfvMIFOUTPUTMODE; 00179 00180 /*************************************************************** 00181 * format information 00182 */ 00183 00184 #ifdef __cplusplus 00185 extern "C" { 00186 #endif 00187 00188 /** Pointer to DfvObj instance. */ 00189 typedef void* CDfvObjPtr; 00190 00191 /** 00192 * Error callback handler 00193 */ 00194 typedef void (DfvOnMessageProc)(DfvIfErrorLevel errLevel, DfvIfErrorCode errCode, const char* errMessage); 00195 typedef void (DfvOnMessageProcW)(DfvIfErrorLevel errLevel, DfvIfErrorCode errCode, const wchar_t* errMessage); 00196 typedef void (DfvOnFormatPageProc)(long pageNo); 00197 00198 typedef void (DfvOnMessageProcEx)(void* pAnyObj, DfvIfErrorLevel errLevel, DfvIfErrorCode errCode, const char* errMessage); 00199 typedef void (DfvOnMessageProcExW)(void* pAnyObj, DfvIfErrorLevel errLevel, DfvIfErrorCode errCode, const wchar_t* errMessage); 00200 typedef void (DfvOnFormatPageProcEx)(void* pAnyObj, long pageNo); 00201 00202 /** 00203 * Create instance of DfvObj 00204 * 00205 * @return Pointer to DfvObj instance. 00206 */ 00207 DFVINTERFACE_API CDfvObjPtr dfv_createDfvObject(); 00208 00209 /** 00210 * Release instance of DfvObj 00211 * 00212 * @param pDfvObj Pointer to DfvObj instance. 00213 */ 00214 DFVINTERFACE_API void dfv_releaseDfvObject(CDfvObjPtr pDfvObj); 00215 00216 /** 00217 * Get the URL of document you will format. 00218 * 00219 * @param pDfvObj Pointer to DfvObj instance. 00220 * @param pVal Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, 00221 * the string is truncated and terminated with a NULL character. 00222 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 00223 * @return Returns the 'pVal'. 00224 */ 00225 DFVINTERFACE_API char* dfv_getDocumentURI(CDfvObjPtr pDfvObj, char* pVal, int size); 00226 /** 00227 * Get the URL of document you will format. 00228 * 00229 * @param pDfvObj Pointer to DfvObj instance. 00230 * @param pVal Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, 00231 * the string is truncated and terminated with a NULL character. 00232 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 00233 * @return Returns the 'pVal'. 00234 */ 00235 DFVINTERFACE_API wchar_t* dfv_getDocumentURIW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size); 00236 00237 /** 00238 * Specifies the URL of document you will format. 00239 * If it is omitted or "\@STDIN" is specified, document is loaded from stdin. 00240 * The document loaded from stdin are supposed to be FO files. 00241 * 00242 * @param pDfvObj Pointer to DfvObj instance. 00243 * @param newVal Pointer to a null-terminated string to be used as the URL of XSL document. 00244 */ 00245 DFVINTERFACE_API void dfv_setDocumentURI(CDfvObjPtr pDfvObj, const char* newVal); 00246 /** 00247 * Specifies the URL of document you will format. 00248 * If it is omitted or "\@STDIN" is specified, document is loaded from stdin. 00249 * The document loaded from stdin are supposed to be FO files. 00250 * 00251 * @param pDfvObj Pointer to DfvObj instance. 00252 * @param newVal Pointer to a null-terminated string to be used as the URL of XSL document. 00253 */ 00254 DFVINTERFACE_API void dfv_setDocumentURIW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 00255 00256 /** 00257 * Get the path name of the output file. 00258 * 00259 * @param pDfvObj Pointer to DfvObj instance. 00260 * @param pVal Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, 00261 * the string is truncated and terminated with a NULL character. 00262 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 00263 * @return Returns the 'pVal'. 00264 */ 00265 DFVINTERFACE_API char* dfv_getOutputFilePath(CDfvObjPtr pDfvObj, char* pVal, int size); 00266 /** 00267 * Get the path name of the output file. 00268 * 00269 * @param pDfvObj Pointer to DfvObj instance. 00270 * @param pVal Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, 00271 * the string is truncated and terminated with a NULL character. 00272 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 00273 * @return Returns the 'pVal'. 00274 */ 00275 DFVINTERFACE_API wchar_t* dfv_getOutputFilePathW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size); 00276 00277 /** 00278 * Specifies the path name of the output file. When "\@STDOUT" is specified, it is considered as stdout. 00279 * If both the printer name and this property are specified, the formatted result will be stored in 00280 * the file by the printer driver. 00281 * When "\@PDF" is specified as output, the PDF is stored in the file specified by this property. 00282 * If the property is not specified, it is considered as stdout. 00283 * 00284 * @param pDfvObj Pointer to DfvObj instance. 00285 * @param newVal Pointer to a null-terminated string to be used as the path name of the output file. 00286 */ 00287 DFVINTERFACE_API void dfv_setOutputFilePath(CDfvObjPtr pDfvObj, const char* newVal); 00288 /** 00289 * Specifies the path name of the output file. When "\@STDOUT" is specified, it is considered as stdout. 00290 * If both the printer name and this property are specified, the formatted result will be stored in 00291 * the file by the printer driver. 00292 * When "\@PDF" is specified as output, the PDF is stored in the file specified by this property. 00293 * If the property is not specified, it is considered as stdout. 00294 * 00295 * @param pDfvObj Pointer to DfvObj instance. 00296 * @param newVal Pointer to a null-terminated string to be used as the path name of the output file. 00297 */ 00298 DFVINTERFACE_API void dfv_setOutputFilePathW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 00299 00300 /** 00301 * Get the path name of format Option setting file which describes Server Based Converter options. 00302 * 00303 * @param pDfvObj Pointer to DfvObj instance. 00304 * @param pVal Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, 00305 * the string is truncated and terminated with a NULL character. 00306 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 00307 * @param n Specifies to get n-th URI. 0 means first URI. 00308 * @return Returns the 'pVal'. 00309 */ 00310 DFVINTERFACE_API char* dfv_getOptionFileURI(CDfvObjPtr pDfvObj, char* pVal, int size, int n); 00311 /** 00312 * Get the path name of format Option setting file which describes Server Based Converter options. 00313 * 00314 * @param pDfvObj Pointer to DfvObj instance. 00315 * @param pVal Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, 00316 * the string is truncated and terminated with a NULL character. 00317 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 00318 * @param n Specifies to get n-th URI. 0 means first URI. 00319 * @return Returns the 'pVal'. 00320 */ 00321 DFVINTERFACE_API wchar_t* dfv_getOptionFileURIW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size, int n); 00322 00323 /** 00324 * Specifies the path name of format Option setting file which describes Server Based Converter options. 00325 * The set of former URIs is thrown away. 00326 * 00327 * @param pDfvObj Pointer to DfvObj instance. 00328 * @param newVal Pointer to a null-terminated string to be used as the path name of format Option setting file. 00329 */ 00330 DFVINTERFACE_API void dfv_setOptionFileURI(CDfvObjPtr pDfvObj, const char* newVal); 00331 /** 00332 * Specifies the path name of format Option setting file which describes Server Based Converter options. 00333 * The set of former URIs is thrown away. 00334 * 00335 * @param pDfvObj Pointer to DfvObj instance. 00336 * @param newVal Pointer to a null-terminated string to be used as the path name of format Option setting file. 00337 */ 00338 DFVINTERFACE_API void dfv_setOptionFileURIW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 00339 00340 /** 00341 * Append the path name of format Option setting file which describes Server Based Converter options. 00342 * 00343 * 00344 * @param pDfvObj Pointer to DfvObj instance. 00345 * @param newVal Pointer to a null-terminated string to be used as the path name of format Option setting file. 00346 */ 00347 DFVINTERFACE_API void dfv_addOptionFileURI(CDfvObjPtr pDfvObj, const char* newVal); 00348 /** 00349 * Append the path name of format Option setting file which describes Server Based Converter options. 00350 * 00351 * 00352 * @param pDfvObj Pointer to DfvObj instance. 00353 * @param newVal Pointer to a null-terminated string to be used as the path name of format Option setting file. 00354 */ 00355 DFVINTERFACE_API void dfv_addOptionFileURIW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 00356 00357 /** 00358 * Get the number of URIs of format Option setting file which describes Server Based Converter options. 00359 * 00360 * 00361 * @param pDfvObj Pointer to DfvObj instance. 00362 * @return Returns the number of URIs. 00363 */ 00364 DFVINTERFACE_API int dfv_getOptionFileCount(CDfvObjPtr pDfvObj); 00365 00366 /** 00367 * Get the start page number of document to output. 00368 * 00369 * @param pDfvObj Pointer to DfvObj instance. 00370 * @return start page number of output. 00371 */ 00372 DFVINTERFACE_API long dfv_getStartPage(CDfvObjPtr pDfvObj); 00373 00374 /** 00375 * Specifies the start page number of document to output. 00376 * If the start page is omitted or the specified value is 0 or less, the start page is 00377 * considered from the first page. 00378 * If the setting is inconsistent, (for example, StartPage=5 EndPage=3) an error occurs. 00379 * 00380 * @param pDfvObj Pointer to DfvObj instance. 00381 * @param newVal start page number of output. 00382 */ 00383 DFVINTERFACE_API void dfv_setStartPage(CDfvObjPtr pDfvObj, long newVal); 00384 00385 /** 00386 * Get the end page number of document to output. 00387 * 00388 * @param pDfvObj Pointer to DfvObj instance. 00389 * @return end page number of output. 00390 */ 00391 DFVINTERFACE_API long dfv_getEndPage(CDfvObjPtr pDfvObj); 00392 00393 /** 00394 * Specifies the end page number of document to output. 00395 * If the end page is omitted or the specified value exceeds the actual page number, the end page 00396 * is considered as the last page. 00397 * If the setting is inconsistent, (for example, StartPage=5 EndPage=3) an error occurs. 00398 * 00399 * @param pDfvObj Pointer to DfvObj instance. 00400 * @param newVal end page number of output. 00401 */ 00402 DFVINTERFACE_API void dfv_setEndPage(CDfvObjPtr pDfvObj, long newVal); 00403 00404 /** 00405 * Effective when outputting to PDF. 00406 * Specifies the owner password for PDF. The password must be within 32 bytes. 00407 * 00408 * 00409 * @param pDfvObj Pointer to DfvObj instance. 00410 * @param newVal Pointer to a null-terminated string to be used as the owner password. 00411 */ 00412 DFVINTERFACE_API void dfv_setPdfOwnerPassword(CDfvObjPtr pDfvObj, const char* newVal); 00413 00414 /** 00415 * Effective when outputting to PDF. 00416 * Specifies the owner password for PDF. The password must be within 32 bytes. 00417 * 00418 * 00419 * @param pDfvObj Pointer to DfvObj instance. 00420 * @param newVal Pointer to a null-terminated string to be used as the owner password. 00421 */ 00422 DFVINTERFACE_API void dfv_setPdfOwnerPasswordW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 00423 00424 /** 00425 * Effective when outputting to PDF. 00426 * Specifies the user password for PDF. The password must be within 32 bytes. 00427 * 00428 * 00429 * @param pDfvObj Pointer to DfvObj instance. 00430 * @param newVal Pointer to a null-terminated string to be used as the user password. 00431 */ 00432 DFVINTERFACE_API void dfv_setPdfUserPassword(CDfvObjPtr pDfvObj, const char* newVal); 00433 00434 /** 00435 * Effective when outputting to PDF. 00436 * Specifies the user password for PDF. The password must be within 32 bytes. 00437 * 00438 * 00439 * @param pDfvObj Pointer to DfvObj instance. 00440 * @param newVal Pointer to a null-terminated string to be used as the user password. 00441 */ 00442 DFVINTERFACE_API void dfv_setPdfUserPasswordW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 00443 00444 /** 00445 * Effective when outputting to PDF. 00446 * Disables printing the PDF file. 00447 * 00448 * 00449 * @param pDfvObj Pointer to DfvObj instance. 00450 * @param newVal If nonezero is specified, Disables printing the PDF file. 00451 */ 00452 DFVINTERFACE_API void dfv_setPdfNoPrinting(CDfvObjPtr pDfvObj, long newVal); 00453 00454 /** 00455 * Effective when outputting to PDF. 00456 * Get disables printing the PDF file. 00457 * 00458 * 00459 * @param pDfvObj Pointer to DfvObj instance. 00460 * @return If zero is returned, Enables printing the PDF file. 00461 * If nonezero is returned, Disables printing the PDF file. 00462 */ 00463 DFVINTERFACE_API long dfv_getPdfNoPrinting(CDfvObjPtr pDfvObj); 00464 00465 /** 00466 * Effective when outputting to PDF. 00467 * Disables making changes of the PDF file. 00468 * 00469 * 00470 * @param pDfvObj Pointer to DfvObj instance. 00471 * @param newVal If nonezero is specified, Disables making changes of the PDF file. 00472 */ 00473 DFVINTERFACE_API void dfv_setPdfNoChanging(CDfvObjPtr pDfvObj, long newVal); 00474 00475 /** 00476 * Effective when outputting to PDF. 00477 * Get disables making changes of the PDF file. 00478 * 00479 * 00480 * @param pDfvObj Pointer to DfvObj instance. 00481 * @return If zero is returned, Enables making changes of the PDF file. 00482 * If nonezero is returned, Disables making changes of the PDF file. 00483 */ 00484 DFVINTERFACE_API long dfv_getPdfNoChanging(CDfvObjPtr pDfvObj); 00485 00486 /** 00487 * Effective when outputting to PDF. 00488 * Disables copying the content of the PDF file. 00489 * 00490 * 00491 * @param pDfvObj Pointer to DfvObj instance. 00492 * @param newVal If nonezero is specified, Disables copying the content of the PDF file. 00493 */ 00494 DFVINTERFACE_API void dfv_setPdfNoContentCopying(CDfvObjPtr pDfvObj, long newVal); 00495 00496 /** 00497 * Effective when outputting to PDF. 00498 * Get disables copying the content of the PDF file. 00499 * 00500 * 00501 * @param pDfvObj Pointer to DfvObj instance. 00502 * @return If zero is returned, Enables copying the content of the PDF file. 00503 * If nonezero is returned, Disables copying the content of the PDF file. 00504 */ 00505 DFVINTERFACE_API long dfv_getPdfNoContentCopying(CDfvObjPtr pDfvObj); 00506 00507 /** 00508 * Effective when outputting to PDF. 00509 * Disables adding comments and form fields to the PDF file. 00510 * 00511 * 00512 * @param pDfvObj Pointer to DfvObj instance. 00513 * @param newVal If nonezero is specified, Disables adding comments and form fields to the PDF file. 00514 */ 00515 DFVINTERFACE_API void dfv_setPdfNoAddingOrChangingCommnets(CDfvObjPtr pDfvObj, long newVal); 00516 00517 /** 00518 * Effective when outputting to PDF. 00519 * Get disables adding comments and form fields to the PDF file. 00520 * 00521 * 00522 * @param pDfvObj Pointer to DfvObj instance. 00523 * @return If zero is returned, Enables adding comments and form fields to the PDF file. 00524 * If nonezero is returned, Disables adding comments and form fields to the PDF file. 00525 */ 00526 DFVINTERFACE_API long dfv_getPdfNoAddingOrChangingCommnets(CDfvObjPtr pDfvObj); 00527 00528 /** 00529 * Effective when outputting to PDF. 00530 * Disables adding comments and form fields to the PDF file. 00531 * 00532 * 00533 * @param pDfvObj Pointer to DfvObj instance. 00534 * @param newVal If nonezero is specified, Disables adding comments and form fields to the PDF file. 00535 */ 00536 DFVINTERFACE_API void dfv_setPdfNoAddingOrChangingComments(CDfvObjPtr pDfvObj, long newVal); 00537 00538 /** 00539 * Effective when outputting to PDF. 00540 * Get disables adding comments and form fields to the PDF file. 00541 * 00542 * 00543 * @param pDfvObj Pointer to DfvObj instance. 00544 * @return If zero is returned, Enables adding comments and form fields to the PDF file. 00545 * If nonezero is returned, Disables adding comments and form fields to the PDF file. 00546 */ 00547 DFVINTERFACE_API long dfv_getPdfNoAddingOrChangingComments(CDfvObjPtr pDfvObj); 00548 00549 /** 00550 * Effective when outputting to PDF. 00551 * Enables specifying whether the version of PDF is 1.3, 1.4 or 1.5. 00552 * 00553 * 00554 * @param pDfvObj Pointer to DfvObj instance. 00555 * @param newVal Specifies the version of PDF. 00556 */ 00557 DFVINTERFACE_API void dfv_setPdfVersion(CDfvObjPtr pDfvObj, DfvPDFVERSION newVal); 00558 00559 /** 00560 * Effective when outputting to PDF. 00561 * Get the version of PDF. 00562 * 00563 * 00564 * @param pDfvObj Pointer to DfvObj instance. 00565 * @return the version of PDF. 00566 */ 00567 DFVINTERFACE_API DfvPDFVERSION dfv_getPdfVersion(CDfvObjPtr pDfvObj); 00568 00569 /** 00570 * Effective when outputting to PDF. 00571 * Disables filling in of form fields and signing of the PDF file. 00572 * This parameter is effective only when you specify PDF1.4 or later to PDF version. 00573 * 00574 * 00575 * @param pDfvObj Pointer to DfvObj instance. 00576 * @param newVal If nonezero is specified, Disables filling in of form fields and signing of the PDF file. 00577 */ 00578 DFVINTERFACE_API void dfv_setPdfNoFillForm(CDfvObjPtr pDfvObj, long newVal); 00579 00580 /** 00581 * Effective when outputting to PDF. 00582 * Get disables filling in of form fields and signing of the PDF file. 00583 * 00584 * 00585 * @param pDfvObj Pointer to DfvObj instance. 00586 * @return If zero is returned, Enables filling in of form fields and signing of the PDF file. 00587 * If nonezero is returned, Disables filling in of form fields and signing of the PDF file. 00588 */ 00589 DFVINTERFACE_API long dfv_getPdfNoFillForm(CDfvObjPtr pDfvObj); 00590 00591 /** 00592 * Effective when outputting to PDF. 00593 * Disables text access for screen reader devices of the PDF file. 00594 * This parameter is effective only when you specify 1.4 or later with PDF version. 00595 * 00596 * 00597 * @param pDfvObj Pointer to DfvObj instance. 00598 * @param newVal If nonezero is specified, Disables text access for screen reader devices of the PDF file. 00599 */ 00600 DFVINTERFACE_API void dfv_setPdfNoAccessibility(CDfvObjPtr pDfvObj, long newVal); 00601 00602 /** 00603 * Effective when outputting to PDF. 00604 * Get disables text access for screen reader devices of the PDF file. 00605 * 00606 * 00607 * @param pDfvObj Pointer to DfvObj instance. 00608 * @return If zero is returned, Enables text access for screen reader devices of the PDF file. 00609 * If nonezero is returned, Disables text access for screen reader devices of the PDF file. 00610 */ 00611 DFVINTERFACE_API long dfv_getPdfNoAccessibility(CDfvObjPtr pDfvObj); 00612 00613 /** 00614 * Effective when outputting to PDF. 00615 * Disables inserting, deleting and rotating the PDF pages. 00616 * This parameter is effective only when you specify 1.4 or later with PDF version 00617 * 00618 * 00619 * @param pDfvObj Pointer to DfvObj instance. 00620 * @param newVal If nonezero is specified, Disables inserting, deleting and rotating the PDF pages. 00621 */ 00622 DFVINTERFACE_API void dfv_setPdfNoAssembleDoc(CDfvObjPtr pDfvObj, long newVal); 00623 00624 /** 00625 * Effective when outputting to PDF. 00626 * Get disables inserting, deleting and rotating the PDF pages. 00627 * 00628 * 00629 * @param pDfvObj Pointer to DfvObj instance. 00630 * @return If zero is returned, Enables inserting, deleting and rotating the PDF pages. 00631 * If nonezero is returned, Disables inserting, deleting and rotating the PDF pages. 00632 */ 00633 DFVINTERFACE_API long dfv_getPdfNoAssembleDoc(CDfvObjPtr pDfvObj); 00634 00635 /** 00636 * Effective when outputting to PDF. 00637 * Specifies the key length when encrypting the PDF file during outputting. 00638 * The key length can be specified as either 40 or 128 (bit). 00639 * This parameter is effective only when you specify PDF1.4 or later with PDF version 00640 * 00641 * 00642 * @param pDfvObj Pointer to DfvObj instance. 00643 * @param newVal Specifies the key length. 00644 */ 00645 DFVINTERFACE_API void dfv_setPdfEncryptLevel(CDfvObjPtr pDfvObj, DfvPDFENCRYPTLEVEL newVal); 00646 00647 /** 00648 * Effective when outputting to PDF. 00649 * Get the key length when encrypting the PDF file during outputting. 00650 * 00651 * 00652 * @param pDfvObj Pointer to DfvObj instance. 00653 * @return the key length. 00654 */ 00655 DFVINTERFACE_API DfvPDFENCRYPTLEVEL dfv_getPdfEncryptLevel(CDfvObjPtr pDfvObj); 00656 00657 /** 00658 * Effective when outputting to PDF. 00659 * Gets the value of whether to embed all embeddable fonts in PDF. 00660 * 00661 * 00662 * @param pDfvObj Pointer to DfvObj instance. 00663 * @return the value of whether to embed all embeddable fonts 00664 */ 00665 DFVINTERFACE_API long dfv_getPdfEmbedAllFonts(CDfvObjPtr pDfvObj); 00666 00667 /** 00668 * Effective when outputting to PDF. 00669 * Embeds all embeddable fonts in PDF to create. 00670 * 00671 * 00672 * @param pDfvObj Pointer to DfvObj instance. 00673 * @param newVal If the value is 'true' is specified, Embeds all embeddable fonts 00674 */ 00675 DFVINTERFACE_API void dfv_setPdfEmbedAllFonts(CDfvObjPtr pDfvObj, long newVal); 00676 00677 /** 00678 * Effective when outputting to PDF. 00679 * Gets the font specified to be embedded in PDF. 00680 * 00681 * 00682 * @param pDfvObj Pointer to DfvObj instance. 00683 * @param pVal Pointer to the buffer that will receive the fontnames. If the string is as long or longer than the buffer, 00684 * the string is truncated and terminated with a NULL character. 00685 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 00686 * @return Returns the 'pVal'. 00687 */ 00688 DFVINTERFACE_API char* dfv_getPdfEmbedFonts(CDfvObjPtr pDfvObj, char* pVal, int size); 00689 00690 /** 00691 * Effective when outputting to PDF. 00692 * Gets the font specified to be embedded in PDF. 00693 * 00694 * 00695 * @param pDfvObj Pointer to DfvObj instance. 00696 * @param pVal Pointer to the buffer that will receive the fontnames. If the string is as long or longer than the buffer, 00697 * the string is truncated and terminated with a NULL character. 00698 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 00699 * @return Returns the 'pVal'. 00700 */ 00701 DFVINTERFACE_API wchar_t* dfv_getPdfEmbedFontsW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size); 00702 00703 /** 00704 * Effective when outputting to PDF. 00705 * Embeds the specified font in PDF to create. If you want to specify plural fonts, put commas between fonts. 00706 * 00707 * 00708 * @param pDfvObj Pointer to DfvObj instance. 00709 * @param newVal fonts specified to embed 00710 */ 00711 DFVINTERFACE_API void dfv_setPdfEmbedFonts(CDfvObjPtr pDfvObj, const char* newVal); 00712 00713 /** 00714 * Effective when outputting to PDF. 00715 * Embeds the specified font in PDF to create. If you want to specify plural fonts, put commas between fonts. 00716 * 00717 * 00718 * @param pDfvObj Pointer to DfvObj instance. 00719 * @param newVal fonts specified to embed 00720 */ 00721 DFVINTERFACE_API void dfv_setPdfEmbedFontsW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 00722 00723 /** 00724 * Effective when outputting to PDF. 00725 * Gets the value of whether to issues the error when failing to embed fonts. 00726 * 00727 * 00728 * @param pDfvObj Pointer to DfvObj instance. 00729 * @return the value of whether to issues the error 00730 */ 00731 DFVINTERFACE_API long dfv_getPdfErrorOnEmbedFault(CDfvObjPtr pDfvObj); 00732 00733 /** 00734 * Effective when outputting to PDF. 00735 * An error is issued in case of failing to embed fonts. 00736 * 00737 * 00738 * @param pDfvObj Pointer to DfvObj instance. 00739 * @param newVal If the value is 'true' is specified, an error is issued. 00740 */ 00741 DFVINTERFACE_API void dfv_setPdfErrorOnEmbedFault(CDfvObjPtr pDfvObj, long newVal); 00742 00743 /** 00744 * Effective when outputting to PDF. 00745 * Gets the value of whether to issues the error when missing glyph. 00746 * 00747 * 00748 * @param pDfvObj Pointer to DfvObj instance. 00749 * @return the value of whether to issues the error 00750 */ 00751 DFVINTERFACE_API long dfv_getPdfErrorOnMissingGlyph(CDfvObjPtr pDfvObj); 00752 00753 /** 00754 * Effective when outputting to PDF. 00755 * An error is issued in case of missing glyph. 00756 * 00757 * 00758 * @param pDfvObj Pointer to DfvObj instance. 00759 * @param newVal If the value is 'true' is specified, an error is issued. 00760 */ 00761 DFVINTERFACE_API void dfv_setPdfErrorOnMissingGlyph(CDfvObjPtr pDfvObj, long newVal); 00762 00763 /** 00764 * Effective when outputting to PDF. 00765 * Gets the value of whether to print the resulting PDF file or not. 00766 * 00767 * 00768 * <table border="0" cellspacing="0" cellpadding="0"> 00769 * <tr><td>PRALLOW_NONE </td><td>= 0 Not Allowed</td></tr> 00770 * <tr><td>PRALLOW_LOW </td><td>= 1 Low Resolution Printing</td></tr> 00771 * <tr><td>PRALLOW_HIGH </td><td>= 2 High Resolution Printing</td></tr> 00772 * </table> 00773 * 00774 * @param pDfvObj Pointer to DfvObj instance. 00775 * @return the value of printing allowed 00776 */ 00777 DFVINTERFACE_API DfvPDFPRINTALLOW dfv_getPdfPrintingAllowed(CDfvObjPtr pDfvObj); 00778 00779 /** 00780 * Effective when outputting to PDF. 00781 * Spesifies whether to permit printing PDF to create with one of the following values. 00782 * This parameter is effective only when you specify PDF1.4 or later to PDF version (setPdfVersion). 00783 * 00784 * 00785 * <table border="0" cellspacing="0" cellpadding="0"> 00786 * <tr><td>PRALLOW_NONE </td><td>= 0 Not Allowed</td></tr> 00787 * <tr><td>PRALLOW_LOW </td><td>= 1 Low Resolution Printing</td></tr> 00788 * <tr><td>PRALLOW_HIGH </td><td>= 2 High Resolution Printing</td></tr> 00789 * </table> 00790 * 00791 * @param pDfvObj Pointer to DfvObj instance. 00792 * @param newVal the value of printing allowed 00793 */ 00794 DFVINTERFACE_API void dfv_setPdfPrintingAllowed(CDfvObjPtr pDfvObj, DfvPDFPRINTALLOW newVal); 00795 00796 /** 00797 * Effective when outputting to PDF. 00798 * Gets the value of how to compress the color images embedded in PDF. 00799 * 00800 * 00801 * <table border="0" cellspacing="0" cellpadding="0"> 00802 * <tr><td>IMGCMPR_AUTO </td><td>= 0 Auto</td></tr> 00803 * <tr><td>IMGCMPR_JPEG </td><td>= 1 JPEG compression</td></tr> 00804 * <tr><td>IMGCMPR_ZLIB </td><td>= 2 ZLIB compression</td></tr> 00805 * <tr><td>IMGCMPR_JPEG2K </td><td>= 3 JPEG2000 compression</td></tr> 00806 * </table> 00807 * 00808 * @param pDfvObj Pointer to DfvObj instance. 00809 * @return the value of how raster graphics are compressed and stored 00810 */ 00811 DFVINTERFACE_API DfvPDFIMAGECOMPRESSION dfv_getPdfImageCompression(CDfvObjPtr pDfvObj); 00812 00813 /** 00814 * Effective when outputting to PDF. 00815 * When the color image format cannot be stored directly in PDF, the image is stored after being transformed into the bit map format which is compatible with PDF. The compression method of the data stored in a PDF file is then specified by one of the following values.<BR> 00816 * When IMGCMPR_AUTO is selected, the process is automatically done and creates the image data according to the setting of dfv_setPdfJPEGQuality and dfv_setPdfRasterizeResolution. Whichever has the smaller compressed size, JPEG or ZLIB, is selected. <BR> 00817 This is the setting for the color image. Spesify dfv_setPdfGrayscaleImageCompression for the grayscale image, and dfv_setPdfMonochromeImageCompression for the monochrome image. 00818 * 00819 * 00820 * <table border="0" cellspacing="0" cellpadding="0"> 00821 * <tr><td>IMGCMPR_AUTO </td><td>= 0 Auto</td></tr> 00822 * <tr><td>IMGCMPR_JPEG </td><td>= 1 JPEG compression</td></tr> 00823 * <tr><td>IMGCMPR_ZLIB </td><td>= 2 ZLIB compression</td></tr> 00824 * <tr><td>IMGCMPR_JPEG2K </td><td>= 3 JPEG2000 compression</td></tr> 00825 * </table> 00826 * 00827 * @param pDfvObj Pointer to DfvObj instance. 00828 * @param newVal the value of how raster graphics are compressed and stored 00829 */ 00830 DFVINTERFACE_API void dfv_setPdfImageCompression(CDfvObjPtr pDfvObj, DfvPDFIMAGECOMPRESSION newVal); 00831 00832 /** 00833 * Gets the value of the quality of JPEG format that is specified by dfv_setPdfImageCompression() stored in PDF. 00834 * 00835 * 00836 * @param pDfvObj Pointer to DfvObj instance. 00837 * @return the value of the quality of JPEG format 00838 */ 00839 DFVINTERFACE_API int dfv_getPdfJPEGQuality(CDfvObjPtr pDfvObj); 00840 00841 /** 00842 * Effective when outputting to PDF. 00843 * For the color image format that can not be stored directly in PDF, specifies the image quality by the numerical value within the range of 1-100 when IMGCMPR_JPEG is specified by setPdfImageCompression. The quality becomes higher in proportion to the increase in the number; however the file size also becomes larger.<BR> 00844 * CAUTION: It is not for changing the quality of a JPEG format image.<BR> 00845 * This is the setting for the color image. Spesify setPdfGrayscaleJPEGQuality for the grayscale image. 00846 * 00847 * 00848 * @param pDfvObj Pointer to DfvObj instance. 00849 * @param newVal the value of the quality of JPEG format 00850 */ 00851 DFVINTERFACE_API void dfv_setPdfJPEGQuality(CDfvObjPtr pDfvObj, int newVal); 00852 00853 /** 00854 * Effective when outputting to PDF. 00855 * Gets the value of whether the text and the line art in PDF are compressed in order to make the size of PDF smaller or not. 00856 * 00857 * 00858 * @param pDfvObj Pointer to DfvObj instance. 00859 * @return the value of whether make the size of PDF smaller or not 00860 */ 00861 DFVINTERFACE_API long dfv_getPdfCompressContentStream(CDfvObjPtr pDfvObj); 00862 00863 /** 00864 * Effective when outputting to PDF. 00865 * Specifies whether the text and the line art in PDF are compressed in order to make the size of PDF smaller or not. 00866 * 00867 * 00868 * @param pDfvObj Pointer to DfvObj instance. 00869 * @param newVal If the value is 'true' is specified, make the PDF compress 00870 */ 00871 DFVINTERFACE_API void dfv_setPdfCompressContentStream(CDfvObjPtr pDfvObj, long newVal); 00872 00873 /** 00874 * Effective when outputting to PDF. 00875 * Gets the value of how to transform external link specified by the relative address in the PDF link. 00876 * 00877 * 00878 * @param pDfvObj Pointer to DfvObj instance. 00879 * @return the value of how to transform external link 00880 */ 00881 DFVINTERFACE_API long dfv_getPdfUseLaunchForRelativeURI(CDfvObjPtr pDfvObj); 00882 00883 /** 00884 * Effective when outputting to PDF. 00885 * Specifies whether the external link specified by the relative address is transformed into 'Open the file' or into 'World Wide Web link' in the PDF link properties. 00886 * 00887 * 00888 * @param pDfvObj Pointer to DfvObj instance. 00889 * @param newVal If nonezero is specified, it is transformed to 'Open the file'. If zero is specified, it is transformed to 'World Wide Web link' 00890 */ 00891 DFVINTERFACE_API void dfv_setPdfUseLaunchForRelativeURI(CDfvObjPtr pDfvObj, long newVal); 00892 00893 /** 00894 * Effective when outputting to PDF. 00895 * Gets the value of how to convert the RGB color space (DebiceRGB) to DeviceGray. 00896 * 00897 * 00898 * <table border="0" cellspacing="0" cellpadding="0"> 00899 * <tr><td>RGBCONV_NONE </td><td>= 0 No Conversion</td></tr> 00900 * <tr><td>RGBCONV_BLACK </td><td>= 1 Black to DeviceGray</td></tr> 00901 * <tr><td>RGBCONV_GRAY </td><td>= 2 Gray to DeviceGray</td></tr> 00902 * <tr><td>RGBCONV_ALL </td><td>= 3 All RGB to DeviceGray</td></tr> 00903 * </table> 00904 * 00905 * @param pDfvObj Pointer to DfvObj instance. 00906 * @return the value of how to convert 00907 */ 00908 DFVINTERFACE_API DfvPDFRGBCONVERSION dfv_getPdfRGBConversion(CDfvObjPtr pDfvObj); 00909 00910 /** 00911 * Effective when outputting to PDF. 00912 * Specifies how to convert the RGB color space (DeviceRGB) to DeviceGray. 00913 * 00914 * 00915 * <table border="0" cellspacing="0" cellpadding="0"> 00916 * <tr><td>RGBCONV_NONE </td><td>= 0 No Conversion</td></tr> 00917 * <tr><td>RGBCONV_BLACK </td><td>= 1 Black to DeviceGray</td></tr> 00918 * <tr><td>RGBCONV_GRAY </td><td>= 2 Gray to DeviceGray</td></tr> 00919 * <tr><td>RGBCONV_ALL </td><td>= 3 All RGB to DeviceGray</td></tr> 00920 * </table> 00921 * 00922 * @param pDfvObj Pointer to DfvObj instance. 00923 * @param newVal the value of how to convert 00924 */ 00925 DFVINTERFACE_API void dfv_setPdfRGBConversion(CDfvObjPtr pDfvObj, DfvPDFRGBCONVERSION newVal); 00926 00927 #if defined(_DOXYGEN) || (defined(_MSC_VER) && defined(_WIN32)) 00928 00929 /** 00930 * Effective when outputting to PDF. 00931 * Gets the value of the rasterised-resolution of the transformed raster images. 00932 * 00933 * 00934 * @param pDfvObj Pointer to DfvObj instance. 00935 * @return Rasterised-resolution 00936 */ 00937 DFVINTERFACE_API int dfv_getPdfRasterizeResolution(CDfvObjPtr pDfvObj); 00938 00939 /** 00940 * Effective when outputting to PDF. 00941 * Specifies the value of the rasterised-resolution of the transformed raster images in the range from 70 to 500(dpi). SVG, EMF and WMF are drawn in PDF as vectors without being transformed to raster images. 00942 * This setting is effective only with Windows version. 00943 * 00944 * 00945 * @param pDfvObj Pointer to DfvObj instance. 00946 * @param newVal Rasterised-resolution (70 to 500) 00947 */ 00948 DFVINTERFACE_API void dfv_setPdfRasterizeResolution(CDfvObjPtr pDfvObj, int newVal); 00949 00950 #endif // defined(_DOXYGEN) || (defined(_MSC_VER) && defined(_WIN32)) 00951 00952 /** 00953 * Effective when outputting to PDF. 00954 * Gets the value of whether to embed all embeddable fonts 00955 * 00956 * 00957 * <table border="0" cellspacing="0" cellpadding="0"> 00958 * <tr><td>EMBALLFONT_PART </td><td>= 0 Specified fonts </td></tr> 00959 * <tr><td>EMBALLFONT_ALL </td><td>= 1 All fonts except Base14 fonts</td></tr> 00960 * <tr><td>EMBALLFONT_BASE14 </td><td>= 2 All fonts</td></tr> 00961 * </table> 00962 * 00963 * @param pDfvObj Pointer to DfvObj instance. 00964 * @return the value of whether to embed all embeddable fonts 00965 */ 00966 DFVINTERFACE_API DfvEMBEDALLFONT dfv_getPdfEmbedAllFontsEx(CDfvObjPtr pDfvObj); 00967 00968 /** 00969 * Effective when outputting to PDF. 00970 * Specifies whether to embed the all outline data of fonts in PDF or not with one of the following values, which are True type fonts and Type1 Fonts and are embeddable in the formatted result. 00971 * 00972 * 00973 * <table border="0" cellspacing="0" cellpadding="0"> 00974 * <tr><td>EMBALLFONT_PART </td><td>= 0 Specified fonts </td></tr> 00975 * <tr><td>EMBALLFONT_ALL </td><td>= 1 All fonts except Base14 fonts</td></tr> 00976 * <tr><td>EMBALLFONT_BASE14 </td><td>= 2 All fonts</td></tr> 00977 * </table> 00978 * 00979 *If the value is EMBALLFONT_PART, only fonts specified in dfv_setPdfEmbedFonts are embedded. If the value is EMBALLFONT_ALL, all fonts that can be embedded except Base 14 fonts will be embedded. If the value is EMBALLFONT_BASE14, all fonts including Base 14 fonts that can be embedded will be embedded. 00980 * 00981 * @param pDfvObj Pointer to DfvObj instance. 00982 * @param newVal the value of whether to embed all embeddable fonts 00983 */ 00984 DFVINTERFACE_API void dfv_setPdfEmbedAllFontsEx(CDfvObjPtr pDfvObj, DfvEMBEDALLFONT newVal); 00985 00986 /** 00987 * Effective when outputting to PDF. 00988 * Gets the value of method to downsample the color image 00989 * 00990 * 00991 * @param pDfvObj Pointer to DfvObj instance. 00992 * @return the value of method to downsample the color image 00993 */ 00994 DFVINTERFACE_API DfvIMAGEDOWNSAMPLING dfv_getPdfImageDownSampling(CDfvObjPtr pDfvObj); 00995 00996 /** 00997 * Effective when outputting to PDF. 00998 * Specifies the following either of method to downsample the color image that is put into PDF. 00999 * 01000 * 01001 * <table border="0" cellspacing="0" cellpadding="0"> 01002 * <tr><td>IMGDOWNSAMPLING_NONE </td><td>= 0 No downsampling </td></tr> 01003 * <tr><td>IMGDOWNSAMPLING_AVERAGE </td><td>= 1 Average downsamplin</td></tr> 01004 * <tr><td>IMGDOWNSAMPLING_BICUBIC </td><td>= 2 Bicubic downsampling</td></tr> 01005 * <tr><td>IMGDOWNSAMPLING_SUBSAMPLING </td><td>= 3 Subsampling</td></tr> 01006 * </table> 01007 * 01008 * When the value except IMGDOWNSAMPLING_NONE is specified, the image that has the resolution larger than the one specified by dfv_setPdfImageDownSamplingDPI will be downsampled into the resolution specified by dfv_setPdfImageDownSamplingTarget. 01009 This is the setting for the color image. Spesify dfv_setPdfGrayscaleImageDownSampling for the grayscale image, and dfv_setPdfMonochromeImageDownSampling for the monochrome image. 01010 * 01011 * @param pDfvObj Pointer to DfvObj instance. 01012 * @param newVal the value of method to downsample the color image 01013 */ 01014 DFVINTERFACE_API void dfv_setPdfImageDownSampling(CDfvObjPtr pDfvObj, DfvIMAGEDOWNSAMPLING newVal); 01015 01016 /** 01017 * Effective when outputting to PDF. 01018 * Gets resolution when the color image is downsampled. 01019 * 01020 * 01021 * @param pDfvObj Pointer to DfvObj instance. 01022 * @return the value of resolution. 01023 */ 01024 DFVINTERFACE_API int dfv_getPdfImageDownSamplingTarget(CDfvObjPtr pDfvObj); 01025 01026 /** 01027 * Effective when outputting to PDF. 01028 * Set resolution when the color image is downsampled. 01029 * 01030 * 01031 * @param pDfvObj Pointer to DfvObj instance. 01032 * @param newVal the value of resolution. 01033 */ 01034 DFVINTERFACE_API void dfv_setPdfImageDownSamplingTarget(CDfvObjPtr pDfvObj, int newVal); 01035 01036 /** 01037 * Effective when outputting to PDF. 01038 * Gets resolution of the color image which performs a downsampling. 01039 * 01040 * 01041 * @param pDfvObj Pointer to DfvObj instance. 01042 * @return the value of resolution. 01043 */ 01044 DFVINTERFACE_API int dfv_getPdfImageDownSamplingDPI(CDfvObjPtr pDfvObj); 01045 01046 /** 01047 * Effective when outputting to PDF. 01048 * Set resolution of the color image which performs a downsampling. 01049 * 01050 * 01051 * @param pDfvObj Pointer to DfvObj instance. 01052 * @param newVal the value of resolution. 01053 */ 01054 DFVINTERFACE_API void dfv_setPdfImageDownSamplingDPI(CDfvObjPtr pDfvObj, int newVal); 01055 01056 /** 01057 * Effective when outputting to PDF. 01058 * Gets specification whether to embed to PDF the ICC profile of the color image that will be embedded to PDF. 01059 * 01060 * 01061 * 01062 * @param pDfvObj Pointer to DfvObj instance. 01063 * @return If nonezero is specified, it is embedded. If zero is specified, it is not embedded. 01064 */ 01065 DFVINTERFACE_API long dfv_getPdfPutImageColorProfile(CDfvObjPtr pDfvObj); 01066 01067 /** 01068 * Effective when outputting to PDF. 01069 * Specifies whether to embed to PDF the ICC profile of the color image that will be embedded to PDF. 01070 * 01071 * 01072 * @param pDfvObj Pointer to DfvObj instance. 01073 * @param newVal If nonezero is specified, it is embedded. If zero is specified, it is not embedded. 01074 */ 01075 DFVINTERFACE_API void dfv_setPdfPutImageColorProfile(CDfvObjPtr pDfvObj, long newVal); 01076 01077 /** 01078 * Effective when outputting to PDF. 01079 * Gets the value of how to compress the grayscale images embedded in PDF. 01080 * 01081 * 01082 * <table border="0" cellspacing="0" cellpadding="0"> 01083 * <tr><td>IMGCMPR_AUTO </td><td>= 0 Auto</td></tr> 01084 * <tr><td>IMGCMPR_JPEG </td><td>= 1 JPEG compression</td></tr> 01085 * <tr><td>IMGCMPR_ZLIB </td><td>= 2 ZLIB compression</td></tr> 01086 * <tr><td>IMGCMPR_JPEG2K </td><td>= 3 JPEG2000 compression</td></tr> 01087 * </table> 01088 * 01089 * @param pDfvObj Pointer to DfvObj instance. 01090 * @return the value of how raster graphics are compressed and stored 01091 */ 01092 DFVINTERFACE_API DfvPDFIMAGECOMPRESSION dfv_getPdfGrayscaleImageCompression(CDfvObjPtr pDfvObj); 01093 01094 /** 01095 * Effective when outputting to PDF. 01096 * When the grayscale image format cannot be stored directly in PDF, the image is stored after being transformed into the bit map format which is compatible with PDF. The compression method of the data stored in a PDF file is then specified by one of the following values.<BR> 01097 * When IMGCMPR_AUTO is selected, the process is automatically done and creates the image data according to the setting of dfv_setPdfGrayscaleJPEGQuality and dfv_setPdfRasterizeResolution. Whichever has the smaller compressed size, JPEG or ZLIB, is selected. <BR> 01098 This is the setting for the grayscale image. Spesify dfv_setPdfImageCompression for the color image, and dfv_setPdfMonochromeImageCompression for the monochrome image. 01099 * 01100 * 01101 * <table border="0" cellspacing="0" cellpadding="0"> 01102 * <tr><td>IMGCMPR_AUTO </td><td>= 0 Auto</td></tr> 01103 * <tr><td>IMGCMPR_JPEG </td><td>= 1 JPEG compression</td></tr> 01104 * <tr><td>IMGCMPR_ZLIB </td><td>= 2 ZLIB compression</td></tr> 01105 * <tr><td>IMGCMPR_JPEG2K </td><td>= 3 JPEG2000 compression</td></tr> 01106 * </table> 01107 * 01108 * @param pDfvObj Pointer to DfvObj instance. 01109 * @param newVal the value of how raster graphics are compressed and stored 01110 */ 01111 DFVINTERFACE_API void dfv_setPdfGrayscaleImageCompression(CDfvObjPtr pDfvObj, DfvPDFIMAGECOMPRESSION newVal); 01112 01113 /** 01114 * Effective when outputting to PDF. 01115 * Gets the value of the quality of JPEG format that is specified by dfv_setPdfGrayscaleImageCompression stored in PDF. 01116 * 01117 * 01118 * @param pDfvObj Pointer to DfvObj instance. 01119 * @return the value of the quality of JPEG format 01120 */ 01121 DFVINTERFACE_API int dfv_getPdfGrayscaleJPEGQuality(CDfvObjPtr pDfvObj); 01122 01123 /** 01124 * Effective when outputting to PDF. 01125 * For the grayscale image format that can not be stored directly in PDF, specifies the image quality by the numerical value within the range of 1-100 when IMGCMPR_JPEG is specified by dfv_setPdfGrayscaleImageCompression. The quality becomes higher in proportion to the increase in the number; however the file size also becomes larger.<BR> 01126 * CAUTION: It is not for changing the quality of a JPEG format image.<BR> 01127 * This is the setting for the grayscale image. Spesify dfv_setPdfJPEGQuality for the color image. 01128 * 01129 * 01130 * @param pDfvObj Pointer to DfvObj instance. 01131 * @param newVal the value of the quality of JPEG format 01132 */ 01133 DFVINTERFACE_API void dfv_setPdfGrayscaleJPEGQuality(CDfvObjPtr pDfvObj, int newVal); 01134 01135 /** 01136 * Effective when outputting to PDF. 01137 * Gets the value of method to downsample the grayscale image 01138 * 01139 * 01140 * @param pDfvObj Pointer to DfvObj instance. 01141 * @return the value of method to downsample the grayscale image 01142 */ 01143 DFVINTERFACE_API DfvIMAGEDOWNSAMPLING dfv_getPdfGrayscaleImageDownSampling(CDfvObjPtr pDfvObj); 01144 01145 /** 01146 * Effective when outputting to PDF. 01147 * 01148 * 01149 * @param pDfvObj Pointer to DfvObj instance. 01150 * @param newVal 01151 */ 01152 DFVINTERFACE_API void dfv_setPdfGrayscaleImageDownSampling(CDfvObjPtr pDfvObj, DfvIMAGEDOWNSAMPLING newVal); 01153 01154 /** 01155 * Effective when outputting to PDF. 01156 * Gets resolution when the grayscale image is downsampled. 01157 * 01158 * 01159 * @param pDfvObj Pointer to DfvObj instance. 01160 * @return the value of resolution. 01161 */ 01162 DFVINTERFACE_API int dfv_getPdfGrayscaleImageDownSamplingTarget(CDfvObjPtr pDfvObj); 01163 01164 /** 01165 * Effective when outputting to PDF. 01166 * Specifies the following either of method to downsample the grayscale image that is put into PDF. 01167 * 01168 * 01169 * <table border="0" cellspacing="0" cellpadding="0"> 01170 * <tr><td>IMGDOWNSAMPLING_NONE </td><td>= 0 No downsampling </td></tr> 01171 * <tr><td>IMGDOWNSAMPLING_AVERAGE </td><td>= 1 Average downsamplin</td></tr> 01172 * <tr><td>IMGDOWNSAMPLING_BICUBIC </td><td>= 2 Bicubic downsampling</td></tr> 01173 * <tr><td>IMGDOWNSAMPLING_SUBSAMPLING </td><td>= 3 Subsampling</td></tr> 01174 * </table> 01175 * 01176 * When the value except IMGDOWNSAMPLING_NONE is specified, the image that has the resolution larger than the one specified by dfv_setPdfGrayscaleImageDownSamplingDPI will be downsampled into the resolution specified by dfv_setPdfGrayscaleImageDownSamplingTarget. 01177 This is the setting for the grayscale image. Spesify dfv_setPdfImageDownSampling for the color image, and dfv_setPdfMonochromeImageDownSampling for the monochrome image. 01178 * 01179 * @param pDfvObj Pointer to DfvObj instance. 01180 * @param newVal the value of method to downsample the grayscale image 01181 */ 01182 DFVINTERFACE_API void dfv_setPdfGrayscaleImageDownSamplingTarget(CDfvObjPtr pDfvObj, int newVal); 01183 01184 /** 01185 * Effective when outputting to PDF. 01186 * Gets resolution of the grayscale image which performs a downsampling. 01187 * 01188 * 01189 * @param pDfvObj Pointer to DfvObj instance. 01190 * @return the value of resolution. 01191 */ 01192 DFVINTERFACE_API int dfv_getPdfGrayscaleImageDownSamplingDPI(CDfvObjPtr pDfvObj); 01193 01194 /** 01195 * Effective when outputting to PDF. 01196 * Set resolution of the grayscale image which performs a downsampling. 01197 * 01198 * 01199 * @param pDfvObj Pointer to DfvObj instance. 01200 * @param newVal the value of resolution. 01201 */ 01202 DFVINTERFACE_API void dfv_setPdfGrayscaleImageDownSamplingDPI(CDfvObjPtr pDfvObj, int newVal); 01203 01204 /** 01205 * Effective when outputting to PDF. 01206 * Gets the value of how to compress the monochrome images embedded in PDF. 01207 * 01208 * 01209 * <table border="0" cellspacing="0" cellpadding="0"> 01210 * <tr><td>MONOCMPR_CCITT4 </td><td>= 0 CCITTFaxDecode group 4 filter,default value</td></tr> 01211 * <tr><td>MONOCMPR_CCITT3 </td><td>= 1 CCITTFaxDecode group 3 filter</td></tr> 01212 * <tr><td>MONOCMPR_RUNLENGTH </td><td>= 2 RunLengthDecode filter</td></tr> 01213 * <tr><td>MONOCMPR_ZLIB </td><td>= 3 FlateDecode filter</td></tr> 01214 * <tr><td>MONOCMPR_OFF </td><td>= 4 no filter</td></tr> 01215 * </table> 01216 * 01217 * @param pDfvObj Pointer to DfvObj instance. 01218 * @return the value of how raster graphics are compressed and stored 01219 */ 01220 DFVINTERFACE_API DfvMONOCHROMECOMPRESSION dfv_getPdfMonochromeImageCompression(CDfvObjPtr pDfvObj); 01221 01222 /** 01223 * Effective when outputting to PDF. 01224 * When the monochrome image format cannot be stored directly in PDF, the image is stored after being transformed into the bit map format which is compatible with PDF. The compression method of the data stored in a PDF file is then specified by one of the following values.<BR> 01225 This is the setting for the monochrome image. Spesify dfv_setPdfGrayscaleImageCompression for the grayscale image, and dfv_setPdfImageCompression for the color image. 01226 * 01227 * 01228 * <table border="0" cellspacing="0" cellpadding="0"> 01229 * <tr><td>MONOCMPR_CCITT4 </td><td>= 0 CCITTFaxDecode group 4 filter,default value</td></tr> 01230 * <tr><td>MONOCMPR_CCITT3 </td><td>= 1 CCITTFaxDecode group 3 filter</td></tr> 01231 * <tr><td>MONOCMPR_RUNLENGTH </td><td>= 2 RunLengthDecode filter</td></tr> 01232 * <tr><td>MONOCMPR_ZLIB </td><td>= 3 FlateDecode filter</td></tr> 01233 * <tr><td>MONOCMPR_OFF </td><td>= 4 no filter</td></tr> 01234 * </table> 01235 * 01236 * @param pDfvObj Pointer to DfvObj instance. 01237 * @param newVal the value of how raster graphics are compressed and stored 01238 */ 01239 DFVINTERFACE_API void dfv_setPdfMonochromeImageCompression(CDfvObjPtr pDfvObj, DfvMONOCHROMECOMPRESSION newVal); 01240 01241 /** 01242 * Effective when outputting to PDF. 01243 * Gets the value of method to downsample the monochrome image 01244 * 01245 * 01246 * @param pDfvObj Pointer to DfvObj instance. 01247 * @return the value of method to downsample the monochrome image 01248 */ 01249 DFVINTERFACE_API DfvIMAGEDOWNSAMPLING dfv_getPdfMonochromeImageDownSampling(CDfvObjPtr pDfvObj); 01250 01251 /** 01252 * Effective when outputting to PDF. 01253 * Specifies the following either of method to downsample the monochrome image that is put into PDF. 01254 * 01255 * 01256 * <table border="0" cellspacing="0" cellpadding="0"> 01257 * <tr><td>IMGDOWNSAMPLING_NONE </td><td>= 0 No downsampling </td></tr> 01258 * <tr><td>IMGDOWNSAMPLING_AVERAGE </td><td>= 1 Average downsamplin</td></tr> 01259 * <tr><td>IMGDOWNSAMPLING_BICUBIC </td><td>= 2 Bicubic downsampling</td></tr> 01260 * <tr><td>IMGDOWNSAMPLING_SUBSAMPLING </td><td>= 3 Subsampling</td></tr> 01261 * </table> 01262 * 01263 * When the value except IMGDOWNSAMPLING_NONE is specified, the image that has the resolution larger than the one specified by dfv_setPdfMonochromeImageDownSamplingDPI will be downsampled into the resolution specified by dfv_setPdfMonochromeImageDownSamplingTarget. 01264 This is the setting for the monochrome image. Spesify dfv_setPdfImageDownSampling for the color image, and dfv_setPdfGrayscaleImageDownSampling for the grayscale image. 01265 * 01266 * @param pDfvObj Pointer to DfvObj instance. 01267 * @param newVal the value of method to downsample the monochrome image 01268 */ 01269 DFVINTERFACE_API void dfv_setPdfMonochromeImageDownSampling(CDfvObjPtr pDfvObj, DfvIMAGEDOWNSAMPLING newVal); 01270 01271 /** 01272 * Effective when outputting to PDF. 01273 * Gets resolution when the monochrome image is downsampled. 01274 * 01275 * 01276 * @param pDfvObj Pointer to DfvObj instance. 01277 * @return the value of resolution. 01278 */ 01279 DFVINTERFACE_API int dfv_getPdfMonochromeImageDownSamplingTarget(CDfvObjPtr pDfvObj); 01280 01281 /** 01282 * Effective when outputting to PDF. 01283 * Set resolution when the monochrome image is downsampled. 01284 * 01285 * 01286 * @param pDfvObj Pointer to DfvObj instance. 01287 * @param newVal the value of resolution. 01288 */ 01289 DFVINTERFACE_API void dfv_setPdfMonochromeImageDownSamplingTarget(CDfvObjPtr pDfvObj, int newVal); 01290 01291 /** 01292 * Effective when outputting to PDF. 01293 * Gets resolution of the monochrome image which performs a downsampling. 01294 * 01295 * 01296 * @param pDfvObj Pointer to DfvObj instance. 01297 * @return the value of resolution. 01298 */ 01299 DFVINTERFACE_API int dfv_getPdfMonochromeImageDownSamplingDPI(CDfvObjPtr pDfvObj); 01300 01301 /** 01302 * Effective when outputting to PDF. 01303 * Set resolution of the monochrome image which performs a downsampling. 01304 * 01305 * 01306 * @param pDfvObj Pointer to DfvObj instance. 01307 * @param newVal the value of resolution. 01308 */ 01309 DFVINTERFACE_API void dfv_setPdfMonochromeImageDownSamplingDPI(CDfvObjPtr pDfvObj, int newVal); 01310 01311 /** 01312 * Effective when outputting to PDF. 01313 * Gets the width of PDF to output. 01314 * 01315 * 01316 * @param pDfvObj Pointer to DfvObj instance. 01317 * @param pVal Pointer to the buffer that will receive the width of PDF. If the string is as long or longer than the buffer, 01318 * the string is truncated and terminated with a NULL character. 01319 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 01320 * @return Returns the 'pVal'. 01321 */ 01322 DFVINTERFACE_API char* dfv_getPdfOutputWidth(CDfvObjPtr pDfvObj, char* pVal, int size); 01323 01324 /** 01325 * Effective when outputting to PDF. 01326 * Gets the width of PDF to output. 01327 * 01328 * 01329 * @param pDfvObj Pointer to DfvObj instance. 01330 * @param pVal Pointer to the buffer that will receive the width of PDF. If the string is as long or longer than the buffer, 01331 * the string is truncated and terminated with a NULL character. 01332 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 01333 * @return Returns the 'pVal'. 01334 */ 01335 DFVINTERFACE_API wchar_t* dfv_getPdfOutputWidthW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size); 01336 01337 /** 01338 * Effective when outputting to PDF. 01339 * Scales the width of PDF to output. A value with a unit or % value can be specified as length. 01340 * 01341 * 01342 * @param pDfvObj Pointer to DfvObj instance. 01343 * @param newVal Pointer to a null-terminated string to be used as the width of PDF to output. 01344 */ 01345 DFVINTERFACE_API void dfv_setPdfOutputWidth(CDfvObjPtr pDfvObj, const char* newVal); 01346 01347 /** 01348 * Effective when outputting to PDF. 01349 * Scales the width of PDF to output. A value with a unit or % value can be specified as length. 01350 * 01351 * 01352 * @param pDfvObj Pointer to DfvObj instance. 01353 * @param newVal Pointer to a null-terminated string to be used as the width of PDF to output. 01354 */ 01355 DFVINTERFACE_API void dfv_setPdfOutputWidthW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 01356 01357 /** 01358 * Effective when outputting to PDF. 01359 * Gets the height of PDF to output. 01360 * 01361 * 01362 * @param pDfvObj Pointer to DfvObj instance. 01363 * @param pVal Pointer to the buffer that will receive the height of PDF. If the string is as long or longer than the buffer, 01364 * the string is truncated and terminated with a NULL character. 01365 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 01366 * @return Returns the 'pVal'. 01367 */ 01368 DFVINTERFACE_API char* dfv_getPdfOutputHeight(CDfvObjPtr pDfvObj, char* pVal, int size); 01369 01370 /** 01371 * Effective when outputting to PDF. 01372 * Gets the height of PDF to output. 01373 * 01374 * 01375 * @param pDfvObj Pointer to DfvObj instance. 01376 * @param pVal Pointer to the buffer that will receive the height of PDF. If the string is as long or longer than the buffer, 01377 * the string is truncated and terminated with a NULL character. 01378 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 01379 * @return Returns the 'pVal'. 01380 */ 01381 DFVINTERFACE_API wchar_t* dfv_getPdfOutputHeightW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size); 01382 01383 /** 01384 * Effective when outputting to PDF. 01385 * Scales the height of PDF to output. A value with a unit or % value can be specified as length. 01386 * 01387 * 01388 * @param pDfvObj Pointer to DfvObj instance. 01389 * @param newVal Pointer to a null-terminated string to be used as the width of PDF to output. 01390 */ 01391 DFVINTERFACE_API void dfv_setPdfOutputHeight(CDfvObjPtr pDfvObj, const char* newVal); 01392 01393 /** 01394 * Effective when outputting to PDF. 01395 * Scales the height of PDF to output. A value with a unit or % value can be specified as length. 01396 * 01397 * 01398 * @param pDfvObj Pointer to DfvObj instance. 01399 * @param newVal Pointer to a null-terminated string to be used as the width of PDF to output. 01400 */ 01401 DFVINTERFACE_API void dfv_setPdfOutputHeightW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 01402 01403 /** 01404 * Specifies the scaling ratio of the PDF to output. 01405 * A value with a unit or % value can be specified as length. 01406 * Effective when outputting to PDF. 01407 * 01408 * @param pDfvObj Pointer to DfvObj instance. 01409 * @param newVal the scaling ratio of the PDF 01410 */ 01411 DFVINTERFACE_API void dfv_setPdfOutputScale(CDfvObjPtr pDfvObj, const char* newVal); 01412 01413 /** 01414 * Specifies the scaling ratio of the PDF to output. 01415 * A value with a unit or % value can be specified as length. 01416 * Effective when outputting to PDF. 01417 * 01418 * @param pDfvObj Pointer to DfvObj instance. 01419 * @param newVal the scaling ratio of the PDF 01420 */ 01421 DFVINTERFACE_API void dfv_setPdfOutputScaleW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 01422 01423 /** 01424 * Effective when outputting to PDF. 01425 * Gets the value of whether to issue error or not when PDF/X is generating. 01426 * 01427 * 01428 * @param pDfvObj Pointer to DfvObj instance. 01429 * @return the value of whether to issue error. 01430 */ 01431 DFVINTERFACE_API long dfv_getPdfErrorOnPDFXFault(CDfvObjPtr pDfvObj); 01432 01433 /** 01434 * Effective when outputting to PDF. 01435 * An error is not issued when PDF/X is generating. 01436 * 01437 * 01438 * @param pDfvObj Pointer to DfvObj instance. 01439 * @param newVal If the value is 'true' is specified, no error is issued. 01440 */ 01441 DFVINTERFACE_API void dfv_setPdfErrorOnPDFXFault(CDfvObjPtr pDfvObj, long newVal); 01442 01443 01444 /** 01445 * Effective when inputting from PDF. 01446 * Specifies whether to output PDF Anottation. 01447 * 01448 * 01449 * @return If non zero is returned, Anottation is output. 01450 * If zero is returned, Anottation is not output. 01451 */ 01452 DFVINTERFACE_API long dfv_getPdfAnnotation(CDfvObjPtr pXfoObj); 01453 01454 /** 01455 * Effective when inputting from PDF. 01456 * Gets the setting indicating whether to output PDF Anottation. 01457 * 01458 * 01459 * @param newVal If non zero is specified, Anottation is output. 01460 */ 01461 DFVINTERFACE_API void dfv_setPdfAnnotation(CDfvObjPtr pXfoObj, long newVal); 01462 01463 01464 /** 01465 * Effective when outputting to SVG. 01466 * Get the version of SVG. 01467 * 01468 * 01469 * @param pDfvObj Pointer to DfvObj instance. 01470 * @return the version of SVG. 01471 */ 01472 DFVINTERFACE_API DfvSVGVERSION dfv_getSvgVersion(CDfvObjPtr pDfvObj); 01473 01474 /** 01475 * Effective when outputting to SVG. 01476 * Enables specifying whether the version of SVG is 1.1, Basic or Tiny. 01477 * 01478 * 01479 * @param pDfvObj Pointer to DfvObj instance. 01480 * @param newVal Specifies the version of SVG. 01481 */ 01482 DFVINTERFACE_API void dfv_setSvgVersion(CDfvObjPtr pDfvObj, DfvSVGVERSION newVal); 01483 01484 /** 01485 * Effective when outputting to SVG. 01486 * Gets the setting indicating whether to compress the outputted SVG into gzip format or not. 01487 * 01488 * 01489 * @param pDfvObj Pointer to DfvObj instance. 01490 * @return whether gzip compression or not. 01491 */ 01492 DFVINTERFACE_API long dfv_getSvgGzipCompression(CDfvObjPtr pDfvObj); 01493 01494 /** 01495 * Effective when outputting to SVG. 01496 * Specifies whether to compress the outputted SVG into gzip format or not. 01497 * 01498 * 01499 * @param pDfvObj Pointer to DfvObj instance. 01500 * @param newVal If the value is 'true' is specified, enables to compress data into gzip format. 01501 */ 01502 DFVINTERFACE_API void dfv_setSvgGzipCompression(CDfvObjPtr pDfvObj, long newVal); 01503 01504 /** 01505 * Effective when outputting to SVG. 01506 * Gets the setting indicating whether to embed fonts in the outputted SVG. 01507 * 01508 * 01509 * @param pDfvObj Pointer to DfvObj instance. 01510 * @return whether embeds fonts or not. 01511 */ 01512 DFVINTERFACE_API long dfv_getSvgEmbedAllFonts(CDfvObjPtr pDfvObj); 01513 01514 /** 01515 * Effective when outputting to SVG. 01516 * Specifies whether to embed fonts in the outputted SVG. 01517 * 01518 * 01519 * @param pDfvObj Pointer to DfvObj instance. 01520 * @param newVal If the value is 'true' is specified, embeds fonts. 01521 */ 01522 DFVINTERFACE_API void dfv_setSvgEmbedAllFonts(CDfvObjPtr pDfvObj, long newVal); 01523 01524 /** 01525 * Effective when outputting to SVG. 01526 * Gets the format for naming files when the outputted SVG becomes multiple. 01527 * 01528 * 01529 * @param pDfvObj Pointer to DfvObj instance. 01530 * @param pVal Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, the string is truncated and terminated with a NULL character. 01531 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 01532 * @return Returns the 'pVal'. 01533 */ 01534 DFVINTERFACE_API char* dfv_getSvgFormat(CDfvObjPtr pDfvObj, char* pVal, int size); 01535 01536 /** 01537 * Effective when outputting to SVG. 01538 * Gets the format for naming files when the outputted SVG becomes multiple. 01539 * 01540 * 01541 * @param pDfvObj Pointer to DfvObj instance. 01542 * @param pVal Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, the string is truncated and terminated with a NULL character. 01543 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 01544 * @return Returns the 'pVal'. 01545 */ 01546 DFVINTERFACE_API wchar_t* dfv_getSvgFormatW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size); 01547 01548 /** 01549 * Effective when outputting to SVG. 01550 * Specifies the format for naming files when the outputted SVG becomes multiple. 01551 * 01552 * 01553 * @param pDfvObj Pointer to DfvObj instance. 01554 * @param newVal Pointer to a null-terminated string to be used as the SVG file name format. 01555 */ 01556 DFVINTERFACE_API void dfv_setSvgFormat(CDfvObjPtr pDfvObj, const char* newVal); 01557 01558 /** 01559 * Effective when outputting to SVG. 01560 * Specifies the format for naming files when the outputted SVG becomes multiple. 01561 * 01562 * 01563 * @param pDfvObj Pointer to DfvObj instance. 01564 * @param newVal Pointer to a null-terminated string to be used as the SVG file name format. 01565 */ 01566 DFVINTERFACE_API void dfv_setSvgFormatW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 01567 01568 /** 01569 * Effective when outputting to SVG. 01570 * Gets the font specified to be embedded in SVG. 01571 * 01572 * 01573 * @param pDfvObj Pointer to DfvObj instance. 01574 * @param pVal Pointer to the buffer that will receive the fontnames. If the string is as long or longer than the buffer, 01575 * the string is truncated and terminated with a NULL character. 01576 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 01577 * @return Returns the 'pVal'. 01578 */ 01579 DFVINTERFACE_API char* dfv_getSvgEmbedFonts(CDfvObjPtr pDfvObj, char* pVal, int size); 01580 01581 /** 01582 * Effective when outputting to SVG. 01583 * Gets the font specified to be embedded in SVG. 01584 * 01585 * 01586 * @param pDfvObj Pointer to DfvObj instance. 01587 * @param pVal Pointer to the buffer that will receive the fontnames. If the string is as long or longer than the buffer, 01588 * the string is truncated and terminated with a NULL character. 01589 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 01590 * @return Returns the 'pVal'. 01591 */ 01592 DFVINTERFACE_API wchar_t* dfv_getSvgEmbedFontsW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size); 01593 01594 /** 01595 * Effective when outputting to SVG. 01596 * Embeds the specified font in SVG to create. If you want to specify plural fonts, put commas between fonts. 01597 * 01598 * 01599 * @param pDfvObj Pointer to DfvObj instance. 01600 * @param newVal fonts specified to embed 01601 */ 01602 DFVINTERFACE_API void dfv_setSvgEmbedFonts(CDfvObjPtr pDfvObj, const char* newVal); 01603 01604 /** 01605 * Effective when outputting to SVG. 01606 * Embeds the specified font in SVG to create. If you want to specify plural fonts, put commas between fonts. 01607 * 01608 * 01609 * @param pDfvObj Pointer to DfvObj instance. 01610 * @param newVal fonts specified to embed 01611 */ 01612 DFVINTERFACE_API void dfv_setSvgEmbedFontsW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 01613 01614 /** 01615 * Effective when outputting to SVG. 01616 * Gets the value of whether to issues the error when failing to embed fonts. 01617 * 01618 * 01619 * @param pDfvObj Pointer to DfvObj instance. 01620 * @return the value of whether to issues the error 01621 */ 01622 DFVINTERFACE_API long dfv_getSvgErrorOnEmbedFault(CDfvObjPtr pDfvObj); 01623 01624 /** 01625 * Effective when outputting to SVG. 01626 * An error is issued in case of failing to embed fonts. 01627 * 01628 * 01629 * @param pDfvObj Pointer to DfvObj instance. 01630 * @param newVal If the value is 'true' is specified, an error is issued. 01631 */ 01632 DFVINTERFACE_API void dfv_setSvgErrorOnEmbedFault(CDfvObjPtr pDfvObj, long newVal); 01633 01634 /** 01635 * Effective when outputting to SVG. 01636 * Gets the value of how to compress the images embedded in SVG. 01637 * 01638 * 01639 * <table border="0" cellspacing="0" cellpadding="0"> 01640 * <tr><td>IMGCMPR_AUTO </td><td>= 0 Auto conversion</td></tr> 01641 * <tr><td>IMGCMPR_JPEG </td><td>= 1 JPEG conversion</td></tr> 01642 * <tr><td>IMGCMPR_PNG </td><td>= 2 PNG conversion</td></tr> 01643 * </table> 01644 * 01645 * @param pDfvObj Pointer to DfvObj instance. 01646 * @return the value of how raster graphics are compressed and stored 01647 */ 01648 DFVINTERFACE_API DfvIMAGECONVERSION dfv_getSvgImageConversion(CDfvObjPtr pDfvObj); 01649 01650 /** 01651 * Effective when outputting to SVG. 01652 * Selects how to compress the images embedded in SVG to create from the following. 01653 * 01654 * 01655 * <table border="0" cellspacing="0" cellpadding="0"> 01656 * <tr><td>IMGCMPR_AUTO </td><td>= 0 Auto conversion</td></tr> 01657 * <tr><td>IMGCMPR_JPEG </td><td>= 1 JPEG conversion</td></tr> 01658 * <tr><td>IMGCMPR_PNG </td><td>= 2 PNG conversion</td></tr> 01659 * </table> 01660 * 01661 * @param pDfvObj Pointer to DfvObj instance. 01662 * @param newVal the value of how raster graphics are compressed and stored 01663 */ 01664 DFVINTERFACE_API void dfv_setSvgImageConversion(CDfvObjPtr pDfvObj, DfvIMAGECONVERSION newVal); 01665 01666 /** 01667 * Gets the value of the quality of JPEG format that is specified by dfv_setSvgImageConversion() stored in SVG. 01668 * 01669 * 01670 * @param pDfvObj Pointer to DfvObj instance. 01671 * @return the value of the quality 01672 */ 01673 DFVINTERFACE_API int dfv_getSvgJPEGQuality(CDfvObjPtr pDfvObj); 01674 01675 /** 01676 * Effective when outputting to SVG. 01677 * Specifies the quality of the Raster graphics when stored in JPEG format using the range of 1-100. 01678 * The quality becomes higher in proportion to the increase in the number; however the file size also becomes larger. 01679 * The initial value is 80. 01680 * 01681 * 01682 * @param pDfvObj Pointer to DfvObj instance. 01683 * @param newVal JPEG quality (1 to 100) 01684 */ 01685 DFVINTERFACE_API void dfv_setSvgJPEGQuality(CDfvObjPtr pDfvObj, int newVal); 01686 01687 /** 01688 * Effective when outputting to SVG. 01689 * Gets specification how to treat the referred image. 01690 * 01691 * 01692 * <table border="0" cellspacing="0" cellpadding="0"> 01693 * <tr><td>IMGPT_EMBED_ALL </td><td>= 0 Embeds all images to SVG.</td></tr> 01694 * <tr><td>IMGPT_COPY_ALL </td><td>= 1 Copies all image files to the destination that is specified by setSvgImageCopyPath, and then links.</td></tr> 01695 * <tr><td>IMGPT_LINK </td><td>= 2 Links images that have been linked, and embeds the embedded image. However, the raster images other than JPEG and PNG are always embedded.</td></tr> 01696 * <tr><td>IMGPT_COPY </td><td>= 3 Copies images that have been linked to the destination that is specified by setSvgImageCopyPath, and links. The embedded image are embedded.</td></tr> 01697 * </table> 01698 * 01699 * @param pDfvObj Pointer to DfvObj instance. 01700 * @return specification how to treat the referred image. 01701 */ 01702 DFVINTERFACE_API DfvIMAGEPROCTYPE dfv_getSvgImageProcessingType(CDfvObjPtr pDfvObj); 01703 01704 /** 01705 * Effective when outputting to SVG. 01706 * Specifies how to treat the referred image. 01707 * 01708 * 01709 * <table border="0" cellspacing="0" cellpadding="0"> 01710 * <tr><td>IMGPT_EMBED_ALL </td><td>= 0 Embeds all images to SVG.</td></tr> 01711 * <tr><td>IMGPT_COPY_ALL </td><td>= 1 Copies all image files to the destination that is specified by setSvgImageCopyPath, and then links.</td></tr> 01712 * <tr><td>IMGPT_LINK </td><td>= 2 Links images that have been linked, and embeds the embedded image. However, the raster images other than JPEG and PNG are always embedded.</td></tr> 01713 * <tr><td>IMGPT_COPY </td><td>= 3 Copies images that have been linked to the destination that is specified by setSvgImageCopyPath, and links. The embedded image are embedded.</td></tr> 01714 * </table> 01715 * 01716 * @param pDfvObj Pointer to DfvObj instance. 01717 * @param newVal specification how to treat the referred image. 01718 */ 01719 DFVINTERFACE_API void dfv_setSvgImageProcessingType(CDfvObjPtr pDfvObj, DfvIMAGEPROCTYPE newVal); 01720 01721 /** 01722 * Effective when outputting to SVG. 01723 * Gets the copy destination of image as specifying IMGPT_COPY_ALL or IMGPT_COPY by dfv_setSvgImageProcessingType. 01724 * 01725 * 01726 * @param pDfvObj Pointer to DfvObj instance. 01727 * @param pVal Pointer to the buffer that will receive the image copy path. If the string is as long or longer than the buffer, 01728 * the string is truncated and terminated with a NULL character. 01729 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 01730 * @return Returns the 'pVal'. 01731 */ 01732 DFVINTERFACE_API char* dfv_getSvgImageCopyPath(CDfvObjPtr pDfvObj, char* pVal, int size); 01733 01734 /** 01735 * Effective when outputting to SVG. 01736 * Specifies the copy destination of image as specifying IMGPT_COPY_ALL or IMGPT_COPY by dfv_setSvgImageProcessingType. 01737 * 01738 * 01739 * @param pDfvObj Pointer to DfvObj instance. 01740 * @param newVal Pointer to a null-terminated string to be used as image copy path 01741 */ 01742 DFVINTERFACE_API void dfv_setSvgImageCopyPath(CDfvObjPtr pDfvObj, const char* newVal); 01743 01744 /** 01745 * Effective when outputting to SVG. 01746 * Gets the copy destination of image as specifying IMGPT_COPY_ALL or IMGPT_COPY by dfv_setSvgImageProcessingType. 01747 * 01748 * 01749 * @param pDfvObj Pointer to DfvObj instance. 01750 * @param pVal Pointer to the buffer that will receive the image copy path. If the string is as long or longer than the buffer, 01751 * the string is truncated and terminated with a NULL character. 01752 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 01753 * @return Returns the 'pVal'. 01754 */ 01755 DFVINTERFACE_API wchar_t* dfv_getSvgImageCopyPathW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size); 01756 01757 /** 01758 * Effective when outputting to SVG. 01759 * Specifies the copy destination of image as specifying IMGPT_COPY_ALL or IMGPT_COPY by dfv_setSvgImageProcessingType. 01760 * 01761 * 01762 * @param pDfvObj Pointer to DfvObj instance. 01763 * @param newVal Pointer to a null-terminated string to be used as image copy path 01764 */ 01765 DFVINTERFACE_API void dfv_setSvgImageCopyPathW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 01766 01767 /** 01768 * Effective when outputting to SVG. 01769 * Gets specification whether to divide into multiple SVG or to output as one SVG when the formatted result extends to multiple pages. <BR> 01770 * 01771 * 01772 * @param pDfvObj Pointer to DfvObj instance. 01773 * @return specification whether to divide into multiple SVG or to output as one SVG when the formatted result extends to multiple pages. 01774 */ 01775 DFVINTERFACE_API long dfv_getSvgSingleFile(CDfvObjPtr pDfvObj); 01776 01777 /** 01778 * Effective when outputting to SVG. 01779 * Specifies whether to divide into multiple SVG or to output as one SVG when the formatted result extends to multiple pages. <BR> 01780 * If the value is true, outputs one SVG. If the value is false, outputs multiple SVG. When multiple SVG is output, the file name is modified by specifying format. <BR> 01781 * Effective only when outputting to the file. It is invalid in the output without the file name like the stream etc. 01782 * 01783 * 01784 * @param pDfvObj Pointer to DfvObj instance. 01785 * @param newVal specification whether to divide into multiple SVG or to output as one SVG when the formatted result extends to multiple pages. 01786 */ 01787 DFVINTERFACE_API void dfv_setSvgSingleFile(CDfvObjPtr pDfvObj, long newVal); 01788 01789 #if !defined(_DOXYGEN) 01790 01791 /** 01792 * Gets the value specified by setSvgSingleFileMaxPages. 01793 * Effective when outputting to SVG. 01794 * 01795 * @param pDfvObj Pointer to DfvObj instance. 01796 * @return the value specified by setSvgSingleFileMaxPages. 01797 */ 01798 DFVINTERFACE_API int dfv_getSvgSingleFileMaxPages(CDfvObjPtr pDfvObj); 01799 01800 /** 01801 * Specifies the maximum number of pages outputted when setSvgSingleFile = True is specified. . 01802 * When this parameter is omitted If this parameter is omitted, "5000" is considered as specified. 01803 * When either setSvgSingleFileMaxPages or setSvgSingleFileMaxHeight is specified, or both are specified, and the page exceeds either the maximum size (setSvgSingleFileMaxHeight) or the maximum number of pages (setSvgSingleFileMaxPages), Server Based Converter V1.2 will stop converting and abort the job as an error. Effective when outputting to SVG. 01804 * 01805 * @param pDfvObj Pointer to DfvObj instance. 01806 * @param newVal maximum number of pages 01807 */ 01808 DFVINTERFACE_API void dfv_setSvgSingleFileMaxPages(CDfvObjPtr pDfvObj, int newVal); 01809 01810 /** 01811 * Gets the value specified by setSvgImageDownsamplingDPI. 01812 * Effective when outputting to SVG. 01813 * 01814 * @param pDfvObj Pointer to DfvObj instance. 01815 * @return the value specified by setSvgImageDownsamplingDPI. 01816 */ 01817 DFVINTERFACE_API int dfv_getSvgImageDownsamplingDPI(CDfvObjPtr pDfvObj); 01818 01819 /** 01820 * Specifies the resolution of the down sampling when embedding an image with 1 or more integers. . 01821 * When the resolution of the original image is lower than specification, it's embedded with the lower resolution. Effective when outputting to SVG. 01822 * 01823 * @param pDfvObj Pointer to DfvObj instance. 01824 * @return newVal the resolution of the down sampling 01825 */ 01826 DFVINTERFACE_API void dfv_setSvgImageDownsamplingDPI(CDfvObjPtr pDfvObj, int dpi); 01827 01828 /** 01829 * Gets the value specified by setSvgImageDownsamplingMethod. 01830 * Effective when outputting to SVG. 01831 * 01832 * @param pDfvObj Pointer to DfvObj instance. 01833 * @return the value specified by setSvgImageDownsamplingMethod 01834 */ 01835 DFVINTERFACE_API int dfv_getSvgImageDownsamplingMethod(CDfvObjPtr pDfvObj); 01836 01837 /** 01838 * Specifies the way of compression when down sampled. 01839 * 01840 * S_SVG_IMGDOWNSAMPLING_AVERAGE : biliner 01841 * S_SVG_IMGDOWNSAMPLING_BICUBIC : bicubic 01842 * S_SVG_IMGDOWNSAMPLING_SUBSAMPLING : nearest neighbor 01843 * If this parameter is omitted, "IMGDOWNSAMPLING_AVERAGE" is considered as specified. Effective when outputting to SVG. 01844 * 01845 * @param pDfvObj Pointer to DfvObj instance. 01846 * @param type the way of compression when down sampled 01847 */ 01848 DFVINTERFACE_API void dfv_setSvgImageDownsamplingMethod(CDfvObjPtr pDfvObj, int type); 01849 01850 #endif 01851 01852 /** 01853 * Effective when outputting to SVG. 01854 * Gets specification whether to rename all file name to prefix specified by dfv_setSvgImagePrefix, or use original name. 01855 * 01856 * 01857 * @param pDfvObj Pointer to DfvObj instance. 01858 * @return specification whether to rename all file name to prefix specified by dfv_setSvgImagePrefix, or use original name. 01859 */ 01860 DFVINTERFACE_API long dfv_getSvgImageRename(CDfvObjPtr pDfvObj); 01861 01862 /** 01863 * Effective when outputting to SVG. 01864 * When images are copied to the directory specified by dfv_setSvgImageCopyPath etc. and processed, specifies whether to rename all file name to prefix specified by dfv_setSvgImagePrefix, or use original name. When the file name overlaps, sequential number is added. When true is specified, all files are renamed. 01865 * 01866 * 01867 * 01868 * @param pDfvObj Pointer to DfvObj instance. 01869 * @param newVal specification whether to rename all file name to prefix specified by dfv_setSvgImagePrefix, or use original name. 01870 */ 01871 DFVINTERFACE_API void dfv_setSvgImageRename(CDfvObjPtr pDfvObj, long newVal); 01872 01873 /** 01874 * Effective when outputting to SVG. 01875 * Gets the prefix of the file name when images are copied to the directory specified by dfv_setSvgImageCopyPath and processed. 01876 * 01877 * 01878 * @param pDfvObj Pointer to DfvObj instance. 01879 * @param pVal Pointer to the buffer that will receive the prefix. If the string is as long or longer than the buffer, 01880 * the string is truncated and terminated with a NULL character. 01881 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 01882 * @return Returns the 'pVal'. 01883 */ 01884 DFVINTERFACE_API char* dfv_getSvgImagePrefix(CDfvObjPtr pDfvObj, char* pVal, int size); 01885 01886 /** 01887 * Effective when outputting to SVG. 01888 * When images are copied to the directory specified by dfv_setSvgImageCopyPath and processed, specifies the prefix of the file name. The file name will be prefix with sequence numbers. Default is empty character string with only sequential numbers. 01889 * 01890 * 01891 * 01892 * @param pDfvObj Pointer to DfvObj instance. 01893 * @param newVal the prefix of the file name. 01894 */ 01895 DFVINTERFACE_API void dfv_setSvgImagePrefix(CDfvObjPtr pDfvObj, const char* newVal); 01896 01897 /** 01898 * Effective when outputting to SVG. 01899 * Gets the prefix of the file name when images are copied to the directory specified by dfv_setSvgImageCopyPath and processed. 01900 * 01901 * 01902 * @param pDfvObj Pointer to DfvObj instance. 01903 * @param pVal Pointer to the buffer that will receive the prefix. If the string is as long or longer than the buffer, 01904 * the string is truncated and terminated with a NULL character. 01905 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 01906 * @return Returns the 'pVal'. 01907 */ 01908 DFVINTERFACE_API wchar_t* dfv_getSvgImagePrefixW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size); 01909 01910 /** 01911 * Effective when outputting to SVG. 01912 * When images are copied to the directory specified by dfv_setSvgImageCopyPath and processed, specifies the prefix of the file name. The file name will be prefix with sequence numbers. Default is empty character string with only sequential numbers. 01913 * 01914 * 01915 * @param pDfvObj Pointer to DfvObj instance. 01916 * @param newVal the prefix of the file name. 01917 */ 01918 DFVINTERFACE_API void dfv_setSvgImagePrefixW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 01919 01920 /** 01921 * Effective when outputting to SVG. 01922 * Gets specification whether to add sequential number to the output SVG even if it has only one-page. 01923 * 01924 * 01925 * @param pDfvObj Pointer to DfvObj instance. 01926 * @return specification whether to add sequential number to the output SVG even if it has only one-page. 01927 */ 01928 DFVINTERFACE_API long dfv_getSvgSinglePageNumber(CDfvObjPtr pDfvObj); 01929 01930 /** 01931 * Effective when outputting to SVG. 01932 * When dfv_setSvgSingleFile = 0 is specified, specifies whether to add sequential number to the output SVG even if it has only one-page. It is not added in case of false. 01933 * 01934 * 01935 * @param pDfvObj Pointer to DfvObj instance. 01936 * @param newVal specification whether to add sequential number to the output SVG even if it has only one-page. 01937 */ 01938 DFVINTERFACE_API void dfv_setSvgSinglePageNumber(CDfvObjPtr pDfvObj, long newVal); 01939 01940 #if defined(_DOXYGEN) || (defined(_MSC_VER) && defined(_WIN32)) 01941 01942 /** 01943 * Effective when outputting to SVG. 01944 * Gets the value of the rasterised-resolution of the transformed raster images. 01945 * 01946 * 01947 * @param pDfvObj Pointer to DfvObj instance. 01948 * @return Rasterised-resolution 01949 */ 01950 DFVINTERFACE_API int dfv_getSvgRasterizeResolution(CDfvObjPtr pDfvObj); 01951 01952 /** 01953 * Effective when outputting to SVG. 01954 * Specifies the value of the rasterised-resolution of the transformed raster images in the range from 70 to 500(dpi). SVG, EMF and WMF are drawn in SVG as vectors without being transformed to raster images. 01955 * This setting is effective only with Windows version. 01956 * 01957 * 01958 * @param pDfvObj Pointer to DfvObj instance. 01959 * @param newVal Rasterised-resolution (70 to 500) 01960 */ 01961 DFVINTERFACE_API void dfv_setSvgRasterizeResolution(CDfvObjPtr pDfvObj, int newVal); 01962 01963 #endif // defined(_DOXYGEN) || (defined(_MSC_VER) && defined(_WIN32)) 01964 01965 /** 01966 * Specifies multiple volume of PDF output. 01967 * 01968 * 01969 * @param pDfvObj Pointer to DfvObj instance. 01970 * @param newVal Zpecifies zero or nonzero. 01971 */ 01972 DFVINTERFACE_API void dfv_setMultiVolume(CDfvObjPtr pDfvObj, long newVal); 01973 01974 /** 01975 * Get the error level to abort formatting process. 01976 * 01977 * @param pDfvObj Pointer to DfvObj instance. 01978 * @return Returns the error level. 01979 */ 01980 DFVINTERFACE_API DfvIfErrorLevel dfv_getExitLevel(CDfvObjPtr pDfvObj); 01981 01982 /** 01983 * Error level to abort formatting process. Server Based Converter will stop formatting when the detected 01984 * error level is equal to ExitLevel property or higher. The default value is 2 (Warning). 01985 * Thus if an error occurred and error level is 2 (Warning) or higher, formatting process will be 01986 * aborted. Please use the value from 1 to 4. When the value of 5 or more specified, it is considered 01987 * to be the value of 4. If a error-level:4 (fatal error) occurs, the formatting process will be 01988 * aborted unconditionally. 01989 * BTW : An error is not displayed no matter what value may be specified to be this property. 01990 * 01991 * <table border="0" cellspacing="0" cellpadding="0"> 01992 * <tr><td>ELVL_INFORMATION </td><td>= 1 Information</td></tr> 01993 * <tr><td>ELVL_WARNING </td><td>= 2 Warning</td></tr> 01994 * <tr><td>ELVL_RECOVERABLE </td><td>= 3 Recoveable Error</td></tr> 01995 * <tr><td>ELVL_FATAL </td><td>= 4 Fatal Error</td></tr> 01996 * </table> 01997 * 01998 * @param pDfvObj Pointer to DfvObj instance. 01999 * @param newVal error level to abort formatting process. 02000 */ 02001 DFVINTERFACE_API void dfv_setExitLevel(CDfvObjPtr pDfvObj, DfvIfErrorLevel newVal); 02002 02003 /** 02004 * Returns the error level of the error that occurred during the formatting process. 02005 * 02006 * <table border="0" cellspacing="0" cellpadding="0"> 02007 * <tr><td>ELVL_INFORMATION </td><td>= 1 Information</td></tr> 02008 * <tr><td>ELVL_WARNING </td><td>= 2 Warning</td></tr> 02009 * <tr><td>ELVL_RECOVERABLE </td><td>= 3 Recoveable Error</td></tr> 02010 * <tr><td>ELVL_FATAL </td><td>= 4 Fatal Error</td></tr> 02011 * </table> 02012 * 02013 * @param pDfvObj Pointer to DfvObj instance. 02014 * @return Returns the error level. 02015 */ 02016 DFVINTERFACE_API DfvIfErrorLevel dfv_getErrorLevel(CDfvObjPtr pDfvObj); 02017 02018 /** 02019 * Returns the error code of the error that occurred during the formatting process. 02020 * Zero means no error. Non-zero indicates any error occurred. 02021 * 02022 * @param pDfvObj Pointer to DfvObj instance. 02023 * @return Returns the error code. 02024 */ 02025 DFVINTERFACE_API DfvIfErrorCode dfv_getErrorCode(CDfvObjPtr pDfvObj); 02026 02027 /** 02028 * Returns the error message of the error that occurred during the formatting process. 02029 * 02030 * @param pDfvObj Pointer to DfvObj instance. 02031 * @param pVal Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, 02032 * the string is truncated and terminated with a NULL character. 02033 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 02034 * @return Returns the 'pVal'. 02035 */ 02036 DFVINTERFACE_API char* dfv_getErrorMessage(CDfvObjPtr pDfvObj, char* pVal, int size); 02037 /** 02038 * Returns the error message of the error that occurred during the formatting process. 02039 * 02040 * @param pDfvObj Pointer to DfvObj instance. 02041 * @param pVal Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, 02042 * the string is truncated and terminated with a NULL character. 02043 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 02044 * @return Returns the 'pVal'. 02045 */ 02046 DFVINTERFACE_API wchar_t* dfv_getErrorMessageW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size); 02047 02048 /** 02049 * Sets the substitution of font name. This substitution acts on the font names existing in FO. 02050 * The font name 'fontName' is replaced to 'aliasName'. 02051 * 02052 * @param pDfvObj Pointer to DfvObj instance. 02053 * @param src Specifies the font name which is replaced. 02054 * @param dst Specifies the aliasName. 02055 */ 02056 DFVINTERFACE_API void dfv_setFontAlias(CDfvObjPtr pDfvObj, const char* src, const char* dst); 02057 /** 02058 * Sets the substitution of font name. This substitution acts on the font names existing in FO. 02059 * The font name 'fontName' is replaced to 'aliasName'. 02060 * 02061 * @param pDfvObj Pointer to DfvObj instance. 02062 * @param src Specifies the font name which is replaced. 02063 * @param dst Specifies the aliasName. 02064 */ 02065 DFVINTERFACE_API void dfv_setFontAliasW(CDfvObjPtr pDfvObj, const wchar_t* src, const wchar_t* dst); 02066 02067 /** 02068 * Clear all substitutions of font name. 02069 * 02070 * @param pDfvObj Pointer to DfvObj instance. 02071 */ 02072 DFVINTERFACE_API void dfv_clearFontAlias(CDfvObjPtr pDfvObj); 02073 /** 02074 * Clear all substitutions of font name. 02075 * 02076 * @param pDfvObj Pointer to DfvObj instance. 02077 */ 02078 02079 /** 02080 * Erase the substitution of font name 'fontName'. 02081 * 02082 * @param pDfvObj Pointer to DfvObj instance. 02083 * @param src Specifies the font name which is replaced. 02084 */ 02085 DFVINTERFACE_API void dfv_eraseFontAlias(CDfvObjPtr pDfvObj, const char* src); 02086 DFVINTERFACE_API void dfv_eraseFontAliasW(CDfvObjPtr pDfvObj, const wchar_t* src); 02087 02088 /** 02089 * Execute formatting and output to a PDF specified in OutputFilePath or printer specified in PrinterName. 02090 * 02091 * @param pDfvObj Pointer to DfvObj instance. 02092 * @return Returns the error code. Zero means no error. Non-zero indicates any error occurred. 02093 */ 02094 DFVINTERFACE_API DfvIfErrorCode dfv_execute(CDfvObjPtr pDfvObj); 02095 02096 /** 02097 * Initialize formatting engine. 02098 * 02099 * @param pDfvObj Pointer to DfvObj instance. 02100 */ 02101 DFVINTERFACE_API void dfv_clear(CDfvObjPtr pDfvObj); 02102 02103 /** 02104 * Specifies the callback fucntion. 02105 * The error that occurred during the formatting process can be received. 02106 * 02107 * @param pDfvObj Pointer to DfvObj instance. 02108 * @param proc Address of the callback function. 02109 * <br>Callback function has the following form:<pre> 02110 * void DfvOnMessageProc(DfvIfErrorLevel errLevel, DfvIfErrorCode errCode, const char* errMessage); 02111 * void DfvOnMessageProcW(DfvIfErrorLevel errLevel, DfvIfErrorCode errCode, const wchar_t* errMessage);</pre> 02112 */ 02113 DFVINTERFACE_API void dfv_setOnMessageProc(CDfvObjPtr pDfvObj, DfvOnMessageProc* proc); 02114 02115 /** 02116 * Specifies the callback fucntion. 02117 * The error that occurred during the formatting process can be received. 02118 * 02119 * @param pDfvObj Pointer to DfvObj instance. 02120 * @param proc Address of the callback function. 02121 * <br>Callback function has the following form:<pre> 02122 * void DfvOnMessageProc(DfvIfErrorLevel errLevel, DfvIfErrorCode errCode, const char* errMessage); 02123 * void DfvOnMessageProcW(DfvIfErrorLevel errLevel, DfvIfErrorCode errCode, const wchar_t* errMessage);</pre> 02124 */ 02125 DFVINTERFACE_API void dfv_setOnMessageProcW(CDfvObjPtr pDfvObj, DfvOnMessageProcW* proc); 02126 02127 /** 02128 * Specifies the callback fucntion. 02129 * The page number in the formatting process can be received. 02130 * 02131 * @param pDfvObj Pointer to DfvObj instance. 02132 * @param proc Address of the callback function. 02133 * <br>Callback function has the following form:<pre> 02134 * void DfvOnFormatPageProc(long pageNo);</pre> 02135 */ 02136 DFVINTERFACE_API void dfv_setOnFormatPageProc(CDfvObjPtr pDfvObj, DfvOnFormatPageProc* proc); 02137 02138 /** 02139 * Specifies the callback fucntion. 02140 * The error that occurred during the formatting process can be received. 02141 * 02142 * @param pDfvObj Pointer to DfvObj instance. 02143 * @param proc Address of the callback function. 02144 * <br>Callback function has the following form:<pre> 02145 * void DfvOnMessageProc(DfvIfErrorLevel errLevel, DfvIfErrorCode errCode, const char* errMessage); 02146 * void DfvOnMessageProcW(DfvIfErrorLevel errLevel, DfvIfErrorCode errCode, const wchar_t* errMessage);</pre> 02147 * @param pAnyObj Address of an any object. 02148 */ 02149 DFVINTERFACE_API void dfv_setOnMessageProcEx(CDfvObjPtr pDfvObj, DfvOnMessageProcEx* proc, void* pAnyObj); 02150 02151 /** 02152 * Specifies the callback fucntion. 02153 * The error that occurred during the formatting process can be received. 02154 * 02155 * @param pDfvObj Pointer to DfvObj instance. 02156 * @param proc Address of the callback function. 02157 * <br>Callback function has the following form:<pre> 02158 * void DfvOnMessageProc(DfvIfErrorLevel errLevel, DfvIfErrorCode errCode, const char* errMessage); 02159 * void DfvOnMessageProcW(DfvIfErrorLevel errLevel, DfvIfErrorCode errCode, const wchar_t* errMessage);</pre> 02160 * @param pAnyObj Address of an any object. 02161 */ 02162 DFVINTERFACE_API void dfv_setOnMessageProcExW(CDfvObjPtr pDfvObj, DfvOnMessageProcExW* proc, void* pAnyObj); 02163 02164 /** 02165 * Specifies the callback fucntion. 02166 * The page number in the formatting process can be received. 02167 * 02168 * @param pDfvObj Pointer to DfvObj instance. 02169 * @param proc Address of the callback function. 02170 * <br>Callback function has the following form:<pre> 02171 * void DfvOnFormatPageProc(long pageNo);</pre> 02172 * @param pAnyObj Address of an any object. 02173 */ 02174 DFVINTERFACE_API void dfv_setOnFormatPageProcEx(CDfvObjPtr pDfvObj, DfvOnFormatPageProcEx* proc, void* pAnyObj); 02175 02176 /* Print Interface */ 02177 /** 02178 * Get the printer name where the formatted result is outputted. 02179 * 02180 * @param pDfvObj Pointer to DfvObj instance. 02181 * @param pVal Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, 02182 * the string is truncated and terminated with a NULL character. 02183 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 02184 * @return Returns the 'pVal'. 02185 */ 02186 DFVINTERFACE_API char* dfv_getPrinterName(CDfvObjPtr pDfvObj, char* pVal, int size); 02187 /** 02188 * Get the printer name where the formatted result is outputted. 02189 * 02190 * @param pDfvObj Pointer to DfvObj instance. 02191 * @param pVal Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, 02192 * the string is truncated and terminated with a NULL character. 02193 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 02194 * @return Returns the 'pVal'. 02195 */ 02196 DFVINTERFACE_API wchar_t* dfv_getPrinterNameW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size); 02197 02198 /** 02199 * Specifies the output format or the printer name to output. 02200 * When a printer name is specified, the formatted result is outputted to that printer. 02201 * When "\@STDPRN" is specified, the formatted result is outputted to the currently used printer. 02202 * When "\@PDF" is specified, the formatted result is outputted to PDF. 02203 * When "\@SVG" is specified, the formatted result is outputted to SVG. 02204 * When "\@PS" is specified, the formatted result is outputted to PostScript. 02205 * When "\@INX" is specified, the formatted result is outputted to INX. 02206 * When "\@MIF" is specified, the formatted result is outputted to MIF. 02207 * When "\@TEXT" is specified, the formatted result is outputted to a text format file. 02208 * When "\@AreaTree" is specified, the AreaTree will be outputted. 02209 * When omitted, it is considered as "\@PDF" was specified. 02210 * It's impossible to output to the printer with any OS's other than Windows. 02211 * 02212 * @param pDfvObj Pointer to DfvObj instance. 02213 * @param newVal Pointer to a null-terminated string to be used as the printer name. 02214 */ 02215 DFVINTERFACE_API void dfv_setPrinterName(CDfvObjPtr pDfvObj, const char* newVal); 02216 /** 02217 * Specifies the output format or the printer name to output. 02218 * When a printer name is specified, the formatted result is outputted to that printer. 02219 * When "\@STDPRN" is specified, the formatted result is outputted to the currently used printer. 02220 * When "\@PDF" is specified, the formatted result is outputted to PDF. 02221 * When "\@SVG" is specified, the formatted result is outputted to SVG. 02222 * When "\@PS" is specified, the formatted result is outputted to PostScript. 02223 * When "\@INX" is specified, the formatted result is outputted to INX. 02224 * When "\@MIF" is specified, the formatted result is outputted to MIF. 02225 * When "\@TEXT" is specified, the formatted result is outputted to a text format file. 02226 * When "\@AreaTree" is specified, the AreaTree will be outputted. 02227 * When omitted, it is considered as "\@PDF" was specified. 02228 * It's impossible to output to the printer with any OS's other than Windows. 02229 * 02230 * @param pDfvObj Pointer to DfvObj instance. 02231 * @param newVal Pointer to a null-terminated string to be used as the printer name. 02232 */ 02233 DFVINTERFACE_API void dfv_setPrinterNameW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 02234 02235 #if defined(_DOXYGEN) || (defined(_MSC_VER) && defined(_WIN32)) 02236 02237 /** 02238 * Get the number of copies. Effective when outputting to printer. 02239 * This setting is effective only with Windows version. 02240 * 02241 * @param pDfvObj Pointer to DfvObj instance. 02242 * @return Returns the number of copies. 02243 */ 02244 DFVINTERFACE_API long dfv_getPrnCopies(CDfvObjPtr pDfvObj); 02245 02246 /** 02247 * Specifies the number of copies. Effective when outputting to printer. 02248 * If nothing is specified, the value is considered as 1. 02249 * This setting is effective only with Windows version. 02250 * 02251 * @param pDfvObj Pointer to DfvObj instance. 02252 * @param newVal the number of copies. 02253 */ 02254 DFVINTERFACE_API void dfv_setPrnCopies(CDfvObjPtr pDfvObj, long newVal); 02255 02256 /** 02257 * Get collation of multiple copies. 02258 * This setting is effective only with Windows version. 02259 * 02260 * @param pDfvObj Pointer to DfvObj instance. 02261 * @return If zero is returned, the same page is multi-copied continuously. 02262 * If nonezero is returned, the pages specified from start to end are printed repeatedly. 02263 */ 02264 DFVINTERFACE_API long dfv_getPrnCollate(CDfvObjPtr pDfvObj); 02265 02266 /** 02267 * Specifies collation of multiple copies. Effective when outputting to printer and the number of 02268 * copies is plural. If it is not specified or the value zero is specified, the same page is 02269 * multi-copied continuously. 02270 * If nonezero is specified, the pages specified from start to end are printed repeatedly. 02271 * This setting is effective only with Windows version. 02272 * 02273 * @param pDfvObj Pointer to DfvObj instance. 02274 * @param newVal Zpecifies zero or nonzero. 02275 */ 02276 DFVINTERFACE_API void dfv_setPrnCollate(CDfvObjPtr pDfvObj, long newVal); 02277 02278 /** 02279 * Get the setting of whether print dialog box is displayed or not when printing 02280 * This setting is effective only with Windows version. 02281 * 02282 * @param pDfvObj Pointer to DfvObj instance. 02283 * @return If zero, the print dialog box is displayed. If nonezero, the print dialog box is not displayed. 02284 */ 02285 DFVINTERFACE_API long dfv_getBatchPrint(CDfvObjPtr pDfvObj); 02286 02287 /** 02288 * When the value 'false' is specified, the print dialog box is displayed when printing. 02289 * If the setting is omitted or the value 'true' is specified, the print dialog is not displayed. 02290 * This setting is effective only with Windows version. 02291 * 02292 * @param pDfvObj Pointer to DfvObj instance. 02293 * @param newVal If zero, the print dialog box is displayed. If nonezero, the print dialog box is not displayed. 02294 */ 02295 DFVINTERFACE_API void dfv_setBatchPrint(CDfvObjPtr pDfvObj, long newVal); 02296 02297 #endif // defined(_DOXYGEN) || (defined(_MSC_VER) && defined(_WIN32)) /* _WIN32 */ 02298 02299 /** 02300 * Get the version string of Server Based Converter. 02301 * 02302 * 02303 * @param pDfvObj Pointer to DfvObj instance. 02304 * @param pVal Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, 02305 * the string is truncated and terminated with a NULL character. 02306 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 02307 * @return Returns the 'pVal'. 02308 */ 02309 DFVINTERFACE_API char* dfv_getVersion(CDfvObjPtr pDfvObj, char* pVal, int size); 02310 02311 /** 02312 * Get the version string of Server Based Converter. 02313 * 02314 * 02315 * @param pDfvObj Pointer to DfvObj instance. 02316 * @param pVal Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, 02317 * the string is truncated and terminated with a NULL character. 02318 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 02319 * @return Returns the 'pVal'. 02320 */ 02321 DFVINTERFACE_API wchar_t* dfv_getVersionW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size); 02322 02323 /** 02324 * Get INX output mode. 02325 * 02326 * @param pDfvObj Pointer to DfvObj instance. 02327 * @return output mode of INX. 02328 */ 02329 DFVINTERFACE_API DfvINXOUTPUTMODE dfv_getInxOutputMode(CDfvObjPtr pDfvObj); 02330 02331 /** 02332 * Set INX output mode. 02333 * 02334 * @param pDfvObj Pointer to DfvObj instance. 02335 * @param newVal mode of INX. 02336 */ 02337 DFVINTERFACE_API void dfv_setInxOutputMode(CDfvObjPtr pDfvObj, DfvINXOUTPUTMODE newVal); 02338 02339 /** 02340 * Get the specification that omit blank pages. return Specification that omit blank pages 02341 */ 02342 DFVINTERFACE_API int dfv_getOmitBlankPages(CDfvObjPtr pDfvObj); 02343 02344 /** 02345 * Disregard any empty pages. 02346 * Effective only when the original file is MS Word or MS Excel. 02347 * Specifies to disregard any empty pages at the beginning of document. 02348 * By using this parameter with setEndPage = 1 parameter, 02349 * it is possible to acquire the output of the first page which has actual contents. 02350 * Other operation is not guaranteed. 02351 * 02352 * @param pDfvObj Pointer to DfvObj instance. 02353 * @param newVal If the value is 'true' is specified, omit blank pages 02354 */ 02355 DFVINTERFACE_API void dfv_setOmitBlankPages(CDfvObjPtr pDfvObj, int newVal); 02356 02357 02358 /** 02359 * Get specifies of the FlashPartiallyOutput. 02360 * @since 2.1 02361 * 02362 * @param pDfvObj Pointer to DfvObj instance. 02363 * @return specifies of FlashPartiallyOutput. 02364 */ 02365 DFVINTERFACE_API long dfv_getFlashPartiallyOutput(CDfvObjPtr pDfvObj); 02366 02367 /** 02368 * When an error occurs within the document, the flash file in process will be outputted. 02369 * Effective when outputting to Flash. 02370 * @since 2.1 02371 * 02372 * @param pDfvObj Pointer to DfvObj instance. 02373 * @param newVal If the value is 'true' is specified, output the flash file. 02374 */ 02375 DFVINTERFACE_API void dfv_setFlashPartiallyOutput(CDfvObjPtr pDfvObj, long newVal); 02376 02377 /** 02378 * Get specifies of the FlashHidePageButton. 02379 * @since 3.0 02380 * 02381 * @param pDfvObj Pointer to DfvObj instance. 02382 * @return specifies of FlashHidePageButton. 02383 */ 02384 DFVINTERFACE_API long dfv_getFlashHidePageButton(CDfvObjPtr pDfvObj); 02385 02386 /** 02387 * Output a no page button. Effective when outputting to Flash. 02388 * @since 3.0 02389 * 02390 * @param pDfvObj Pointer to DfvObj instance. 02391 * @param newVal If the value is 'true' is specified, output a no page button. 02392 */ 02393 DFVINTERFACE_API void dfv_setFlashHidePageButton(CDfvObjPtr pDfvObj, long newVal); 02394 02395 /** 02396 * Get the setting of the FlashSplitPage. 02397 * 02398 * @param pDfvObj Pointer to DfvObj instance. 02399 * @return 02400 * Specify FlashSplitPage. 02401 */ 02402 DFVINTERFACE_API long dfv_getFlashSplitPage(CDfvObjPtr pDfvObj); 02403 02404 /** 02405 * Outputs Flash file per page and saves as every single file..<BR> 02406 * Effective when outputting to Flash. 02407 * 02408 * @param pDfvObj Pointer to DfvObj instance. 02409 * @param newVal 02410 * If 'true' is specified, do not output Flash file per page. 02411 */ 02412 DFVINTERFACE_API void dfv_setFlashSplitPage(CDfvObjPtr pDfvObj, long newVal); 02413 02414 /** 02415 * Get the setting of FlashOutputAction. 02416 * 02417 * @param pDfvObj Pointer to DfvObj instance. 02418 * @return 02419 * Specify FlashOutputAction. 02420 */ 02421 DFVINTERFACE_API long dfv_getFlashOutputAction(CDfvObjPtr pDfvObj); 02422 02423 /** 02424 * Do not output features of ActionScript1.0, such as stop action per page, the page navigation button, linking, etc..<BR> 02425 * Effective when outputting to Flash. 02426 * 02427 * @param pDfvObj Pointer to DfvObj instance. 02428 * @param newVal 02429 * If 'true' is specified, do not output Flash file per page. 02430 */ 02431 DFVINTERFACE_API void dfv_setFlashOutputAction(CDfvObjPtr pDfvObj, long newVal); 02432 02433 /** 02434 * Get the setting of FlashImageLimitSize. 02435 * 02436 * @param pDfvObj Pointer to DfvObj instance. 02437 * @return 02438 * Specify FlashImageLimitSize. 02439 */ 02440 DFVINTERFACE_API int dfv_getFlashImageLimitSize(CDfvObjPtr pDfvObj); 02441 02442 /** 02443 * Specifies the number of maximum pixels of images outputted to the Flash file by the integral value. 02444 * When the width or the height of the output image exceeds the specified value, 02445 * it is reduced to the specified value when outputting the flash file. 02446 * When this parameter is omitted, 1000 is applied. <BR> 02447 * The image size that can be embedded in Flash is limited to the value of width x height with 2 raised to the 24th power (16,777,216) 02448 * by the number of pixels. Please note that when embedded image exceeds this size, 02449 * it may not be displayed with Flash Player.<BR> 02450 * Effective when outputting to Flash. 02451 * 02452 * @param pDfvObj Pointer to DfvObj instance. 02453 * @param newVal 02454 * If 'true' is specified, do not output Flash file per page. 02455 */ 02456 DFVINTERFACE_API void dfv_setFlashImageLimitSize(CDfvObjPtr pDfvObj, int newVal); 02457 02458 #if defined(_DOXYGEN) || (defined(_MSC_VER) && defined(_WIN32)) 02459 02460 /** 02461 * It print at size of paper. 02462 * Default is false. 02463 * Effective only when outputting to printer with Windows version. 02464 * 02465 * @param pDfvObj Pointer to DfvObj instance. 02466 * @param newVal If the value is 'true' is specified, print at size of paper. 02467 */ 02468 DFVINTERFACE_API void dfv_setPrnFitPaper(CDfvObjPtr pDfvObj, int newVal); 02469 02470 #endif // #if defined(_DOXYGEN) || (defined(_MSC_VER) && defined(_WIN32)) 02471 02472 02473 /** 02474 * Get the image resolution when outputting JPEG and PNG. 02475 * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 02476 * 02477 * @param pDfvObj Pointer to DfvObj instance. 02478 * @return Image resolution 02479 */ 02480 DFVINTERFACE_API int dfv_getRasterDPI(CDfvObjPtr pDfvObj); 02481 02482 /** 02483 * Sets the image resolution when outputting JPEG and PNG. 02484 * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 02485 * 02486 * @param pDfvObj Pointer to DfvObj instance. 02487 * @param newVal Image resolution (1 to 1440) 02488 */ 02489 DFVINTERFACE_API void dfv_setRasterDPI(CDfvObjPtr pDfvObj, int newVal); 02490 02491 /** 02492 * Get the image scale when outputting JPEG and PNG. 02493 * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 02494 * 02495 * @param pDfvObj Pointer to DfvObj instance. 02496 * @param pVal 02497 * Pointer to the buffer that will receive the text. 02498 * If the string is as long or longer than the buffer, 02499 * the string is truncated and terminated with a NULL character. 02500 * @param size 02501 * Specifies the number of the 'pVal' buffer, including the NULL character. 02502 * If the text exceeds this limit, it is truncated. 02503 * @return Returns the 'pVal'. 02504 */ 02505 DFVINTERFACE_API char* dfv_getRasterScale(CDfvObjPtr pDfvObj, char* pVal, int size); 02506 02507 /** 02508 * Get the image scale when outputting JPEG and PNG. 02509 * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 02510 * 02511 * @param pDfvObj Pointer to DfvObj instance. 02512 * @param pVal 02513 * Pointer to the buffer that will receive the text. 02514 * If the string is as long or longer than the buffer, 02515 * the string is truncated and terminated with a NULL character. 02516 * @param size 02517 * Specifies the number of the 'pVal' buffer, including the NULL character. 02518 * If the text exceeds this limit, it is truncated. 02519 * @return Returns the 'pVal'. 02520 */ 02521 DFVINTERFACE_API wchar_t* dfv_getRasterScaleW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size); 02522 02523 /** 02524 * Sets the image scale when outputting JPEG and PNG. 02525 * A numerical value, "%", or "px" (pixel) is available as the unit. 02526 * Specify the percentage for a numerical value and "%", and specify the width of image for pixel. 02527 * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 02528 * 02529 * @param pDfvObj Pointer to DfvObj instance. 02530 * @param newVal Image scale 02531 */ 02532 DFVINTERFACE_API void dfv_setRasterScale(CDfvObjPtr pDfvObj, const char* newVal); 02533 02534 /** 02535 * Sets the image scale when outputting JPEG and PNG. 02536 * A numerical value, "%", or "px" (pixel) is available as the unit. 02537 * Specify the percentage for a numerical value and "%", and specify the width of image for pixel. 02538 * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 02539 * 02540 * @param pDfvObj Pointer to DfvObj instance. 02541 * @param newVal Image scale 02542 */ 02543 DFVINTERFACE_API void dfv_setRasterScaleW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 02544 02545 /** 02546 * Get the maximum image height when outputting JPEG and PNG.<BR> 02547 * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 02548 * 02549 * @param pDfvObj Pointer to DfvObj instance. 02550 * @return Maximum image height 02551 */ 02552 DFVINTERFACE_API int dfv_getRasterHeight(CDfvObjPtr pDfvObj); 02553 02554 /** 02555 * Sets the maximum image height decided by setRasterScale when outputting JPEG and PNG.<BR> 02556 * "px" (pixel) is available as the unit. 02557 * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 02558 * 02559 * @param pDfvObj Pointer to DfvObj instance. 02560 * @param newVal Maximum image height 02561 */ 02562 DFVINTERFACE_API void dfv_setRasterHeight(CDfvObjPtr pDfvObj, int newVal); 02563 02564 /** 02565 * Get the file name naming format when outputting PNG and JPEG.<BR> 02566 * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 02567 * 02568 * @param pDfvObj Pointer to DfvObj instance. 02569 * @param pVal 02570 * Pointer to the buffer that will receive the text. 02571 * If the string is as long or longer than the buffer, 02572 * the string is truncated and terminated with a NULL character. 02573 * @param size 02574 * Specifies the number of the 'pVal' buffer, including the NULL character. 02575 * If the text exceeds this limit, it is truncated. 02576 * @return Returns the 'pVal'. 02577 */ 02578 DFVINTERFACE_API char* dfv_getRasterFormat(CDfvObjPtr pDfvObj, char* pVal, int size); 02579 02580 /** 02581 * Get the file name naming format when outputting PNG and JPEG.<BR> 02582 * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 02583 * 02584 * @param pDfvObj Pointer to DfvObj instance. 02585 * @param pVal 02586 * Pointer to the buffer that will receive the text. 02587 * If the string is as long or longer than the buffer, 02588 * the string is truncated and terminated with a NULL character. 02589 * @param size 02590 * Specifies the number of the 'pVal' buffer, including the NULL character. 02591 * If the text exceeds this limit, it is truncated. 02592 * @return Returns the 'pVal'. 02593 */ 02594 DFVINTERFACE_API wchar_t* dfv_getRasterFormatW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size); 02595 02596 /** 02597 * Specifies the file name naming format when outputting PNG and JPEG.<BR> 02598 * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 02599 * 02600 * @param pDfvObj Pointer to DfvObj instance. 02601 * @param newVal format for naming files 02602 */ 02603 DFVINTERFACE_API void dfv_setRasterFormat(CDfvObjPtr pDfvObj, const char* newVal); 02604 02605 /** 02606 * Specifies the file name naming format when outputting PNG and JPEG.<BR> 02607 * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 02608 * 02609 * @param pDfvObj Pointer to DfvObj instance. 02610 * @param newVal format for naming files 02611 */ 02612 DFVINTERFACE_API void dfv_setRasterFormatW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 02613 02614 /** 02615 * Get the conversion accuracy when outputting JPEG.<BR> 02616 * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 02617 * 02618 * @param pDfvObj Pointer to DfvObj instance. 02619 * @return JPEG quality 02620 */ 02621 DFVINTERFACE_API int dfv_getRasterJpegQuality(CDfvObjPtr pDfvObj); 02622 02623 /** 02624 * Specifies the conversion accuracy by the value with the range of 1-100(%) when outputting JPEG.<BR> 02625 * When this parameter is omitted, it is regarded as 80%. 02626 * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 02627 * 02628 * @param pDfvObj Pointer to DfvObj instance. 02629 * @param newVal JPEG quality 02630 */ 02631 DFVINTERFACE_API void dfv_setRasterJpegQuality(CDfvObjPtr pDfvObj, int newVal); 02632 02633 02634 #if defined(_DOXYGEN) || (defined(_MSC_VER) && defined(_WIN32)) 02635 02636 /** 02637 * Gets specification whether to use GdiPlus .<BR> 02638 * Effective only when outputting to image with Windows version 02639 * 02640 * @param pDfvObj Pointer to DfvObj instance. 02641 * @return Specification whether to use GdiPlus. 02642 */ 02643 DFVINTERFACE_API long dfv_getRasterUseGdiPlus(CDfvObjPtr pDfvObj); 02644 02645 /** 02646 * GdiPlus is used when the file is converted to Jpeg or PNG.<BR> 02647 * This setting is effective only with Windows Vista or later / Windows Server 2003. 02648 * Effective only when outputting to image with Windows version 02649 * 02650 * @param pDfvObj Pointer to DfvObj instance. 02651 * @param newVal Specifies whether to use GdiPlus. 02652 */ 02653 DFVINTERFACE_API void dfv_setRasterUseGdiPlus(CDfvObjPtr pDfvObj, long newVal); 02654 02655 /** 02656 * Gets specification whether to convert to monochrome image, when outputting JPEG and PNG.<BR> 02657 * Effective only when outputting to image with Windows version 02658 * 02659 * @param pDfvObj Pointer to DfvObj instance. 02660 * @return Specification whether to convert to monochrome. 02661 */ 02662 DFVINTERFACE_API long dfv_getRasterMonochrome(CDfvObjPtr pDfvObj); 02663 02664 /** 02665 * Specifies whether to convert to monochrome image, when outputting JPEG and PNG.<BR> 02666 * Effective only when outputting to image with Windows version 02667 * 02668 * @param pDfvObj Pointer to DfvObj instance. 02669 * @param newVal Specifies whether to convert to monochrome. 02670 */ 02671 DFVINTERFACE_API void dfv_setRasterMonochrome(CDfvObjPtr pDfvObj, long newVal); 02672 02673 #endif // defined(_DOXYGEN) || (defined(_MSC_VER) && defined(_WIN32)) 02674 02675 02676 /** 02677 * @deprecated 02678 * Get the path name of RGB ICC profile for input when outputting CMYK TIFF. 02679 * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 02680 * 02681 * @param pDfvObj Pointer to DfvObj instance. 02682 * @param pVal 02683 * Pointer to the buffer that will receive the text. 02684 * If the string is as long or longer than the buffer, 02685 * the string is truncated and terminated with a NULL character. 02686 * @param size 02687 * Specifies the number of the 'pVal' buffer, including the NULL character. 02688 * If the text exceeds this limit, it is truncated. 02689 * @return Returns the 'pVal'. 02690 */ 02691 DFVINTERFACE_API char* dfv_getRasterRGBProfile(CDfvObjPtr pDfvObj, char* pVal, int size); 02692 02693 /** 02694 * @deprecated 02695 * Get the path name of RGB ICC profile for input when outputting CMYK TIFF. 02696 * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 02697 * 02698 * @param pDfvObj Pointer to DfvObj instance. 02699 * @param pVal 02700 * Pointer to the buffer that will receive the text. 02701 * If the string is as long or longer than the buffer, 02702 * the string is truncated and terminated with a NULL character. 02703 * @param size 02704 * Specifies the number of the 'pVal' buffer, including the NULL character. 02705 * If the text exceeds this limit, it is truncated. 02706 * @return Returns the 'pVal'. 02707 */ 02708 DFVINTERFACE_API wchar_t* dfv_getRasterRGBProfileW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size); 02709 02710 /** 02711 * @deprecated 02712 * Set the path name of RGB ICC profile for input when outputting CMYK TIFF. 02713 * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 02714 * 02715 * @param pDfvObj Pointer to DfvObj instance. 02716 * @param newVal Pointer to a null-terminated string. 02717 */ 02718 DFVINTERFACE_API void dfv_setRasterRGBProfile(CDfvObjPtr pDfvObj, const char* newVal); 02719 02720 /** 02721 * @deprecated 02722 * Set the path name of RGB ICC profile for input when outputting CMYK TIFF. 02723 * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 02724 * 02725 * @param pDfvObj Pointer to DfvObj instance. 02726 * @param newVal Pointer to a null-terminated string. 02727 */ 02728 DFVINTERFACE_API void dfv_setRasterRGBProfileW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 02729 02730 /** 02731 * @deprecated 02732 * Get the path name of CMYK ICC profile for output when outputting CMYK TIFF. 02733 * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 02734 * 02735 * @param pDfvObj Pointer to DfvObj instance. 02736 * @param pVal 02737 * Pointer to the buffer that will receive the text. 02738 * If the string is as long or longer than the buffer, 02739 * the string is truncated and terminated with a NULL character. 02740 * @param size 02741 * Specifies the number of the 'pVal' buffer, including the NULL character. 02742 * If the text exceeds this limit, it is truncated. 02743 * @return Returns the 'pVal'. 02744 */ 02745 DFVINTERFACE_API char* dfv_getRasterCMYKProfile(CDfvObjPtr pDfvObj, char* pVal, int size); 02746 02747 /** 02748 * @deprecated 02749 * Get the path name of CMYK ICC profile for output when outputting CMYK TIFF. 02750 * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 02751 * 02752 * @param pDfvObj Pointer to DfvObj instance. 02753 * @param pVal 02754 * Pointer to the buffer that will receive the text. 02755 * If the string is as long or longer than the buffer, 02756 * the string is truncated and terminated with a NULL character. 02757 * @param size 02758 * Specifies the number of the 'pVal' buffer, including the NULL character. 02759 * If the text exceeds this limit, it is truncated. 02760 * @return Returns the 'pVal'. 02761 */ 02762 DFVINTERFACE_API wchar_t* dfv_getRasterCMYKProfileW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size); 02763 02764 /** 02765 * @deprecated 02766 * Set the path name of CMYK ICC profile for output when outputting CMYK TIFF. 02767 * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 02768 * 02769 * @param pDfvObj Pointer to DfvObj instance. 02770 * @param newVal Pointer to a null-terminated string. 02771 */ 02772 DFVINTERFACE_API void dfv_setRasterCMYKProfile(CDfvObjPtr pDfvObj, const char* newVal); 02773 02774 /** 02775 * @deprecated 02776 * Set the path name of CMYK ICC profile for output when outputting CMYK TIFF. 02777 * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 02778 * 02779 * @param pDfvObj Pointer to DfvObj instance. 02780 * @param newVal Pointer to a null-terminated string. 02781 */ 02782 DFVINTERFACE_API void dfv_setRasterCMYKProfileW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 02783 02784 /** 02785 * Get the setting of whether to convert images to grayscale 256 tones. 02786 * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 02787 * 02788 * @param pDfvObj Pointer to DfvObj instance. 02789 * @return 02790 * Specify whether to convert images to grayscale 256 tones. 02791 */ 02792 DFVINTERFACE_API long dfv_getRasterGrayscale(CDfvObjPtr pDfvObj); 02793 02794 /** 02795 * Outputs grayscale 256 tones..<BR> 02796 * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 02797 * 02798 * @param pDfvObj Pointer to DfvObj instance. 02799 * @param newVal 02800 * If "true" is specified, convert images to grayscale 256 tones. 02801 */ 02802 DFVINTERFACE_API void dfv_setRasterGrayscale(CDfvObjPtr pDfvObj, long newVal); 02803 02804 02805 #if defined(_DOXYGEN) || (defined(_MSC_VER) && defined(_WIN32)) 02806 02807 /** 02808 * Get the setting of whether to convert images to 256 colors. 02809 * Effective only when outputting to image with Windows version 02810 * 02811 * @param pDfvObj Pointer to DfvObj instance. 02812 * @return 02813 * Specify whether to convert images to 256 colors. 02814 */ 02815 DFVINTERFACE_API long dfv_getRaster256Color(CDfvObjPtr pDfvObj); 02816 02817 /** 02818 * Outputs 256 colors..<BR> 02819 * Effective only when outputting to image with Windows version 02820 * 02821 * @param pDfvObj Pointer to DfvObj instance. 02822 * @param newVal 02823 * If "true" is specified, convert images to 256 colors. 02824 */ 02825 DFVINTERFACE_API void dfv_setRaster256Color(CDfvObjPtr pDfvObj, long newVal); 02826 02827 #endif // defined(_DOXYGEN) || (defined(_MSC_VER) && defined(_WIN32)) 02828 02829 02830 /** 02831 * @deprecated 02832 * Get the compression method when outputting TIFF / MTIFF. 02833 * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 02834 * 02835 * @param pDfvObj Pointer to DfvObj instance. 02836 * @param pVal 02837 * Pointer to the buffer that will receive the text. 02838 * If the string is as long or longer than the buffer, 02839 * the string is truncated and terminated with a NULL character. 02840 * @param size 02841 * Specifies the number of the 'pVal' buffer, including the NULL character. 02842 * If the text exceeds this limit, it is truncated. 02843 * @return Returns the 'pVal'. 02844 */ 02845 DFVINTERFACE_API char* dfv_getRasterCompression(CDfvObjPtr pDfvObj, char* pVal, int size); 02846 02847 /** 02848 * @deprecated 02849 * Get the compression method when outputting TIFF / MTIFF. 02850 * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 02851 * 02852 * @param pDfvObj Pointer to DfvObj instance. 02853 * @param pVal 02854 * Pointer to the buffer that will receive the text. 02855 * If the string is as long or longer than the buffer, 02856 * the string is truncated and terminated with a NULL character. 02857 * @param size 02858 * Specifies the number of the 'pVal' buffer, including the NULL character. 02859 * If the text exceeds this limit, it is truncated. 02860 * @return Returns the 'pVal'. 02861 */ 02862 DFVINTERFACE_API wchar_t* dfv_getRasterCompressionW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size); 02863 02864 /** 02865 * @deprecated 02866 * Specifies the compression method when outputting TIFF / MTIFF.<BR> 02867 * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 02868 * The compression method.<BR> 02869 * none : None<BR> 02870 * lzw : ZLIB compression(When this parameter is omitted, lzw is applied.)<BR> 02871 * dct : DCTDecode<BR> 02872 * flate : FlateDecode<BR> 02873 * runlength : Run Length compression<BR> 02874 * ccitt3 : CCITT Group3<BR> 02875 * ccitt4 : CCITT Group4<BR> 02876 * 02877 * @param pDfvObj Pointer to DfvObj instance. 02878 * @param newVal Pointer to a null-terminated string. 02879 */ 02880 DFVINTERFACE_API void dfv_setRasterCompression(CDfvObjPtr pDfvObj, const char* newVal); 02881 02882 /** 02883 * @deprecated 02884 * Specifies the compression method when outputting TIFF / MTIFF.<BR> 02885 * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 02886 * The compression method.<BR> 02887 * none : None<BR> 02888 * lzw : ZLIB compression(When this parameter is omitted, lzw is applied.)<BR> 02889 * dct : DCTDecode<BR> 02890 * flate : FlateDecode<BR> 02891 * runlength : Run Length compression<BR> 02892 * ccitt3 : CCITT Group3<BR> 02893 * ccitt4 : CCITT Group4<BR> 02894 * 02895 * @param pDfvObj Pointer to DfvObj instance. 02896 * @param newVal Pointer to a null-terminated string. 02897 */ 02898 DFVINTERFACE_API void dfv_setRasterCompressionW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 02899 02900 02901 /** 02902 * Specifies the height of the paper when inputting text. 02903 * Effective when inputting text. 02904 * 02905 * @param pDfvObj Pointer to DfvObj instance. 02906 * @param newVal the height of paper 02907 */ 02908 DFVINTERFACE_API void dfv_setTextPaperHeight(CDfvObjPtr pDfvObj, const char* newVal); 02909 02910 /** 02911 * Specifies the height of the paper when inputting text. 02912 * Effective when inputting text. 02913 * 02914 * @param pDfvObj Pointer to DfvObj instance. 02915 * @param newVal the height of paper 02916 */ 02917 DFVINTERFACE_API void dfv_setTextPaperHeightW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 02918 02919 /** 02920 * Specifies the width of the paper when inputting text. 02921 * Effective when inputting text. 02922 * 02923 * @param pDfvObj Pointer to DfvObj instance. 02924 * @param newVal the width of paper 02925 */ 02926 DFVINTERFACE_API void dfv_setTextPaperWidth(CDfvObjPtr pDfvObj, const char* newVal); 02927 02928 /** 02929 * Specifies the width of the paper when inputting text. 02930 * Effective when inputting text. 02931 * 02932 * @param pDfvObj Pointer to DfvObj instance. 02933 * @param newVal the width of paper 02934 */ 02935 DFVINTERFACE_API void dfv_setTextPaperWidthW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 02936 02937 /** 02938 * Specifies the left margin of the paper when inputting text. 02939 * Effective when inputting text. 02940 * 02941 * @param pDfvObj Pointer to DfvObj instance. 02942 * @param newVal the left margin of the paper 02943 */ 02944 DFVINTERFACE_API void dfv_setTextMarginLeft(CDfvObjPtr pDfvObj, const char* newVal); 02945 02946 /** 02947 * Specifies the left margin of the paper when inputting text. 02948 * Effective when inputting text. 02949 * 02950 * @param pDfvObj Pointer to DfvObj instance. 02951 * @param newVal the left margin of the paper 02952 */ 02953 DFVINTERFACE_API void dfv_setTextMarginLeftW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 02954 02955 /** 02956 * Specifies the right margin of the paper when inputting text. 02957 * Effective when inputting text. 02958 * 02959 * @param pDfvObj Pointer to DfvObj instance. 02960 * @param newVal the top margin of the paper 02961 */ 02962 DFVINTERFACE_API void dfv_setTextMarginTop(CDfvObjPtr pDfvObj, const char* newVal); 02963 02964 /** 02965 * Specifies the right margin of the paper when inputting text. 02966 * Effective when inputting text. 02967 * 02968 * @param pDfvObj Pointer to DfvObj instance. 02969 * @param newVal the top margin of the paper 02970 */ 02971 DFVINTERFACE_API void dfv_setTextMarginTopW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 02972 02973 /** 02974 * Specifies the right margin of the paper when inputting text. 02975 * Effective when inputting text. 02976 * 02977 * @param pDfvObj Pointer to DfvObj instance. 02978 * @param newVal the right margin of the paper 02979 */ 02980 DFVINTERFACE_API void dfv_setTextMarginRight(CDfvObjPtr pDfvObj, const char* newVal); 02981 02982 /** 02983 * Specifies the right margin of the paper when inputting text. 02984 * Effective when inputting text. 02985 * 02986 * @param pDfvObj Pointer to DfvObj instance. 02987 * @param newVal the right margin of the paper 02988 */ 02989 DFVINTERFACE_API void dfv_setTextMarginRightW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 02990 02991 /** 02992 * Specifies the right margin of the paper when inputting text. 02993 * Effective when inputting text. 02994 * 02995 * @param pDfvObj Pointer to DfvObj instance. 02996 * @param newVal the bottom margin of the paper 02997 */ 02998 DFVINTERFACE_API void dfv_setTextMarginBottom(CDfvObjPtr pDfvObj, const char* newVal); 02999 03000 /** 03001 * Specifies the right margin of the paper when inputting text. 03002 * Effective when inputting text. 03003 * 03004 * @param pDfvObj Pointer to DfvObj instance. 03005 * @param newVal the bottom margin of the paper 03006 */ 03007 DFVINTERFACE_API void dfv_setTextMarginBottomW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 03008 03009 /** 03010 * Specifies the font family name when inputting text. 03011 * Effective when inputting text. 03012 * 03013 * @param pDfvObj Pointer to DfvObj instance. 03014 * @param newVal font family name 03015 */ 03016 DFVINTERFACE_API void dfv_setTextFontFamily(CDfvObjPtr pDfvObj, const char* newVal); 03017 03018 /** 03019 * Specifies the font family name when inputting text. 03020 * Effective when inputting text. 03021 * 03022 * @param pDfvObj Pointer to DfvObj instance. 03023 * @param newVal font family name 03024 */ 03025 DFVINTERFACE_API void dfv_setTextFontFamilyW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 03026 03027 /** 03028 * Specifies the font size when inputting text. 03029 * Effective when inputting text. 03030 * 03031 * @param pDfvObj Pointer to DfvObj instance. 03032 * @param newVal font size 03033 */ 03034 DFVINTERFACE_API void dfv_setTextFontSize(CDfvObjPtr pDfvObj, const char* newVal); 03035 03036 /** 03037 * Specifies the font size when inputting text. 03038 * Effective when inputting text. 03039 * 03040 * @param pDfvObj Pointer to DfvObj instance. 03041 * @param newVal font size 03042 */ 03043 DFVINTERFACE_API void dfv_setTextFontSizeW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 03044 03045 /** 03046 * Specifies the value of whether show page number or not when inputting text. 03047 * Effective when inputting text. 03048 * 03049 * @param pDfvObj Pointer to DfvObj instance. 03050 * @param newVal the value of whether show page number or not 03051 */ 03052 DFVINTERFACE_API void dfv_setTextShowPageNumber(CDfvObjPtr pDfvObj, int newVal); 03053 03054 /** 03055 * Specifies the value of whether show page number or not when inputting text. 03056 * Effective when inputting text. 03057 * 03058 * @param pDfvObj Pointer to DfvObj instance. 03059 * @param newVal the value of whether show page number or not 03060 */ 03061 DFVINTERFACE_API void dfv_setTextShowLineNumber(CDfvObjPtr pDfvObj, int newVal); 03062 03063 /** 03064 * Specifies the offset value of range from body area when showing line number and inputting text. 03065 * Effective when inputting text. 03066 * 03067 * @param pDfvObj Pointer to DfvObj instance. 03068 * @param newVal the offset value 03069 */ 03070 DFVINTERFACE_API void dfv_setTextLineNumberOffset(CDfvObjPtr pDfvObj, const char* newVal); 03071 03072 /** 03073 * Specifies the offset value of range from body area when showing line number and inputting text. 03074 * Effective when inputting text. 03075 * 03076 * @param pDfvObj Pointer to DfvObj instance. 03077 * @param newVal the offset value 03078 */ 03079 DFVINTERFACE_API void dfv_setTextLineNumberOffsetW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 03080 03081 /** 03082 * Specifies the line number format when showing line number and inputting text. 03083 * Effective when inputting text. 03084 * 03085 * @param pDfvObj Pointer to DfvObj instance. 03086 * @param newVal line number format 03087 */ 03088 DFVINTERFACE_API void dfv_setTextLineNumberFormat(CDfvObjPtr pDfvObj, const char* newVal); 03089 03090 /** 03091 * Specifies the line number format when showing line number and inputting text. 03092 * Effective when inputting text. 03093 * 03094 * @param pDfvObj Pointer to DfvObj instance. 03095 * @param newVal line number format 03096 */ 03097 DFVINTERFACE_API void dfv_setTextLineNumberFormatW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 03098 03099 #if defined(_DOXYGEN) || (defined(_MSC_VER) && defined(_WIN32)) 03100 /** 03101 * Acquires the setting of the smoothing processing to text.<BR> 03102 * This setting is effective only with Windows Vista or later / Windows Server 2003 or later. 03103 * 03104 * @param pDfvObj Pointer to DfvObj instance. 03105 * @return 03106 * Specify whether to perform the smoothing processing to text. 03107 */ 03108 DFVINTERFACE_API int dfv_getGdiTextAntialias(CDfvObjPtr pDfvObj); 03109 03110 /** 03111 * Performs the smoothing processing to text.<BR> 03112 * Effective only when printing and outputting images.<BR> 03113 * This setting is effective only with Windows Vista or later / Windows Server 2003 or later. 03114 * 03115 * @param pDfvObj Pointer to DfvObj instance. 03116 * @param newVal 03117 * Performs the smoothing processing when true is specified. 03118 */ 03119 DFVINTERFACE_API void dfv_setGdiTextAntialias(CDfvObjPtr pDfvObj, int newVal); 03120 03121 /** 03122 * Acquires the setting of the smoothing processing to borders.<BR> 03123 * This setting is effective only with Windows Vista or later / Windows Server 2003 or later. 03124 * 03125 * @param pDfvObj Pointer to DfvObj instance. 03126 * @return 03127 * Specify whether to perform the smoothing processing to borders. 03128 */ 03129 DFVINTERFACE_API int dfv_getGdiLineartSmoothing(CDfvObjPtr pDfvObj); 03130 03131 /** 03132 * Performs the smoothing processing to borders.<BR> 03133 * Effective only when printing and outputting images.<BR> 03134 * This setting is effective only with Windows Vista or later / Windows Server 2003 or later. 03135 * 03136 * @param pDfvObj Pointer to DfvObj instance. 03137 * @param newVal 03138 * Performs the smoothing processing when true is specified. 03139 */ 03140 DFVINTERFACE_API void dfv_setGdiLineartSmoothing(CDfvObjPtr pDfvObj, int newVal); 03141 03142 /** 03143 * Acquires the setting of the smoothing processing to images.<BR> 03144 * This setting is effective only with Windows Vista or later / Windows Server 2003 or later. 03145 * 03146 * @param pDfvObj Pointer to DfvObj instance. 03147 * @return 03148 * Specify whether to perform the smoothing processing to images. 03149 */ 03150 DFVINTERFACE_API int dfv_getGdiImageSmoothing(CDfvObjPtr pDfvObj); 03151 03152 /** 03153 * Performs the smoothing processing to images.<BR> 03154 * Effective only when printing and outputting images.<BR> 03155 * This setting is effective only with Windows Vista or later / Windows Server 2003 or later. 03156 * 03157 * @param pDfvObj Pointer to DfvObj instance. 03158 * @param newVal 03159 * Performs the smoothing processing when true is specified. 03160 */ 03161 DFVINTERFACE_API void dfv_setGdiImageSmoothing(CDfvObjPtr pDfvObj, int newVal); 03162 03163 #endif // defined(_DOXYGEN) || (defined(_MSC_VER) && defined(_WIN32)) 03164 03165 /** 03166 * @deprecated 03167 * Get the watermark text on each page. 03168 * 03169 * @param pDfvObj Pointer to DfvObj instance. 03170 * @param pVal 03171 * Pointer to the buffer that will receive the text. 03172 * If the string is as long or longer than the buffer, 03173 * the string is truncated and terminated with a NULL character. 03174 * @param size 03175 * Specifies the number of the 'pVal' buffer, including the NULL character. 03176 * If the text exceeds this limit, it is truncated. 03177 * @return Returns the 'pVal'. 03178 */ 03179 DFVINTERFACE_API char* dfv_getWatermarkText(CDfvObjPtr pDfvObj, char* pVal, int size); 03180 03181 /** 03182 * @deprecated 03183 * Get the watermark text on each page. 03184 * 03185 * @param pDfvObj Pointer to DfvObj instance. 03186 * @param pVal 03187 * Pointer to the buffer that will receive the text. 03188 * If the string is as long or longer than the buffer, 03189 * the string is truncated and terminated with a NULL character. 03190 * @param size 03191 * Specifies the number of the 'pVal' buffer, including the NULL character. 03192 * If the text exceeds this limit, it is truncated. 03193 * @return Returns the 'pVal'. 03194 */ 03195 DFVINTERFACE_API wchar_t* dfv_getWatermarkTextW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size); 03196 03197 /** 03198 * @deprecated 03199 * Displays the specified watermark text on each page. 03200 * Possible to make it multiple lines by delimiting with the line feed \n. 03201 * This setting is invalid with the evaluation version. 03202 * 03203 * @param pDfvObj Pointer to DfvObj instance. 03204 * @param newVal Pointer to a null-terminated string. 03205 */ 03206 DFVINTERFACE_API void dfv_setWatermarkText(CDfvObjPtr pDfvObj, const char* newVal); 03207 03208 /** 03209 * @deprecated 03210 * Displays the specified watermark text on each page. 03211 * Possible to make it multiple lines by delimiting with the line feed \n. 03212 * This setting is invalid with the evaluation version. 03213 * 03214 * @param pDfvObj Pointer to DfvObj instance. 03215 * @param newVal Pointer to a null-terminated string. 03216 */ 03217 DFVINTERFACE_API void dfv_setWatermarkTextW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 03218 03219 /** 03220 * @deprecated 03221 * Get the font family of the watermark text. 03222 * 03223 * @param pDfvObj Pointer to DfvObj instance. 03224 * @param pVal 03225 * Pointer to the buffer that will receive the text. 03226 * If the string is as long or longer than the buffer, 03227 * the string is truncated and terminated with a NULL character. 03228 * @param size 03229 * Specifies the number of the 'pVal' buffer, including the NULL character. 03230 * If the text exceeds this limit, it is truncated. 03231 * @return Returns the 'pVal'. 03232 */ 03233 DFVINTERFACE_API char* dfv_getWatermarkFontFamily(CDfvObjPtr pDfvObj, char* pVal, int size); 03234 03235 /** 03236 * @deprecated 03237 * Get the font family of the watermark text. 03238 * 03239 * @param pDfvObj Pointer to DfvObj instance. 03240 * @param pVal 03241 * Pointer to the buffer that will receive the text. 03242 * If the string is as long or longer than the buffer, 03243 * the string is truncated and terminated with a NULL character. 03244 * @param size 03245 * Specifies the number of the 'pVal' buffer, including the NULL character. 03246 * If the text exceeds this limit, it is truncated. 03247 * @return Returns the 'pVal'. 03248 */ 03249 DFVINTERFACE_API wchar_t* dfv_getWatermarkFontFamilyW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size); 03250 03251 /** 03252 * @deprecated 03253 * Specifies the font family to the character string which you set to watermark-text. 03254 * 03255 * @param pDfvObj Pointer to DfvObj instance. 03256 * @param newVal Pointer to a null-terminated string. 03257 */ 03258 DFVINTERFACE_API void dfv_setWatermarkFontFamily(CDfvObjPtr pDfvObj, const char* newVal); 03259 03260 /** 03261 * @deprecated 03262 * Specifies the font family to the character string which you set to watermark-text. 03263 * 03264 * @param pDfvObj Pointer to DfvObj instance. 03265 * @param newVal Pointer to a null-terminated string. 03266 */ 03267 DFVINTERFACE_API void dfv_setWatermarkFontFamilyW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 03268 03269 /** 03270 * @deprecated 03271 * Get the font weight of the watermark text. 03272 * 03273 * @param pDfvObj Pointer to DfvObj instance. 03274 * @param pVal 03275 * Pointer to the buffer that will receive the text. 03276 * If the string is as long or longer than the buffer, 03277 * the string is truncated and terminated with a NULL character. 03278 * @param size 03279 * Specifies the number of the 'pVal' buffer, including the NULL character. 03280 * If the text exceeds this limit, it is truncated. 03281 * @return Returns the 'pVal'. 03282 */ 03283 DFVINTERFACE_API char* dfv_getWatermarkFontWeight(CDfvObjPtr pDfvObj, char* pVal, int size); 03284 03285 /** 03286 * @deprecated 03287 * Get the font weight of the watermark text. 03288 * 03289 * @param pDfvObj Pointer to DfvObj instance. 03290 * @param pVal 03291 * Pointer to the buffer that will receive the text. 03292 * If the string is as long or longer than the buffer, 03293 * the string is truncated and terminated with a NULL character. 03294 * @param size 03295 * Specifies the number of the 'pVal' buffer, including the NULL character. 03296 * If the text exceeds this limit, it is truncated. 03297 * @return Returns the 'pVal'. 03298 */ 03299 DFVINTERFACE_API wchar_t* dfv_getWatermarkFontWeightW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size); 03300 03301 /** 03302 * @deprecated 03303 * Specifies the font weight to the character string which you set to watermark-text. 03304 * Possible to specify normal, bold or the numerical value from 100 to 900. 03305 * 03306 * @param pDfvObj Pointer to DfvObj instance. 03307 * @param newVal Pointer to a null-terminated string. 03308 */ 03309 DFVINTERFACE_API void dfv_setWatermarkFontWeight(CDfvObjPtr pDfvObj, const char* newVal); 03310 03311 /** 03312 * @deprecated 03313 * Specifies the font weight to the character string which you set to watermark-text. 03314 * Possible to specify normal, bold or the numerical value from 100 to 900. 03315 * 03316 * @param pDfvObj Pointer to DfvObj instance. 03317 * @param newVal Pointer to a null-terminated string. 03318 */ 03319 DFVINTERFACE_API void dfv_setWatermarkFontWeightW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 03320 03321 /** 03322 * @deprecated 03323 * Get the font style of the watermark text. 03324 * 03325 * @param pDfvObj Pointer to DfvObj instance. 03326 * @param pVal 03327 * Pointer to the buffer that will receive the text. 03328 * If the string is as long or longer than the buffer, 03329 * the string is truncated and terminated with a NULL character. 03330 * @param size 03331 * Specifies the number of the 'pVal' buffer, including the NULL character. 03332 * If the text exceeds this limit, it is truncated. 03333 * @return Returns the 'pVal'. 03334 */ 03335 DFVINTERFACE_API char* dfv_getWatermarkFontStyle(CDfvObjPtr pDfvObj, char* pVal, int size); 03336 03337 /** 03338 * @deprecated 03339 * Get the font style of the watermark text. 03340 * 03341 * @param pDfvObj Pointer to DfvObj instance. 03342 * @param pVal 03343 * Pointer to the buffer that will receive the text. 03344 * If the string is as long or longer than the buffer, 03345 * the string is truncated and terminated with a NULL character. 03346 * @param size 03347 * Specifies the number of the 'pVal' buffer, including the NULL character. 03348 * If the text exceeds this limit, it is truncated. 03349 * @return Returns the 'pVal'. 03350 */ 03351 DFVINTERFACE_API wchar_t* dfv_getWatermarkFontStyleW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size); 03352 03353 /** 03354 * @deprecated 03355 * Specifies the font style to the character string which you set to watermark-text. 03356 * 03357 * @param pDfvObj Pointer to DfvObj instance. 03358 * @param newVal Pointer to a null-terminated string. 03359 */ 03360 DFVINTERFACE_API void dfv_setWatermarkFontStyle(CDfvObjPtr pDfvObj, const char* newVal); 03361 03362 /** 03363 * @deprecated 03364 * Specifies the font style to the character string which you set to watermark-text. 03365 * 03366 * @param pDfvObj Pointer to DfvObj instance. 03367 * @param newVal Pointer to a null-terminated string. 03368 */ 03369 DFVINTERFACE_API void dfv_setWatermarkFontStyleW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 03370 03371 /** 03372 * @deprecated 03373 * Get the opacity of the watermark text. 03374 * 03375 * @param pDfvObj Pointer to DfvObj instance. 03376 * @param pVal 03377 * Pointer to the buffer that will receive the text. 03378 * If the string is as long or longer than the buffer, 03379 * the string is truncated and terminated with a NULL character. 03380 * @param size 03381 * Specifies the number of the 'pVal' buffer, including the NULL character. 03382 * If the text exceeds this limit, it is truncated. 03383 * @return Returns the 'pVal'. 03384 */ 03385 DFVINTERFACE_API char* dfv_getWatermarkOpacity(CDfvObjPtr pDfvObj, char* pVal, int size); 03386 03387 /** 03388 * @deprecated 03389 * Get the opacity of the watermark text. 03390 * 03391 * @param pDfvObj Pointer to DfvObj instance. 03392 * @param pVal 03393 * Pointer to the buffer that will receive the text. 03394 * If the string is as long or longer than the buffer, 03395 * the string is truncated and terminated with a NULL character. 03396 * @param size 03397 * Specifies the number of the 'pVal' buffer, including the NULL character. 03398 * If the text exceeds this limit, it is truncated. 03399 * @return Returns the 'pVal'. 03400 */ 03401 DFVINTERFACE_API wchar_t* dfv_getWatermarkOpacityW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size); 03402 03403 /** 03404 * @deprecated 03405 * Specifies the opacity to the character string which you set to watermark-text. 03406 * 03407 * @param pDfvObj Pointer to DfvObj instance. 03408 * @param newVal Pointer to a null-terminated string. 03409 */ 03410 DFVINTERFACE_API void dfv_setWatermarkOpacity(CDfvObjPtr pDfvObj, const char* newVal); 03411 03412 /** 03413 * @deprecated 03414 * Specifies the opacity to the character string which you set to watermark-text. 03415 * 03416 * @param pDfvObj Pointer to DfvObj instance. 03417 * @param newVal Pointer to a null-terminated string. 03418 */ 03419 DFVINTERFACE_API void dfv_setWatermarkOpacityW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 03420 03421 /** 03422 * Gets the setting of continuous page numbers across worksheets in Excel header footer/number of pages as a total of all worksheets. 03423 * @param pDfvObj Pointer to DfvObj instance. 03424 * @return 03425 * If true, inserts continuous page numbers across all worksheets/number of pages as a total of all worksheets. 03426 */ 03427 DFVINTERFACE_API int dfv_getContinuePageNumber(CDfvObjPtr pDfvObj); 03428 03429 /** 03430 * Sets continuous page numbers across worksheets in Excel header footer/number of pages as a total of all worksheets. 03431 * 03432 * @param pDfvObj Pointer to DfvObj instance. 03433 * @param newVal 03434 * If true, sets continuous page numbers across all worksheets/number of pages as a total of all worksheets. 03435 */ 03436 DFVINTERFACE_API void dfv_setContinuePageNumber(CDfvObjPtr pDfvObj, int newVal); 03437 03438 /** 03439 * Get the ICC profile file name. 03440 * 03441 * @param pDfvObj Pointer to DfvObj instance. 03442 * @param pVal Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, 03443 * the string is truncated and terminated with a NULL character. 03444 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 03445 * @return Returns the 'pVal'. 03446 */ 03447 03448 DFVINTERFACE_API char* dfv_getPdfColorProfile(CDfvObjPtr pDfvObj, char* pVal, int size); 03449 /** 03450 * Get the ICC profile file name. 03451 * 03452 * @param pDfvObj Pointer to DfvObj instance. 03453 * @param pVal Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, 03454 * the string is truncated and terminated with a NULL character. 03455 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 03456 * @return Returns the 'pVal'. 03457 */ 03458 DFVINTERFACE_API wchar_t* dfv_getPdfColorProfileW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size); 03459 03460 /** 03461 * Set the ICC profile file name. 03462 * When PDF/A-1b:2005 is specified to PdfVersion, the specification of the ICC profile is indispensable. Specify the ICC profile with its full path. This parameter is invalid with any PDF other than PDF/A-1b:2005. 03463 * 03464 * @param pDfvObj Pointer to DfvObj instance. 03465 * @param newVal Pointer to a null-terminated string to be used as the ICC profile file name. 03466 */ 03467 DFVINTERFACE_API void dfv_setPdfColorProfile(CDfvObjPtr pDfvObj, const char* newVal); 03468 03469 /** 03470 * Set the ICC profile file name. 03471 * When PDF/A-1b:2005 is specified to PdfVersion, the specification of the ICC profile is indispensable. Specify the ICC profile with its full path. This parameter is invalid with any PDF other than PDF/A-1b:2005. 03472 * 03473 * @param pDfvObj Pointer to DfvObj instance. 03474 * @param newVal Pointer to a null-terminated string to be used as the ICC profile file name. 03475 */ 03476 DFVINTERFACE_API void dfv_setPdfColorProfileW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 03477 03478 /** 03479 * Specifies the open password for document. 03480 * 03481 * @param pDfvObj Pointer to DfvObj instance. 03482 * @param newVal Pointer to a null-terminated string. 03483 */ 03484 DFVINTERFACE_API void dfv_setOpenPassword(CDfvObjPtr pDfvObj, const char* newVal); 03485 03486 /** 03487 * Specifies the open password for document. 03488 * 03489 * @param pDfvObj Pointer to DfvObj instance. 03490 * @param newVal Pointer to a null-terminated string. 03491 */ 03492 DFVINTERFACE_API void dfv_setOpenPasswordW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 03493 03494 /** 03495 * Get the setting of Support for correct number of pages in Word. 03496 * 03497 * @param pDfvObj Pointer to DfvObj instance. 03498 * @return 03499 * If true, support for correct number of pages and dynamically updating table of contents in Word. 03500 */ 03501 DFVINTERFACE_API long dfv_getPageNumberCorrection(CDfvObjPtr pDfvObj); 03502 03503 /** 03504 * Set the setting of Support for correct number of pages in Word. 03505 * 03506 * @param pDfvObj Pointer to DfvObj instance. 03507 * @param newVal 03508 * If true, sets support for correct number of pages and dynamically updating table of contents in Word. 03509 */ 03510 DFVINTERFACE_API void dfv_setPageNumberCorrection(CDfvObjPtr pDfvObj, long newVal); 03511 03512 /** 03513 * Get the specification that output to the first sheet that was active. return Specification that output to the first sheet that was active 03514 */ 03515 DFVINTERFACE_API int dfv_getSheetOrderActiveFirst(CDfvObjPtr pDfvObj); 03516 03517 /** 03518 * Output to the first sheet that was active when you save in MS Excel. 03519 * 03520 * @param pDfvObj Pointer to DfvObj instance. 03521 * @param newVal If the value is 'true' is specified, first sheet that was active 03522 */ 03523 DFVINTERFACE_API void dfv_setSheetOrderActiveFirst(CDfvObjPtr pDfvObj, int newVal); 03524 03525 /** 03526 * Get the sheet order and select. 03527 * 03528 * @param pDfvObj Pointer to DfvObj instance. 03529 * @param pVal Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, 03530 * the string is truncated and terminated with a NULL character. 03531 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 03532 * @return Returns the 'pVal'. 03533 */ 03534 03535 DFVINTERFACE_API char* dfv_getSheetOrderSelect(CDfvObjPtr pDfvObj, char* pVal, int size); 03536 /** 03537 * Get the sheet order and select. 03538 * 03539 * @param pDfvObj Pointer to DfvObj instance. 03540 * @param pVal Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, 03541 * the string is truncated and terminated with a NULL character. 03542 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 03543 * @return Returns the 'pVal'. 03544 */ 03545 DFVINTERFACE_API wchar_t* dfv_getSheetOrderSelectW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size); 03546 03547 /** 03548 * Set the sheet order and select. 03549 * 03550 * @param pDfvObj Pointer to DfvObj instance. 03551 * @param newVal Pointer to a null-terminated string to be used as the sheet order and select. 03552 */ 03553 DFVINTERFACE_API void dfv_setSheetOrderSelect(CDfvObjPtr pDfvObj, const char* newVal); 03554 03555 /** 03556 * Set the sheet order and select. 03557 * 03558 * @param pDfvObj Pointer to DfvObj instance. 03559 * @param newVal Pointer to a null-terminated string to be used as the sheet order and select. 03560 */ 03561 DFVINTERFACE_API void dfv_setSheetOrderSelectW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 03562 03563 /** 03564 * Get the locale. 03565 * 03566 * @param pDfvObj Pointer to DfvObj instance. 03567 * @param pVal Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, 03568 * the string is truncated and terminated with a NULL character. 03569 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 03570 * @return Returns the 'pVal'. 03571 */ 03572 03573 DFVINTERFACE_API char* dfv_getLocale(CDfvObjPtr pDfvObj, char* pVal, int size); 03574 /** 03575 * Get the locale. 03576 * 03577 * @param pDfvObj Pointer to DfvObj instance. 03578 * @param pVal Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, 03579 * the string is truncated and terminated with a NULL character. 03580 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 03581 * @return Returns the 'pVal'. 03582 */ 03583 DFVINTERFACE_API wchar_t* dfv_getLocaleW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size); 03584 03585 /** 03586 * Set the locale. 03587 * 03588 * @param pDfvObj Pointer to DfvObj instance. 03589 * @param newVal Pointer to a null-terminated string to be used as the locale. 03590 */ 03591 DFVINTERFACE_API void dfv_setLocale(CDfvObjPtr pDfvObj, const char* newVal); 03592 03593 /** 03594 * Set the locale. 03595 * 03596 * @param pDfvObj Pointer to DfvObj instance. 03597 * @param newVal Pointer to a null-terminated string to be used as the locale. 03598 */ 03599 DFVINTERFACE_API void dfv_setLocaleW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 03600 03601 /** 03602 * Get the RowColControl configuration file name. 03603 * 03604 * @param pDfvObj Pointer to DfvObj instance. 03605 * @param pVal Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, 03606 * the string is truncated and terminated with a NULL character. 03607 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 03608 * @return Returns the 'pVal'. 03609 */ 03610 DFVINTERFACE_API char* dfv_getRowColControlFileName(CDfvObjPtr pDfvObj, char* pVal, int size); 03611 03612 /** 03613 * Get the RowColControl configuration file name. 03614 * 03615 * @param pDfvObj Pointer to DfvObj instance. 03616 * @param pVal Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, 03617 * the string is truncated and terminated with a NULL character. 03618 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 03619 * @return Returns the 'pVal'. 03620 */ 03621 DFVINTERFACE_API wchar_t* dfv_getRowColControlFileNameW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size); 03622 03623 /** 03624 * Set the RowColControl configuration file name. 03625 * 03626 * @param pDfvObj Pointer to DfvObj instance. 03627 * @param newVal Pointer to a null-terminated string to be used as the file name. 03628 */ 03629 DFVINTERFACE_API void dfv_setRowColControlFileName(CDfvObjPtr pDfvObj, const char* newVal); 03630 03631 /** 03632 * Set the RowColControl configuration file name. 03633 * 03634 * @param pDfvObj Pointer to DfvObj instance. 03635 * @param newVal Pointer to a null-terminated string to be used as the file name. 03636 */ 03637 DFVINTERFACE_API void dfv_setRowColControlFileNameW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 03638 03639 /** 03640 * Get the RowColControl parameter row,col string. 03641 * 03642 * @param pDfvObj Pointer to DfvObj instance. 03643 * @param pVal Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, 03644 * the string is truncated and terminated with a NULL character. 03645 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 03646 * @return Returns the 'pVal'. 03647 */ 03648 DFVINTERFACE_API char* dfv_getRowColControlParameter(CDfvObjPtr pDfvObj, char* pVal, int size); 03649 03650 /** 03651 * Get the RowColControl parameter row,col string. 03652 * 03653 * @param pDfvObj Pointer to DfvObj instance. 03654 * @param pVal Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, 03655 * the string is truncated and terminated with a NULL character. 03656 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 03657 * @return Returns the 'pVal'. 03658 */ 03659 DFVINTERFACE_API wchar_t* dfv_getRowColControlParameterW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size); 03660 03661 /** 03662 * Set the RowColControl parameter row,col. 03663 * 03664 * @param pDfvObj Pointer to DfvObj instance. 03665 * @param newVal Pointer to a null-terminated string to be used as the parameter row,col string. 03666 */ 03667 DFVINTERFACE_API void dfv_setRowColControlParameter(CDfvObjPtr pDfvObj, const char* newVal); 03668 03669 /** 03670 * Set the RowColControl parameter row,col. 03671 * 03672 * @param pDfvObj Pointer to DfvObj instance. 03673 * @param newVal Pointer to a null-terminated string to be used as the parameter row,col string. 03674 */ 03675 DFVINTERFACE_API void dfv_setRowColControlParameterW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 03676 03677 /** 03678 * Gets the view information option. 03679 * default font name/size in file & printer name in sheet and matched parameter. 03680 * 03681 * @param pDfvObj Pointer to DfvObj instance. 03682 * @return Return to this option. 03683 */ 03684 DFVINTERFACE_API int dfv_getXlsInfoView(CDfvObjPtr pDfvObj); 03685 03686 /** 03687 * Set the view information option. 03688 * default font name/size in file & printer name in sheet and matched parameter. 03689 * 03690 * @param pDfvObj Pointer to DfvObj instance. 03691 * @param newVal If the value is 'true' is specified, Set to the view information option. 03692 */ 03693 DFVINTERFACE_API void dfv_setXlsInfoView(CDfvObjPtr pDfvObj, int newVal); 03694 03695 /** 03696 * Get the XlsPaperDefault parameter string. 03697 * 03698 * @param pDfvObj Pointer to DfvObj instance. 03699 * @param pVal Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, 03700 * the string is truncated and terminated with a NULL character. 03701 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 03702 * @return Returns the 'pVal'. 03703 */ 03704 DFVINTERFACE_API char* dfv_getXlsPaperDefault(CDfvObjPtr pDfvObj, char* pVal, int size); 03705 03706 /** 03707 * Get the XlsPaperDefault parameter string. 03708 * 03709 * @param pDfvObj Pointer to DfvObj instance. 03710 * @param pVal Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, 03711 * the string is truncated and terminated with a NULL character. 03712 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 03713 * @return Returns the 'pVal'. 03714 */ 03715 DFVINTERFACE_API wchar_t* dfv_getXlsPaperDefaultW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size); 03716 03717 /** 03718 * Set the XlsPaperDefault parameter string. 03719 * 03720 * @param pDfvObj Pointer to DfvObj instance. 03721 * @param newVal Pointer to a null-terminated string to be used as the parameter string. 03722 */ 03723 DFVINTERFACE_API void dfv_setXlsPaperDefault(CDfvObjPtr pDfvObj, const char* newVal); 03724 03725 /** 03726 * Set the XlsPaperDefault parameter string. 03727 * 03728 * @param pDfvObj Pointer to DfvObj instance. 03729 * @param newVal Pointer to a null-terminated string to be used as the parameter string. 03730 */ 03731 DFVINTERFACE_API void dfv_setXlsPaperDefaultW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 03732 03733 /** 03734 * Get the XlsPaper parameter string. 03735 * 03736 * @param pDfvObj Pointer to DfvObj instance. 03737 * @param pVal Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, 03738 * the string is truncated and terminated with a NULL character. 03739 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 03740 * @return Returns the 'pVal'. 03741 */ 03742 DFVINTERFACE_API char* dfv_getXlsPaper(CDfvObjPtr pDfvObj, char* pVal, int size); 03743 03744 /** 03745 * Get the XlsPaper parameter string. 03746 * 03747 * @param pDfvObj Pointer to DfvObj instance. 03748 * @param pVal Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, 03749 * the string is truncated and terminated with a NULL character. 03750 * @param size Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. 03751 * @return Returns the 'pVal'. 03752 */ 03753 DFVINTERFACE_API wchar_t* dfv_getXlsPaperW(CDfvObjPtr pDfvObj, wchar_t* pVal, int size); 03754 03755 /** 03756 * Set the XlsPaper parameter string. 03757 * 03758 * @param pDfvObj Pointer to DfvObj instance. 03759 * @param newVal Pointer to a null-terminated string to be used as the parameter string. 03760 */ 03761 DFVINTERFACE_API void dfv_setXlsPaper(CDfvObjPtr pDfvObj, const char* newVal); 03762 03763 /** 03764 * Set the XlsPaper parameter string. 03765 * 03766 * @param pDfvObj Pointer to DfvObj instance. 03767 * @param newVal Pointer to a null-terminated string to be used as the parameter string. 03768 */ 03769 DFVINTERFACE_API void dfv_setXlsPaperW(CDfvObjPtr pDfvObj, const wchar_t* newVal); 03770 03771 03772 #ifdef __cplusplus 03773 } 03774 #endif /* __cplusplus */ 03775 03776 #endif /* DFVIFC_C_H__ */