From Apache OpenOffice Wiki
< Documentation‎ | DevGuide
Revision as of 09:02, 18 May 2009 by OOoWikiBot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Parameters are names for arguments of methods.


Argument identifiers begin with a special lowercase letter as a prefix and put in initial caps later, for example, nItemCount.

Use the following prefixes:

  • 'x' for interfaces
  • 'b' for boolean values
  • 'n' for integer numbers
  • 'f' for floating point numbers
  • 'a' for all other types. These are represented as classes in programming languages.


The order of parameters is defined by the following rule: Where, What, How. Within these groups, order by importance. For example, insertContent(USHORT nPos, XContent xContent,and boolean bAllowMultiInsert.

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