summaryrefslogtreecommitdiff
path: root/include/vcl/print.hxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2014-02-04 19:55:39 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-05 09:14:53 +0000
commit51a68b4992c6eb7015d838d1fdf9fc84ec0fa5d2 (patch)
tree3fe907e6cdefffc48000197ec7f94d9f8c104858 /include/vcl/print.hxx
parent651756a5f40b6340518e97a31113cb59438ab40d (diff)
Doxygen warnings corrected
* Doxygen spits out a lot of warnings about not being able to find match function signatures, etc. This is because in some headers we have a using namespace statement, in others it gets confused between ::Window and Window (!). * Wrong use of tags: + Lots of @seealso - should be @see + Wrong usage of @overload - corrected with the right function signature + HTML tags that doxygen doesn't recognize removed Change-Id: I1c2eed941619b8764dbfcfc5ab38027518cdf261
Diffstat (limited to 'include/vcl/print.hxx')
-rw-r--r--include/vcl/print.hxx66
1 files changed, 33 insertions, 33 deletions
diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx
index e0e113519bf5..93595fcfbc2c 100644
--- a/include/vcl/print.hxx
+++ b/include/vcl/print.hxx
@@ -438,13 +438,13 @@ public:
For convenience a second sequence will be merged in to get a combined sequence.
In case of duplicate property names, the value of i_MergeList wins.
*/
- com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >
- getJobProperties( const com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >& i_rMergeList ) const;
+ css::uno::Sequence< css::beans::PropertyValue >
+ getJobProperties( const css::uno::Sequence< css::beans::PropertyValue >& i_rMergeList ) const;
/* get the PropertyValue of a Property
*/
- com::sun::star::beans::PropertyValue* getValue( const OUString& i_rPropertyName );
- const com::sun::star::beans::PropertyValue* getValue( const OUString& i_rPropertyName ) const;
+ css::beans::PropertyValue* getValue( const OUString& i_rPropertyName );
+ const css::beans::PropertyValue* getValue( const OUString& i_rPropertyName ) const;
/* get a bool property
in case the property is unknown or not convertible to bool, i_bFallback is returned
*/
@@ -456,16 +456,16 @@ public:
/* set a property value - can also be used to add another UI property
*/
- void setValue( const OUString& i_rPropertyName, const com::sun::star::uno::Any& i_rValue );
- void setValue( const com::sun::star::beans::PropertyValue& i_rValue );
+ void setValue( const OUString& i_rPropertyName, const css::uno::Any& i_rValue );
+ void setValue( const css::beans::PropertyValue& i_rValue );
/* return the currently active UI options. These are the same that were passed to setUIOptions.
*/
- const com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >& getUIOptions() const;
+ const css::uno::Sequence< css::beans::PropertyValue >& getUIOptions() const;
/* set possible UI options. should only be done once before passing the PrinterListener
to Printer::PrintJob
*/
- void setUIOptions( const com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >& );
+ void setUIOptions( const css::uno::Sequence< css::beans::PropertyValue >& );
/* enable/disable an option; this can be used to implement dialog logic.
*/
bool isUIOptionEnabled( const OUString& rPropName ) const;
@@ -492,7 +492,7 @@ public:
the paper size.
*/
// must be overloaded by the app, return page size in 1/100th mm
- virtual com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue > getPageParameters( int i_nPage ) const = 0;
+ virtual css::uno::Sequence< css::beans::PropertyValue > getPageParameters( int i_nPage ) const = 0;
virtual void printPage( int i_nPage ) const = 0; // must be overloaded by the app
virtual void jobStarted(); // will be called after a possible dialog has been shown and the real printjob starts
virtual void jobFinished( com::sun::star::view::PrintableState );
@@ -529,7 +529,7 @@ public:
SAL_DLLPRIVATE bool setupPrinter( Window* i_pDlgParent );
SAL_DLLPRIVATE int getPageCountProtected() const;
- SAL_DLLPRIVATE com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue > getPageParametersProtected( int i_nPage ) const;
+ SAL_DLLPRIVATE css::uno::Sequence< css::beans::PropertyValue > getPageParametersProtected( int i_nPage ) const;
SAL_DLLPRIVATE sal_uLong removeTransparencies( GDIMetaFile& i_rIn, GDIMetaFile& o_rOut );
SAL_DLLPRIVATE void resetPrinterOptions( bool i_bFileOutput );
@@ -538,12 +538,12 @@ public:
class VCL_DLLPUBLIC PrinterOptionsHelper
{
protected:
- boost::unordered_map< OUString, com::sun::star::uno::Any, OUStringHash > m_aPropertyMap;
- com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue > m_aUIProperties;
+ boost::unordered_map< OUString, css::uno::Any, OUStringHash > m_aPropertyMap;
+ css::uno::Sequence< css::beans::PropertyValue > m_aUIProperties;
public:
PrinterOptionsHelper() {} // create without ui properties
- PrinterOptionsHelper( const com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >& i_rUIProperties )
+ PrinterOptionsHelper( const css::uno::Sequence< css::beans::PropertyValue >& i_rUIProperties )
: m_aUIProperties( i_rUIProperties )
{}
~PrinterOptionsHelper()
@@ -553,16 +553,16 @@ class VCL_DLLPUBLIC PrinterOptionsHelper
* merges changed properties and returns "true" if any occurred
* if the optional output set is not NULL then the names of the changed properties are returned
**/
- bool processProperties( const com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >& i_rNewProp,
+ bool processProperties( const css::uno::Sequence< css::beans::PropertyValue >& i_rNewProp,
std::set< OUString >* o_pChangeProp = NULL );
/* append to a sequence of property values the ui property sequence passed at creation
* as the "ExtraPrintUIOptions" property. if that sequence was empty, no "ExtraPrintUIOptions" property
* will be appended.
**/
- void appendPrintUIOptions( com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >& io_rProps ) const;
+ void appendPrintUIOptions( css::uno::Sequence< css::beans::PropertyValue >& io_rProps ) const;
// returns an empty Any for not existing properties
- com::sun::star::uno::Any getValue( const OUString& i_rPropertyName ) const;
+ css::uno::Any getValue( const OUString& i_rPropertyName ) const;
sal_Bool getBoolValue( const OUString& i_rPropertyName, sal_Bool i_bDefault = sal_False ) const;
// convenience for fixed strings
@@ -588,7 +588,7 @@ class VCL_DLLPUBLIC PrinterOptionsHelper
OUString maGroupHint;
sal_Bool mbInternalOnly;
sal_Bool mbEnabled;
- com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue > maAddProps;
+ css::uno::Sequence< css::beans::PropertyValue > maAddProps;
UIControlOptions( const OUString& i_rDependsOnName = OUString(),
sal_Int32 i_nDependsOnEntry = -1,
@@ -612,27 +612,27 @@ class VCL_DLLPUBLIC PrinterOptionsHelper
// transported via UTF16 strings.
// Show general control
- static com::sun::star::uno::Any setUIControlOpt( const com::sun::star::uno::Sequence< OUString >& i_rIDs,
+ static css::uno::Any setUIControlOpt( const css::uno::Sequence< OUString >& i_rIDs,
const OUString& i_rTitle,
- const com::sun::star::uno::Sequence< OUString >& i_rHelpId,
+ const css::uno::Sequence< OUString >& i_rHelpId,
const OUString& i_rType,
- const com::sun::star::beans::PropertyValue* i_pValue = NULL,
+ const css::beans::PropertyValue* i_pValue = NULL,
const UIControlOptions& i_rControlOptions = UIControlOptions()
);
// Show and set the title of a TagPage of id i_rID
- static com::sun::star::uno::Any setGroupControlOpt(const OUString& i_rID,
+ static css::uno::Any setGroupControlOpt(const OUString& i_rID,
const OUString& i_rTitle,
const OUString& i_rHelpId);
// Show and set the label of a VclFrame of id i_rID
- static com::sun::star::uno::Any setSubgroupControlOpt(const OUString& i_rID,
+ static css::uno::Any setSubgroupControlOpt(const OUString& i_rID,
const OUString& i_rTitle,
const OUString& i_rHelpId,
const UIControlOptions& i_rControlOptions = UIControlOptions());
// Show a bool option as a checkbox
- static com::sun::star::uno::Any setBoolControlOpt(const OUString& i_rID,
+ static css::uno::Any setBoolControlOpt(const OUString& i_rID,
const OUString& i_rTitle,
const OUString& i_rHelpId,
const OUString& i_rProperty,
@@ -640,29 +640,29 @@ class VCL_DLLPUBLIC PrinterOptionsHelper
const UIControlOptions& i_rControlOptions = UIControlOptions());
// Show a set of choices in a list box
- static com::sun::star::uno::Any setChoiceListControlOpt(const OUString& i_rID,
+ static css::uno::Any setChoiceListControlOpt(const OUString& i_rID,
const OUString& i_rTitle,
- const com::sun::star::uno::Sequence< OUString >& i_rHelpId,
+ const css::uno::Sequence< OUString >& i_rHelpId,
const OUString& i_rProperty,
- const com::sun::star::uno::Sequence< OUString >& i_rChoices,
+ const css::uno::Sequence< OUString >& i_rChoices,
sal_Int32 i_nValue,
- const com::sun::star::uno::Sequence< sal_Bool >& i_rDisabledChoices = com::sun::star::uno::Sequence< sal_Bool >(),
+ const css::uno::Sequence< sal_Bool >& i_rDisabledChoices = css::uno::Sequence< sal_Bool >(),
const UIControlOptions& i_rControlOptions = UIControlOptions());
// show a set of choices as radio buttons
- static com::sun::star::uno::Any setChoiceRadiosControlOpt(const com::sun::star::uno::Sequence< OUString >& i_rIDs,
+ static css::uno::Any setChoiceRadiosControlOpt(const css::uno::Sequence< OUString >& i_rIDs,
const OUString& i_rTitle,
- const com::sun::star::uno::Sequence< OUString >& i_rHelpId,
+ const css::uno::Sequence< OUString >& i_rHelpId,
const OUString& i_rProperty,
- const com::sun::star::uno::Sequence< OUString >& i_rChoices,
+ const css::uno::Sequence< OUString >& i_rChoices,
sal_Int32 i_nValue,
- const com::sun::star::uno::Sequence< sal_Bool >& i_rDisabledChoices = com::sun::star::uno::Sequence< sal_Bool >(),
+ const css::uno::Sequence< sal_Bool >& i_rDisabledChoices = css::uno::Sequence< sal_Bool >(),
const UIControlOptions& i_rControlOptions = UIControlOptions());
// show an integer range (e.g. a spin field)
// note: max value < min value means do not apply min/max values
- static com::sun::star::uno::Any setRangeControlOpt(const OUString& i_rID,
+ static css::uno::Any setRangeControlOpt(const OUString& i_rID,
const OUString& i_rTitle,
const OUString& i_rHelpId,
const OUString& i_rProperty,
@@ -673,7 +673,7 @@ class VCL_DLLPUBLIC PrinterOptionsHelper
// show a string field
// note: max value < min value means do not apply min/max values
- static com::sun::star::uno::Any setEditControlOpt(const OUString& i_rID,
+ static css::uno::Any setEditControlOpt(const OUString& i_rID,
const OUString& i_rTitle,
const OUString& i_rHelpId,
const OUString& i_rProperty,