class SalGraphics; class ImplJobSetup; namespace vcl { class PrinterController; } namespace weld { class Window; }
struct VCL_PLUGIN_PUBLIC SalPrinterQueueInfo
{
OUString maPrinterName;
OUString maDriver;
OUString maLocation;
OUString maComment;
PrintQueueFlags mnStatus;
sal_uInt32 mnJobs;
std::optional<OUString> moPortName; // only used by Windows backend
SalPrinterQueueInfo();
~SalPrinterQueueInfo();
};
class VCL_PLUGIN_PUBLIC SalInfoPrinter
{ public:
std::vector< PaperInfo > m_aPaperFormats; // all printer supported formats bool m_bPapersInit; // set to true after InitPaperFormats
// SalGraphics or NULL, but two Graphics for all SalFrames // must be returned virtual SalGraphics* AcquireGraphics() = 0; virtualvoid ReleaseGraphics( SalGraphics* pGraphics ) = 0;
virtualbool Setup(weld::Window* pFrame, ImplJobSetup* pSetupData) = 0; // This function set the driver data and // set the new indepen data in pSetupData virtualbool SetPrinterData( ImplJobSetup* pSetupData ) = 0; // This function merged the indepen driver data // and set the new indepen data in pSetupData // Only the data must changed, where the bit // in nFlags is set virtualbool SetData( JobSetFlags nFlags, ImplJobSetup* pSetupData ) = 0;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.