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