#include <ppdparser.hxx>
|
| | ~PPDParser () |
| |
| const PPDKey * | getKey (int n) const |
| |
| const PPDKey * | getKey (const OUString &rKey) const |
| |
| int | getKeys () const |
| |
| bool | hasKey (const PPDKey *) const |
| |
| const ::std::vector< PPDConstraint > & | getConstraints () const |
| |
| bool | isColorDevice () const |
| |
| bool | isType42Capable () const |
| |
| sal_uLong | getLanguageLevel () const |
| |
| OUString | getDefaultPaperDimension () const |
| |
| void | getDefaultPaperDimension (int &rWidth, int &rHeight) const |
| |
| bool | getPaperDimension (std::u16string_view rPaperName, int &rWidth, int &rHeight) const |
| |
| OUString | matchPaper (int nWidth, int nHeight, psp::orientation *pOrientation=nullptr) const |
| |
| bool | getMargins (std::u16string_view rPaperName, int &rLeft, int &rRight, int &rUpper, int &rLower) const |
| |
| OUString | getDefaultInputSlot () const |
| |
| void | getDefaultResolution (int &rXRes, int &rYRes) const |
| |
| OUString | translateKey (const OUString &i_rKey) const |
| |
| OUString | translateOption (std::u16string_view i_rKey, const OUString &i_rOption) const |
| |
Definition at line 119 of file ppdparser.hxx.
◆ hash_type
◆ value_type
◆ PPDParser() [1/2]
| psp::PPDParser::PPDParser |
( |
OUString |
aFile | ) |
|
|
private |
◆ PPDParser() [2/2]
| psp::PPDParser::PPDParser |
( |
OUString |
aFile, |
|
|
const std::vector< PPDKey * > & |
keys |
|
) |
| |
|
private |
◆ ~PPDParser()
| psp::PPDParser::~PPDParser |
( |
| ) |
|
◆ getConstraints()
| const ::std::vector< PPDConstraint > & psp::PPDParser::getConstraints |
( |
| ) |
const |
|
inline |
◆ getDefaultInputSlot()
| OUString psp::PPDParser::getDefaultInputSlot |
( |
| ) |
const |
◆ getDefaultPaperDimension() [1/2]
| OUString psp::PPDParser::getDefaultPaperDimension |
( |
| ) |
const |
◆ getDefaultPaperDimension() [2/2]
| void psp::PPDParser::getDefaultPaperDimension |
( |
int & |
rWidth, |
|
|
int & |
rHeight |
|
) |
| const |
|
inline |
◆ getDefaultResolution()
| void psp::PPDParser::getDefaultResolution |
( |
int & |
rXRes, |
|
|
int & |
rYRes |
|
) |
| const |
◆ getKey() [1/2]
| const PPDKey * psp::PPDParser::getKey |
( |
const OUString & |
rKey | ) |
const |
◆ getKey() [2/2]
| const PPDKey * psp::PPDParser::getKey |
( |
int |
n | ) |
const |
◆ getKeys()
| int psp::PPDParser::getKeys |
( |
| ) |
const |
|
inline |
◆ getLanguageLevel()
| sal_uLong psp::PPDParser::getLanguageLevel |
( |
| ) |
const |
|
inline |
◆ getMargins()
| bool psp::PPDParser::getMargins |
( |
std::u16string_view |
rPaperName, |
|
|
int & |
rLeft, |
|
|
int & |
rRight, |
|
|
int & |
rUpper, |
|
|
int & |
rLower |
|
) |
| const |
◆ getPaperDimension()
| bool psp::PPDParser::getPaperDimension |
( |
std::u16string_view |
rPaperName, |
|
|
int & |
rWidth, |
|
|
int & |
rHeight |
|
) |
| const |
◆ getParser()
| static const PPDParser * psp::PPDParser::getParser |
( |
const OUString & |
rFile | ) |
|
|
static |
◆ getPPDFile()
| static OUString psp::PPDParser::getPPDFile |
( |
const OUString & |
rFile | ) |
|
|
staticprivate |
◆ getResolutionFromString()
| static void psp::PPDParser::getResolutionFromString |
( |
std::u16string_view |
, |
|
|
int & |
, |
|
|
int & |
|
|
) |
| |
|
static |
◆ handleTranslation()
| OUString psp::PPDParser::handleTranslation |
( |
const OString & |
i_rString, |
|
|
bool |
i_bIsGlobalized |
|
) |
| |
|
private |
◆ hasKey()
| bool psp::PPDParser::hasKey |
( |
const PPDKey * |
| ) |
const |
◆ initPPDFiles()
| static void psp::PPDParser::initPPDFiles |
( |
PPDCache & |
rPPDCache | ) |
|
|
staticprivate |
◆ insertKey()
| void psp::PPDParser::insertKey |
( |
std::unique_ptr< PPDKey > |
pKey | ) |
|
|
private |
◆ isColorDevice()
| bool psp::PPDParser::isColorDevice |
( |
| ) |
const |
|
inline |
◆ isType42Capable()
| bool psp::PPDParser::isType42Capable |
( |
| ) |
const |
|
inline |
◆ matchPaper()
| OUString psp::PPDParser::matchPaper |
( |
int |
nWidth, |
|
|
int |
nHeight, |
|
|
psp::orientation * |
pOrientation = nullptr |
|
) |
| const |
◆ matchPaperImpl()
| OUString psp::PPDParser::matchPaperImpl |
( |
int |
nWidth, |
|
|
int |
nHeight, |
|
|
bool |
bDontSwap = false, |
|
|
psp::orientation * |
pOrientation = nullptr |
|
) |
| const |
|
private |
◆ parse()
| void psp::PPDParser::parse |
( |
std::vector< OString > & |
rLines | ) |
|
|
private |
◆ parseConstraint()
| void psp::PPDParser::parseConstraint |
( |
const OString & |
rLine | ) |
|
|
private |
◆ parseOpenUI()
| void psp::PPDParser::parseOpenUI |
( |
const OString & |
rLine, |
|
|
std::string_view |
rPPDGroup |
|
) |
| |
|
private |
◆ parseOrderDependency()
| void psp::PPDParser::parseOrderDependency |
( |
const OString & |
rLine | ) |
|
|
private |
◆ scanPPDDir()
| static void psp::PPDParser::scanPPDDir |
( |
const OUString & |
rDir | ) |
|
|
staticprivate |
◆ translateKey()
| OUString psp::PPDParser::translateKey |
( |
const OUString & |
i_rKey | ) |
const |
◆ translateOption()
| OUString psp::PPDParser::translateOption |
( |
std::u16string_view |
i_rKey, |
|
|
const OUString & |
i_rOption |
|
) |
| const |
◆ CPDManager
◆ CUPSManager
◆ PPDCache
◆ PPDContext
◆ m_aConstraints
◆ m_aFile
| OUString psp::PPDParser::m_aFile |
|
private |
◆ m_aFileEncoding
| rtl_TextEncoding psp::PPDParser::m_aFileEncoding |
|
private |
◆ m_aKeys
◆ m_aOrderedKeys
◆ m_bColorDevice
| bool psp::PPDParser::m_bColorDevice |
|
private |
◆ m_bType42Capable
| bool psp::PPDParser::m_bType42Capable |
|
private |
◆ m_nLanguageLevel
◆ m_pDefaultInputSlot
| const PPDValue* psp::PPDParser::m_pDefaultInputSlot |
|
private |
◆ m_pDefaultPaperDimension
| const PPDValue* psp::PPDParser::m_pDefaultPaperDimension |
|
private |
◆ m_pDefaultResolution
| const PPDValue* psp::PPDParser::m_pDefaultResolution |
|
private |
◆ m_pImageableAreas
| const PPDKey* psp::PPDParser::m_pImageableAreas |
|
private |
◆ m_pPaperDimensions
| const PPDKey* psp::PPDParser::m_pPaperDimensions |
|
private |
◆ m_pTranslator
| std::unique_ptr<PPDTranslator> psp::PPDParser::m_pTranslator |
|
private |
The documentation for this class was generated from the following file: