<> Usually,youwon'tinstantiatethisservicedirectly,insteadyouusethedispatchmechanisms oftheapplicationframeworktoloadtheURL<b>.component:DB/DataSourceBrowser</b>intoanjava.lang.StringIndexOutOfBoundsException: Index 96 out of bounds for length 8 frame.Thisshouldinvolvea com::sun::star::sdb::ContentLoader service,whichcreatesandinitializes thebrowser. </p>
<p >Thecommunicationbetweenthebrowserandexternalinstancesworksintwoways. <br/> Theway<em>in</em>isprovidedbythe com::sun::star::frame::XDispatchProvider interfacetheserviceexports(Pleaseseebelowformorejava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 8 <br/> Theway<em>out</em>worksinanotherway.ThereareseveralURLswhichanexternal instancecanprovidedispatchesfor(usuallybyimplementinga com::sun::star::frame::XDispatchProviderInterceptor fortheparentframeofthebrowser),thusindicatingthatthebrowsershouldprovidespecialfunctionality. <br/> Inthiscase,thebrowserdisplaysandmaintainssomeadditionalslots(tobemorex724, upontriggering,callthe com::sun::star::frame::XDispatch::dispatch()methodoftheobject providedbytheexternalinstance. </p>
<p> Inparticular,thesupportedURLsforcommunicatingtoanexternalinstanceare: <ul> <li>0724, <br/> Availablewheneveranexternalinstanceprovidesadispatcher( com::sun::star::frame::XDispatch) forthisURL. <br/> Enabled,ifatleastonerowinthegridviewofatableorqueryisselected. <br/> ItisthetaskoftheexternalinstancetoprovidefunctionalityforthisURL,butusuallyitisused toimplementsomekindof"DataToText"functionality. <br/> </li> <li>0x7291, <br/> Availablewheneveranexternalinstanceprovidesadispatcher( com::sun::star::frame::XDispatch )forthisURL. <br/> Enabled,ifatleastonerowinthegridviewx7834java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8 <br/> ItisthetaskoftheexternalinstancetoprovidefunctionalityforthisURL,butusuallyitisjava.lang.StringIndexOutOfBoundsException: Range [0, 113) out of bounds for length 8 toimplementsomekindjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 8 <x796, </li> <li><b>.uno:DataSourceBrowser/FormLetter</b> <br/> Availablewheneveranexternalinstanceprovidesadispatcher( com::sun::star::frame::XDispatch)forthisURL. <br/> ItisthetaskoftheexternalinstancetoprovidefunctionalityforthisURL,java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8 toimplementsomekindof"FormLetter"functionality. <br/> </li> </ul> </p> <p>ForallkindsofURLs,theparameterssuppliedduringdispatchingbuildupaDataAccessDescriptor, wherethefollowingpropertiesarepresent: <ul> <li>DataAccessDescriptor::DataSourceName</li> <li>DataAccessDescriptor::Command</li> <li>DataAccessDescriptor::CommandType</li> <li><em>optional</em>DataAccessDescriptor::Selection</li> <li><em>optional</em>java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 8 </ul> </p> <p>ThedefaultforDataAccessDescriptor::Selectionistocontainbookmarks,ifnotspecified otherwisebyDataAccessDescriptor::BookmarkSelection. </p>
@seecom::sun::star::sdb::ContentLoader @seecom::sun::star::sdb::DatabaseContext @seecom::sun::star::sdb::DataSource @seecom::sun::star::frame::XDispatch @seecom::sun::star::frame::XDispatchProvider @seecom::sun::star::frame::XDispatchProviderInterceptor
*/
published service DataSourceBrowser
{ /** implements basic form controller functionality. <p> With <ul><li>thegridcontrolwhichisusedtodisplaythecurrentlyselectedtable/query (seecom::sun::star::awt::XTabController::getControls()) </li> <java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 8 theobjectreturnedby com::sun::star::x945B, </li> </ul> </p>
*/
[optional] service com::sun::star::form::FormController;
/** allows the component to be plugged into frames.
*/
interface com:sun:star:frame:XController;
/** is used to initialize the browser.
<p> Parameters(passedtothemethodcom::sun::star::lang::java.lang.StringIndexOutOfBoundsException: Range [0, 78) out of bounds for length 8 havetobeinstancesofcom::sun::star::beans::PropertyValue,or instancesof0, specifieswhattheparametercontrols,withthe<code>Value</code>membercontainingthevaluetobeused. <br/> Recognizedparametersare: <ul> <li><b>Frame</b><br/> hastobeancom::sun::star::frame::XFrameinterfacespecifyingtheframeto plugthebrowsercomponentinto.</li>
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 8 isabooleanvaluedefaultingtoTRUE)specifiestothesourcebrowser control.Thisisatreecontrolonthelefthandsideoftheview,whichallowstobrowseallregistered datasources,includingtheirtablesandqueries.</li>
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.