Main Page   Namespace List   Compound List   File List   Compound Members   File Members   Related Pages  

dfvifc.h

Go to the documentation of this file.
00001 /**
00002  * @file    dfvifc.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_H__
00011 #define DFVIFC_H__
00012 
00013 #ifndef __cplusplus
00014 #error  This is a header for C++ compiler.
00015 #endif
00016 
00017 #include <iostream>
00018 #include "dfvifc_c.h"   /* include common definitions */
00019 
00020 namespace DfvInterface {
00021 
00022 class DfvCppIfObject;
00023 
00024 /***************************************************************
00025  * Event class that returns the error information in the formatting process.
00026  */
00027 class DFVINTERFACE_API MessageListener
00028 {
00029 public:
00030     MessageListener() {}
00031     virtual ~MessageListener() {}
00032 
00033     /**
00034      * Event that returns the error information(error level, error code, error message) in the formatting process.
00035      *
00036      * errLevel     - Returns the errorlevel
00037      * errCode      - Returns the errorcode
00038      * errMessage   - Returns the errormessage
00039      */
00040     virtual void onMessage(DfvIfErrorLevel errLevel, DfvIfErrorCode errCode, const char* errMessage) {}
00041     virtual void onMessageW(DfvIfErrorLevel errLevel, DfvIfErrorCode errCode, const wchar_t* errMessage) {}
00042 
00043 #if !defined(_DOXYGEN) && defined(_MSC_VER)
00044  /* Please do not use following methods directly. */
00045  #ifdef _NATIVE_WCHAR_T_DEFINED
00046     virtual void onMessageW(DfvIfErrorLevel errLevel, DfvIfErrorCode errCode, const unsigned short* errMessage) {}
00047  #else
00048     virtual void onMessageW(DfvIfErrorLevel errLevel, DfvIfErrorCode errCode, const __wchar_t* errMessage) {}
00049  #endif
00050 #endif
00051 };
00052 
00053 /***************************************************************
00054  * Event class that returns the page number in the formatting process.
00055  */
00056 class DFVINTERFACE_API DfvFormatPageListener
00057 {
00058 public:
00059     DfvFormatPageListener() {}
00060     virtual ~DfvFormatPageListener() {}
00061 
00062     /**
00063      * Returns the formatted page number that occurred during the formatting process.
00064      * More than or equal to 1 : Page number when formatting finished.
00065      *  0 : All page formatting has finished.
00066      *
00067      * pageNo       - Returns the page number
00068      */
00069     virtual void onFormatPage(long pageNo) {}
00070 };
00071 
00072 /***************************************************************
00073  * Office Server Document Converter C++ Interface Object Class
00074  */
00075 class DFVINTERFACE_API DfvObj
00076 {
00077 private:
00078     DfvCppIfObject* m_pDfvObj;  /* instance of DfvObj */
00079 
00080 public:
00081     /**
00082      * Constructor
00083      */
00084     DfvObj();
00085 
00086     /**
00087      * Destructor
00088      */
00089     virtual ~DfvObj();
00090 
00091     /**
00092      * Get instance of DfvObj
00093      *
00094      * @return  pointer to DfvObj instance.
00095      */
00096     DfvCppIfObject* getDfvObj() const { return m_pDfvObj; }
00097 
00098     /**
00099      * Get the URL of document you will format.
00100      *
00101      * @param   pVal        Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer,
00102      *          the string is truncated and terminated with a NULL character.
00103      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
00104      * @return  Returns the 'pVal'.
00105      */
00106     char* getDocumentURI(char* pVal, int size) const;
00107     /**
00108      * Get the URL of document you will format.
00109      *
00110      * @param   pVal        Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer,
00111      *          the string is truncated and terminated with a NULL character.
00112      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
00113      * @return  Returns the 'pVal'.
00114      */
00115     wchar_t* getDocumentURIW(wchar_t* pVal, int size) const;
00116 
00117     /**
00118      * Specifies the URL of document you will format.
00119      * If it is omitted or "\@STDIN" is specified, document is loaded from stdin.
00120      * The document loaded from stdin are supposed to be FO files.
00121      *
00122      * @param   newVal  Pointer to a null-terminated string to be used as the URL of document.
00123      */
00124     void setDocumentURI(const char* newVal);
00125 
00126     /**
00127      * Specifies the URL of document you will format.
00128      * If it is omitted or "\@STDIN" is specified, document is loaded from stdin.
00129      * The document loaded from stdin are supposed to be FO files.
00130      *
00131      * @param   newVal  Pointer to a null-terminated string to be used as the URL of document.
00132      */
00133     void setDocumentURIW(const wchar_t* newVal);
00134 
00135     /**
00136      * Get the path name of the output file.
00137      *
00138      * @param   pVal        Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer,
00139      *          the string is truncated and terminated with a NULL character.
00140      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
00141      * @return  Returns the 'pVal'.
00142      */
00143     char* getOutputFilePath(char* pVal, int size) const;
00144     /**
00145      * Get the path name of the output file.
00146      *
00147      * @param   pVal        Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer,
00148      *          the string is truncated and terminated with a NULL character.
00149      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
00150      * @return  Returns the 'pVal'.
00151      */
00152     wchar_t* getOutputFilePathW(wchar_t* pVal, int size) const;
00153 
00154     /**
00155      * Specifies the path name of the output file. When "\@STDOUT" is specified, it is considered as stdout.
00156      * If both the printer name and this property are specified, the formatted result will be stored in
00157      * the file by the printer driver.
00158      * When "\@PDF" is specified as output, the PDF is stored in the file specified by this property.
00159      * If the property is not specified, it is considered as stdout.
00160      *
00161      * @param   newVal  Pointer to a null-terminated string to be used as the path name of the output file.
00162      */
00163     void setOutputFilePath(const char* newVal);
00164     /**
00165      * Specifies the path name of the output file. When "\@STDOUT" is specified, it is considered as stdout.
00166      * If both the printer name and this property are specified, the formatted result will be stored in
00167      * the file by the printer driver.
00168      * When "\@PDF" is specified as output, the PDF is stored in the file specified by this property.
00169      * If the property is not specified, it is considered as stdout.
00170      *
00171      * @param   newVal  Pointer to a null-terminated string to be used as the path name of the output file.
00172      */
00173     void setOutputFilePathW(const wchar_t* newVal);
00174 
00175     /**
00176      * Get the path name of format Option setting file which describes Office Server Document Converter options.
00177      *
00178      * @param   pVal        Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer,
00179      *          the string is truncated and terminated with a NULL character.
00180      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
00181      * @param   n       Specifies to get n-th URI. 0 means first URI.
00182      * @return  Returns the 'pVal'.
00183      */
00184     char* getOptionFileURI(char* pVal, int size, int n=0) const;
00185     /**
00186      * Get the path name of format Option setting file which describes Office Server Document Converter options.
00187      *
00188      * @param   pVal        Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer,
00189      *          the string is truncated and terminated with a NULL character.
00190      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
00191      * @param   n       Specifies to get n-th URI. 0 means first URI.
00192      * @return  Returns the 'pVal'.
00193      */
00194     wchar_t* getOptionFileURIW(wchar_t* pVal, int size, int n=0) const;
00195 
00196     /**
00197      * Specifies the path name of format Option setting file which describes Office Server Document Converter options.
00198      * The set of former URIs is thrown away.
00199      *
00200      * @param   newVal  Pointer to a null-terminated string to be used as the path name of format Option setting file.
00201      */
00202     void setOptionFileURI(const char* newVal);
00203     /**
00204      * Specifies the path name of format Option setting file which describes Office Server Document Converter options.
00205      * The set of former URIs is thrown away.
00206      *
00207      * @param   newVal  Pointer to a null-terminated string to be used as the path name of format Option setting file.
00208      */
00209     void setOptionFileURIW(const wchar_t* newVal);
00210 
00211     /**
00212      * Append the path name of format Option setting file which describes Office Server Document Converter options.
00213      * 
00214      *
00215      * @param   newVal  Pointer to a null-terminated string to be used as the path name of format Option setting file.
00216      */
00217     void addOptionFileURI(const char* newVal);
00218     /**
00219      * Append the path name of format Option setting file which describes Office Server Document Converter options.
00220      * 
00221      *
00222      * @param   newVal  Pointer to a null-terminated string to be used as the path name of format Option setting file.
00223      */
00224     void addOptionFileURIW(const wchar_t* newVal);
00225 
00226     /**
00227      * Get the number of URIs of format Option setting file which describes Office Server Document Converter options.
00228      * 
00229      *
00230      * @return  Returns the number of URIs.
00231      */
00232     int getOptionFileCount() const;
00233 
00234     /**
00235      * Get the start page number of document to output.
00236      *
00237      * @return  start page number of document to output.
00238      */
00239     long getStartPage() const;
00240 
00241     /**
00242      * Specifies the start page number of document to output.
00243      * If the start page is omitted or the specified value is 0 or less, the start page is
00244      * considered from the first page.
00245      * If the setting is inconsistent, (for example, StartPage=5 EndPage=3) an error occurs.
00246      *
00247      * @param   newVal  start page number of output.
00248      */
00249     void setStartPage(long newVal);
00250 
00251     /**
00252      * Get the end page number of document to output.
00253      *
00254      * @return  end page number of output.
00255      */
00256     long getEndPage() const;
00257 
00258     /**
00259      * Specifies the end page number of document to output.
00260      * If the end page is omitted or the specified value exceeds the actual page number, the end page
00261      * is considered as the last page.
00262      * If the setting is inconsistent, (for example, StartPage=5 EndPage=3) an error occurs.
00263      *
00264      * @param   newVal  end page number of output.
00265      */
00266     void setEndPage(long newVal);
00267 
00268     /**
00269      * Effective when outputting to PDF.
00270      * Specifies the owner password for PDF. The password must be within 32 bytes.
00271      * 
00272      *
00273      * @param   newVal  Pointer to a null-terminated string to be used as the owner password.
00274      */
00275     void setPdfOwnerPassword(const char* newVal);
00276 
00277     /**
00278      * Effective when outputting to PDF.
00279      * Specifies the owner password for PDF. The password must be within 32 bytes.
00280      * 
00281      *
00282      * @param   newVal  Pointer to a null-terminated string to be used as the owner password.
00283      */
00284     void setPdfOwnerPasswordW(const wchar_t* newVal);
00285 
00286     /**
00287      * Effective when outputting to PDF.
00288      * Specifies the user password for PDF. The password must be within 32 bytes.
00289      * 
00290      *
00291      * @param   newVal  Pointer to a null-terminated string to be used as the user password.
00292      */
00293     void setPdfUserPassword(const char* newVal);
00294 
00295     /**
00296      * Effective when outputting to PDF.
00297      * Specifies the user password for PDF. The password must be within 32 bytes.
00298      * 
00299      *
00300      * @param   newVal  Pointer to a null-terminated string to be used as the user password.
00301      */
00302     void setPdfUserPasswordW(const wchar_t* newVal);
00303 
00304     /**
00305      * Effective when outputting to PDF.
00306      * Disables printing the PDF file.
00307      * 
00308      *
00309      * @param   newVal  If nonezero is specified, Disables printing the PDF file.
00310      */
00311     void setPdfNoPrinting(long newVal);
00312 
00313     /**
00314      * Effective when outputting to PDF.
00315      * Get disables printing the PDF file.
00316      * 
00317      *
00318      * @return  If zero is returned, Enables printing the PDF file.
00319      *          If nonezero is returned, Disables printing the PDF file.
00320      */
00321     long getPdfNoPrinting() const;
00322 
00323     /**
00324      * Effective when outputting to PDF.
00325      * Disables making changes of the PDF file.
00326      * 
00327      *
00328      * @param   newVal  If nonezero is specified, Disables making changes of the PDF file.
00329      */
00330     void setPdfNoChanging(long newVal);
00331 
00332     /**
00333      * Effective when outputting to PDF.
00334      * Get disables making changes of the PDF file.
00335      * 
00336      *
00337      * @return  If zero is returned, Enables making changes of the PDF file.
00338      *          If nonezero is returned, Disables making changes of the PDF file.
00339      */
00340     long getPdfNoChanging() const;
00341 
00342     /**
00343      * Effective when outputting to PDF.
00344      * Disables copying the content of the PDF file.
00345      * 
00346      *
00347      * @param   newVal  If nonezero is specified, Disables copying the content of the PDF file.
00348      */
00349     void setPdfNoContentCopying(long newVal);
00350 
00351     /**
00352      * Effective when outputting to PDF.
00353      * Get disables copying the content of the PDF file.
00354      * 
00355      *
00356      * @return  If zero is returned, Enables copying the content of the PDF file.
00357      *          If nonezero is returned, Disables copying the content of the PDF file.
00358      */
00359     long getPdfNoContentCopying() const;
00360 
00361     /**
00362      * Effective when outputting to PDF.
00363      * Disables adding comments and form fields to the PDF file.
00364      * 
00365      *
00366      * @param   newVal  If nonezero is specified, Disables adding comments and form fields to the PDF file.
00367      */
00368     void setPdfNoAddingOrChangingCommnets(long newVal);
00369 
00370     /**
00371      * Effective when outputting to PDF.
00372      * Get disables adding comments and form fields to the PDF file.
00373      * 
00374      *
00375      * @return  If zero is returned, Enables adding comments and form fields to the PDF file.
00376      *          If nonezero is returned, Disables adding comments and form fields to the PDF file.
00377      */
00378     long getPdfNoAddingOrChangingCommnets() const;
00379 
00380     /**
00381      * Effective when outputting to PDF.
00382      * Disables adding comments and form fields to the PDF file.
00383      * 
00384      *
00385      * @param   newVal  If nonezero is specified, Disables adding comments and form fields to the PDF file.
00386      */
00387     void setPdfNoAddingOrChangingComments(long newVal);
00388 
00389     /**
00390      * Effective when outputting to PDF.
00391      * Get disables adding comments and form fields to the PDF file.
00392      * 
00393      *
00394      * @return  If zero is returned, Enables adding comments and form fields to the PDF file.
00395      *          If nonezero is returned, Disables adding comments and form fields to the PDF file.
00396      */
00397     long getPdfNoAddingOrChangingComments() const;
00398 
00399     /**
00400      * Effective when outputting to PDF.
00401      * Enables specifying whether the version of PDF is 1.3, 1.4 or 1.5.
00402      * 
00403      *
00404      * @param   newVal  Specifies the version of PDF.
00405      */
00406     void setPdfVersion(DfvPDFVERSION newVal);
00407 
00408     /**
00409      * Effective when outputting to PDF.
00410      * Get the version of PDF.
00411      * 
00412      *
00413      * @return  the version of PDF.
00414      */
00415     DfvPDFVERSION   getPdfVersion() const;
00416 
00417     /**
00418      * Effective when outputting to PDF.
00419      * Disables filling in of form fields and signing of the PDF file.
00420      * This parameter is effective only when you specify PDF1.4 or later to PDF version.
00421      * 
00422      *
00423      * @param   newVal  If nonezero is specified, Disables filling in of form fields and signing of the PDF file.
00424      */
00425     void setPdfNoFillForm(long newVal);
00426 
00427     /**
00428      * Effective when outputting to PDF.
00429      * Get disables filling in of form fields and signing of the PDF file.
00430      * 
00431      *
00432      * @return  If zero is returned, Enables filling in of form fields and signing of the PDF file.
00433      *          If nonezero is returned, Disables filling in of form fields and signing of the PDF file.
00434      */
00435     long getPdfNoFillForm() const;
00436 
00437     /**
00438      * Effective when outputting to PDF.
00439      * Disables text access for screen reader devices of the PDF file.
00440      * This parameter is effective only when you specify 1.4 or later with PDF version.
00441      * 
00442      *
00443      * @param   newVal  If nonezero is specified, Disables text access for screen reader devices of the PDF file.
00444      */
00445     void setPdfNoAccessibility(long newVal);
00446 
00447     /**
00448      * Effective when outputting to PDF.
00449      * Get disables text access for screen reader devices of the PDF file.
00450      * 
00451      *
00452      * @return  If zero is returned, Enables text access for screen reader devices of the PDF file.
00453      *          If nonezero is returned, Disables text access for screen reader devices of the PDF file.
00454      */
00455     long getPdfNoAccessibility() const;
00456 
00457     /**
00458      * Effective when outputting to PDF.
00459      * Disables inserting, deleting and rotating the PDF pages.
00460      * This parameter is effective only when you specify 1.4 or later with PDF version
00461      * 
00462      *
00463      * @param   newVal  If nonezero is specified, Disables inserting, deleting and rotating the PDF pages.
00464      */
00465     void setPdfNoAssembleDoc(long newVal);
00466 
00467     /**
00468      * Effective when outputting to PDF.
00469      * Get disables inserting, deleting and rotating the PDF pages.
00470      * 
00471      *
00472      * @return  If zero is returned, Enables inserting, deleting and rotating the PDF pages.
00473      *          If nonezero is returned, Disables inserting, deleting and rotating the PDF pages.
00474      */
00475     long getPdfNoAssembleDoc() const;
00476 
00477     /**
00478      * Effective when outputting to PDF.
00479      * Specifies the key length when encrypting the PDF file during outputting.
00480      * The key length can be specified as either 40 or 128 (bit).
00481      * This parameter is effective only when you specify PDF1.4 or later with PDF version
00482      * 
00483      *
00484      * @param   newVal  Specifies the key length.
00485      */
00486     void setPdfEncryptLevel(DfvPDFENCRYPTLEVEL newVal);
00487 
00488     /**
00489      * Effective when outputting to PDF.
00490      * Get the key length when encrypting the PDF file during outputting.
00491      * 
00492      *
00493      * @return  the key length.
00494      */
00495     DfvPDFENCRYPTLEVEL  getPdfEncryptLevel() const;
00496 
00497     /**
00498      * Effective when outputting to PDF.
00499      * Gets the value of whether to embed all embeddable fonts in PDF.
00500      * 
00501      *
00502      * @return  the value of whether to embed all embeddable fonts
00503      */
00504     long getPdfEmbedAllFonts() const;
00505 
00506     /**
00507      * Effective when outputting to PDF.
00508      * Embeds all embeddable fonts in PDF to create.
00509      * 
00510      *
00511      * @param   newVal  If the value is 'true' is specified, Embeds all embeddable fonts
00512      */
00513     void setPdfEmbedAllFonts(long newVal);
00514 
00515     /**
00516      * Effective when outputting to PDF.
00517      * Gets the font specified to be embedded in PDF.
00518      * 
00519      *
00520      * @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.
00521      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
00522      * @return  the font specified to be embedded
00523      */
00524     char* getPdfEmbedFonts(char* pVal, int size) const;
00525 
00526     /**
00527      * Effective when outputting to PDF.
00528      * Gets the font specified to be embedded in PDF.
00529      * 
00530      *
00531      * @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.
00532      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
00533      * @return  the font specified to be embedded
00534      */
00535     wchar_t* getPdfEmbedFontsW(wchar_t* pVal, int size) const;
00536 
00537     /**
00538      * Effective when outputting to PDF.
00539      * Embeds the specified font in PDF to create. If you want to specify plural fonts, put commas between fonts.
00540      * 
00541      *
00542      * @param   newVal  fonts specified to embed
00543      */
00544     void setPdfEmbedFonts(const char* newVal);
00545 
00546     /**
00547      * Effective when outputting to PDF.
00548      * Embeds the specified font in PDF to create. If you want to specify plural fonts, put commas between fonts.
00549      * 
00550      *
00551      * @param   newVal  fonts specified to embed
00552      */
00553     void setPdfEmbedFontsW(const wchar_t* newVal);
00554 
00555     /**
00556      * Effective when outputting to PDF.
00557      * Gets the value of whether to issues the error when failing to embed fonts.
00558      * 
00559      *
00560      * @return  the value of whether to issues the error
00561      */
00562     long getPdfErrorOnEmbedFault() const;
00563 
00564     /**
00565      * Effective when outputting to PDF.
00566      * An error is issued in case of failing to embed fonts.
00567      * 
00568      *
00569      * @param   newVal  If the value is 'true' is specified, an error is issued.
00570      */
00571     void setPdfErrorOnEmbedFault(long newVal);
00572 
00573     /**
00574      * Effective when outputting to PDF.
00575      * Gets the value of whether to issues the error when missing glyph.
00576      * 
00577      *
00578      * @return  the value of whether to issues the error
00579      */
00580     long getPdfErrorOnMissingGlyph() const;
00581 
00582     /**
00583      * Effective when outputting to PDF.
00584      * An error is issued in case of missing glyph.
00585      * 
00586      *
00587      * @param   newVal  If the value is 'true' is specified, an error is issued.
00588      */
00589     void setPdfErrorOnMissingGlyph(long newVal);
00590 
00591     /**
00592      * Effective when outputting to PDF.
00593      * Gets the value of whether to print the resulting PDF file or not.
00594      * 
00595      *
00596      * <table border="0" cellspacing="0" cellpadding="0">
00597      *  <tr><td>PRALLOW_NONE    </td><td>= 0 Not Allowed</td></tr>
00598      *  <tr><td>PRALLOW_LOW     </td><td>= 1 Low Resolution Printing</td></tr>
00599      *  <tr><td>PRALLOW_HIGH    </td><td>= 2 High Resolution Printing</td></tr>
00600      * </table>
00601      *
00602      * @return  the value of printing allowed
00603      */
00604     DfvPDFPRINTALLOW getPdfPrintingAllowed() const;
00605 
00606     /**
00607      * Effective when outputting to PDF.
00608      * Spesifies whether to permit printing PDF to create with one of the following values.
00609      * This parameter is effective only when you specify PDF1.4 or later to PDF version (setPdfVersion).
00610      * 
00611      *
00612      * <table border="0" cellspacing="0" cellpadding="0">
00613      *  <tr><td>PRALLOW_NONE    </td><td>= 0 Not Allowed</td></tr>
00614      *  <tr><td>PRALLOW_LOW     </td><td>= 1 Low Resolution Printing</td></tr>
00615      *  <tr><td>PRALLOW_HIGH    </td><td>= 2 High Resolution Printing</td></tr>
00616      * </table>
00617      *
00618      * @param   newVal  the value of printing allowed
00619      */
00620     void setPdfPrintingAllowed(DfvPDFPRINTALLOW newVal);
00621 
00622     /**
00623      * Effective when outputting to PDF.
00624      * Gets the value of how to compress the color images embedded in PDF.
00625      * 
00626      *
00627      * <table border="0" cellspacing="0" cellpadding="0">
00628      *  <tr><td>IMGCMPR_AUTO    </td><td>= 0 Auto</td></tr>
00629      *  <tr><td>IMGCMPR_JPEG    </td><td>= 1 JPEG compression</td></tr>
00630      *  <tr><td>IMGCMPR_ZLIB    </td><td>= 2 ZLIB compression</td></tr>
00631      *  <tr><td>IMGCMPR_JPEG2K  </td><td>= 3 JPEG2000 compression</td></tr>
00632      * </table>
00633      *
00634      * @return  the value of how raster graphics are compressed and stored
00635      */
00636     DfvPDFIMAGECOMPRESSION getPdfImageCompression() const;
00637 
00638     /**
00639      * Effective when outputting to PDF.
00640      * 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>
00641      * When IMGCMPR_AUTO is selected, the process is automatically done and creates the image data according to the setting of setPdfJPEGQuality and setPdfRasterizeResolution. Whichever has the smaller compressed size, JPEG or ZLIB, is selected. <BR>
00642 This is the setting for the color image. Spesify setPdfGrayscaleImageCompression for the grayscale image, and setPdfMonochromeImageCompression for the monochrome image.
00643      * 
00644      *
00645      * <table border="0" cellspacing="0" cellpadding="0">
00646      *  <tr><td>IMGCMPR_AUTO    </td><td>= 0 Auto</td></tr>
00647      *  <tr><td>IMGCMPR_JPEG    </td><td>= 1 JPEG compression</td></tr>
00648      *  <tr><td>IMGCMPR_ZLIB    </td><td>= 2 ZLIB compression</td></tr>
00649      *  <tr><td>IMGCMPR_JPEG2K  </td><td>= 3 JPEG2000 compression</td></tr>
00650      * </table>
00651      *
00652      * @param   newVal  the value of how raster graphics are compressed and stored
00653      */
00654     void setPdfImageCompression(DfvPDFIMAGECOMPRESSION newVal);
00655 
00656     /**
00657      * Gets the value of the quality of JPEG format that is specified by setPdfImageCompression() stored in PDF.
00658      * 
00659      *
00660      * @return  the value of the quality of JPEG format
00661      */
00662     int getPdfJPEGQuality() const;
00663 
00664     /**
00665      * Effective when outputting to PDF.
00666      * 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>
00667      * CAUTION:     It is not for changing the quality of a JPEG format image.<BR>
00668      * This is the setting for the color image. Spesify setPdfGrayscaleJPEGQuality for the grayscale image.
00669      * 
00670      *
00671      * @param   newVal  the value of the quality of JPEG format
00672      */
00673     void setPdfJPEGQuality(int newVal);
00674 
00675     /**
00676      * Effective when outputting to PDF.
00677      * 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.
00678      * 
00679      *
00680      * @return  the value of whether make the size of PDF smaller or not
00681      */
00682     long getPdfCompressContentStream() const;
00683 
00684     /**
00685      * Effective when outputting to PDF.
00686      * Specifies whether the text and the line art in PDF are compressed in order to make the size of PDF smaller or not.
00687      * 
00688      *
00689      * @param   newVal  If the value is 'true' is specified, make the PDF compress
00690      */
00691     void setPdfCompressContentStream(long newVal);
00692 
00693     /**
00694      * Effective when outputting to PDF.
00695      * Gets the value of how to transform external link specified by the relative address in the PDF link.
00696      * 
00697      *
00698      * @return  the value of how to transform external link
00699      */
00700     long getPdfUseLaunchForRelativeURI() const;
00701 
00702     /**
00703      * Effective when outputting to PDF.
00704      * 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.
00705      * 
00706      *
00707      * @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'
00708      */
00709     void setPdfUseLaunchForRelativeURI(long newVal);
00710 
00711     /**
00712      * Effective when outputting to PDF.
00713      * Gets the value of how to convert the RGB color space (DebiceRGB) to DeviceGray.
00714      * 
00715      *
00716      * <table border="0" cellspacing="0" cellpadding="0">
00717      *  <tr><td>RGBCONV_NONE    </td><td>= 0 No Conversion</td></tr>
00718      *  <tr><td>RGBCONV_BLACK   </td><td>= 1 Black to DeviceGray</td></tr>
00719      *  <tr><td>RGBCONV_GRAY    </td><td>= 2 Gray to DeviceGray</td></tr>
00720      *  <tr><td>RGBCONV_ALL     </td><td>= 3 All RGB to DeviceGray</td></tr>
00721      * </table>
00722      *
00723      * @return  the value of how to convert
00724      */
00725     DfvPDFRGBCONVERSION getPdfRGBConversion() const;
00726 
00727     /**
00728      * Effective when outputting to PDF.
00729      * Specifies how to convert the RGB color space (DeviceRGB) to DeviceGray.
00730      * 
00731      *
00732      * <table border="0" cellspacing="0" cellpadding="0">
00733      *  <tr><td>RGBCONV_NONE    </td><td>= 0 No Conversion</td></tr>
00734      *  <tr><td>RGBCONV_BLACK   </td><td>= 1 Black to DeviceGray</td></tr>
00735      *  <tr><td>RGBCONV_GRAY    </td><td>= 2 Gray to DeviceGray</td></tr>
00736      *  <tr><td>RGBCONV_ALL     </td><td>= 3 All RGB to DeviceGray</td></tr>
00737      * </table>
00738      *
00739      * @param   newVal  the value of how to convert
00740      */
00741     void setPdfRGBConversion(DfvPDFRGBCONVERSION newVal);
00742 
00743 #if defined(_DOXYGEN) || (defined(_MSC_VER) && defined(_WIN32))
00744 
00745     /**
00746      * Effective when outputting to PDF.
00747      * Gets the value of the rasterised-resolution of the transformed raster images.
00748      * 
00749      *
00750      * @return  Rasterised-resolution
00751      */
00752     int getPdfRasterizeResolution() const;
00753 
00754     /**
00755      * Effective when outputting to PDF.
00756      * 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.
00757      * This setting is effective only with Windows version.
00758      * 
00759      *
00760      * @param   newVal  Rasterised-resolution (70 to 500)
00761      */
00762     void setPdfRasterizeResolution(int newVal);
00763 
00764 #endif
00765 
00766     /**
00767      * Effective when outputting to PDF.
00768      * Gets the value of whether to output linearize PDF or not.
00769      * @since 7.0
00770      *
00771      * @return  the value of whether to output linearize pdf or not.
00772      */
00773     long getPdfLinearize() const;
00774 
00775     /**
00776      * Effective when outputting to PDF.
00777      * Specifies whether to output linearize PDF or not.
00778      * @since 7.0
00779      *
00780      * @param   newVal  If the value is 'true' is specified, output linearlize PDF.
00781      */
00782     void setPdfLinearize(long newVal);
00783 
00784     /**
00785      * Effective when outputting to PDF.
00786      * Gets the value of whether to embed all embeddable fonts
00787      * 
00788      *
00789      * <table border="0" cellspacing="0" cellpadding="0">
00790      *  <tr><td>EMBALLFONT_PART </td><td>= 0 Specified fonts </td></tr>
00791      *  <tr><td>EMBALLFONT_ALL  </td><td>= 1 All fonts except Base14 fonts</td></tr>
00792      *  <tr><td>EMBALLFONT_BASE14   </td><td>= 2 All fonts</td></tr>
00793      * </table>
00794      *
00795      * @return  the value of whether to embed all embeddable fonts
00796      */
00797     DfvEMBEDALLFONT getPdfEmbedAllFontsEx(void) const;
00798 
00799     /**
00800      * Effective when outputting to PDF.
00801      * 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.
00802      * 
00803      *
00804      * <table border="0" cellspacing="0" cellpadding="0">
00805      *  <tr><td>EMBALLFONT_PART </td><td>= 0 Specified fonts </td></tr>
00806      *  <tr><td>EMBALLFONT_ALL  </td><td>= 1 All fonts except Base14 fonts</td></tr>
00807      *  <tr><td>EMBALLFONT_BASE14   </td><td>= 2 All fonts</td></tr>
00808      * </table>
00809      *
00810      *If the value is EMBALLFONT_PART, only fonts specified in 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.
00811      *
00812      * @param   newVal  the value of whether to embed all embeddable fonts
00813      */
00814     void setPdfEmbedAllFontsEx(DfvEMBEDALLFONT newVal);
00815 
00816     /**
00817      * Effective when outputting to PDF.
00818      * Gets the value of method to downsample the color image
00819      * 
00820      *
00821      * @return  the value of method to downsample the color image
00822      */
00823     DfvIMAGEDOWNSAMPLING getPdfImageDownSampling(void) const;
00824 
00825     /**
00826      * Effective when outputting to PDF.
00827      * Specifies the following either of method to downsample the color image that is put into PDF.
00828      * 
00829      *
00830      * <table border="0" cellspacing="0" cellpadding="0">
00831      *  <tr><td>IMGDOWNSAMPLING_NONE    </td><td>= 0 No downsampling </td></tr>
00832      *  <tr><td>IMGDOWNSAMPLING_AVERAGE </td><td>= 1 Average downsamplin</td></tr>
00833      *  <tr><td>IMGDOWNSAMPLING_BICUBIC </td><td>= 2 Bicubic downsampling</td></tr>
00834      *  <tr><td>IMGDOWNSAMPLING_SUBSAMPLING </td><td>= 3 Subsampling</td></tr>
00835      * </table>
00836      *
00837      * When the value except IMGDOWNSAMPLING_NONE is specified, the image that has the resolution larger than the one specified by setPdfImageDownSamplingDPI will be downsampled into the resolution specified by setPdfImageDownSamplingTarget.
00838 This is the setting for the color image. Spesify setPdfGrayscaleImageDownSampling for the grayscale image, and setPdfMonochromeImageDownSampling for the monochrome image.
00839      *
00840      * @param   newVal  the value of method to downsample the color image
00841      */
00842     void setPdfImageDownSampling(DfvIMAGEDOWNSAMPLING newVal);
00843 
00844     /**
00845      * Effective when outputting to PDF.
00846      * Gets resolution when the color image is downsampled.
00847      * 
00848      *
00849      * @return  the value of resolution.
00850      */
00851     int getPdfImageDownSamplingTarget(void) const;
00852 
00853     /**
00854      * Effective when outputting to PDF.
00855      * Set resolution when the color image is downsampled.
00856      * 
00857      *
00858      * @param   newVal  the value of resolution.
00859      */
00860     void setPdfImageDownSamplingTarget(int newVal);
00861 
00862     /**
00863      * Effective when outputting to PDF.
00864      * Gets resolution of the color image which performs a downsampling.
00865      * 
00866      *
00867      * @return  the value of resolution.
00868      */
00869     int getPdfImageDownSamplingDPI(void) const;
00870 
00871     /**
00872      * Effective when outputting to PDF.
00873      * Set resolution of the color image which performs a downsampling.
00874      * 
00875      *
00876      * @param   newVal  the value of resolution.
00877      */
00878     void setPdfImageDownSamplingDPI(int newVal);
00879 
00880     /**
00881      * Effective when outputting to PDF.
00882      * Gets specification whether to embed to PDF the ICC profile of the color image that will be embedded to PDF.
00883      * 
00884      *
00885      * @return  If nonezero is specified, it is embedded. If zero is specified, it is not embedded.
00886      */
00887     long getPdfPutImageColorProfile(void) const;
00888 
00889     /**
00890      * Effective when outputting to PDF.
00891      * Specifies whether to embed to PDF the ICC profile of the color image that will be embedded to PDF.
00892      * 
00893      *
00894      * @param   newVal  If nonezero is specified, it is embedded. If zero is specified, it is not embedded.
00895      */
00896     void setPdfPutImageColorProfile(long newVal);
00897 
00898     /**
00899      * Effective when outputting to PDF.
00900      * Gets the value of how to compress the grayscale images embedded in PDF.
00901      * 
00902      *
00903      * <table border="0" cellspacing="0" cellpadding="0">
00904      *  <tr><td>IMGCMPR_AUTO    </td><td>= 0 Auto</td></tr>
00905      *  <tr><td>IMGCMPR_JPEG    </td><td>= 1 JPEG compression</td></tr>
00906      *  <tr><td>IMGCMPR_ZLIB    </td><td>= 2 ZLIB compression</td></tr>
00907      *  <tr><td>IMGCMPR_JPEG2K  </td><td>= 3 JPEG2000 compression</td></tr>
00908      * </table>
00909      *
00910      * @return  the value of how raster graphics are compressed and stored
00911      */
00912     DfvPDFIMAGECOMPRESSION getPdfGrayscaleImageCompression(void) const;
00913 
00914     /**
00915      * Effective when outputting to PDF.
00916      * 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>
00917      * When IMGCMPR_AUTO is selected, the process is automatically done and creates the image data according to the setting of setPdfGrayscaleJPEGQuality and setPdfRasterizeResolution. Whichever has the smaller compressed size, JPEG or ZLIB, is selected. <BR>
00918 This is the setting for the grayscale image. Spesify setPdfImageCompression for the color image, and setPdfMonochromeImageCompression for the monochrome image.
00919      * 
00920      *
00921      * <table border="0" cellspacing="0" cellpadding="0">
00922      *  <tr><td>IMGCMPR_AUTO    </td><td>= 0 Auto</td></tr>
00923      *  <tr><td>IMGCMPR_JPEG    </td><td>= 1 JPEG compression</td></tr>
00924      *  <tr><td>IMGCMPR_ZLIB    </td><td>= 2 ZLIB compression</td></tr>
00925      *  <tr><td>IMGCMPR_JPEG2K  </td><td>= 3 JPEG2000 compression</td></tr>
00926      * </table>
00927      *
00928      * @param   newVal  the value of how raster graphics are compressed and stored
00929      */
00930     void setPdfGrayscaleImageCompression(DfvPDFIMAGECOMPRESSION newVal);
00931 
00932     /**
00933      * Effective when outputting to PDF.
00934      * Gets the value of the quality of JPEG format that is specified by setPdfGrayscaleImageCompression stored in PDF.
00935      * 
00936      *
00937      * @return  the value of the quality of JPEG format
00938      */
00939     int getPdfGrayscaleJPEGQuality(void) const;
00940 
00941     /**
00942      * Effective when outputting to PDF.
00943      * 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 setPdfGrayscaleImageCompression. The quality becomes higher in proportion to the increase in the number; however the file size also becomes larger.<BR>
00944      * CAUTION: It is not for changing the quality of a JPEG format image.<BR>
00945      * This is the setting for the grayscale image. Spesify setPdfJPEGQuality for the color image.
00946      * 
00947      *
00948      * @param   newVal  the value of the quality of JPEG format
00949      */
00950     void setPdfGrayscaleJPEGQuality(int newVal);
00951 
00952     /**
00953      * Effective when outputting to PDF.
00954      * Gets the value of method to downsample the grayscale image
00955      * 
00956      *
00957      * @return  the value of method to downsample the grayscale image
00958      */
00959     DfvIMAGEDOWNSAMPLING getPdfGrayscaleImageDownSampling(void) const;
00960 
00961     /**
00962      * Effective when outputting to PDF.
00963      * Specifies the following either of method to downsample the grayscale image that is put into PDF.
00964      * 
00965      *
00966      * <table border="0" cellspacing="0" cellpadding="0">
00967      *  <tr><td>IMGDOWNSAMPLING_NONE    </td><td>= 0 No downsampling </td></tr>
00968      *  <tr><td>IMGDOWNSAMPLING_AVERAGE </td><td>= 1 Average downsamplin</td></tr>
00969      *  <tr><td>IMGDOWNSAMPLING_BICUBIC </td><td>= 2 Bicubic downsampling</td></tr>
00970      *  <tr><td>IMGDOWNSAMPLING_SUBSAMPLING </td><td>= 3 Subsampling</td></tr>
00971      * </table>
00972      *
00973      * When the value except IMGDOWNSAMPLING_NONE is specified, the image that has the resolution larger than the one specified by setPdfGrayscaleImageDownSamplingDPI will be downsampled into the resolution specified by setPdfGrayscaleImageDownSamplingTarget.
00974 This is the setting for the grayscale image. Spesify setPdfImageDownSampling for the color image, and setPdfMonochromeImageDownSampling for the monochrome image.
00975      *
00976      * @param   newVal  the value of method to downsample the grayscale image
00977      */
00978     void setPdfGrayscaleImageDownSampling(DfvIMAGEDOWNSAMPLING newVal);
00979 
00980     /**
00981      * Effective when outputting to PDF.
00982      * Gets resolution when the grayscale image is downsampled.
00983      * 
00984      *
00985      * @return  the value of resolution.
00986      */
00987     int getPdfGrayscaleImageDownSamplingTarget(void) const;
00988 
00989     /**
00990      * Effective when outputting to PDF.
00991      * Set resolution when the grayscale image is downsampled.
00992      * 
00993      *
00994      * @param   newVal  the value of resolution.
00995      */
00996     void setPdfGrayscaleImageDownSamplingTarget(int newVal);
00997 
00998     /**
00999      * Effective when outputting to PDF.
01000      * Gets resolution of the grayscale image which performs a downsampling.
01001      * 
01002      *
01003      * @return  the value of resolution.
01004      */
01005     int getPdfGrayscaleImageDownSamplingDPI(void) const;
01006 
01007     /**
01008      * Effective when outputting to PDF.
01009      * Set resolution of the grayscale image which performs a downsampling.
01010      * 
01011      *
01012      * @param   newVal  the value of resolution.
01013      */
01014     void setPdfGrayscaleImageDownSamplingDPI(int newVal);
01015 
01016     /**
01017      * Effective when outputting to PDF.
01018      * Gets the value of how to compress the monochrome images embedded in PDF.
01019      * 
01020      *
01021      * <table border="0" cellspacing="0" cellpadding="0">
01022      *  <tr><td>MONOCMPR_CCITT4     </td><td>= 0 CCITTFaxDecode group 4 filter,default value</td></tr>
01023      *  <tr><td>MONOCMPR_CCITT3     </td><td>= 1 CCITTFaxDecode group 3 filter</td></tr>
01024      *  <tr><td>MONOCMPR_RUNLENGTH  </td><td>= 2 RunLengthDecode filter</td></tr>
01025      *  <tr><td>MONOCMPR_ZLIB       </td><td>= 3 FlateDecode filter</td></tr>
01026      *  <tr><td>MONOCMPR_OFF        </td><td>= 4 no filter</td></tr>
01027      * </table>
01028      *
01029      * @return  the value of how raster graphics are compressed and stored
01030      */
01031     DfvMONOCHROMECOMPRESSION getPdfMonochromeImageCompression(void) const;
01032 
01033     /**
01034      * Effective when outputting to PDF.
01035      * 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>
01036 This is the setting for the monochrome image. Spesify setPdfGrayscaleImageCompression for the grayscale image, and setPdfImageCompression for the color image.
01037      * 
01038      *
01039      * <table border="0" cellspacing="0" cellpadding="0">
01040      *  <tr><td>MONOCMPR_CCITT4     </td><td>= 0 CCITTFaxDecode group 4 filter,default value</td></tr>
01041      *  <tr><td>MONOCMPR_CCITT3     </td><td>= 1 CCITTFaxDecode group 3 filter</td></tr>
01042      *  <tr><td>MONOCMPR_RUNLENGTH  </td><td>= 2 RunLengthDecode filter</td></tr>
01043      *  <tr><td>MONOCMPR_ZLIB       </td><td>= 3 FlateDecode filter</td></tr>
01044      *  <tr><td>MONOCMPR_OFF        </td><td>= 4 no filter</td></tr>
01045      * </table>
01046      *
01047      * @param   newVal  the value of how raster graphics are compressed and stored
01048      */
01049     void setPdfMonochromeImageCompression(DfvMONOCHROMECOMPRESSION newVal);
01050 
01051     /**
01052      * Effective when outputting to PDF.
01053      * Gets the value of method to downsample the monochrome image
01054      * 
01055      *
01056      * @return  the value of method to downsample the monochrome image
01057      */
01058     DfvIMAGEDOWNSAMPLING getPdfMonochromeImageDownSampling(void) const;
01059 
01060     /**
01061      * Effective when outputting to PDF.
01062      * Specifies the following either of method to downsample the monochrome image that is put into PDF.
01063      * 
01064      *
01065      * <table border="0" cellspacing="0" cellpadding="0">
01066      *  <tr><td>IMGDOWNSAMPLING_NONE    </td><td>= 0 No downsampling </td></tr>
01067      *  <tr><td>IMGDOWNSAMPLING_AVERAGE </td><td>= 1 Average downsamplin</td></tr>
01068      *  <tr><td>IMGDOWNSAMPLING_BICUBIC </td><td>= 2 Bicubic downsampling</td></tr>
01069      *  <tr><td>IMGDOWNSAMPLING_SUBSAMPLING </td><td>= 3 Subsampling</td></tr>
01070      * </table>
01071      *
01072      * When the value except IMGDOWNSAMPLING_NONE is specified, the image that has the resolution larger than the one specified by setPdfMonochromeImageDownSamplingDPI will be downsampled into the resolution specified by setPdfMonochromeImageDownSamplingTarget.
01073 This is the setting for the monochrome image. Spesify setPdfImageDownSampling for the color image, and setPdfGrayscaleImageDownSampling for the grayscale image.
01074      *
01075      * @param   newVal  the value of method to downsample the monochrome image
01076      */
01077     void setPdfMonochromeImageDownSampling(DfvIMAGEDOWNSAMPLING newVal);
01078 
01079     /**
01080      * Effective when outputting to PDF.
01081      * Gets resolution when the monochrome image is downsampled.
01082      * 
01083      *
01084      * @return  the value of resolution.
01085      */
01086     int getPdfMonochromeImageDownSamplingTarget(void) const;
01087 
01088     /**
01089      * Effective when outputting to PDF.
01090      * Set resolution when the monochrome image is downsampled.
01091      * 
01092      *
01093      * @param   newVal  the value of resolution.
01094      */
01095     void setPdfMonochromeImageDownSamplingTarget(int newVal);
01096 
01097     /**
01098      * Effective when outputting to PDF.
01099      * Gets resolution of the monochrome image which performs a downsampling.
01100      * 
01101      *
01102      * @return  the value of resolution.
01103      */
01104     int getPdfMonochromeImageDownSamplingDPI(void) const;
01105 
01106     /**
01107      * Effective when outputting to PDF.
01108      * Set resolution of the monochrome image which performs a downsampling.
01109      * 
01110      *
01111      * @param   newVal  the value of resolution.
01112      */
01113     void setPdfMonochromeImageDownSamplingDPI(int newVal);
01114 
01115     /**
01116      * Effective when outputting to PDF.
01117      * Gets the width of PDF to output.
01118      * 
01119      *
01120      * @param   pVal        Pointer to the buffer that will receive the width of PDF. If the string is as long or longer than the buffer,
01121      *          the string is truncated and terminated with a NULL character.
01122      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
01123      * @return  Returns the 'pVal'.
01124      */
01125     char* getPdfOutputWidth(char* pVal, int size) const;
01126 
01127     /**
01128      * Effective when outputting to PDF.
01129      * Gets the width of PDF to output.
01130      * 
01131      *
01132      * @param   pVal        Pointer to the buffer that will receive the width of PDF. If the string is as long or longer than the buffer,
01133      *          the string is truncated and terminated with a NULL character.
01134      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
01135      * @return  Returns the 'pVal'.
01136      */
01137     wchar_t* getPdfOutputWidthW(wchar_t* pVal, int size) const;
01138 
01139     /**
01140      * Effective when outputting to PDF.
01141      * Scales the width of PDF to output. A value with a unit or % value can be specified as length.
01142      * 
01143      *
01144      * @param   newVal  Pointer to a null-terminated string to be used as the width of PDF to output.
01145      */
01146     void setPdfOutputWidth(const char* newVal);
01147 
01148     /**
01149      * Effective when outputting to PDF.
01150      * Scales the width of PDF to output. A value with a unit or % value can be specified as length.
01151      * 
01152      *
01153      * @param   newVal  Pointer to a null-terminated string to be used as the width of PDF to output.
01154      */
01155     void setPdfOutputWidthW(const wchar_t* newVal);
01156 
01157     /**
01158      * Effective when outputting to PDF.
01159      * Gets the height of PDF to output.
01160      * 
01161      *
01162      * @param   pVal        Pointer to the buffer that will receive the height of PDF. If the string is as long or longer than the buffer,
01163      *          the string is truncated and terminated with a NULL character.
01164      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
01165      * @return  Returns the 'pVal'.
01166      */
01167     char* getPdfOutputHeight(char* pVal, int size) const;
01168 
01169     /**
01170      * Effective when outputting to PDF.
01171      * Gets the height of PDF to output.
01172      * 
01173      *
01174      * @param   pVal        Pointer to the buffer that will receive the height of PDF. If the string is as long or longer than the buffer,
01175      *          the string is truncated and terminated with a NULL character.
01176      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
01177      * @return  Returns the 'pVal'.
01178      */
01179     wchar_t* getPdfOutputHeightW(wchar_t* pVal, int size) const;
01180 
01181     /**
01182      * Effective when outputting to PDF.
01183      * Scales the height of PDF to output. A value with a unit or % value can be specified as length.
01184      * 
01185      *
01186      * @param   newVal  Pointer to a null-terminated string to be used as the width of PDF to output.
01187      */
01188     void setPdfOutputHeight(const char* newVal);
01189 
01190     /**
01191      * Effective when outputting to PDF.
01192      * Scales the height of PDF to output. A value with a unit or % value can be specified as length.
01193      * 
01194      *
01195      * @param   newVal  Pointer to a null-terminated string to be used as the width of PDF to output.
01196      */
01197     void setPdfOutputHeightW(const wchar_t* newVal);
01198 
01199     /**
01200     * Specifies the scaling ratio of the PDF to output.
01201     * A value with a unit or % value can be specified as length.
01202     * Effective when outputting to PDF.
01203     *
01204     * @param    newVal      the scaling ratio of the PDF
01205     */
01206     void setPdfOutputScale(const char* newVal);
01207 
01208     /**
01209     * Specifies the scaling ratio of the PDF to output.
01210     * A value with a unit or % value can be specified as length.
01211     * Effective when outputting to PDF.
01212     *
01213     * @param    newVal      the scaling ratio of the PDF
01214     */
01215     void setPdfOutputScaleW(const wchar_t* newVal);
01216 
01217     /**
01218      * Effective when outputting to PDF.
01219      * Gets the value of whether to issue error or not when PDF/X is generating.
01220      * 
01221      *
01222      * @return  the value of whether to issue error.
01223      */
01224     long getPdfErrorOnPDFXFault();
01225 
01226     /**
01227      * Effective when outputting to PDF.
01228      * An error is not issued when PDF/X is generating.
01229      * 
01230      *
01231      * @param   newVal  If the value is 'true' is specified, no error is issued.
01232      */
01233     void setPdfErrorOnPDFXFault(long newVal);
01234 
01235     /**
01236      * Effective when inputting from PDF.
01237      * Specifies whether to output PDF Annotation.
01238      * 
01239      *
01240      * @return  If true is returned, Annotation is output.
01241      *          If false is returned, Annotation is not output.
01242      */
01243     bool getPdfAnnotation() const;
01244 
01245     /**
01246      * Effective when inputting from PDF.
01247      * Gets the setting indicating whether to output PDF Annotation.
01248      * 
01249      *
01250      * @param   newVal  If true is specified, Annotation is output.
01251      */
01252     void setPdfAnnotation(bool newVal);
01253 
01254     /**
01255     * Effective when outputting to PDF.
01256     * Gets the format for naming files when the outputted PDF becomes multiple.
01257     *
01258     *
01259     * @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.
01260     * @param    size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
01261     * @return   Returns the 'pVal'.
01262     */
01263     char* getPdfFormat(char* pVal, int size) const;
01264 
01265     /**
01266     * Effective when outputting to PDF.
01267     * Gets the format for naming files when the outputted PDF becomes multiple.
01268     *
01269     *
01270     * @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.
01271     * @param    size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
01272     * @return   Returns the 'pVal'.
01273     */
01274     wchar_t* getPdfFormatW(wchar_t* pVal, int size) const;
01275 
01276     /**
01277     * Effective when outputting to PDF.
01278     * Specifies the format for naming files when the outputted PDF becomes multiple.
01279     *
01280     *
01281     * @param    newVal  Pointer to a null-terminated string to be used as the PDF file name format.
01282     */
01283     void setPdfFormat(const char* newVal);
01284 
01285     /**
01286     * Effective when outputting to PDF.
01287     * Specifies the format for naming files when the outputted PDF becomes multiple.
01288     *
01289     *
01290     * @param    newVal  Pointer to a null-terminated string to be used as the PDF file name format.
01291     */
01292     void setPdfFormatW(const wchar_t* newVal);
01293 
01294 
01295     /**
01296      * Effective when outputting to SVG.
01297      * Get the version of SVG.
01298      * 
01299      *
01300      * @return  the version of SVG.
01301      */
01302     DfvSVGVERSION   getSvgVersion() const;
01303 
01304     /**
01305      * Effective when outputting to SVG.
01306      * Enables specifying whether the version of SVG is 1.1, Basic or Tiny.
01307      * 
01308      *
01309      * @param   newVal  Specifies the version of SVG.
01310      */
01311     void setSvgVersion(DfvSVGVERSION newVal);
01312 
01313     /**
01314      * Effective when outputting to SVG.
01315      * Gets the setting indicating whether to compress the outputted SVG into gzip format or not.
01316      * 
01317      *
01318      * @return  whether gzip compression or not.
01319      */
01320     long getSvgGzipCompression() const;
01321 
01322     /**
01323      * Effective when outputting to SVG.
01324      * Specifies whether to compress the outputted SVG into gzip format or not.
01325      * 
01326      *
01327      * @param   newVal      If the value is 'true' is specified, enables to compress data into gzip format.
01328      */
01329     void setSvgGzipCompression(long newVal);
01330 
01331     /**
01332      * this function is not supported.
01333      */
01334     long getSvgEmbedAllFonts() const;
01335 
01336     /**
01337      * this function is not supported.
01338      */
01339     void setSvgEmbedAllFonts(long newVal);
01340 
01341     /**
01342      * Effective when outputting to SVG.
01343      * Gets the format for naming files when the outputted SVG becomes multiple.
01344      * 
01345      *
01346      * @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.
01347      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
01348      * @return  Returns the 'pVal'.
01349      */
01350     char* getSvgFormat(char* pVal, int size) const;
01351 
01352     /**
01353      * Effective when outputting to SVG.
01354      * Gets the format for naming files when the outputted SVG becomes multiple.
01355      * 
01356      *
01357      * @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.
01358      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
01359      * @return  Returns the 'pVal'.
01360      */
01361     wchar_t* getSvgFormatW(wchar_t* pVal, int size) const;
01362 
01363     /**
01364      * Effective when outputting to SVG.
01365      * Specifies the format for naming files when the outputted SVG becomes multiple.
01366      * 
01367      *
01368      * @param   newVal  Pointer to a null-terminated string to be used as the SVG file name format.
01369      */
01370     void setSvgFormat(const char* newVal);
01371 
01372     /**
01373      * Effective when outputting to SVG.
01374      * Specifies the format for naming files when the outputted SVG becomes multiple.
01375      * 
01376      *
01377      * @param   newVal  Pointer to a null-terminated string to be used as the SVG file name format.
01378      */
01379     void setSvgFormatW(const wchar_t* newVal);
01380 
01381     /**
01382      * this function is not supported.
01383      */
01384     char* getSvgEmbedFonts(char* pVal, int size) const;
01385 
01386     /**
01387      * this function is not supported.
01388      */
01389     wchar_t* getSvgEmbedFontsW(wchar_t* pVal, int size) const;
01390 
01391     /**
01392      * this function is not supported.
01393      */
01394     void setSvgEmbedFonts(const char* newVal);
01395 
01396     /**
01397      * this function is not supported.
01398      */
01399     void setSvgEmbedFontsW(const wchar_t* newVal);
01400 
01401     /**
01402      * this function is not supported.
01403      */
01404     long getSvgErrorOnEmbedFault() const;
01405 
01406     /**
01407      * this function is not supported.
01408      */
01409     void setSvgErrorOnEmbedFault(long newVal);
01410 
01411     /**
01412      * Effective when outputting to SVG.
01413      * Gets the value of how to compress the images embedded in SVG.
01414      * 
01415      *
01416      * <table border="0" cellspacing="0" cellpadding="0">
01417      *  <tr><td>IMGCMPR_AUTO    </td><td>= 0 Auto conversion</td></tr>
01418      *  <tr><td>IMGCMPR_JPEG    </td><td>= 1 JPEG conversion</td></tr>
01419      *  <tr><td>IMGCMPR_PNG     </td><td>= 2 PNG conversion</td></tr>
01420      * </table>
01421      *
01422      * @return  the value of how raster graphics are compressed and stored
01423      */
01424     DfvIMAGECONVERSION getSvgImageConversion() const;
01425 
01426     /**
01427      * Effective when outputting to SVG.
01428      * Selects how to compress the images embedded in SVG to create from the following.
01429      * 
01430      *
01431      * <table border="0" cellspacing="0" cellpadding="0">
01432      *  <tr><td>IMGCMPR_AUTO    </td><td>= 0 Auto conversion</td></tr>
01433      *  <tr><td>IMGCMPR_JPEG    </td><td>= 1 JPEG conversion</td></tr>
01434      *  <tr><td>IMGCMPR_PNG     </td><td>= 2 PNG conversion</td></tr>
01435      * </table>
01436      *
01437      * @param   newVal  the value of how raster graphics are compressed and stored
01438      */
01439     void setSvgImageConversion(DfvIMAGECONVERSION newVal);
01440 
01441     /**
01442      * Gets the value of the quality of JPEG format that is specified by setSvgImageConversion() stored in SVG.
01443      * 
01444      *
01445      * @return  the value of the quality
01446      */
01447     int getSvgJPEGQuality() const;
01448 
01449     /**
01450      * Effective when outputting to SVG.
01451      * Specifies the quality of the Raster graphics when stored in JPEG format using the range of 1-100.
01452      * The quality becomes higher in proportion to the increase in the number; however the file size also becomes larger.
01453      * The initial value is 80.
01454      * 
01455      *
01456      * @param   newVal  JPEG quality (1 to 100)
01457      */
01458     void setSvgJPEGQuality(int newVal);
01459 
01460     /**
01461      * Effective when outputting to SVG.
01462      * Gets specification how to treat the referred image.
01463      * 
01464      *
01465      * <table border="0" cellspacing="0" cellpadding="0">
01466      *  <tr><td>IMGPT_EMBED_ALL </td><td>= 0 Embeds all images to SVG.</td></tr>
01467      *  <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>
01468      *  <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>
01469      *  <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>
01470      * </table>
01471      *
01472      * @return  specification how to treat the referred image.
01473      */
01474     DfvIMAGEPROCTYPE getSvgImageProcessingType() const;
01475 
01476     /**
01477      * Effective when outputting to SVG.
01478      * Specifies how to treat the referred image.
01479      * 
01480      *
01481      * <table border="0" cellspacing="0" cellpadding="0">
01482      *  <tr><td>IMGPT_EMBED_ALL </td><td>= 0 Embeds all images to SVG.</td></tr>
01483      *  <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>
01484      *  <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>
01485      *  <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>
01486      * </table>
01487      *
01488      * @param   newVal  specification how to treat the referred image.
01489      */
01490     void setSvgImageProcessingType(DfvIMAGEPROCTYPE newVal);
01491 
01492     /**
01493      * Effective when outputting to SVG.
01494      * Gets the copy destination of image as specifying IMGPT_COPY_ALL or IMGPT_COPY by setSvgImageProcessingType.
01495      * 
01496      *
01497      * @param   pVal        Pointer to the buffer that will receive the image copy path. If the string is as long or longer than the buffer,
01498      *          the string is truncated and terminated with a NULL character.
01499      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
01500      * @return  Returns the 'pVal'.
01501      */
01502     char* getSvgImageCopyPath(char* pVal, int size) const;
01503 
01504     /**
01505      * Effective when outputting to SVG.
01506      * Specifies the copy destination of image as specifying IMGPT_COPY_ALL or IMGPT_COPY by setSvgImageProcessingType.
01507      * 
01508      *
01509      * @param   newVal  Pointer to a null-terminated string to be used as image copy path
01510      */
01511     void setSvgImageCopyPath(const char* newVal);
01512 
01513     /**
01514      * Effective when outputting to SVG.
01515      * Gets the copy destination of image as specifying IMGPT_COPY_ALL or IMGPT_COPY by setSvgImageProcessingType.
01516      * 
01517      *
01518      * @param   pVal        Pointer to the buffer that will receive the image copy path. If the string is as long or longer than the buffer,
01519      *          the string is truncated and terminated with a NULL character.
01520      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
01521      * @return  Returns the 'pVal'.
01522      */
01523     wchar_t* getSvgImageCopyPathW(wchar_t* pVal, int size) const;
01524 
01525     /**
01526      * Effective when outputting to SVG.
01527      * Specifies the copy destination of image as specifying IMGPT_COPY_ALL or IMGPT_COPY by setSvgImageProcessingType.
01528      * 
01529      *
01530      * @param   newVal  Pointer to a null-terminated string to be used as image copy path
01531      */
01532     void setSvgImageCopyPathW(const wchar_t* newVal);
01533 
01534     /**
01535      * Effective when outputting to SVG.
01536      * Gets specification whether to divide into multiple SVG or to output as one SVG when the formatted result extends to multiple pages. <BR>
01537      * 
01538      *
01539      * @return  specification whether to divide into multiple SVG or to output as one SVG when the formatted result extends to multiple pages.
01540      */
01541     long getSvgSingleFile() const;
01542 
01543     /**
01544      * Effective when outputting to SVG.
01545      * Specifies whether to divide into multiple SVG or to output as one SVG when the formatted result extends to multiple pages. <BR>
01546      * 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>
01547      * Effective only when outputting to the file. It is invalid in the output without the file name like the stream etc.
01548      * 
01549      *
01550      * @param   newVal  specification whether to divide into multiple SVG or to output as one SVG when the formatted result extends to multiple pages.
01551      */
01552     void setSvgSingleFile(long newVal);
01553 
01554 #if !defined(_DOXYGEN)
01555     /**
01556      * Gets the value specified by setSvgSingleFileMaxPages.
01557      * Effective when outputting to SVG. 
01558      *
01559      * @return  the value specified by setSvgSingleFileMaxPages.
01560      */
01561     int getSvgSingleFileMaxPages() const;
01562 
01563     /**
01564      * Specifies the maximum number of pages outputted when setSvgSingleFile = True is specified. .
01565      * When this parameter is omitted If this parameter is omitted, "5000" is considered as specified.
01566      * 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. 
01567      * 
01568      * @param   newVal  maximum number of pages 
01569      */
01570     void setSvgSingleFileMaxPages(int newVal);
01571 
01572     /**
01573      * Gets the value specified by setSvgImageDownsamplingDPI.
01574      * Effective when outputting to SVG. 
01575      * 
01576      * @return  the value specified by setSvgImageDownsamplingDPI. 
01577      */
01578     int getSvgImageDownsamplingDPI() const;
01579 
01580     /**
01581      * Specifies the resolution of the down sampling when embedding an image with 1 or more integers. .
01582      * When the resolution of the original image is lower than specification, it's embedded with the lower resolution. Effective when outputting to SVG. 
01583      * 
01584      * @return  newVal  the resolution of the down sampling 
01585      */
01586     void setSvgImageDownsamplingDPI(int dpi);
01587 
01588     /**
01589      * Gets the value specified by setSvgImageDownsamplingMethod.
01590      * Effective when outputting to SVG. 
01591      * 
01592      * @return  the value specified by setSvgImageDownsamplingMethod
01593      */
01594     int getSvgImageDownsamplingMethod() const;
01595 
01596     /**
01597      * Specifies the way of compression when down sampled.
01598      * 
01599      * S_SVG_IMGDOWNSAMPLING_AVERAGE : biliner 
01600      * S_SVG_IMGDOWNSAMPLING_BICUBIC : bicubic 
01601      * S_SVG_IMGDOWNSAMPLING_SUBSAMPLING : nearest neighbor
01602      * If this parameter is omitted, "IMGDOWNSAMPLING_AVERAGE" is considered as specified. Effective when outputting to SVG. 
01603      * 
01604      * @param   type    the way of compression when down sampled 
01605      */
01606     void setSvgImageDownsamplingMethod(int type);
01607 #endif
01608 
01609     /**
01610      * Effective when outputting to SVG.
01611      * Gets specification whether to rename all file name to prefix specified by setSvgImagePrefix, or use original name.
01612      * 
01613      *
01614      * @return  specification whether to rename all file name to prefix specified by setSvgImagePrefix, or use original name.
01615      */
01616     long getSvgImageRename() const;
01617 
01618     /**
01619      * Effective when outputting to SVG.
01620      * When images are copied to the directory specified by setSvgImageCopyPath etc. and processed, specifies whether to rename all file name to prefix specified by setSvgImagePrefix, or use original name. When the file name overlaps, sequential number is added. When true is specified, all files are renamed.
01621      * 
01622      *
01623      * @param   newVal  specification whether to rename all file name to prefix specified by setSvgImagePrefix, or use original nam
01624      */
01625     void setSvgImageRename(long newVal);
01626 
01627     /**
01628      * Effective when outputting to SVG.
01629      * Gets the prefix of the file name when images are copied to the directory specified by setSvgImageCopyPath and processed.
01630      * 
01631      *
01632      * @param   pVal        Pointer to the buffer that will receive the prefix. If the string is as long or longer than the buffer,
01633      *          the string is truncated and terminated with a NULL character.
01634      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
01635      * @return  Returns the 'pVal'.
01636      */
01637     char* getSvgImagePrefix(char* pVal, int size) const;
01638 
01639     /**
01640      * Effective when outputting to SVG.
01641      * When images are copied to the directory specified by 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.
01642      * 
01643      *
01644      * @param   newVal  the prefix of the file name.
01645      */
01646     void setSvgImagePrefix(const char* newVal);
01647 
01648     /**
01649      * Effective when outputting to SVG.
01650      * Gets the prefix of the file name when images are copied to the directory specified by setSvgImageCopyPath and processed.
01651      * 
01652      *
01653      * @param   pVal        Pointer to the buffer that will receive the prefix. If the string is as long or longer than the buffer,
01654      *          the string is truncated and terminated with a NULL character.
01655      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
01656      * @return  Returns the 'pVal'.
01657      */
01658     wchar_t* getSvgImagePrefixW(wchar_t* pVal, int size) const;
01659 
01660     /**
01661      * Effective when outputting to SVG.
01662      * When images are copied to the directory specified by 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.
01663      * 
01664      *
01665      * @param   newVal  the prefix of the file name.
01666      */
01667     void setSvgImagePrefixW(const wchar_t* newVal);
01668 
01669     /**
01670      * Effective when outputting to SVG.
01671      * Gets specification whether to add sequential number to the output SVG even if it has only one-page.
01672      * 
01673      *
01674      * @return  specification whether to add sequential number to the output SVG even if it has only one-page.
01675      */
01676     long getSvgSinglePageNumber() const;
01677 
01678     /**
01679      * Effective when outputting to SVG.
01680      * When 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.
01681      * 
01682      *
01683      * @param   newVal  specification whether to add sequential number to the output SVG even if it has only one-page.
01684      */
01685     void setSvgSinglePageNumber(long newVal);
01686 
01687 
01688 #if defined(_DOXYGEN) || (defined(_MSC_VER) && defined(_WIN32))
01689     /**
01690      * Effective when outputting to SVG.
01691      * Gets the value of the rasterised-resolution of the transformed raster images.
01692      * 
01693      *
01694      * @return  Rasterised-resolution
01695      */
01696     int getSvgRasterizeResolution() const;
01697 
01698     /**
01699      * Effective when outputting to SVG.
01700      * 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.
01701      * This setting is effective only with Windows version.
01702      * 
01703      *
01704      * @param   newVal  Rasterised-resolution (70 to 500)
01705      */
01706     void setSvgRasterizeResolution(int newVal);
01707 #endif
01708 
01709     /**
01710     * Get the start volume of document to output.
01711     * @since 7.1
01712     *
01713     * @return   start volume of document to output.
01714     */
01715     long getStartVolume() const;
01716 
01717     /**
01718     * Specifies the start volume of document to output.
01719     * If the start volume is omitted or the specified value is 0 or less, the start volume is
01720     * considered from the first volume.
01721     * If the setting is inconsistent, (for example, StartVolume=5 EndVolume=3) an error occurs.
01722     * @since 7.1
01723     *
01724     * @param    newVal  start volume of output.
01725     */
01726     void setStartVolume(long newVal);
01727 
01728     /**
01729     * Get the end volume of document to output.
01730     * @since 7.1
01731     *
01732     * @return   end volume of output.
01733     */
01734     long getEndVolume() const;
01735 
01736     /**
01737     * Specifies the end volume of document to output.
01738     * If the end volume is omitted or the specified value exceeds the actual volume, the end volume
01739     * is considered as the last volume.
01740     * If the setting is inconsistent, (for example, StartVolume=5 EndVolume=3) an error occurs.
01741     * @since 7.1
01742     *
01743     * @param    newVal  end volume of output.
01744     */
01745     void setEndVolume(long newVal);
01746 
01747     /**
01748     * Get multiple volume of PDF output.
01749     * @since 7.1
01750     *
01751     * @return   If zero is returned, multiple volume don't specified.
01752     *           If nonezero is returned, multiple volume specified.
01753     */
01754     long getMultiVolume() const;
01755 
01756     /**
01757     * Specifies multiple volume of PDF output.
01758     * @since 7.1
01759     *
01760     * @param    newVal  Specifies zero or nonzero.
01761     */
01762     void setMultiVolume(long newVal);
01763 
01764     /**
01765      * Get the error level to abort formatting process.
01766      *
01767      * @return  Returns the error level.
01768      */
01769     DfvIfErrorLevel getExitLevel() const;
01770 
01771     /**
01772      * Error level to abort formatting process. Office Server Document Converter will stop formatting when the detected
01773      * error level is equal to ExitLevel property or higher. The default value is 2 (Warning).
01774      * Thus if an error occurred and error level is 2 (Warning) or higher, formatting process will be
01775      * aborted. Please use the value from 1 to 4. When the value of 5 or more specified, it is considered
01776      * to be the value of 4. If a error-level:4 (fatal error) occurs, the formatting process will be
01777      * aborted unconditionally.
01778      * BTW : An error is not displayed no matter what value may be specified to be this property.
01779      *
01780      * <table border="0" cellspacing="0" cellpadding="0">
01781      *  <tr><td>ELVL_INFORMATION    </td><td>= 1 Information</td></tr>
01782      *  <tr><td>ELVL_WARNING        </td><td>= 2 Warning</td></tr>
01783      *  <tr><td>ELVL_RECOVERABLE    </td><td>= 3 Recoveable Error</td></tr>
01784      *  <tr><td>ELVL_FATAL          </td><td>= 4 Fatal Error</td></tr>
01785      * </table>
01786      *
01787      * @param   newVal  error level to abort formatting process.
01788      */
01789     void setExitLevel(DfvIfErrorLevel newVal);
01790 
01791     /**
01792      * Returns the error level of the error that occurred during the formatting process.
01793      *
01794      * <table border="0" cellspacing="0" cellpadding="0">
01795      *  <tr><td>ELVL_INFORMATION    </td><td>= 1 Information</td></tr>
01796      *  <tr><td>ELVL_WARNING        </td><td>= 2 Warning</td></tr>
01797      *  <tr><td>ELVL_RECOVERABLE    </td><td>= 3 Recoveable Error</td></tr>
01798      *  <tr><td>ELVL_FATAL          </td><td>= 4 Fatal Error</td></tr>
01799      * </table>
01800      *
01801      * @return  Returns the error level.
01802      */
01803     DfvIfErrorLevel getErrorLevel() const;
01804 
01805     /**
01806      * Returns the error code of the error that occurred during the formatting process.
01807      * Zero means no error. Non-zero indicates any error occurred.
01808      *
01809      * @return  Returns the error code.
01810      */
01811     DfvIfErrorCode getErrorCode() const;
01812 
01813     /**
01814      * Returns the error message of the error that occurred during the formatting process.
01815      *
01816      * @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.
01817      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
01818      * @return  Returns the 'pVal'.
01819      */
01820     char* getErrorMessage(char* pVal, int size) const;
01821     /**
01822      * Returns the error message of the error that occurred during the formatting process.
01823      *
01824      * @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.
01825      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
01826      * @return  Returns the 'pVal'.
01827      */
01828     wchar_t* getErrorMessageW(wchar_t* pVal, int size) const;
01829 
01830     /**
01831      * Sets the substitution of font name. This substitution acts on the font names existing in FO.
01832      * The font name 'fontName' is replaced to 'aliasName'.
01833      * You cannot specify generic font names (serif, sans-serif, monospace, cursive, fantasy) as the substitute source (src).
01834      *
01835      * @param   src     Specifies the font name which is replaced.
01836      * @param   dst     Specifies the aliasName.
01837      */
01838     void setFontAlias(const char* src, const char* dst);
01839     /**
01840      * Sets the substitution of font name. This substitution acts on the font names existing in FO.
01841      * The font name 'fontName' is replaced to 'aliasName'.
01842      * You cannot specify generic font names (serif, sans-serif, monospace, cursive, fantasy) as the substitute source (src).
01843      *
01844      * @param   src     Specifies the font name which is replaced.
01845      * @param   dst     Specifies the aliasName.
01846      */
01847     void setFontAliasW(const wchar_t* src, const wchar_t* dst);
01848 
01849     /**
01850      * Clear all substitutions of font name.
01851      *
01852      */
01853     void clearFontAlias();
01854 
01855     /**
01856      * Erase the substitution of font name 'fontName'.
01857      *
01858      * @param   src Specifies the font name which is replaced.
01859      */
01860     void eraseFontAlias(const char* src);
01861     /**
01862      * Erase the substitution of font name 'fontName'.
01863      *
01864      * @param   src Specifies the font name which is replaced.
01865      */
01866     void eraseFontAliasW(const wchar_t* src);
01867 
01868     /**
01869      * Execute formatting and output to a PDF specified in OutputFilePath or printer specified in PrinterName.
01870      *
01871      * @param   bNoThrow
01872      * If the value of 'false' is specified, throws XfoException.<BR>
01873      * If the value of 'true' is specified, returns the error code.
01874      * @return  Returns the error code. Zero means no error. Non-zero indicates any error occurred.
01875      */
01876     DfvIfErrorCode execute(bool bNoThrow=false);
01877 
01878     /**
01879      * Executes the formatting of document specified for inputStream, and outputs it to outputStream in the output form specified for setPrinterName.
01880      * @since 4.0
01881      *
01882      * @param   src Specifies document.
01883      * @param   out the output destination of the formatting result.
01884      */
01885     void render(std::istream& src, std::ostream& out);
01886 
01887     /**
01888      * Initialize formatting engine.
01889      *
01890      */
01891     void clear();
01892 
01893     /**
01894      * Register the MessageListener interface to the instance of implemented class
01895      * The error that occurred during the formatting process can be received as the event.
01896      *
01897      * @param   listener Pointer of the MessageListener instance.
01898      */
01899     void setMessageListener(MessageListener* listener);
01900 
01901     /**
01902      * Register the DfvFormatPageListener interface to the instance of implemented class
01903      * The page number that formatted during the formatting process can be received as the event.
01904      *
01905      * @param   listener Pointer of the DfvFormatPageListener instance.
01906      */
01907     void setFormatPageListener(DfvFormatPageListener* listener);
01908 
01909     /**
01910      * Get the printer name where the formatted result is outputted.
01911      *
01912      * @param   pVal        Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer,
01913      *          the string is truncated and terminated with a NULL character.
01914      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
01915      * @return  Returns the 'pVal'.
01916      */
01917     char* getPrinterName(char* pVal, int size) const;
01918     /**
01919      * Get the printer name where the formatted result is outputted.
01920      *
01921      * @param   pVal        Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer,
01922      *          the string is truncated and terminated with a NULL character.
01923      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
01924      * @return  Returns the 'pVal'.
01925      */
01926     wchar_t* getPrinterNameW(wchar_t* pVal, int size) const;
01927 
01928     /**
01929      * Specifies the output format or the printer name to output.
01930      * When a printer name is specified, the formatted result is outputted to that printer.
01931      * When "\@STDPRN" is specified, the converted result is outputted to the currently used printer.
01932      * When "\@PDF" is specified, the converted result is outputted to PDF.
01933      * When "\@SVG" is specified, the converted result is outputted to SVG.
01934      * When "\@INX" is specified, the converted result is outputted to INX.
01935      * When "\@XPS" is specified, the converted result is outputted to XPS.
01936      * When "\@JPEG" is specified, the converted result is outputted to JPEG.
01937      * When "\@PJPEG" is specified, the converted result is output as progressive JPEG.
01938      * When "\@PNG" is specified, the converted result is outputted to PNG.
01939      * When "\@IPNG" is specified, the converted result is output as interlaced PNG.
01940      * When "\@TIFF" is specified, the converted result is outputted to TIFF.
01941      * When "\@TIFFC" is specified, the converted result is outputted to TIFF CMYK.
01942      * When "\@MTIFF" is specified, the converted result is outputted to multi-page TIFF.
01943      * When "\@MTIFFC" is specified, the converted result is outputted to multi-page TIFF of CMYK.
01944      * When omitted, it is considered as "\@PDF" was specified.
01945      * It's impossible to output to the printer with any OS's other than Windows.
01946      *
01947      * @param   newVal  Pointer to a null-terminated string to be used as the printer name.
01948      */
01949     void setPrinterName(const char* newVal);
01950     /**
01951      * Specifies the output format or the printer name to output.
01952      * When a printer name is specified, the formatted result is outputted to that printer.
01953      * When "\@STDPRN" is specified, the converted result is outputted to the currently used printer.
01954      * When "\@PDF" is specified, the converted result is outputted to PDF.
01955      * When "\@SVG" is specified, the converted result is outputted to SVG.
01956      * When "\@INX" is specified, the converted result is outputted to INX.
01957      * When "\@XPS" is specified, the converted result is outputted to XPS.
01958      * When "\@JPEG" is specified, the converted result is outputted to JPEG.
01959      * When "\@PJPEG" is specified, the converted result is output as progressive JPEG.
01960      * When "\@PNG" is specified, the converted result is outputted to PNG.
01961      * When "\@IPNG" is specified, the converted result is output as interlaced PNG.
01962      * When "\@TIFF" is specified, the converted result is outputted to TIFF.
01963      * When "\@TIFFC" is specified, the converted result is outputted to TIFF CMYK.
01964      * When "\@MTIFF" is specified, the converted result is outputted to multi-page TIFF.
01965      * When "\@MTIFFC" is specified, the converted result is outputted to multi-page TIFF of CMYK.
01966      * When omitted, it is considered as "\@PDF" was specified.
01967      * It's impossible to output to the printer with any OS's other than Windows.
01968      *
01969      * @param   newVal  Pointer to a null-terminated string to be used as the printer name.
01970      */
01971     void setPrinterNameW(const wchar_t* newVal);
01972 
01973 #if defined(_DOXYGEN) || (defined(_MSC_VER) && defined(_WIN32))
01974 
01975     /**
01976      * Get the number of copies. Effective when outputting to printer.
01977      * This setting is effective only with Windows version.
01978      *
01979      * @return  Returns the number of copies.
01980      */
01981     long getPrnCopies() const;
01982 
01983     /**
01984      * Specifies the number of copies. Effective when outputting to printer.
01985      * If nothing is specified, the value is considered as 1.
01986      * This setting is effective only with Windows version.
01987      *
01988      * @param   newVal  the number of copies.
01989      */
01990     void setPrnCopies(long newVal);
01991 
01992     /**
01993      * Get collation of multiple copies.
01994      * This setting is effective only with Windows version.
01995      *
01996      * @return  If zero is returned, the same page is multi-copied continuously.
01997      *          If nonezero is returned, the pages specified from start to end are printed repeatedly.
01998      */
01999     long getPrnCollate() const;
02000 
02001     /**
02002      * Specifies collation of multiple copies. Effective when outputting to printer and the number of
02003      * copies is plural. If it is not specified or the value zero is specified, the same page is
02004      * multi-copied continuously.
02005      * If nonezero is specified, the pages specified from start to end are printed repeatedly.
02006      * This setting is effective only with Windows version.
02007      *
02008      * @param   newVal  Zpecifies zero or nonzero.
02009      */
02010     void setPrnCollate(long newVal);
02011 
02012     /**
02013      * Get the setting of whether print dialog box is displayed or not when printing
02014      * This setting is effective only with Windows version.
02015      *
02016      * @return  If zero, the print dialog box is displayed. If nonezero, the print dialog box is not displayed.
02017      */
02018     long getBatchPrint() const;
02019 
02020     /**
02021      * When the value 'false' is specified, the print dialog box is displayed when printing.
02022      * If the setting is omitted or the value 'true' is specified, the print dialog is not displayed.
02023      * This setting is effective only with Windows version.
02024      *
02025      * @param   newVal  If zero, the print dialog box is displayed. If nonezero, the print dialog box is not displayed.
02026      */
02027     void setBatchPrint(long newVal);
02028 
02029 #endif // defined(_DOXYGEN) || (defined(_MSC_VER) && defined(_WIN32))   /* WIN32 */
02030 
02031     /**
02032      * Get the version string of Office Server Document Converter.
02033      * 
02034      *
02035      * @param   pVal        Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer,
02036      *          the string is truncated and terminated with a NULL character.
02037      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
02038      * @return  Returns the 'pVal'.
02039      */
02040     char* getVersion(char* pVal, int size) const;
02041 
02042     /**
02043      * Get the version string of Office Server Document Converter.
02044      * 
02045      *
02046      * @param   pVal        Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer,
02047      *          the string is truncated and terminated with a NULL character.
02048      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
02049      * @return  Returns the 'pVal'.
02050      */
02051     wchar_t* getVersionW(wchar_t* pVal, int size) const;
02052 
02053     /**
02054      * Get INX output mode.
02055      *
02056      * @return  output mode of INX.
02057      */
02058     DfvINXOUTPUTMODE getInxOutputMode() const;
02059 
02060     /**
02061      * Set INX output mode.
02062      *
02063      * @param   newVal mode of INX.
02064      */
02065     void setInxOutputMode(DfvINXOUTPUTMODE newVal);
02066 
02067     /**
02068      * Get the specification that omit blank pages. return Specification that omit blank pages 
02069      */
02070     bool getOmitBlankPages();
02071     
02072     /**
02073      * In MS Word files, skip a blank page when it is at the beginning of the document.
02074      * Skip also if a page at the beginning of the document is only header and footer.
02075      * In MS Excel files, skip a blank page.
02076      * The original file is valid only for MS Word or MS Excel.
02077      * To skip and get only the page with the first content found, specify this property in combination with setEndPage = 1.
02078      * Operation in combination with anything other than setEndPage = 1 is not guaranteed.
02079      *
02080      * @param   newVal      If the value is 'true' is specified, omit blank pages 
02081      */
02082     void setOmitBlankPages(bool newVal);
02083 
02084     /**
02085      * this function is not supported.
02086      */
02087     long getFlashPartiallyOutput() const;
02088 
02089     /**
02090      * this function is not supported.
02091      */
02092     void setFlashPartiallyOutput(long newVal);
02093 
02094     /**
02095      * this function is not supported.
02096      */
02097     long getFlashHidePageButton() const;
02098 
02099     /**
02100      * this function is not supported.
02101      */
02102     void setFlashHidePageButton(long newVal);
02103 
02104     /**
02105      * this function is not supported.
02106      */
02107     bool getFlashSplitPage() const;
02108 
02109     /**
02110      * this function is not supported.
02111      */
02112     void setFlashSplitPage(bool newVal);
02113 
02114     /**
02115      * this function is not supported.
02116      */
02117     bool getFlashOutputAction() const;
02118 
02119     /**
02120      * this function is not supported.
02121      */
02122     void setFlashOutputAction(bool newVal);
02123 
02124     /**
02125      * this function is not supported.
02126      */
02127     int getFlashImageLimitSize() const;
02128 
02129     /**
02130      * this function is not supported.
02131      */
02132     void setFlashImageLimitSize(int newVal);
02133 
02134 #if defined(_DOXYGEN) || (defined(_MSC_VER) && defined(_WIN32))
02135 
02136     /**
02137      * It print at size of paper.
02138      * Default is false.
02139      * Effective only when outputting to image with Windows version. 
02140      * 
02141      * @param   newVal      If the value is 'true' is specified, print at size of paper. 
02142      */
02143     void setPrnFitPaper(bool newVal);
02144 
02145 #endif  // #if defined(_DOXYGEN) || (defined(_MSC_VER) && defined(_WIN32))
02146 
02147 
02148     /**
02149      * Get the image resolution when outputting JPEG and PNG.
02150      * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 
02151      *
02152      * @return      Image resolution
02153      */
02154     int getRasterDPI(void) const;
02155 
02156     /**
02157     * Sets the image resolution when outputting JPEG and PNG.
02158     * Effective only when outputting to image with Windows version and Linux version 6.0 or later.
02159      *
02160      * @param   newVal      Image resolution (1 to 1440) 
02161      */
02162     void setRasterDPI(int newVal);
02163 
02164     /**
02165      * Get the image scale when outputting JPEG and PNG.
02166      * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 
02167      *
02168      * @param   pVal
02169      *      Pointer to the buffer that will receive the text.
02170      *      If the string is as long or longer than the buffer,
02171      *      the string is truncated and terminated with a NULL character.
02172      * @param   size
02173      *      Specifies the number of the 'pVal' buffer, including the NULL character.
02174      *      If the text exceeds this limit, it is truncated.
02175      * @return  Returns the 'pVal'.
02176      */
02177     char* getRasterScale(char* pVal, int size) const;
02178 
02179     /**
02180      * Get the image scale when outputting JPEG and PNG.
02181      * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 
02182      *
02183      * @param   pVal
02184      *      Pointer to the buffer that will receive the text.
02185      *      If the string is as long or longer than the buffer,
02186      *      the string is truncated and terminated with a NULL character.
02187      * @param   size
02188      *      Specifies the number of the 'pVal' buffer, including the NULL character.
02189      *      If the text exceeds this limit, it is truncated.
02190      * @return  Returns the 'pVal'.
02191      */
02192     wchar_t* getRasterScaleW(wchar_t* pVal, int size) const;
02193 
02194     /**
02195      * Sets the image scale when outputting JPEG and PNG.
02196      * A numerical value, "%", or "px" (pixel) is available as the unit.
02197      * Specify the percentage for a numerical value and "%", and specify the width of image for pixel.
02198      * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 
02199      *
02200      * @param   newVal      Image scale 
02201      */
02202     void setRasterScale(const char* newVal);
02203 
02204     /**
02205      * Sets the image scale when outputting JPEG and PNG.
02206      * A numerical value, "%", or "px" (pixel) is available as the unit.
02207      * Specify the percentage for a numerical value and "%", and specify the width of image for pixel.
02208      * Effective only when outputting to image with Windows version and Linux version 6.0 or later. 
02209      *
02210      * @param   newVal      Image scale 
02211      */
02212     void setRasterScaleW(const wchar_t* newVal);
02213 
02214     /**
02215      * Get the maximum image height when outputting JPEG and PNG.<BR>
02216      * Effective only when outputting to image with Windows version and Linux version 6.0 or later.
02217      *
02218      * @return          Maximum image height
02219      */
02220     int getRasterHeight() const;
02221 
02222     /**
02223      * Sets the maximum image height decided by setRasterScale when outputting JPEG and PNG.<BR>
02224      * "px" (pixel) is available as the unit. 
02225      * Effective only when outputting to image with Windows version and Linux version 6.0 or later.
02226      *
02227      * @param   newVal  Maximum image height
02228      */
02229     void setRasterHeight(int newVal);
02230 
02231     /**
02232      * Get the file name naming format when outputting PNG and JPEG.<BR>
02233      * Effective only when outputting to image with Windows version and Linux version 6.0 or later.
02234      *
02235      * @param   pVal
02236      *      Pointer to the buffer that will receive the text.
02237      *      If the string is as long or longer than the buffer,
02238      *      the string is truncated and terminated with a NULL character.
02239      * @param   size
02240      *      Specifies the number of the 'pVal' buffer, including the NULL character.
02241      *      If the text exceeds this limit, it is truncated.
02242      * @return  Returns the 'pVal'.
02243      */
02244     char* getRasterFormat(char* pVal, int size) const;
02245 
02246     /**
02247      * Get the file name naming format when outputting PNG and JPEG.<BR>
02248      * Effective only when outputting to image with Windows version and Linux version 6.0 or later.
02249      *
02250      * @param   pVal
02251      *      Pointer to the buffer that will receive the text.
02252      *      If the string is as long or longer than the buffer,
02253      *      the string is truncated and terminated with a NULL character.
02254      * @param   size
02255      *      Specifies the number of the 'pVal' buffer, including the NULL character.
02256      *      If the text exceeds this limit, it is truncated.
02257      * @return  Returns the 'pVal'.
02258      */
02259     wchar_t* getRasterFormatW(wchar_t* pVal, int size) const;
02260 
02261     /**
02262      * Specifies the file name naming format when outputting PNG and JPEG.<BR>
02263      * Effective only when outputting to image with Windows version and Linux version 6.0 or later.
02264      *
02265      * @param   newVal  format for naming files
02266      */
02267     void setRasterFormat(const char* newVal);
02268 
02269     /**
02270      * Specifies the file name naming format when outputting PNG and JPEG.<BR>
02271      * Effective only when outputting to image with Windows version and Linux version 6.0 or later.
02272      *
02273      * @param   newVal  format for naming files
02274      */
02275     void setRasterFormatW(const wchar_t* newVal);
02276 
02277     /**
02278      * Get the conversion accuracy when outputting JPEG.<BR>
02279      * Effective only when outputting to image with Windows version and Linux version 6.0 or later.
02280      *
02281      * @return          JPEG quality
02282      */
02283     int getRasterJpegQuality() const;
02284 
02285     /**
02286      * Specifies the conversion accuracy by the value with the range of 1-100(%) when outputting JPEG.<BR>
02287      * When this parameter is omitted, it is regarded as 80%.
02288      * Effective only when outputting to image with Windows version and Linux version 6.0 or later.
02289      *
02290      * @param   newVal  JPEG quality
02291      */
02292     void setRasterJpegQuality(int newVal);
02293 
02294 
02295 #if defined(_DOXYGEN) || (defined(_MSC_VER) && defined(_WIN32))
02296 
02297     /**
02298      * Gets specification whether to use GdiPlus .<BR>
02299      * Effective only when outputting to image with Windows version
02300      *
02301      * @return          Specification whether to use GdiPlus.
02302      */
02303     bool getRasterUseGdiPlus() const;
02304 
02305     /**
02306      * GdiPlus is used when the file is converted to Jpeg or PNG.<BR>
02307      * This setting is effective only with Windows Vista or later / Windows Server 2003.
02308      * Effective only when outputting to image with Windows version
02309      *
02310      * @param newVal Specifies whether to use GdiPlus.
02311      */
02312     void setRasterUseGdiPlus(bool newVal);
02313 
02314     /**
02315      * Gets specification whether to convert to monochrome image, when outputting JPEG and PNG.<BR>
02316      * Effective only when outputting to image with Windows version
02317      *
02318      * @return          Specification whether to convert to monochrome.
02319      */
02320     bool getRasterMonochrome() const;
02321 
02322     /**
02323      * Specifies whether to convert to monochrome image, when outputting JPEG and PNG.<BR>
02324      * Effective only when outputting to image with Windows version
02325      *
02326      * @param newVal Specifies whether to convert to monochrome.
02327      */
02328     void setRasterMonochrome(bool newVal);
02329 
02330 #endif // defined(_DOXYGEN) || (defined(_MSC_VER) && defined(_WIN32))
02331 
02332 
02333     /**
02334      * Get the path name of RGB ICC profile for input when outputting CMYK TIFF.
02335      * Effective only when outputting to image with Windows version and Linux version 6.0 or later.
02336      *
02337      * @param   pVal
02338      *      Pointer to the buffer that will receive the text.
02339      *      If the string is as long or longer than the buffer,
02340      *      the string is truncated and terminated with a NULL character.
02341      * @param   size
02342      *      Specifies the number of the 'pVal' buffer, including the NULL character.
02343      *      If the text exceeds this limit, it is truncated.
02344      * @return  Returns the 'pVal'.
02345      */
02346     char* getRasterRGBProfile(char* pVal, int size) const;
02347 
02348     /**
02349      * Get the path name of RGB ICC profile for input when outputting CMYK TIFF.
02350      * Effective only when outputting to image with Windows version and Linux version 6.0 or later.
02351      *
02352      * @param   pVal
02353      *      Pointer to the buffer that will receive the text. 
02354      *      If the string is as long or longer than the buffer,
02355      *      the string is truncated and terminated with a NULL character.
02356      * @param   size
02357      *      Specifies the number of the 'pVal' buffer, including the NULL character.
02358      *      If the text exceeds this limit, it is truncated.
02359      * @return  Returns the 'pVal'.
02360      */
02361     wchar_t* getRasterRGBProfileW(wchar_t* pVal, int size) const;
02362 
02363     /**
02364      * Set the path name of RGB ICC profile for input when outputting CMYK TIFF.
02365      * Effective only when outputting to image with Windows version and Linux version 6.0 or later.
02366      *
02367      * @param   newVal
02368      *      Pointer to a null-terminated string.
02369      */
02370     void setRasterRGBProfile(const char* newVal);
02371 
02372     /**
02373      * Set the path name of RGB ICC profile for input when outputting CMYK TIFF.
02374      * Effective only when outputting to image with Windows version and Linux version 6.0 or later.
02375      *
02376      * @param   newVal
02377      *      Pointer to a null-terminated string.
02378      */
02379     void setRasterRGBProfileW(const wchar_t* newVal);
02380 
02381     /**
02382      * Get the path name of CMYK ICC profile for output when outputting CMYK TIFF.
02383      * Effective only when outputting to image with Windows version and Linux version 6.0 or later.
02384      *
02385      * @param   pVal
02386      *      Pointer to the buffer that will receive the text.
02387      *      If the string is as long or longer than the buffer,
02388      *      the string is truncated and terminated with a NULL character.
02389      * @param   size
02390      *      Specifies the number of the 'pVal' buffer, including the NULL character.
02391      *      If the text exceeds this limit, it is truncated.
02392      * @return  Returns the 'pVal'.
02393      */
02394     char* getRasterCMYKProfile(char* pVal, int size) const;
02395 
02396     /**
02397      * Get the path name of CMYK ICC profile for output when outputting CMYK TIFF.
02398      * Effective only when outputting to image with Windows version and Linux version 6.0 or later.
02399      *
02400      * @param   pVal
02401      *      Pointer to the buffer that will receive the text. 
02402      *      If the string is as long or longer than the buffer,
02403      *      the string is truncated and terminated with a NULL character.
02404      * @param   size
02405      *      Specifies the number of the 'pVal' buffer, including the NULL character.
02406      *      If the text exceeds this limit, it is truncated.
02407      * @return  Returns the 'pVal'.
02408      */
02409     wchar_t* getRasterCMYKProfileW(wchar_t* pVal, int size) const;
02410 
02411     /**
02412      * Set the path name of CMYK ICC profile for output when outputting CMYK TIFF.
02413      * Effective only when outputting to image with Windows version and Linux version 6.0 or later.
02414      *
02415      * @param   newVal
02416      *      Pointer to a null-terminated string.
02417      */
02418     void setRasterCMYKProfile(const char* newVal);
02419 
02420     /**
02421      * Set the path name of CMYK ICC profile for output when outputting CMYK TIFF.
02422      * Effective only when outputting to image with Windows version and Linux version 6.0 or later.
02423      *
02424      * @param   newVal
02425      *      Pointer to a null-terminated string.
02426      */
02427     void setRasterCMYKProfileW(const wchar_t* newVal);
02428 
02429     /**
02430      * Get the setting of whether to convert images to grayscale 256 tones.
02431      * Effective only when outputting to image with Windows version and Linux version 6.0 or later.
02432      *
02433      * @return 
02434      * Specify whether to convert images to grayscale 256 tones.
02435      */
02436     bool getRasterGrayscale() const;
02437 
02438     /**
02439      * Outputs grayscale 256 tones..<BR>
02440      * Effective only when outputting to image with Windows version and Linux version 6.0 or later.
02441      *
02442      * @param newVal
02443      * If "true" is specified, convert images to grayscale 256 tones.
02444      */
02445     void setRasterGrayscale(bool newVal);
02446 
02447 
02448 #if defined(_DOXYGEN) || (defined(_MSC_VER) && defined(_WIN32))
02449 
02450     /**
02451      * Get the setting of whether to convert images to 256 colors, and only Windows version.
02452      * Effective only when outputting to image with Windows version
02453      *
02454      * @return
02455      * Specify whether to convert images to 256 colors.
02456      */
02457     bool getRaster256Color() const;
02458 
02459     /**
02460      * Outputs 256 colors..<BR>
02461      * Effective only when outputting to image with Windows version
02462      *
02463      * @param newVal
02464      * If "true" is specified, convert images to 256 colors.
02465      */
02466     void setRaster256Color(bool newVal);
02467 
02468 #endif // defined(_DOXYGEN) || (defined(_MSC_VER) && defined(_WIN32))
02469 
02470 
02471     /**
02472      * Get the compression method when outputting TIFF / MTIFF.
02473      * Effective only when outputting to image with Windows version and Linux version 6.0 or later.
02474      *
02475      * @param   pVal
02476      *      Pointer to the buffer that will receive the text.
02477      *      If the string is as long or longer than the buffer,
02478      *      the string is truncated and terminated with a NULL character.
02479      * @param   size
02480      *      Specifies the number of the 'pVal' buffer, including the NULL character.
02481      *      If the text exceeds this limit, it is truncated.
02482      * @return  Returns the 'pVal'.
02483      */
02484     char* getRasterCompression(char* pVal, int size) const;
02485 
02486     /**
02487      * Get the compression method when outputting TIFF / MTIFF.
02488      * Effective only when outputting to image with Windows version and Linux version 6.0 or later.
02489      *
02490      * @param   pVal
02491      *      Pointer to the buffer that will receive the text.
02492      *      If the string is as long or longer than the buffer,
02493      *      the string is truncated and terminated with a NULL character.
02494      * @param   size
02495      *      Specifies the number of the 'pVal' buffer, including the NULL character.
02496      *      If the text exceeds this limit, it is truncated.
02497      * @return  Returns the 'pVal'.
02498      */
02499     wchar_t* getRasterCompressionW(wchar_t* pVal, int size) const;
02500 
02501     /**
02502      * Specifies the compression method when outputting TIFF / MTIFF.<BR>
02503      * Effective only when outputting to image with Windows version and Linux version 6.0 or later.
02504      * The compression method.<BR>
02505      * none : None<BR>
02506      * lzw : ZLIB compression(When this parameter is omitted, lzw is applied.)<BR>
02507      * dct : DCTDecode<BR>
02508      * flate : FlateDecode<BR>
02509      * runlength : Run Length compression<BR>
02510      * ccitt3 : CCITT Group3<BR>
02511      * ccitt4 : CCITT Group4<BR>
02512      *
02513      * @param   newVal
02514      *      Pointer to a null-terminated string.
02515      */
02516     void setRasterCompression(const char* newVal);
02517 
02518     /**
02519      * Specifies the compression method when outputting TIFF / MTIFF.<BR>
02520      * Effective only when outputting to image with Windows version and Linux version 6.0 or later.
02521      * The compression method.<BR>
02522      * none : None<BR>
02523      * lzw : ZLIB compression(When this parameter is omitted, lzw is applied.)<BR>
02524      * dct : DCTDecode<BR>
02525      * flate : FlateDecode<BR>
02526      * runlength : Run Length compression<BR>
02527      * ccitt3 : CCITT Group3<BR>
02528      * ccitt4 : CCITT Group4<BR>
02529      *
02530      * @param   newVal
02531      *      Pointer to a null-terminated string.
02532      */
02533     void setRasterCompressionW(const wchar_t* newVal);
02534 
02535 
02536     /**
02537      * Specifies the height of the paper when inputting text.
02538      * Effective when inputting text. 
02539      *
02540      * @param   newVal      the height of paper 
02541      */
02542     void setTextPaperHeight(const char* newVal);
02543 
02544     /**
02545      * Specifies the height of the paper when inputting text.
02546      * Effective when inputting text. 
02547      *
02548      * @param   newVal      the height of paper 
02549      */
02550     void setTextPaperHeightW(const wchar_t* newVal);
02551 
02552     /**
02553      * Specifies the width of the paper when inputting text.
02554      * Effective when inputting text. 
02555      *
02556      * @param   newVal      the width of paper 
02557      */
02558     void setTextPaperWidth(const char* newVal);
02559 
02560     /**
02561      * Specifies the width of the paper when inputting text.
02562      * Effective when inputting text. 
02563      *
02564      * @param   newVal      the width of paper 
02565      */
02566     void setTextPaperWidthW(const wchar_t* newVal);
02567 
02568     /**
02569      * Specifies the left margin of the paper when inputting text.
02570      * Effective when inputting text. 
02571      *
02572      * @param   newVal       the left margin of the paper 
02573      */
02574     void setTextMarginLeft(const char* newVal);
02575 
02576     /**
02577      * Specifies the left margin of the paper when inputting text.
02578      * Effective when inputting text. 
02579      *
02580      * @param   newVal       the left margin of the paper 
02581      */
02582     void setTextMarginLeftW(const wchar_t* newVal);
02583 
02584     /**
02585      * Specifies the right margin of the paper when inputting text.
02586      * Effective when inputting text. 
02587      *
02588      * @param   newVal      the top margin of the paper 
02589      */
02590     void setTextMarginTop(const char* newVal);
02591 
02592     /**
02593      * Specifies the right margin of the paper when inputting text.
02594      * Effective when inputting text. 
02595      *
02596      * @param   newVal      the top margin of the paper 
02597      */
02598     void setTextMarginTopW(const wchar_t* newVal);
02599 
02600     /**
02601      * Specifies the right margin of the paper when inputting text.
02602      * Effective when inputting text. 
02603      *
02604      * @param   newVal      the right margin of the paper 
02605      */
02606     void setTextMarginRight(const char* newVal);
02607 
02608     /**
02609      * Specifies the right margin of the paper when inputting text.
02610      * Effective when inputting text. 
02611      *
02612      * @param   newVal      the right margin of the paper 
02613      */
02614     void setTextMarginRightW(const wchar_t* newVal);
02615 
02616     /**
02617      * Specifies the right margin of the paper when inputting text.
02618      * Effective when inputting text. 
02619      *
02620      * @param   newVal      the bottom margin of the paper 
02621      */
02622     void setTextMarginBottom(const char* newVal);
02623 
02624     /**
02625      * Specifies the right margin of the paper when inputting text.
02626      * Effective when inputting text. 
02627      *
02628      * @param   newVal      the bottom margin of the paper 
02629      */
02630     void setTextMarginBottomW(const wchar_t* newVal);
02631 
02632     /**
02633      * Specifies the font family name when inputting text.
02634      * Effective when inputting text. 
02635      *
02636      * @param   newVal      font family name 
02637      */
02638     void setTextFontFamily(const char* newVal);
02639 
02640     /**
02641      * Specifies the font family name when inputting text.
02642      * Effective when inputting text. 
02643      *
02644      * @param   newVal      font family name 
02645      */
02646     void setTextFontFamilyW(const wchar_t* newVal);
02647 
02648     /**
02649      * Specifies the font size when inputting text.
02650      * Effective when inputting text. 
02651      *
02652      * @param   newVal      font size 
02653      */
02654     void setTextFontSize(const char* newVal);
02655 
02656     /**
02657      * Specifies the font size when inputting text.
02658      * Effective when inputting text. 
02659      *
02660      * @param   newVal      font size 
02661      */
02662     void setTextFontSizeW(const wchar_t* newVal);
02663 
02664     /**
02665      * Specifies the value of whether show page number or not when inputting text.
02666      * Effective when inputting text. 
02667      * 
02668      * @param   newVal      the value of whether show page number or not 
02669      */
02670     void setTextShowPageNumber(bool newVal);
02671 
02672     /**
02673      * Specifies the value of whether show page number or not when inputting text.
02674      * Effective when inputting text. 
02675      * 
02676      * @param   newVal      the value of whether show page number or not    
02677      */
02678     void setTextShowLineNumber(bool newVal);
02679 
02680     /**
02681      * Specifies the offset value of range from body area when showing line number and inputting text.
02682      * Effective when inputting text. 
02683      * 
02684      * @param   newVal      the offset value
02685      */
02686     void setTextLineNumberOffset(const char* newVal);
02687 
02688     /**
02689      * Specifies the offset value of range from body area when showing line number and inputting text.
02690      * Effective when inputting text. 
02691      * 
02692      * @param   newVal      the offset value
02693      */
02694     void setTextLineNumberOffsetW(const wchar_t* newVal);
02695 
02696     /**
02697      * Specifies the line number format when showing line number and inputting text.
02698      * Effective when inputting text. 
02699      * 
02700      * @param   newVal      line number format  
02701      */
02702     void setTextLineNumberFormat(const char* newVal);
02703 
02704     /**
02705      * Specifies the line number format when showing line number and inputting text.
02706      * Effective when inputting text. 
02707      * 
02708      * @param   newVal      line number format  
02709      */
02710     void setTextLineNumberFormatW(const wchar_t* newVal);
02711 
02712 #if defined(_DOXYGEN) || (defined(_MSC_VER) && defined(_WIN32))
02713 
02714     /**
02715      * Acquires the setting of the smoothing processing to text.<BR>
02716      * This setting is effective only with Windows Vista or later / Windows Server 2003 or later.
02717      *
02718      * @return          
02719      * Specify whether to perform the smoothing processing to text.
02720      */
02721     bool getGdiTextAntialias() const;
02722 
02723     /**
02724      * Performs the smoothing processing to text.<BR>
02725      * Effective only when printing and outputting images.<BR>
02726      * This setting is effective only with Windows Vista or later / Windows Server 2003 or later.
02727      *
02728      * @param   newVal  
02729      * Performs the smoothing processing when true is specified.
02730      */
02731     void setGdiTextAntialias(bool newVal);
02732 
02733     /**
02734      * Acquires the setting of the smoothing processing to borders.<BR>
02735      * This setting is effective only with Windows Vista or later / Windows Server 2003 or later.
02736      *
02737      * @return          
02738      * Specify whether to perform the smoothing processing to borders.
02739      */
02740     bool getGdiLineartSmoothing() const;
02741 
02742     /**
02743      * Performs the smoothing processing to borders.<BR>
02744      * Effective only when printing and outputting images.<BR>
02745      * This setting is effective only with Windows Vista or later / Windows Server 2003 or later.
02746      *
02747      * @param   newVal  
02748      * Performs the smoothing processing when true is specified.
02749      */
02750     void setGdiLineartSmoothing(bool newVal);
02751 
02752     /**
02753      * Acquires the setting of the smoothing processing to images.<BR>
02754      * This setting is effective only with Windows Vista or later / Windows Server 2003 or later.
02755      *
02756      * @return          
02757      * Specify whether to perform the smoothing processing to images.
02758      */
02759     bool getGdiImageSmoothing() const;
02760 
02761     /**
02762      * Performs the smoothing processing to images.<BR>
02763      * Effective only when printing and outputting images.<BR>
02764      * This setting is effective only with Windows Vista or later / Windows Server 2003 or later.
02765      *
02766      * @param   newVal  
02767      * Performs the smoothing processing when true is specified.
02768      */
02769     void setGdiImageSmoothing(bool newVal);
02770 
02771 #endif // defined(_DOXYGEN) || (defined(_MSC_VER) && defined(_WIN32))
02772 
02773     /**
02774      * Get the watermark text on each page. 
02775      *
02776      * @param   pVal
02777      *      Pointer to the buffer that will receive the text.
02778      *      If the string is as long or longer than the buffer,
02779      *      the string is truncated and terminated with a NULL character.
02780      * @param   size
02781      *      Specifies the number of the 'pVal' buffer, including the NULL character.
02782      *      If the text exceeds this limit, it is truncated.
02783      * @return  Returns the 'pVal'.
02784      */
02785     char* getWatermarkText(char* pVal, int size) const;
02786 
02787     /**
02788      * Get watermark text on each page.
02789      *
02790      * @param   pVal
02791      *      Pointer to the buffer that will receive the text. 
02792      *      If the string is as long or longer than the buffer,
02793      *      the string is truncated and terminated with a NULL character.
02794      * @param   size
02795      *      Specifies the number of the 'pVal' buffer, including the NULL character.
02796      *      If the text exceeds this limit, it is truncated.
02797      * @return  Returns the 'pVal'.
02798      */
02799     wchar_t* getWatermarkTextW(wchar_t* pVal, int size) const;
02800 
02801     /**
02802      * Displays the specified watermark text on each page. 
02803      * Possible to make it multiple lines by delimiting with the line feed \n. 
02804      * This setting is invalid with the evaluation version.  
02805      *
02806      * @param   newVal
02807      *      Pointer to a null-terminated string.
02808      */
02809     void setWatermarkText(const char* newVal);
02810 
02811     /**
02812      * Displays the specified watermark text on each page. 
02813      * Possible to make it multiple lines by delimiting with the line feed \n. 
02814      * This setting is invalid with the evaluation version.  
02815      *
02816      * @param   newVal
02817      *      Pointer to a null-terminated string.
02818      */
02819     void setWatermarkTextW(const wchar_t* newVal);
02820 
02821     /**
02822      * Get the font family of the watermark text. 
02823      *
02824      * @param   pVal
02825      *      Pointer to the buffer that will receive the text.
02826      *      If the string is as long or longer than the buffer,
02827      *      the string is truncated and terminated with a NULL character.
02828      * @param   size
02829      *      Specifies the number of the 'pVal' buffer, including the NULL character.
02830      *      If the text exceeds this limit, it is truncated.
02831      * @return  Returns the 'pVal'.
02832      */
02833     char* getWatermarkFontFamily(char* pVal, int size) const;
02834 
02835     /**
02836      * Get the font family of the watermark text.
02837      *
02838      * @param   pVal
02839      *      Pointer to the buffer that will receive the text. 
02840      *      If the string is as long or longer than the buffer,
02841      *      the string is truncated and terminated with a NULL character.
02842      * @param   size
02843      *      Specifies the number of the 'pVal' buffer, including the NULL character.
02844      *      If the text exceeds this limit, it is truncated.
02845      * @return  Returns the 'pVal'.
02846      */
02847     wchar_t* getWatermarkFontFamilyW(wchar_t* pVal, int size) const;
02848 
02849     /**
02850      * Specifies the font family to the character string which you set to watermark-text.  
02851      *
02852      * @param   newVal
02853      *      Pointer to a null-terminated string.
02854      */
02855     void setWatermarkFontFamily(const char* newVal);
02856 
02857     /**
02858      * Specifies the font family to the character string which you set to watermark-text.  
02859      *
02860      * @param   newVal
02861      *      Pointer to a null-terminated string.
02862      */
02863     void setWatermarkFontFamilyW(const wchar_t* newVal);
02864 
02865     /**
02866      * Get the font weight of the watermark text. 
02867      *
02868      * @param   pVal
02869      *      Pointer to the buffer that will receive the text.
02870      *      If the string is as long or longer than the buffer,
02871      *      the string is truncated and terminated with a NULL character.
02872      * @param   size
02873      *      Specifies the number of the 'pVal' buffer, including the NULL character.
02874      *      If the text exceeds this limit, it is truncated.
02875      * @return  Returns the 'pVal'.
02876      */
02877     char* getWatermarkFontWeight(char* pVal, int size) const;
02878 
02879     /**
02880      * Get the font weight of the watermark text.  
02881      *
02882      * @param   pVal
02883      *      Pointer to the buffer that will receive the text. 
02884      *      If the string is as long or longer than the buffer,
02885      *      the string is truncated and terminated with a NULL character.
02886      * @param   size
02887      *      Specifies the number of the 'pVal' buffer, including the NULL character.
02888      *      If the text exceeds this limit, it is truncated.
02889      * @return  Returns the 'pVal'.
02890      */
02891     wchar_t* getWatermarkFontWeightW(wchar_t* pVal, int size) const;
02892 
02893     /**
02894      * Specifies the font weight to the character string which you set to watermark-text. 
02895      * Possible to specify normal, bold or the numerical value from 100 to 900.  
02896      *
02897      * @param   newVal
02898      *      Pointer to a null-terminated string.
02899      */
02900     void setWatermarkFontWeight(const char* newVal);
02901 
02902     /**
02903      * Specifies the font weight to the character string which you set to watermark-text. 
02904      * Possible to specify normal, bold or the numerical value from 100 to 900.  
02905      *
02906      * @param   newVal
02907      *      Pointer to a null-terminated string.
02908      */
02909     void setWatermarkFontWeightW(const wchar_t* newVal);
02910 
02911     /**
02912      * Get the font style of the watermark text.
02913      *
02914      * @param   pVal
02915      *      Pointer to the buffer that will receive the text.
02916      *      If the string is as long or longer than the buffer,
02917      *      the string is truncated and terminated with a NULL character.
02918      * @param   size
02919      *      Specifies the number of the 'pVal' buffer, including the NULL character.
02920      *      If the text exceeds this limit, it is truncated.
02921      * @return  Returns the 'pVal'.
02922      */
02923     char* getWatermarkFontStyle(char* pVal, int size) const;
02924 
02925     /**
02926      * Get the font style of the watermark text.  
02927      *
02928      * @param   pVal
02929      *      Pointer to the buffer that will receive the text. 
02930      *      If the string is as long or longer than the buffer,
02931      *      the string is truncated and terminated with a NULL character.
02932      * @param   size
02933      *      Specifies the number of the 'pVal' buffer, including the NULL character.
02934      *      If the text exceeds this limit, it is truncated.
02935      * @return  Returns the 'pVal'.
02936      */
02937     wchar_t* getWatermarkFontStyleW(wchar_t* pVal, int size) const;
02938 
02939     /**
02940      * Specifies the font style to the character string which you set to watermark-text.  
02941      *
02942      * @param   newVal
02943      *      Pointer to a null-terminated string.
02944      */
02945     void setWatermarkFontStyle(const char* newVal);
02946 
02947     /**
02948      * Specifies the font style to the character string which you set to watermark-text.  
02949      *
02950      * @param   newVal
02951      *      Pointer to a null-terminated string.
02952      */
02953     void setWatermarkFontStyleW(const wchar_t* newVal);
02954 
02955     /**
02956      * Get the opacity of the watermark text.
02957      *
02958      * @param   pVal
02959      *      Pointer to the buffer that will receive the text.
02960      *      If the string is as long or longer than the buffer,
02961      *      the string is truncated and terminated with a NULL character.
02962      * @param   size
02963      *      Specifies the number of the 'pVal' buffer, including the NULL character.
02964      *      If the text exceeds this limit, it is truncated.
02965      * @return  Returns the 'pVal'.
02966      */
02967     char* getWatermarkOpacity(char* pVal, int size) const;
02968 
02969     /**
02970      * Get the opacity of the watermark text.   
02971      *
02972      * @param   pVal
02973      *      Pointer to the buffer that will receive the text. 
02974      *      If the string is as long or longer than the buffer,
02975      *      the string is truncated and terminated with a NULL character.
02976      * @param   size
02977      *      Specifies the number of the 'pVal' buffer, including the NULL character.
02978      *      If the text exceeds this limit, it is truncated.
02979      * @return  Returns the 'pVal'.
02980      */
02981     wchar_t* getWatermarkOpacityW(wchar_t* pVal, int size) const;
02982 
02983     /**
02984      * Specifies the opacity to the character string which you set to watermark-text.  
02985      *
02986      * @param   newVal
02987      *      Pointer to a null-terminated string.
02988      */
02989     void setWatermarkOpacity(const char* newVal);
02990 
02991     /**
02992      * Specifies the opacity to the character string which you set to watermark-text.  
02993      *
02994      * @param   newVal
02995      *      Pointer to a null-terminated string.
02996      */
02997     void setWatermarkOpacityW(const wchar_t* newVal);
02998 
02999     /**
03000      * Gets the setting of continuous page numbers across worksheets in Excel header footer/number of pages as a total of all worksheets.
03001      *
03002      * @return          
03003      * If true, inserts continuous page numbers across all worksheets/number of pages as a total of all worksheets.
03004      */
03005     bool getContinuePageNumber() const;
03006 
03007     /**
03008      * Sets continuous page numbers across worksheets in Excel header footer/number of pages as a total of all worksheets.
03009      *
03010      * @param   newVal  
03011      * If true, sets continuous page numbers across all worksheets/number of pages as a total of all worksheets.
03012      */
03013     void setContinuePageNumber(bool newVal);
03014 
03015     /**
03016      * Get the ICC profile file name.
03017      *
03018      * @param   pVal        Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer,
03019      *          the string is truncated and terminated with a NULL character.
03020      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
03021      * @return  Returns the 'pVal'.
03022      */
03023     char* getPdfColorProfile(char* pVal, int size) const;
03024     /**
03025      * Get the ICC profile file name.
03026      *
03027      * @param   pVal        Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer,
03028      *          the string is truncated and terminated with a NULL character.
03029      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
03030      * @return  Returns the 'pVal'.
03031      */
03032     wchar_t* getPdfColorProfileW(wchar_t* pVal, int size) const;
03033 
03034     /**
03035      * Set the ICC profile file name.
03036      * When PDF/A-1b:2005 or PDF/A-2b:2011 is specified for PdfVersion, the ICC profile must be specified. In that case, specify the full path of the ICC profile to this parameter. This parameter is invalid except for PDF/A-1b:2005 and PDF/A-2b:2011.
03037      *
03038      * @param   newVal  Pointer to a null-terminated string to be used as the ICC profile file name.
03039      */
03040     void setPdfColorProfile(const char* newVal);
03041 
03042     /**
03043      * Set the ICC profile file name.
03044      * When PDF/A-1b:2005 or PDF/A-2b:2011 is specified for PdfVersion, the ICC profile must be specified. In that case, specify the full path of the ICC profile to this parameter. This parameter is invalid except for PDF/A-1b:2005 and PDF/A-2b:2011.
03045      *
03046      * @param   newVal  Pointer to a null-terminated string to be used as the ICC profile file name.
03047      */
03048     void setPdfColorProfileW(const wchar_t* newVal);
03049 
03050     /**
03051      * Specifies the open password for document.
03052      *
03053      * @param   newVal
03054      *      Pointer to a null-terminated string.
03055      */
03056     void setOpenPassword(const char* newVal);
03057 
03058     /**
03059      * Specifies the open password for document.
03060      *
03061      * @param   newVal
03062      *      Pointer to a null-terminated string.
03063      */
03064     void setOpenPasswordW(const wchar_t* newVal);
03065 
03066     /**
03067      * Get the setting of Support for correct number of pages in Word.
03068      *
03069      * @return
03070      * If true, support for correct number of pages and dynamically updating table of contents in Word.
03071      */
03072     long getPageNumberCorrection() const;
03073 
03074     /**
03075      * Set the setting of Support for correct number of pages in Word.
03076      *
03077      * @param   newVal
03078      * If true, sets support for correct number of pages and dynamically updating table of contents in Word.
03079      */
03080     void setPageNumberCorrection(long newVal);
03081 
03082     /**
03083      * Gets the specified sheet first to output the active sheet when files are saved in MS Excel.
03084      *
03085      * @return Return to specify the active sheet to sheet top output when files are saved in MS Excel.
03086      */
03087     bool getSheetOrderActiveFirst() const;
03088     
03089     /**
03090      * Set to specify the active sheet to sheet top output when files are saved in MS Excel.
03091      *
03092      * @param   newVal      If the value is 'true' is specified, Set to specify the active sheet to sheet top output when files are saved in MS Excel
03093      */
03094     void setSheetOrderActiveFirst(bool newVal);
03095 
03096     /**
03097      * Get the sheet order and select.
03098      *
03099      * @param   pVal        Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer,
03100      *          the string is truncated and terminated with a NULL character.
03101      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
03102      * @return  Returns the 'pVal'.
03103      */
03104     char* getSheetOrderSelect(char* pVal, int size) const;
03105     /**
03106      * Get the sheet order and select.
03107      *
03108      * @param   pVal        Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer,
03109      *          the string is truncated and terminated with a NULL character.
03110      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
03111      * @return  Returns the 'pVal'.
03112      */
03113     wchar_t* getSheetOrderSelectW(wchar_t* pVal, int size) const;
03114 
03115     /**
03116      * Set the sheet order and select.
03117      *
03118      * @param   newVal  Pointer to a null-terminated string to be used as the sheet order and select.
03119      */
03120     void setSheetOrderSelect(const char* newVal);
03121 
03122     /**
03123      * Set the sheet order and select.
03124      *
03125      * @param   newVal  Pointer to a null-terminated string to be used as the sheet order and select.
03126      */
03127     void setSheetOrderSelectW(const wchar_t* newVal);
03128 
03129     /**
03130      * Get the locale.
03131      *
03132      * @param   pVal        Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer,
03133      *          the string is truncated and terminated with a NULL character.
03134      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
03135      * @return  Returns the 'pVal'.
03136      */
03137     char* getLocale(char* pVal, int size) const;
03138     /**
03139      * Get the locale.
03140      *
03141      * @param   pVal        Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer,
03142      *          the string is truncated and terminated with a NULL character.
03143      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
03144      * @return  Returns the 'pVal'.
03145      */
03146     wchar_t* getLocaleW(wchar_t* pVal, int size) const;
03147 
03148     /**
03149      * Set the locale.
03150      *
03151      * @param   newVal  Pointer to a null-terminated string to be used as the locale.
03152      */
03153     void setLocale(const char* newVal);
03154 
03155     /**
03156      * Set the locale.
03157      *
03158      * @param   newVal  Pointer to a null-terminated string to be used as the locale.
03159      */
03160     void setLocaleW(const wchar_t* newVal);
03161 
03162     /**
03163      * Get the RowColControl configuration file name.
03164      *
03165      * @param   pVal        Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer,
03166      *          the string is truncated and terminated with a NULL character.
03167      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
03168      * @return  Returns the 'pVal'.
03169      */
03170     char* getRowColControlFileName(char* pVal, int size) const;
03171 
03172     /**
03173      * Get the RowColControl configuration file name.
03174      *
03175      * @param   pVal        Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer,
03176      *          the string is truncated and terminated with a NULL character.
03177      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
03178      * @return  Returns the 'pVal'.
03179      */
03180     wchar_t* getRowColControlFileNameW(wchar_t* pVal, int size) const;
03181 
03182     /**
03183      * Set the RowColControl configuration file name.
03184      *
03185      * @param   newVal  Pointer to a null-terminated string to be used as the file name.
03186      */
03187     void setRowColControlFileName(const char* newVal);
03188 
03189     /**
03190      * Set the RowColControl configuration file name.
03191      *
03192      * @param   newVal  Pointer to a null-terminated string to be used as the file name.
03193      */
03194     void setRowColControlFileNameW(const wchar_t* newVal);
03195 
03196     /**
03197      * Get the RowColControl parameter row,col string.
03198      *
03199      * @param   pVal        Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer,
03200      *          the string is truncated and terminated with a NULL character.
03201      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
03202      * @return  Returns the 'pVal'.
03203      */
03204     char* getRowColControlParameter(char* pVal, int size) const;
03205 
03206     /**
03207      * Get the RowColControl parameter row,col string.
03208      *
03209      * @param   pVal        Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer,
03210      *          the string is truncated and terminated with a NULL character.
03211      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
03212      * @return  Returns the 'pVal'.
03213      */
03214     wchar_t* getRowColControlParameterW(wchar_t* pVal, int size) const;
03215 
03216     /**
03217      * Set the RowColControl parameter row,col.
03218      *
03219      * @param   newVal  Pointer to a null-terminated string to be used as the parameter row,col string.
03220      */
03221     void setRowColControlParameter(const char* newVal);
03222 
03223     /**
03224      * Set the RowColControl parameter row,col.
03225      *
03226      * @param   newVal  Pointer to a null-terminated string to be used as the parameter row,col string.
03227      */
03228     void setRowColControlParameterW(const wchar_t* newVal);
03229 
03230     /**
03231      * Gets the view information option.
03232      *   default font name/size in file & printer name in sheet and matched parameter.
03233      *
03234      * @return Return to this option.
03235      */
03236     bool getXlsInfoView() const;
03237     
03238     /**
03239      * Set the view information option.
03240      *   default font name/size in file & printer name in sheet and matched parameter.
03241      *
03242      * @param   newVal      If the value is 'true' is specified, Set to the view information option.
03243      */
03244     void setXlsInfoView(bool newVal);
03245 
03246     /**
03247      * Get the XlsPaperDefault parameter string.
03248      *
03249      * @param   pVal        Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer,
03250      *          the string is truncated and terminated with a NULL character.
03251      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
03252      * @return  Returns the 'pVal'.
03253      */
03254     char* getXlsPaperDefault(char* pVal, int size) const;
03255 
03256     /**
03257      * Get the XlsPaperDefault parameter string.
03258      *
03259      * @param   pVal        Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer,
03260      *          the string is truncated and terminated with a NULL character.
03261      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
03262      * @return  Returns the 'pVal'.
03263      */
03264     wchar_t* getXlsPaperDefaultW(wchar_t* pVal, int size) const;
03265 
03266     /**
03267      * Set the XlsPaperDefault parameter.
03268      *
03269      * @param   newVal  Pointer to a null-terminated string to be used as the parameter string.
03270      */
03271     void setXlsPaperDefault(const char* newVal);
03272 
03273     /**
03274      * Set the XlsPaperDefault parameter.
03275      *
03276      * @param   newVal  Pointer to a null-terminated string to be used as the parameter string.
03277      */
03278     void setXlsPaperDefaultW(const wchar_t* newVal);
03279 
03280     /**
03281      * Get the XlsPaper parameter string.
03282      *
03283      * @param   pVal        Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer,
03284      *          the string is truncated and terminated with a NULL character.
03285      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
03286      * @return  Returns the 'pVal'.
03287      */
03288     char* getXlsPaper(char* pVal, int size) const;
03289 
03290     /**
03291      * Get the XlsPaper parameter string.
03292      *
03293      * @param   pVal        Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer,
03294      *          the string is truncated and terminated with a NULL character.
03295      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
03296      * @return  Returns the 'pVal'.
03297      */
03298     wchar_t* getXlsPaperW(wchar_t* pVal, int size) const;
03299 
03300     /**
03301      * Set the XlsPaper parameter.
03302      *
03303      * @param   newVal  Pointer to a null-terminated string to be used as the parameter string.
03304      */
03305     void setXlsPaper(const char* newVal);
03306 
03307     /**
03308      * Set the XlsPaper parameter.
03309      *
03310      * @param   newVal  Pointer to a null-terminated string to be used as the parameter string.
03311      */
03312     void setXlsPaperW(const wchar_t* newVal);
03313 
03314 
03315     /**
03316      * Get whether Word outline level is reflected on PDF bookmark hierarchy.
03317      *
03318      * @return  If 1-9, Generates a hierarchy and folds it at the hierarchy value.
03319      *          If 0, Does not generate a hierarchy.
03320      */
03321     int getDocPdfBookmarkLevel() const;
03322 
03323     /**
03324      * Specifies whether Word outline level is reflected on PDF bookmark hierarchy.
03325      *
03326      * @param   newVal  If 1-9, Generates a hierarchy and folds it at the hierarchy value.
03327      *                  If 0, Does not generate a hierarchy.
03328      */
03329     void setDocPdfBookmarkLevel(int newVal);
03330 
03331 
03332     /**
03333      * Get specification to output only selected sheet when files are saved in MS Excel.
03334      *
03335      * @return Return to specify to output only selected sheet when files are saved in MS Excel.
03336      */
03337     bool getXlsSelectedSheet() const;
03338     
03339 
03340     /**
03341      * Set to output only the selected sheet when files are saved in MS Excel.
03342      *
03343      * @param   newVal      If the value is 'true' is specified, only the selected sheet is output when files are saved in MS Excel
03344      */
03345     void setXlsSelectedSheet(bool newVal);
03346 
03347     /**
03348      * Get whether to output Notes page in PowerPoint.
03349      *
03350      * @return Return If true is returened, Notes page is output.
03351      *                If false is returned, Slide (normal layout) is output.
03352      */
03353     bool getPptNotes() const;
03354 
03355     /**
03356      * Specifies whether to output Notes page in PowerPoint.
03357      *
03358      * @param newVal If true, Notes page is output.
03359      *                If false, Slide (normal layout) is output.
03360      */
03361     void setPptNotes(bool newVal);
03362 
03363 
03364     /**
03365      * Gets the output track change option in MS Word.
03366      * @return Return to this option.
03367      */
03368     bool getDocTrackChange() const;
03369     
03370 
03371     /**
03372      * Set the output track change option.
03373      *
03374      * @param   newVal      If the value is 'true' is specified, Set to the output track change option in MS Word.
03375      */
03376     void setDocTrackChange(bool newVal);
03377 
03378     /**
03379      * Gets the tagged-pdf output.
03380      * @return Return to this option.
03381      */
03382     long getPdfTag() const;
03383 
03384 
03385     /**
03386      * Set the tagged-pdf output.
03387      *
03388      * @param   newVal      If the value is 'true' is specified, Set to the output tagged-pdf.
03389      */
03390     void setPdfTag(long newVal);
03391     
03392     /**
03393      * Get the linkfile output.
03394      *
03395      * @return Return to this option.
03396      */
03397     bool getLinkfile() const;
03398 
03399     /**
03400      * Set the linkfile output.
03401      *
03402      * @param newVal If the value is 'true' is specified, Set to the output linkfile.
03403      */
03404     void setLinkfile(bool newVal);
03405 
03406     /**
03407      * Get whether to non-output property.
03408      *
03409      * @return Return If the value is 'true' is specified, Set to the non-output property.
03410      */
03411     bool getPropertyNonOutput() const;
03412 
03413     /**
03414      * Specifies whether to non-output property.
03415      *
03416      * @param newVal If the value is 'true' is specified, Set to the non-output property.
03417      */
03418     void setPropertyNonOutput(bool newVal);
03419 
03420     /**
03421      * Get the output cell-area parameter string.
03422      *
03423      * @param   pVal        Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer,
03424      *          the string is truncated and terminated with a NULL character.
03425      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
03426      * @return  Returns the 'pVal'.
03427      */
03428     char* getXlsOutputArea(char* pVal, int size) const;
03429 
03430     /**
03431      * Get the output cell-area parameter string.
03432      *
03433      * @param   pVal        Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer,
03434      *          the string is truncated and terminated with a NULL character.
03435      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
03436      * @return  Returns the 'pVal'.
03437      */
03438     wchar_t* getXlsOutputAreaW(wchar_t* pVal, int size) const;
03439 
03440     /**
03441      * Set the output cell-area parameter.
03442      *
03443      * @param   newVal  Pointer to a null-terminated string to be used as the parameter string.
03444      */
03445     void setXlsOutputArea(const char* newVal);
03446 
03447     /**
03448      * Set the output cell-area parameter.
03449      *
03450      * @param   newVal  Pointer to a null-terminated string to be used as the parameter string.
03451      */
03452     void setXlsOutputAreaW(const wchar_t* newVal);
03453 
03454 
03455 
03456     void setOutputSVGFilePath( const char* newVal);
03457     void setOutputSVGFilePathW( const wchar_t* newVal);
03458 
03459 
03460     /**
03461      * Gets the NonOutline option in MS Word.
03462      * @return Return to this option.
03463      */
03464     bool getDocNonOutline() const;
03465     
03466 
03467     /**
03468      * Set the NonOutline option.
03469      *
03470      * @param   newVal      If the value is 'true' is specified, Set to the Do not convert outlines to bookmarks.
03471      */
03472     void setDocNonOutline(bool newVal);
03473 
03474 
03475 
03476     /**
03477      * Gets the IndexHyperLink option in MS Word.
03478      *
03479      * @return Return to this option.
03480      */
03481     int getIndexHyperLink() const;
03482 
03483     /**
03484      * Set the IndexHyperLink option in MS Word.<BR>
03485      * Page number of the index page is hyperlinked to the term marked as index entries in the body text (index term) when converting from Word (docx) to PDF.
03486      * 
03487      * @param   newVal  0, Does not generate a Index Hyperlink.
03488      *                  1, Link to the index terms from the first page to the index page.
03489      *                  2, Link to the index terms on pages after the index page too (processing time will be doubled).
03490      */
03491     void setIndexHyperLink(int newVal);
03492 
03493 
03494     /**
03495      * Gets specification whether to use Direct2d .<BR>
03496      * Effective only when outputting to image with Windows version
03497      *
03498      * @return          Specification whether to use Direct2d.
03499      */
03500     bool getRasterUseDirect2d() const;
03501 
03502     /**
03503      * Direct2d is used when converting files from PDF to raster image.<BR>
03504      * This setting is effective only with Windows Vista or later / Windows Server 2003.
03505      * Effective only when outputting to image with Windows version
03506      *
03507      * @param newVal Specifies whether to use Direct2d.
03508      */
03509     void setRasterUseDirect2d(bool newVal);
03510 
03511 };
03512 
03513 /***************************************************************
03514  * Exception class that returns the error information in the formatting process.
03515  */
03516 class DFVINTERFACE_API DfvException
03517 {
03518 public:
03519     /**
03520      * Constructor
03521      */
03522     DfvException(DfvIfErrorLevel errorLevel, DfvIfErrorCode errorCode, const wchar_t* errorMessage);
03523 
03524     /**
03525      * Copy constructor
03526      */
03527     DfvException(const DfvException &e);
03528 
03529     /**
03530      * Destructor
03531      */
03532     ~DfvException();
03533 
03534 private:
03535     DfvIfErrorLevel m_errorLevel;           /* Error level */
03536     DfvIfErrorCode  m_errorCode;            /* Error code */
03537     wchar_t*        m_errorMessage;         /* Error message */
03538 
03539 public:
03540     /**
03541      * Get the error level.
03542      *
03543      * @return  Returns the error level.
03544      */
03545     DfvIfErrorLevel getErrorLevel() const;
03546 
03547     /**
03548      * Get the error code.
03549      *
03550      * @return  Returns the error code.
03551      */
03552     DfvIfErrorCode getErrorCode() const;
03553 
03554     /**
03555      * Get the error message.
03556      *
03557      * @param   pVal        Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer,
03558      *          the string is truncated and terminated with a NULL character.
03559      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
03560      * @return  Returns the 'pVal'.
03561      */
03562     char* getErrorMessage(char* pVal, int size) const;
03563 
03564     /**
03565      * Get the error message.
03566      *
03567      * @param   pVal        Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer,
03568      *          the string is truncated and terminated with a NULL character.
03569      * @param   size        Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated.
03570      * @return  Returns the 'pVal'.
03571      */
03572     wchar_t* getErrorMessageW(wchar_t* pVal, int size) const;
03573 
03574 };
03575 
03576 }
03577 
03578 #endif  /* DFVIFC_H__ */

Generated on 5 Jan 2026 for Office Server Document Converter C/C++ Interface by Doxygen 1.3-rc2