using ::com::sun::star::uno::Exception; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::UNO_QUERY_THROW; using ::com::sun::star::uno::UNO_SET_THROW; using ::com::sun::star::frame::Desktop; using ::com::sun::star::frame::XDesktop2; using ::com::sun::star::container::XEnumeration; using ::com::sun::star::frame::XModel; using ::com::sun::star::frame::XFrames; using ::com::sun::star::frame::XController; using ::com::sun::star::frame::XModel2; using ::com::sun::star::uno::UNO_QUERY; using ::com::sun::star::uno::Sequence; using ::com::sun::star::frame::XFrame;
Reference< XModel > xModel( xController->getModel() ); if ( !xModel.is() ) // though it's legal for a controller to not have a model, we're not interested in // those continue;
if ( !aEncounteredModels.insert( xModel ).second ) // there might be multiple frames for the same model // handle it only once continue;
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.