calc55: #i112094# chart data table dialog cannot be disabled via UNO API
This commit is contained in:
parent
d77d2195dd
commit
004a866033
1 changed files with 18 additions and 1 deletions
|
@ -160,7 +160,9 @@ enum
|
|||
PROP_DOCUMENT_BASEDIAGRAM,
|
||||
PROP_DOCUMENT_ADDITIONAL_SHAPES,
|
||||
PROP_DOCUMENT_UPDATE_ADDIN,
|
||||
PROP_DOCUMENT_NULL_DATE
|
||||
PROP_DOCUMENT_NULL_DATE,
|
||||
PROP_DOCUMENT_DISABLE_COMPLEX_CHARTTYPES,
|
||||
PROP_DOCUMENT_DISABLE_DATATABLE_DIALOG
|
||||
};
|
||||
|
||||
void lcl_AddPropertiesToVector(
|
||||
|
@ -231,6 +233,19 @@ void lcl_AddPropertiesToVector(
|
|||
PROP_DOCUMENT_NULL_DATE,
|
||||
::getCppuType( static_cast< const ::com::sun::star::util::DateTime * >(0)),
|
||||
beans::PropertyAttribute::MAYBEVOID ));
|
||||
|
||||
rOutProperties.push_back(
|
||||
Property( C2U( "DisableComplexChartTypes" ),
|
||||
PROP_DOCUMENT_DISABLE_COMPLEX_CHARTTYPES,
|
||||
::getBooleanCppuType(),
|
||||
beans::PropertyAttribute::BOUND
|
||||
| beans::PropertyAttribute::MAYBEDEFAULT ) );
|
||||
rOutProperties.push_back(
|
||||
Property( C2U( "DisableDataTableDialog" ),
|
||||
PROP_DOCUMENT_DISABLE_DATATABLE_DIALOG,
|
||||
::getBooleanCppuType(),
|
||||
beans::PropertyAttribute::BOUND
|
||||
| beans::PropertyAttribute::MAYBEDEFAULT ) );
|
||||
}
|
||||
|
||||
const uno::Sequence< Property > & lcl_GetPropertySequence()
|
||||
|
@ -1570,6 +1585,8 @@ const std::vector< WrappedProperty* > ChartDocumentWrapper::createWrappedPropert
|
|||
aWrappedProperties.push_back( new WrappedAdditionalShapesProperty( *this ) );
|
||||
aWrappedProperties.push_back( new WrappedRefreshAddInAllowedProperty( *this ) );
|
||||
aWrappedProperties.push_back( new WrappedIgnoreProperty( C2U("NullDate"),Any() ) ); // i99104
|
||||
aWrappedProperties.push_back( new WrappedIgnoreProperty( C2U( "DisableComplexChartTypes" ), uno::makeAny( sal_False ) ) );
|
||||
aWrappedProperties.push_back( new WrappedIgnoreProperty( C2U( "DisableDataTableDialog" ), uno::makeAny( sal_False ) ) );
|
||||
|
||||
return aWrappedProperties;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue