📄 dvpscf.h
字号:
* in the BORDERDENSITY entry for the printer with the given * target ID from the configuration file. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @return number of values if entry present in the config file, 0 otherwise. */ Uint32 getTargetPrinterNumberOfBorderDensities(const char *targetID); /** returns one value from the BORDERDENSITY entry for the printer * with the given target ID from the configuration file. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @param idx index of the value, must be < getTargetPrinterNumberOfBorderDensities(targetID) * @param value the result is both stored in this object and returned as return value. * @return value if present, NULL otherwise. */ const char *getTargetPrinterBorderDensity(const char *targetID, Uint32 idx, OFString& value); /** returns the number of distinct values (separated by backslash characters) * in the MAXDENSITY entry for the printer with the given * target ID from the configuration file. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @return number of values if entry present in the config file, 0 otherwise. */ Uint32 getTargetPrinterNumberOfMaxDensities(const char *targetID); /** returns one value from the MAXDENSITY entry for the printer * with the given target ID from the configuration file. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @param idx index of the value, must be < getTargetPrinterNumberOfMaxDensities(targetID) * @param value the result is both stored in this object and returned as return value. * @return value if present, NULL otherwise. */ const char *getTargetPrinterMaxDensity(const char *targetID, Uint32 idx, OFString& value); /** returns the number of distinct values (separated by backslash characters) * in the MINDENSITY entry for the printer with the given * target ID from the configuration file. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @return number of values if entry present in the config file, 0 otherwise. */ Uint32 getTargetPrinterNumberOfMinDensities(const char *targetID); /** returns one value from the MINDENSITY entry for the printer * with the given target ID from the configuration file. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @param idx index of the value, must be < getTargetPrinterNumberOfMinDensities(targetID) * @param value the result is both stored in this object and returned as return value. * @return value if present, NULL otherwise. */ const char *getTargetPrinterMinDensity(const char *targetID, Uint32 idx, OFString& value); /** returns the number of distinct values (separated by backslash characters) * in the DISPLAYFORMAT entry for the printer with the given * target ID from the configuration file. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @return number of values if entry present in the config file, 0 otherwise. */ Uint32 getTargetPrinterNumberOfPortraitDisplayFormats(const char *targetID); /** returns one row value from the DISPLAYFORMAT entry for the printer * with the given target ID from the configuration file. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @param idx index of the value, must be < getTargetPrinterNumberOfPortraitDisplayFormats(targetID) * @return number of rows for this display format if present, 0 otherwise */ Uint32 getTargetPrinterPortraitDisplayFormatRows(const char *targetID, Uint32 idx); /** returns one columns value from the DISPLAYFORMAT entry for the printer * with the given target ID from the configuration file. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @param idx index of the value, must be < getTargetPrinterNumberOfPortraitDisplayFormats(targetID) * @return number of columns for this display format if present, 0 otherwise */ Uint32 getTargetPrinterPortraitDisplayFormatColumns(const char *targetID, Uint32 idx); /** returns OFTrue if an ANNOTATION entry for the printer with the given * target ID from the configuration file exists or if the * SESSIONLABELANNOTATION flag is true for the printer. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @return OFTrue if printer supports annotation, OFFalse otherwise. */ OFBool getTargetPrinterSupportsAnnotation(const char *targetID); /** returns OFTrue if an ANNOTATION entry for the printer with the given * target ID from the configuration file exists. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @return OFTrue if printer supports annotation, OFFalse otherwise. */ OFBool getTargetPrinterSupportsAnnotationBoxSOPClass(const char *targetID); /** returns OFTrue if an SESSIONLABELANNOTATION entry for the printer * with the given target ID from the configuration file exists and is true. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @return OFTrue if printer supports annotations in film session label, OFFalse otherwise. */ OFBool getTargetPrinterSessionLabelAnnotation(const char *targetID); /** returns the second value from the ANNOTATION entry for the printer * with the given target ID from the configuration file. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @param value the result is both stored in this object and returned as return value. * @return value if present, NULL otherwise. */ const char *getTargetPrinterAnnotationDisplayFormatID(const char *targetID, OFString& value); /** returns the first value from the ANNOTATION entry for the printer * with the given target ID from the configuration file. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @return value if present, 0 otherwise. */ Uint16 getTargetPrinterAnnotationPosition(const char *targetID); /** returns the number of distinct values (separated by backslash characters) * in the FILMSIZEID entry for the printer with the given * target ID from the configuration file. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @return number of values if entry present in the config file, 0 otherwise. */ Uint32 getTargetPrinterNumberOfFilmSizeIDs(const char *targetID); /** returns one value from the FILMSIZEID entry for the printer * with the given target ID from the configuration file. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @param idx index of the value, must be < getTargetPrinterNumberOfFilmSizeIDs(targetID) * @param value the result is both stored in this object and returned as return value. * @return value if present, NULL otherwise. */ const char *getTargetPrinterFilmSizeID(const char *targetID, Uint32 idx, OFString& value); /** returns the number of distinct values (separated by backslash characters) * in the MEDIUMTYPE entry for the printer with the given * target ID from the configuration file. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @return number of values if entry present in the config file, 0 otherwise. */ Uint32 getTargetPrinterNumberOfMediumTypes(const char *targetID); /** returns one value from the MEDIUMTYPE entry for the printer * with the given target ID from the configuration file. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @param idx index of the value, must be < getTargetPrinterNumberOfMediumTypes(targetID) * @param value the result is both stored in this object and returned as return value. * @return value if present, NULL otherwise. */ const char *getTargetPrinterMediumType(const char *targetID, Uint32 idx, OFString& value); /** returns the number of distinct values (separated by backslash characters) * in the FILMDESTINATION entry for the printer with the given * target ID from the configuration file. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @return number of values if entry present in the config file, 0 otherwise. */ Uint32 getTargetPrinterNumberOfFilmDestinations(const char *targetID); /** returns one value from the FILMDESTINATION entry for the printer * with the given target ID from the configuration file. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @param idx index of the value, must be < getTargetPrinterNumberOfFilmDestinations(targetID) * @param value the result is both stored in this object and returned as return value. * @return value if present, NULL otherwise. */ const char *getTargetPrinterFilmDestination(const char *targetID, Uint32 idx, OFString& value); /** returns the number of distinct values (separated by backslash characters) * in the RESOLUTIONID entry for the printer with the given * target ID from the configuration file. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @return number of values if entry present in the config file, 0 otherwise. */ Uint32 getTargetPrinterNumberOfPrinterResolutionIDs(const char *targetID); /** returns one value from the RESOLUTIONID entry for the printer * with the given target ID from the configuration file. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @param idx index of the value, must be < getTargetPrinterNumberOfPrinterResolutionIDs(targetID) * @param value the result is both stored in this object and returned as return value. * @return value if present, NULL otherwise. */ const char *getTargetPrinterResolutionID(const char *targetID, Uint32 idx, OFString& value); /** returns the number of distinct values (separated by backslash characters) * in the MAGNIFICATIONTYPE entry for the printer with the given * target ID from the configuration file. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @return number of values if entry present in the config file, 0 otherwise. */ Uint32 getTargetPrinterNumberOfMagnificationTypes(const char *targetID); /** returns one value from the MAGNIFICATIONTYPE entry for the printer * with the given target ID from the configuration file. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @param idx index of the value, must be < getTargetPrinterNumberOfMagnificationTypes(targetID) * @param value the result is both stored in this object and returned as return value. * @return value if present, NULL otherwise. */ const char *getTargetPrinterMagnificationType(const char *targetID, Uint32 idx, OFString& value); /** returns the number of distinct values (separated by backslash characters) * in the SMOOTHINGTYPE entry for the printer with the given * target ID from the configuration file. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @return number of values if entry present in the config file, 0 otherwise. */ Uint32 getTargetPrinterNumberOfSmoothingTypes(const char *targetID); /** returns one value from the SMOOTHINGTYPE entry for the printer * with the given target ID from the configuration file. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @param idx index of the value, must be < getTargetPrinterNumberOfSmoothingTypes(targetID) * @param value the result is both stored in this object and returned as return value. * @return value if present, NULL otherwise. */ const char *getTargetPrinterSmoothingType(const char *targetID, Uint32 idx, OFString& value); /** returns the number of distinct values in the CONFIGURATION_x entries * for the printer with the given target ID from the configuration file. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @return number of values if entry present in the config file, 0 otherwise. */ Uint32 getTargetPrinterNumberOfConfigurationSettings(const char *targetID); /** returns the value from one of the CONFIGURATION_x entries for the printer * with the given target ID from the configuration file. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @param idx index of the value, must be < getTargetPrinterNumberOfConfigurationSettings(targetID) * @return value if present, NULL otherwise. */ const char *getTargetPrinterConfigurationSetting(const char *targetID, Uint32 idx); /** returns the number of distinct values (separated by backslash characters) * in the EMPTYIMAGEDENSITY entry for the printer with the given * target ID from the configuration file. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @return number of values if entry present in the config file, 0 otherwise. */ Uint32 getTargetPrinterNumberOfEmptyImageDensities(const char *targetID); /** returns one value from the EMPTYIMAGEDENSITY entry for the printer * with the given target ID from the configuration file. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @param idx index of the value, must be < getTargetPrinterNumberOfEmptyImageDensities(targetID) * @param value the result is both stored in this object and returned as return value. * @return value if present, NULL otherwise. */ const char *getTargetPrinterEmptyImageDensity(const char *targetID, Uint32 idx, OFString& value); /** returns the OMITSOPCLASSUIDFROMCREATERESPONSE entry for the printer with the given * target ID from the configuration file. * @param targetID communication target ID, must be one of the target * identifiers returned by getTargetID() for peer type DVPSE_printerAny. * @return entry if present in the config file, OFFalse otherwise. */ OFBool getTargetPrintSCPOmitSOPClassUIDFromCreateResponse(const char *targetID); /* general settings */ /** returns the directory used to store log files. * Value is taken from the section GENERAL/APPLICATION/LOGDIRECTORY * in the config file. * @return log directory path, NULL if absent. */ const char *getLogFolder(); /** returns the name of the log file to be used for general application messages. * Value is taken from the section GENERAL/APPLICATION/LOGFILE * in the config file. * @return name of the log file, NULL if absent. */ const char *getLogFile(); /** returns the log level / filter to be used for general application messages. * Value is taken from the section GENERAL/APPLICATION/LOGLEVEL * in the config file. * @return log level, default: DVPSM_none. */ DVPSLogMessageLevel getLogLevel(); /** returns the port on which the GUI application accepts notification * messages from the network processes. * Value is taken from the section GENERAL/APPLICATION/MESSAGEPORT * in the config file. * @return message port, default: 0 (no message exchange). */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -