Difference between revisions of "Documentation/DevGuide/OfficeDev/Command URL"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (FINAL VERSION FOR L10N)
 
Line 6: Line 6:
 
|NextPage=Documentation/DevGuide/OfficeDev/Processing Chain
 
|NextPage=Documentation/DevGuide/OfficeDev/Processing Chain
 
}}
 
}}
{{DISPLAYTITLE:Command URL}}
+
{{Documentation/DevGuideLanguages|Documentation/DevGuide/OfficeDev/{{SUBPAGENAME}}}}
 +
{{DISPLAYTITLE:Command URL}}
 
<!--<idltopic>com.sun.star.util.URL</idltopic>-->
 
<!--<idltopic>com.sun.star.util.URL</idltopic>-->
 
In the dispatch framework, every possible user action is defined as an executable ''command'', and every possible visualization as a reflection of something that is exposed by the component is defined as an ''attribute''. Every executable command and every attribute is a feature of the office component, and the dispatch framework gives every feature a name called ''command URL''. It is represented by a <idl>com.sun.star.util.URL</idl> struct.
 
In the dispatch framework, every possible user action is defined as an executable ''command'', and every possible visualization as a reflection of something that is exposed by the component is defined as an ''attribute''. Every executable command and every attribute is a feature of the office component, and the dispatch framework gives every feature a name called ''command URL''. It is represented by a <idl>com.sun.star.util.URL</idl> struct.

Latest revision as of 11:16, 13 May 2009



In the dispatch framework, every possible user action is defined as an executable command, and every possible visualization as a reflection of something that is exposed by the component is defined as an attribute. Every executable command and every attribute is a feature of the office component, and the dispatch framework gives every feature a name called command URL. It is represented by a com.sun.star.util.URL struct.

Command URLs are strings that follow the protocol_scheme:protocol_specific_part pattern. Public URL schemes, such as file: or http can be used here. Executing a request with a URL that points to a location of a document means that this document is loaded. In general, both parts of the command URL can be arbitrary strings, but a request cannot be executed if there is an object that does not know how to handle its command URL.

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages