formpdfexport.cxx (b0724fc6) | formpdfexport.cxx (3d762826) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 269 unchanged lines hidden (view full) --- 278 } 279 280 //-------------------------------------------------------------------- 281 /** creates a PDF compatible control descriptor for the given control 282 */ 283 void TOOLKIT_DLLPUBLIC describePDFControl( const Reference< XControl >& _rxControl, 284 ::std::auto_ptr< ::vcl::PDFWriter::AnyWidget >& _rpDescriptor, ::vcl::PDFExtOutDevData& i_pdfExportData ) SAL_THROW(()) 285 { | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 269 unchanged lines hidden (view full) --- 278 } 279 280 //-------------------------------------------------------------------- 281 /** creates a PDF compatible control descriptor for the given control 282 */ 283 void TOOLKIT_DLLPUBLIC describePDFControl( const Reference< XControl >& _rxControl, 284 ::std::auto_ptr< ::vcl::PDFWriter::AnyWidget >& _rpDescriptor, ::vcl::PDFExtOutDevData& i_pdfExportData ) SAL_THROW(()) 285 { |
286 _rpDescriptor.reset( NULL ); | 286 _rpDescriptor.reset(); |
287 OSL_ENSURE( _rxControl.is(), "describePDFControl: invalid (NULL) control!" ); 288 if ( !_rxControl.is() ) 289 return; 290 291 try 292 { 293 Reference< XPropertySet > xModelProps( _rxControl->getModel(), UNO_QUERY ); 294 sal_Int16 nControlType = classifyFormControl( xModelProps ); --- 329 unchanged lines hidden --- | 287 OSL_ENSURE( _rxControl.is(), "describePDFControl: invalid (NULL) control!" ); 288 if ( !_rxControl.is() ) 289 return; 290 291 try 292 { 293 Reference< XPropertySet > xModelProps( _rxControl->getModel(), UNO_QUERY ); 294 sal_Int16 nControlType = classifyFormControl( xModelProps ); --- 329 unchanged lines hidden --- |