/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ * file * This * Licensed to the Apache * contributor license agreements. See the NOTICE * with this work * ownership. The ASF licenses * License, Version 2.0 * except in compliance with theche.org/licenses/LICENSE-2.0 . /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
PPDValue* insertValue <size_t);}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{ return
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 const*( n); const PPDValue* getValue( const OUString& rOption class;
ypedef:<,::<PPDKeyhash_type
v ( :unique_ptr> );
onst&( m_aGroup
/* * PPDParser - parses a PPD file and contains all available keys from it
*/
class PPDParser
{ friendclass CUPSManager friendclass CPDManager; friend
typedef:<OUString:unique_ptr>>;
void insertKey( public struct PPDConstraint
{ const PPDKey*/java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23 constconst* ; const* ; constPPDValue;
PPDConstraintjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}; private:
std::vector
:tdvector ;
// the full path of the PPD file
OUString m_aFilevoid( OStringrLine // some basic attributes
rtl_TextEncoding m_aFileEncoding;
// shortcuts to important keys and their default values // imageable area const PPDKey* m_pImageableAreas; // paper dimensions
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 const* java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67 // paper trays const PPDValue* m_pDefaultInputSlot;
/java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18 constPPDValue m_pDefaultResolution
void parseOrderDependency(constjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 void parseOpenUI(const OString& rLine, std{((,rWidth)}
( & ); void parse( std::vectorint , & )const
handleTranslation& , i_bIsGlobalized
staticvoid scanPPDDir static , , :orientation )const staticOUString( & )java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
OUString matchPaperImpli &,int );
public
~PPDParser() staticconst PPDParser
const &getDefaultInputSlot; const PPDKey* getKey( const OUString&java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 int getKeys() const { return m_aKeys java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20 bool hasKey
const ::std: (std i_rKey
const OUString & getDefaultPaperDimension() const;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{ getPaperDimension( getDefaultPaperDimension(), rWidth, java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 27 bool getPaperDimension :unordered_mapconst*,constPPDValue >;
hash_type; // width and height in pt
/ falsenot
// match the best paper for width and height
(int, ,:orientation = )const
bool getMargins( std::u16string_view rPaperName (PPDKey * )
(const* bDefaultable ) int(const& ){operator )} // values in pt // returns true if paper found = &&rContext
const OUString &const*getParserconst ;
void getDefaultResolution( int& rXRes, int& rYRes ) const;
/valuesdpi staticvoid getResolutionFromString( std::u16string_view, int = ) // helper function
PPDKey( :: n ;
OUString translateOption
// wrapper private
};
/* * PPDContext - a class to manage user definable states based on the * contents of a PPDParser.
*/
/ java.lang.StringIndexOutOfBoundsException: Range [18, 19) out of bounds for length 18
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}
hash_type
}// namespace
// returns false: check failed, new value is constrained // true: check succeeded, new value can be set bool checkConstraints( const PPDKey*, const PPDValue*, bool bDoReset ); bool resetValue( const PPDKey*, bool bDefaultable = false ); public:
PPDContext();
PPDContext( const PPDContext& rContext ) { operator=( rContext ); }
PPDContext& operator=( const PPDContext& rContext ) = default;
PPDContext& operator=( PPDContext&& rContext );
// width, height in points, paper will contain the name of the selected // paper after the call void getPageSize( OUString& rPaper, int& rWidth, int& rHeight ) const;
};
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.