LibreOffice Module vcl (master)
1
|
#include <ppdparser.hxx>
Public Member Functions | |
PPDContext () | |
PPDContext (const PPDContext &rContext) | |
PPDContext & | operator= (const PPDContext &rContext)=default |
PPDContext & | operator= (PPDContext &&rContext) |
void | setParser (const PPDParser *) |
const PPDParser * | getParser () const |
const PPDValue * | getValue (const PPDKey *) const |
const PPDValue * | setValue (const PPDKey *, const PPDValue *, bool bDontCareForConstraints=false) |
std::size_t | countValuesModified () const |
const PPDKey * | getModifiedKey (std::size_t n) const |
bool | checkConstraints (const PPDKey *, const PPDValue *) |
char * | getStreamableBuffer (sal_uLong &rBytes) const |
void | rebuildFromStreamBuffer (const std::vector< char > &rBuffer) |
int | getRenderResolution () const |
void | getPageSize (OUString &rPaper, int &rWidth, int &rHeight) const |
Private Types | |
typedef std::unordered_map< const PPDKey *, const PPDValue *, PPDKeyhash > | hash_type |
Private Member Functions | |
bool | checkConstraints (const PPDKey *, const PPDValue *, bool bDoReset) |
bool | resetValue (const PPDKey *, bool bDefaultable=false) |
Private Attributes | |
hash_type | m_aCurrentValues |
const PPDParser * | m_pParser |
Definition at line 231 of file ppdparser.hxx.
|
private |
Definition at line 233 of file ppdparser.hxx.
psp::PPDContext::PPDContext | ( | ) |
|
inline |
Definition at line 243 of file ppdparser.hxx.
References operator=().
|
private |
|
inline |
Definition at line 253 of file ppdparser.hxx.
const PPDKey* psp::PPDContext::getModifiedKey | ( | std::size_t | n | ) | const |
|
inline |
Definition at line 248 of file ppdparser.hxx.
References m_pParser.
int psp::PPDContext::getRenderResolution | ( | ) | const |
char* psp::PPDContext::getStreamableBuffer | ( | sal_uLong & | rBytes | ) | const |
|
default |
Referenced by PPDContext().
PPDContext& psp::PPDContext::operator= | ( | PPDContext && | rContext | ) |
void psp::PPDContext::rebuildFromStreamBuffer | ( | const std::vector< char > & | rBuffer | ) |
|
private |
const PPDValue* psp::PPDContext::setValue | ( | const PPDKey * | , |
const PPDValue * | , | ||
bool | bDontCareForConstraints = false |
||
) |
|
private |
Definition at line 234 of file ppdparser.hxx.
|
private |
Definition at line 235 of file ppdparser.hxx.
Referenced by getParser().