[Libreoffice-commits] core.git: 3 commits - offapi/README offapi/type_reference offapi/UnoApi_offapi.mk registry/Module_registry.mk Repository.mk solenv/gbuild udkapi/type_reference udkapi/UnoApi_udkapi.mk unoidl/Executable_unoidl-check.mk unoidl/Module_unoidl.mk unoidl/source
Stephan Bergmann
sbergman at redhat.com
Wed Sep 18 05:44:46 PDT 2013
Repository.mk | 1
dev/null |binary
offapi/README | 23
offapi/UnoApi_offapi.mk | 2
offapi/type_reference/offapi.idl |17624 +++++++++++++++++++++++++++++
offapi/type_reference/update-rdb.sh | 39
registry/Module_registry.mk | 3
solenv/gbuild/LinkTarget.mk | 2
solenv/gbuild/UnoApi.mk | 5
solenv/gbuild/UnoApiTarget.mk | 19
solenv/gbuild/extensions/pre_BuildTools.mk | 3
udkapi/UnoApi_udkapi.mk | 2
udkapi/type_reference/udkapi.idl | 1928 +++
unoidl/Executable_unoidl-check.mk | 22
unoidl/Module_unoidl.mk | 1
unoidl/source/unoidl-check.cxx | 922 +
unoidl/source/unoidl-read.cxx | 49
17 files changed, 20565 insertions(+), 80 deletions(-)
New commits:
commit 8001d9f4fed8f32410128b180d881d1131317255
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Sep 18 13:38:21 2013 +0200
Replace binary type_references with human-readable .idl versions
...obtained from the old .rdb files via "unoidl-read --published". This removes
the need for update-rdb.sh.
Change-Id: I73c0d026af7e27370602f83c61dfa76fc4d17a83
diff --git a/offapi/README b/offapi/README
index 90c4ee5..4417ecc 100644
--- a/offapi/README
+++ b/offapi/README
@@ -3,12 +3,17 @@ Contains all of the IDL files except those in [[udkapi]]
i.e. the interfaces that are specific to the OppenOffice.org application.
An artificial (?) separation.
-The reference offapi/type_reference/offapi.rdb and
-udkapi/type_reference/udkapi.rdb (formerly combined into a single
-offapi/type_reference/types.rdb), used to detect inadvertent incompatible
-changes, are maintained via offapi/type_reference/update-rdb.sh (see its usage
-message for details) for cases where we deliberately /do/ become incompatible.
-Old such cases are listed in offapi/type_reference/typelibrary_history.txt,
-newer such cases are recorded in the git log of (now removed)
-offapi/type_reference/types.rdb, new such cases are recorded in the git logs of
-offapi/type_reference/offapi.rdb and udkapi/type_reference/udkapi.rdb.
+The reference offapi/type_reference/offapi.idl and
+udkapi/type_reference/udkapi.idl (formerly combined into a single
+offapi/type_reference/types.rdb) are used to detect inadvertent incompatible
+changes. They are plain-text .idl files (not stricly lexicographically sorted,
+though, so they satisfy the .idl file requirements for no forward dependencies),
+so in cases where we deliberately /do/ become incompatible they can be modified
+manually.
+
+Old such cases of deliberately becoming incompatible are listed in
+offapi/type_reference/typelibrary_history.txt, newer such cases are recorded in
+the git logs of (now superseded) offapi/type_reference/types.rdb,
+offapi/type_reference/offapi.rdb, and udkapi/type_reference/udkapi.rdb, new such
+cases are recorded in the git logs of offapi/type_reference/offapi.idl and
+udkapi/type_reference/udkapi.idl.
diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk
index 5e369ea..adfb9c9 100644
--- a/offapi/UnoApi_offapi.mk
+++ b/offapi/UnoApi_offapi.mk
@@ -4318,6 +4318,6 @@ $(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,offapi/org/freedesktop/Package
SyncDbusSessionHelper \
))
-$(eval $(call gb_UnoApi_set_reference_rdbfile,offapi,udkapi/type_reference/udkapi offapi/type_reference/offapi))
+$(eval $(call gb_UnoApi_set_reference_rdbfile,offapi,$(call gb_UnoApiTarget_get_target,udkapi) $(SRCDIR)/offapi/type_reference/offapi.idl))
# vim: set noet sw=4 ts=4:
diff --git a/offapi/type_reference/offapi.idl b/offapi/type_reference/offapi.idl
new file mode 100644
index 0000000..a1f36b8
--- /dev/null
+++ b/offapi/type_reference/offapi.idl
@@ -0,0 +1,17624 @@
+module com {
+ module sun {
+ module star {
+ module accessibility {
+ interface XAccessibleContext;
+ interface XAccessible {
+ interface ::com::sun::star::uno::XInterface;
+ ::com::sun::star::accessibility::XAccessibleContext getAccessibleContext();
+ };
+ };
+ module awt {
+ published struct Point {
+ long X;
+ long Y;
+ };
+ published struct Rectangle {
+ long X;
+ long Y;
+ long Width;
+ long Height;
+ };
+ published struct Size {
+ long Width;
+ long Height;
+ };
+ };
+ module util {
+ published typedef long Color;
+ };
+ module awt {
+ published struct KeyStroke {
+ short Modifiers;
+ short KeyCode;
+ char KeyChar;
+ short KeyFunc;
+ };
+ };
+ module auth {
+ published exception AuthenticationFailedException: ::com::sun::star::uno::Exception {
+ };
+ published exception InvalidArgumentException: ::com::sun::star::uno::Exception {
+ };
+ published exception InvalidContextException: ::com::sun::star::uno::Exception {
+ };
+ published exception InvalidCredentialException: ::com::sun::star::uno::Exception {
+ };
+ published exception InvalidPrincipalException: ::com::sun::star::uno::Exception {
+ };
+ published exception PersistenceFailureException: ::com::sun::star::uno::Exception {
+ };
+ published interface XSSOManager;
+ published interface XSSOManagerFactory {
+ interface ::com::sun::star::uno::XInterface;
+ ::com::sun::star::auth::XSSOManager getSSOManager();
+ };
+ published service SSOManagerFactory: ::com::sun::star::auth::XSSOManagerFactory;
+ published interface XSSOPasswordCache {
+ interface ::com::sun::star::uno::XInterface;
+ void addPassword([in] string UserName, [in] string Password, [in] boolean Persist) raises (::com::sun::star::auth::InvalidArgumentException, ::com::sun::star::auth::PersistenceFailureException);
+ string getPassword([in] string UserName, [out] boolean Persist) raises (::com::sun::star::auth::InvalidArgumentException, ::com::sun::star::auth::PersistenceFailureException);
+ void removePassword([in] string UserName, [in] boolean RemovePersist) raises (::com::sun::star::auth::InvalidArgumentException, ::com::sun::star::auth::PersistenceFailureException);
+ };
+ published service SSOPasswordCache: ::com::sun::star::auth::XSSOPasswordCache;
+ published exception UnsupportedException: ::com::sun::star::uno::Exception {
+ };
+ published interface XSSOContext {
+ interface ::com::sun::star::uno::XInterface;
+ string getSource();
+ string getTarget();
+ string getMechanism();
+ boolean getMutual();
+ };
+ published interface XSSOAcceptorContext {
+ interface ::com::sun::star::auth::XSSOContext;
+ sequence< byte > accept([in] sequence< byte > Token) raises (::com::sun::star::auth::InvalidArgumentException, ::com::sun::star::auth::InvalidCredentialException, ::com::sun::star::auth::InvalidContextException, ::com::sun::star::auth::AuthenticationFailedException);
+ };
+ published interface XSSOInitiatorContext {
+ interface ::com::sun::star::auth::XSSOContext;
+ sequence< byte > init([in] sequence< byte > Token) raises (::com::sun::star::auth::InvalidArgumentException, ::com::sun::star::auth::InvalidCredentialException, ::com::sun::star::auth::InvalidContextException, ::com::sun::star::auth::AuthenticationFailedException);
+ };
+ published interface XSSOManager {
+ interface ::com::sun::star::uno::XInterface;
+ string getMechanism();
+ ::com::sun::star::auth::XSSOInitiatorContext createInitiatorContext([in] string SourcePrincipal, [in] string TargetPrincipal, [in] string TargetHost) raises (::com::sun::star::auth::InvalidArgumentException, ::com::sun::star::auth::InvalidCredentialException, ::com::sun::star::auth::InvalidPrincipalException, ::com::sun::star::auth::UnsupportedException);
+ ::com::sun::star::auth::XSSOAcceptorContext createAcceptorContext([in] string TargetPrincipal) raises (::com::sun::star::auth::InvalidArgumentException, ::com::sun::star::auth::InvalidCredentialException, ::com::sun::star::auth::InvalidPrincipalException, ::com::sun::star::auth::UnsupportedException);
+ };
+ };
+ module awt {
+ published struct ActionEvent: ::com::sun::star::lang::EventObject {
+ string ActionCommand;
+ };
+ published enum AdjustmentType {
+ ADJUST_LINE = 0,
+ ADJUST_PAGE = 1,
+ ADJUST_ABS = 2
+ };
+ published struct AdjustmentEvent: ::com::sun::star::lang::EventObject {
+ long Value;
+ ::com::sun::star::awt::AdjustmentType Type;
+ };
+ published interface XControlModel;
+ published interface XToolkit;
+ published interface XView;
+ published interface XWindowPeer;
+ published interface XControl {
+ interface ::com::sun::star::lang::XComponent;
+ void setContext([in] ::com::sun::star::uno::XInterface Context);
+ ::com::sun::star::uno::XInterface getContext();
+ void createPeer([in] ::com::sun::star::awt::XToolkit Toolkit, [in] ::com::sun::star::awt::XWindowPeer Parent);
+ ::com::sun::star::awt::XWindowPeer getPeer();
+ boolean setModel([in] ::com::sun::star::awt::XControlModel Model);
+ ::com::sun::star::awt::XControlModel getModel();
+ ::com::sun::star::awt::XView getView();
+ void setDesignMode([in] boolean bOn);
+ boolean isDesignMode();
+ boolean isTransparent();
+ };
+ published interface XGraphics;
+ published interface XView {
+ interface ::com::sun::star::uno::XInterface;
+ boolean setGraphics([in] ::com::sun::star::awt::XGraphics aDevice);
+ ::com::sun::star::awt::XGraphics getGraphics();
+ ::com::sun::star::awt::Size getSize();
+ void draw([in] long nX, [in] long nY);
+ void setZoom([in] float fZoomX, [in] float fZoomY);
+ };
+ published interface XFocusListener;
+ published interface XKeyListener;
+ published interface XMouseListener;
+ published interface XMouseMotionListener;
+ published interface XPaintListener;
+ published interface XWindowListener;
+ published interface XWindow {
+ interface ::com::sun::star::lang::XComponent;
+ void setPosSize([in] long X, [in] long Y, [in] long Width, [in] long Height, [in] short Flags);
+ ::com::sun::star::awt::Rectangle getPosSize();
+ void setVisible([in] boolean Visible);
+ void setEnable([in] boolean Enable);
+ void setFocus();
+ void addWindowListener([in] ::com::sun::star::awt::XWindowListener xListener);
+ void removeWindowListener([in] ::com::sun::star::awt::XWindowListener xListener);
+ void addFocusListener([in] ::com::sun::star::awt::XFocusListener xListener);
+ void removeFocusListener([in] ::com::sun::star::awt::XFocusListener xListener);
+ void addKeyListener([in] ::com::sun::star::awt::XKeyListener xListener);
+ void removeKeyListener([in] ::com::sun::star::awt::XKeyListener xListener);
+ void addMouseListener([in] ::com::sun::star::awt::XMouseListener xListener);
+ void removeMouseListener([in] ::com::sun::star::awt::XMouseListener xListener);
+ void addMouseMotionListener([in] ::com::sun::star::awt::XMouseMotionListener xListener);
+ void removeMouseMotionListener([in] ::com::sun::star::awt::XMouseMotionListener xListener);
+ void addPaintListener([in] ::com::sun::star::awt::XPaintListener xListener);
+ void removePaintListener([in] ::com::sun::star::awt::XPaintListener xListener);
+ };
+ published service UnoControl {
+ interface ::com::sun::star::lang::XComponent;
+ interface ::com::sun::star::awt::XControl;
+ interface ::com::sun::star::awt::XWindow;
+ interface ::com::sun::star::awt::XView;
+ [optional] interface ::com::sun::star::accessibility::XAccessible;
+ };
+ published service UnoControlDialogElement {
+ [property] long Height;
+ [property] string Name;
+ [property] string PositionX;
+ [property] string PositionY;
+ [property] long Step;
+ [property] short TabIndex;
+ [property] string Tag;
+ [property] long Width;
+ };
+ published interface XControlModel {
+ interface ::com::sun::star::uno::XInterface;
+ };
+ };
+ module util {
+ published interface XCloneable {
+ interface ::com::sun::star::uno::XInterface;
+ ::com::sun::star::util::XCloneable createClone();
+ };
+ };
+ module awt {
+ published service UnoControlModel {
+ [optional] service ::com::sun::star::awt::UnoControlDialogElement;
+ interface ::com::sun::star::awt::XControlModel;
+ interface ::com::sun::star::lang::XComponent;
+ interface ::com::sun::star::beans::XPropertySet;
+ interface ::com::sun::star::beans::XMultiPropertySet;
+ interface ::com::sun::star::io::XPersistObject;
+ interface ::com::sun::star::util::XCloneable;
+ [property] string DefaultControl;
+ };
+ /** @deprecated */ published constants CharSet {
+ const short DONTKNOW = 0;
+ const short ANSI = 1;
+ const short MAC = 2;
+ const short IBMPC_437 = 3;
+ const short IBMPC_850 = 4;
+ const short IBMPC_860 = 5;
+ const short IBMPC_861 = 6;
+ const short IBMPC_863 = 7;
+ const short IBMPC_865 = 8;
+ const short SYSTEM = 9;
+ const short SYMBOL = 10;
+ };
+ published constants Command {
+ const short CONTEXTMENU = 1;
+ const short STARTDRAG = 2;
+ const short WHEEL = 3;
+ const short STARTAUTOSCROLL = 4;
+ const short AUTOSCROLL = 5;
+ const short VOICE = 6;
+ const short STARTEXTTEXTINPUT = 7;
+ const short EXTTEXTINPUT = 8;
+ const short ENDEXTTEXTINPUT = 9;
+ const short INPUTCONTEXTCHANGE = 10;
+ const short CURSORPOS = 11;
+ const short PASTESELECTION = 12;
+ const short MODKEYCHANGE = 13;
+ const short HANGUL_HANJA_CONVERSION = 14;
+ const short USER = 4096;
+ };
+ published constants DeviceCapability {
+ const long RASTEROPERATIONS = 1;
+ const long GETBITS = 2;
+ };
+ published struct DeviceInfo {
+ long Width;
+ long Height;
+ long LeftInset;
+ long TopInset;
+ long RightInset;
+ long BottomInset;
+ double PixelPerMeterX;
+ double PixelPerMeterY;
+ short BitsPerPixel;
+ long Capabilities;
+ };
+ published struct InputEvent: ::com::sun::star::lang::EventObject {
+ short Modifiers;
+ };
+ published struct MouseEvent: ::com::sun::star::awt::InputEvent {
+ short Buttons;
+ long X;
+ long Y;
+ long ClickCount;
+ boolean PopupTrigger;
+ };
+ published struct EnhancedMouseEvent: ::com::sun::star::awt::MouseEvent {
+ ::com::sun::star::uno::XInterface Target;
+ };
+ published constants FocusChangeReason {
+ const long TAB = 1;
+ const long CURSOR = 2;
+ const long MNEMONIC = 4;
+ const long FORWARD = 16;
+ const long BACKWARD = 32;
+ const long AROUND = 64;
+ const long UNIQUEMNEMONIC = 256;
+ };
+ published struct FocusEvent: ::com::sun::star::lang::EventObject {
+ short FocusFlags;
+ ::com::sun::star::uno::XInterface NextFocus;
+ boolean Temporary;
+ };
+ published enum FontSlant {
+ NONE = 0,
+ OBLIQUE = 1,
+ ITALIC = 2,
+ DONTKNOW = 3,
+ REVERSE_OBLIQUE = 4,
+ REVERSE_ITALIC = 5
+ };
+ published struct FontDescriptor {
+ string Name;
+ short Height;
+ short Width;
+ string StyleName;
+ short Family;
+ short CharSet;
+ short Pitch;
+ float CharacterWidth;
+ float Weight;
+ ::com::sun::star::awt::FontSlant Slant;
+ short Underline;
+ short Strikeout;
+ float Orientation;
+ boolean Kerning;
+ boolean WordLineMode;
+ short Type;
+ };
+ published constants FontEmphasisMark {
+ const short NONE = 0;
+ const short DOT = 1;
+ const short CIRCLE = 2;
+ const short DISC = 3;
+ const short ACCENT = 4;
+ const short ABOVE = 4096;
+ const short BELOW = 8192;
+ };
+ published constants FontFamily {
+ const short DONTKNOW = 0;
+ const short DECORATIVE = 1;
+ const short MODERN = 2;
+ const short ROMAN = 3;
+ const short SCRIPT = 4;
+ const short SWISS = 5;
+ const short SYSTEM = 6;
+ };
+ published constants FontPitch {
+ const short DONTKNOW = 0;
+ const short FIXED = 1;
+ const short VARIABLE = 2;
+ };
+ published constants FontRelief {
+ const short NONE = 0;
+ const short EMBOSSED = 1;
+ const short ENGRAVED = 2;
+ };
+ published constants FontStrikeout {
+ const short NONE = 0;
+ const short SINGLE = 1;
+ const short DOUBLE = 2;
+ const short DONTKNOW = 3;
+ const short BOLD = 4;
+ const short SLASH = 5;
+ const short X = 6;
+ };
+ published constants FontType {
+ const short DONTKNOW = 0;
+ const short RASTER = 1;
+ const short DEVICE = 2;
+ const short SCALABLE = 4;
+ };
+ published constants FontUnderline {
+ const short NONE = 0;
+ const short SINGLE = 1;
+ const short DOUBLE = 2;
+ const short DOTTED = 3;
+ const short DONTKNOW = 4;
+ const short DASH = 5;
+ const short LONGDASH = 6;
+ const short DASHDOT = 7;
+ const short DASHDOTDOT = 8;
+ const short SMALLWAVE = 9;
+ const short WAVE = 10;
+ const short DOUBLEWAVE = 11;
+ const short BOLD = 12;
+ const short BOLDDOTTED = 13;
+ const short BOLDDASH = 14;
+ const short BOLDLONGDASH = 15;
+ const short BOLDDASHDOT = 16;
+ const short BOLDDASHDOTDOT = 17;
+ const short BOLDWAVE = 18;
+ };
+ published constants FontWeight {
+ const float DONTKNOW = 0;
+ const float THIN = 50;
+ const float ULTRALIGHT = 60;
+ const float LIGHT = 75;
+ const float SEMILIGHT = 90;
+ const float NORMAL = 100;
+ const float SEMIBOLD = 110;
+ const float BOLD = 150;
+ const float ULTRABOLD = 175;
+ const float BLACK = 200;
+ };
+ published constants FontWidth {
+ const float DONTKNOW = 0;
+ const float ULTRACONDENSED = 50;
+ const float EXTRACONDENSED = 60;
+ const float CONDENSED = 75;
+ const float SEMICONDENSED = 90;
+ const float NORMAL = 100;
+ const float SEMIEXPANDED = 110;
+ const float EXPANDED = 150;
+ const float EXTRAEXPANDED = 175;
+ const float ULTRAEXPANDED = 200;
+ };
+ published enum GradientStyle {
+ LINEAR = 0,
+ AXIAL = 1,
+ RADIAL = 2,
+ ELLIPTICAL = 3,
+ SQUARE = 4,
+ RECT = 5
+ };
+ published struct Gradient {
+ ::com::sun::star::awt::GradientStyle Style;
+ ::com::sun::star::util::Color StartColor;
+ ::com::sun::star::util::Color EndColor;
+ short Angle;
+ short Border;
+ short XOffset;
+ short YOffset;
+ short StartIntensity;
+ short EndIntensity;
+ short StepCount;
+ };
+ published constants ImageAlign {
+ const short LEFT = 0;
+ const short TOP = 1;
+ const short RIGHT = 2;
+ const short BOTTOM = 3;
+ };
+ published constants ImageStatus {
+ const long IMAGESTATUS_ERROR = 1;
+ const long IMAGESTATUS_SINGLEFRAMEDONE = 2;
+ const long IMAGESTATUS_STATICIMAGEDONE = 3;
+ const long IMAGESTATUS_ABORTED = 4;
+ };
+ published constants InvalidateStyle {
+ const short CHILDREN = 1;
+ const short NOCHILDREN = 2;
+ const short NOERASE = 4;
+ const short UPDATE = 8;
+ const short TRANSPARENT = 16;
+ const short NOTRANSPARENT = 32;
+ const short NOCLIPCHILDREN = 16384;
+ };
+ published struct ItemEvent: ::com::sun::star::lang::EventObject {
+ long Selected;
+ long Highlighted;
+ long ItemId;
+ };
+ published constants Key {
+ const short NUM0 = 256;
+ const short NUM1 = 257;
+ const short NUM2 = 258;
+ const short NUM3 = 259;
+ const short NUM4 = 260;
+ const short NUM5 = 261;
+ const short NUM6 = 262;
+ const short NUM7 = 263;
+ const short NUM8 = 264;
+ const short NUM9 = 265;
+ const short A = 512;
+ const short B = 513;
+ const short C = 514;
+ const short D = 515;
+ const short E = 516;
+ const short F = 517;
+ const short G = 518;
+ const short H = 519;
+ const short I = 520;
+ const short J = 521;
+ const short K = 522;
+ const short L = 523;
+ const short M = 524;
+ const short N = 525;
+ const short O = 526;
+ const short P = 527;
+ const short Q = 528;
+ const short R = 529;
+ const short S = 530;
+ const short T = 531;
+ const short U = 532;
+ const short V = 533;
+ const short W = 534;
+ const short X = 535;
+ const short Y = 536;
+ const short Z = 537;
+ const short F1 = 768;
+ const short F2 = 769;
+ const short F3 = 770;
+ const short F4 = 771;
+ const short F5 = 772;
+ const short F6 = 773;
+ const short F7 = 774;
+ const short F8 = 775;
+ const short F9 = 776;
+ const short F10 = 777;
+ const short F11 = 778;
+ const short F12 = 779;
+ const short F13 = 780;
+ const short F14 = 781;
+ const short F15 = 782;
+ const short F16 = 783;
+ const short F17 = 784;
+ const short F18 = 785;
+ const short F19 = 786;
+ const short F20 = 787;
+ const short F21 = 788;
+ const short F22 = 789;
+ const short F23 = 790;
+ const short F24 = 791;
+ const short F25 = 792;
+ const short F26 = 793;
+ const short DOWN = 1024;
+ const short UP = 1025;
+ const short LEFT = 1026;
+ const short RIGHT = 1027;
+ const short HOME = 1028;
+ const short END = 1029;
+ const short PAGEUP = 1030;
+ const short PAGEDOWN = 1031;
+ const short RETURN = 1280;
+ const short ESCAPE = 1281;
+ const short TAB = 1282;
+ const short BACKSPACE = 1283;
+ const short SPACE = 1284;
+ const short INSERT = 1285;
+ const short DELETE = 1286;
+ const short ADD = 1287;
+ const short SUBTRACT = 1288;
+ const short MULTIPLY = 1289;
+ const short DIVIDE = 1290;
+ const short POINT = 1291;
+ const short COMMA = 1292;
+ const short LESS = 1293;
+ const short GREATER = 1294;
+ const short EQUAL = 1295;
+ const short OPEN = 1296;
+ const short CUT = 1297;
+ const short COPY = 1298;
+ const short PASTE = 1299;
+ const short UNDO = 1300;
+ const short REPEAT = 1301;
+ const short FIND = 1302;
+ const short PROPERTIES = 1303;
+ const short FRONT = 1304;
+ const short CONTEXTMENU = 1305;
+ const short HELP = 1306;
+ const short MENU = 1307;
+ const short HANGUL_HANJA = 1308;
+ const short DECIMAL = 1309;
+ const short TILDE = 1310;
+ const short QUOTELEFT = 1311;
+ const short CAPSLOCK = 1312;
+ const short NUMLOCK = 1313;
+ const short SCROLLLOCK = 1314;
+ const short DELETE_TO_BEGIN_OF_LINE = 1536;
+ const short DELETE_TO_END_OF_LINE = 1537;
+ const short DELETE_TO_BEGIN_OF_PARAGRAPH = 1538;
+ const short BRACKETLEFT = 1315;
+ const short BRACKETRIGHT = 1316;
+ const short SEMICOLON = 1317;
+ const short DELETE_TO_END_OF_PARAGRAPH = 1539;
+ const short DELETE_WORD_BACKWARD = 1540;
+ const short DELETE_WORD_FORWARD = 1541;
+ const short INSERT_LINEBREAK = 1542;
+ const short INSERT_PARAGRAPH = 1543;
+ const short MOVE_WORD_BACKWARD = 1544;
+ const short MOVE_WORD_FORWARD = 1545;
+ const short MOVE_TO_BEGIN_OF_LINE = 1546;
+ const short MOVE_TO_END_OF_LINE = 1547;
+ const short MOVE_TO_BEGIN_OF_PARAGRAPH = 1548;
+ const short MOVE_TO_END_OF_PARAGRAPH = 1549;
+ const short SELECT_BACKWARD = 1550;
+ const short SELECT_FORWARD = 1551;
+ const short SELECT_WORD_BACKWARD = 1552;
+ const short SELECT_WORD_FORWARD = 1553;
+ const short SELECT_WORD = 1554;
+ const short SELECT_LINE = 1555;
+ const short SELECT_PARAGRAPH = 1556;
+ const short SELECT_ALL = 1557;
+ const short SELECT_TO_BEGIN_OF_LINE = 1558;
+ const short SELECT_TO_END_OF_LINE = 1559;
+ const short MOVE_TO_BEGIN_OF_DOCUMENT = 1560;
+ const short MOVE_TO_END_OF_DOCUMENT = 1561;
+ const short SELECT_TO_BEGIN_OF_DOCUMENT = 1562;
+ const short SELECT_TO_END_OF_DOCUMENT = 1563;
+ const short SELECT_TO_BEGIN_OF_PARAGRAPH = 1564;
+ const short SELECT_TO_END_OF_PARAGRAPH = 1565;
+ };
+ published struct KeyEvent: ::com::sun::star::awt::InputEvent {
+ short KeyCode;
+ char KeyChar;
+ short KeyFunc;
+ };
+ published constants KeyFunction {
+ const short DONTKNOW = 0;
+ const short NEW = 1;
+ const short OPEN = 2;
+ const short SAVE = 3;
+ const short SAVEAS = 4;
+ const short PRINT = 5;
+ const short CLOSE = 6;
+ const short QUIT = 7;
+ const short CUT = 8;
+ const short COPY = 9;
+ const short PASTE = 10;
+ const short UNDO = 11;
+ const short REDO = 12;
+ const short DELETE = 13;
+ const short REPEAT = 14;
+ const short FIND = 15;
+ const short FINDBACKWARD = 16;
+ const short PROPERTIES = 17;
+ const short FRONT = 18;
+ };
+ /** @deprecated */ published constants KeyGroup {
+ const short NUM = 256;
+ const short ALPHA = 512;
+ const short FKEYS = 768;
+ const short CURSOR = 1024;
+ const short MISC = 1280;
+ const short TYPE = 3840;
+ };
+ published constants KeyModifier {
+ const short SHIFT = 1;
+ const short MOD1 = 2;
+ const short MOD2 = 4;
+ const short MOD3 = 8;
+ };
+ published enum MenuItemType {
+ DONTKNOW = 0,
+ STRING = 1,
+ IMAGE = 2,
+ STRINGIMAGE = 3,
+ SEPARATOR = 4
+ };
+ published interface XMenuListener;
+ published interface XPopupMenu;
+ published interface XMenu {
+ interface ::com::sun::star::uno::XInterface;
+ void addMenuListener([in] ::com::sun::star::awt::XMenuListener xListener);
+ void removeMenuListener([in] ::com::sun::star::awt::XMenuListener xListener);
+ void insertItem([in] short nItemId, [in] string aText, [in] short nItemStyle, [in] short nItemPos);
+ void removeItem([in] short nItemPos, [in] short nCount);
+ void clear();
+ short getItemCount();
+ short getItemId([in] short nItemPos);
+ short getItemPos([in] short nItemId);
+ ::com::sun::star::awt::MenuItemType getItemType([in] short nItemPos);
+ void enableItem([in] short nItemId, [in] boolean bEnable);
+ boolean isItemEnabled([in] short nItemId);
+ void hideDisabledEntries([in] boolean bHide);
+ void enableAutoMnemonics([in] boolean bEnable);
+ void setItemText([in] short nItemId, [in] string aText);
+ string getItemText([in] short nItemId);
+ void setCommand([in] short nItemId, [in] string aCommand);
+ string getCommand([in] short nItemId);
+ void setHelpCommand([in] short nItemId, [in] string aCommand);
+ string getHelpCommand([in] short nItemId);
+ void setHelpText([in] short nItemId, [in] string sHelpText);
+ string getHelpText([in] short nItemId);
+ void setTipHelpText([in] short nItemId, [in] string sTipHelpText);
+ string getTipHelpText([in] short nItemId);
+ boolean isPopupMenu();
+ void setPopupMenu([in] short nItemId, [in] ::com::sun::star::awt::XPopupMenu aPopupMenu);
+ ::com::sun::star::awt::XPopupMenu getPopupMenu([in] short nItemId);
+ };
+ published interface XMenuBar {
+ interface ::com::sun::star::awt::XMenu;
+ };
+ published service MenuBar: ::com::sun::star::awt::XMenuBar;
+ published struct MenuEvent: ::com::sun::star::lang::EventObject {
+ short MenuId;
+ };
+ published enum MessageBoxType {
+ MESSAGEBOX = 0,
+ INFOBOX = 1,
+ WARNINGBOX = 2,
+ ERRORBOX = 3,
+ QUERYBOX = 4
+ };
+ published constants MouseButton {
+ const short LEFT = 1;
+ const short RIGHT = 2;
+ const short MIDDLE = 4;
+ };
+ published struct PaintEvent: ::com::sun::star::lang::EventObject {
+ ::com::sun::star::awt::Rectangle UpdateRect;
+ short Count;
+ };
+ published interface XPointer {
+ interface ::com::sun::star::uno::XInterface;
+ void setType([in] long nType);
+ long getType();
+ };
+ published interface XWindowPeer;
+ };
+ module graphic {
+ published interface XGraphic;
+ };
+ module awt {
+ published interface XPopupMenu {
+ interface ::com::sun::star::awt::XMenu;
+ void insertSeparator([in] short nItemPos);
+ void setDefaultItem([in] short nItemId);
+ short getDefaultItem();
+ void checkItem([in] short nItemId, [in] boolean bCheck);
+ boolean isItemChecked([in] short nItemId);
+ short execute([in] ::com::sun::star::awt::XWindowPeer Parent, [in] ::com::sun::star::awt::Rectangle Position, [in] short Direction);
+ boolean isInExecute();
+ void endExecute();
+ void setAcceleratorKeyEvent([in] short nItemId, [in] ::com::sun::star::awt::KeyEvent aKeyEvent);
+ ::com::sun::star::awt::KeyEvent getAcceleratorKeyEvent([in] short nItemId);
+ void setItemImage([in] short nItemId, [in] ::com::sun::star::graphic::XGraphic xGraphic, [in] boolean bScale);
+ ::com::sun::star::graphic::XGraphic getItemImage([in] short nItemId);
+ };
+ published service PopupMenu: ::com::sun::star::awt::XPopupMenu;
+ published constants PopupMenuDirection {
+ const short EXECUTE_DEFAULT = 0;
+ const short EXECUTE_DOWN = 1;
+ const short EXECUTE_UP = 2;
+ const short EXECUTE_LEFT = 4;
+ const short EXECUTE_RIGHT = 8;
+ };
+ published constants PosSize {
+ const short X = 1;
+ const short Y = 2;
+ const short WIDTH = 4;
+ const short HEIGHT = 8;
+ const short POS = 3;
+ const short SIZE = 12;
+ const short POSSIZE = 15;
+ };
+ published exception PrinterException: ::com::sun::star::uno::Exception {
+ };
+ published interface XInfoPrinter;
+ published interface XPrinter;
+ published interface XPrinterServer {
+ interface ::com::sun::star::uno::XInterface;
+ sequence< string > getPrinterNames();
+ ::com::sun::star::awt::XPrinter createPrinter([in] string printerName);
+ ::com::sun::star::awt::XInfoPrinter createInfoPrinter([in] string printerName);
+ };
+ published enum PushButtonType {
+ STANDARD = 0,
+ OK = 1,
+ CANCEL = 2,
+ HELP = 3
+ };
+ published enum RasterOperation {
+ OVERPAINT = 0,
+ XOR = 1,
+ ZEROBITS = 2,
+ ALLBITS = 3,
+ INVERT = 4
+ };
+ published constants ScrollBarOrientation {
+ const long HORIZONTAL = 0;
+ const long VERTICAL = 1;
+ };
+ published struct Selection {
+ long Min;
+ long Max;
+ };
+ published struct SimpleFontMetric {
+ short Ascent;
+ short Descent;
+ short Leading;
+ short Slant;
+ char FirstChar;
+ char LastChar;
+ };
+ published struct SpinEvent: ::com::sun::star::lang::EventObject {
+ short dummy1;
+ };
+ published constants Style {
+ const short FRAME = 0;
+ const short DIALOG = 1;
+ };
+ /** @deprecated */ published struct SystemDependentXWindow {
+ long WindowHandle;
+ hyper DisplayPointer;
+ };
+ published constants SystemPointer {
+ const long ARROW = 0;
+ const long INVISIBLE = 1;
+ const long WAIT = 2;
+ const long TEXT = 3;
+ const long HELP = 4;
+ const long CROSS = 5;
+ const long MOVE = 6;
+ const long NSIZE = 7;
+ const long SSIZE = 8;
+ const long WSIZE = 9;
+ const long ESIZE = 10;
+ const long NWSIZE = 11;
+ const long NESIZE = 12;
+ const long SWSIZE = 13;
+ const long SESIZE = 14;
+ const long WINDOW_NSIZE = 15;
+ const long WINDOW_SSIZE = 16;
+ const long WINDOW_WSIZE = 17;
+ const long WINDOW_ESIZE = 18;
+ const long WINDOW_NWSIZE = 19;
+ const long WINDOW_NESIZE = 20;
+ const long WINDOW_SWSIZE = 21;
+ const long WINDOW_SESIZE = 22;
+ const long HSPLIT = 23;
+ const long VSPLIT = 24;
+ const long HSIZEBAR = 25;
+ const long VSIZEBAR = 26;
+ const long HAND = 27;
+ const long REFHAND = 28;
+ const long PEN = 29;
+ const long MAGNIFY = 30;
+ const long FILL = 31;
+ const long ROTATE = 32;
+ const long HSHEAR = 33;
+ const long VSHEAR = 34;
+ const long MIRROR = 35;
+ const long CROOK = 36;
+ const long CROP = 37;
+ const long MOVEPOINT = 38;
+ const long MOVEBEZIERWEIGHT = 39;
+ const long MOVEDATA = 40;
+ const long COPYDATA = 41;
+ const long LINKDATA = 42;
+ const long MOVEDATALINK = 43;
+ const long COPYDATALINK = 44;
+ const long MOVEFILE = 45;
+ const long COPYFILE = 46;
+ const long LINKFILE = 47;
+ const long MOVEFILELINK = 48;
+ const long COPYFILELINK = 49;
+ const long MOVEFILES = 50;
+ const long COPYFILES = 51;
+ const long NOTALLOWED = 52;
+ const long DRAW_LINE = 53;
+ const long DRAW_RECT = 54;
+ const long DRAW_POLYGON = 55;
+ const long DRAW_BEZIER = 56;
+ const long DRAW_ARC = 57;
+ const long DRAW_PIE = 58;
+ const long DRAW_CIRCLECUT = 59;
+ const long DRAW_ELLIPSE = 60;
+ const long DRAW_FREEHAND = 61;
+ const long DRAW_CONNECT = 62;
+ const long DRAW_TEXT = 63;
+ const long DRAW_CAPTION = 64;
+ const long CHART = 65;
+ const long DETECTIVE = 66;
+ const long PIVOT_COL = 67;
+ const long PIVOT_ROW = 68;
+ const long PIVOT_FIELD = 69;
+ const long CHAIN = 70;
+ const long CHAIN_NOTALLOWED = 71;
+ };
+ published interface XControlContainer;
+ published interface XTabControllerModel;
+ published interface XTabController {
+ interface ::com::sun::star::uno::XInterface;
+ void setModel([in] ::com::sun::star::awt::XTabControllerModel Model);
+ ::com::sun::star::awt::XTabControllerModel getModel();
+ void setContainer([in] ::com::sun::star::awt::XControlContainer Container);
+ ::com::sun::star::awt::XControlContainer getContainer();
+ sequence< ::com::sun::star::awt::XControl > getControls();
+ void autoTabOrder();
+ void activateTabOrder();
+ void activateFirst();
+ void activateLast();
+ };
+ published service TabController: ::com::sun::star::awt::XTabController;
+ published interface XTabControllerModel {
+ interface ::com::sun::star::uno::XInterface;
+ boolean getGroupControl();
+ void setGroupControl([in] boolean GroupControl);
+ void setControlModels([in] sequence< ::com::sun::star::awt::XControlModel > Controls);
+ sequence< ::com::sun::star::awt::XControlModel > getControlModels();
+ void setGroup([in] sequence< ::com::sun::star::awt::XControlModel > Group, [in] string GroupName);
+ long getGroupCount();
+ void getGroup([in] long nGroup, [out] sequence< ::com::sun::star::awt::XControlModel > Group, [out] string Name);
+ void getGroupByName([in] string Name, [out] sequence< ::com::sun::star::awt::XControlModel > Group);
+ };
+ published service TabControllerModel {
+ interface ::com::sun::star::awt::XTabControllerModel;
+ interface ::com::sun::star::io::XPersistObject;
+ };
+ published constants TextAlign {
+ const long LEFT = 0;
+ const long CENTER = 1;
+ const long RIGHT = 2;
+ };
+ published struct TextEvent: ::com::sun::star::lang::EventObject {
+ short dummy1;
+ };
+ };
+ module datatransfer {
+ module clipboard {
+ published interface XClipboard;
+ };
+ module dnd {
+ published interface XDragGestureRecognizer;
+ published interface XDragSource;
+ published interface XDropTarget;
+ };
+ };
+ module awt {
+ published interface XDataTransferProviderAccess {
+ interface ::com::sun::star::uno::XInterface;
+ ::com::sun::star::datatransfer::dnd::XDragGestureRecognizer getDragGestureRecognizer([in] ::com::sun::star::awt::XWindow window);
+ ::com::sun::star::datatransfer::dnd::XDragSource getDragSource([in] ::com::sun::star::awt::XWindow window);
+ ::com::sun::star::datatransfer::dnd::XDropTarget getDropTarget([in] ::com::sun::star::awt::XWindow window);
+ ::com::sun::star::datatransfer::clipboard::XClipboard getClipboard([in] string clipboardName);
+ };
+ published interface XFocusListener;
+ published interface XKeyHandler;
+ published interface XTopWindow;
+ published interface XTopWindowListener;
+ /** @deprecated */ published interface XExtendedToolkit {
+ interface ::com::sun::star::uno::XInterface;
+ long getTopWindowCount();
+ ::com::sun::star::awt::XTopWindow getTopWindow([in] long nIndex) raises (::com::sun::star::lang::IndexOutOfBoundsException);
+ ::com::sun::star::awt::XTopWindow getActiveTopWindow();
+ void addTopWindowListener([in] ::com::sun::star::awt::XTopWindowListener xListener);
+ void removeTopWindowListener([in] ::com::sun::star::awt::XTopWindowListener xListener);
+ void addKeyHandler([in] ::com::sun::star::awt::XKeyHandler xHandler);
+ void removeKeyHandler([in] ::com::sun::star::awt::XKeyHandler xHandler);
+ void addFocusListener([in] ::com::sun::star::awt::XFocusListener xListener);
+ void removeFocusListener([in] ::com::sun::star::awt::XFocusListener xListener);
+ void fireFocusGained([in] ::com::sun::star::uno::XInterface source);
+ void fireFocusLost([in] ::com::sun::star::uno::XInterface source);
+ };
+ published interface XMessageBox;
+ published interface XWindowPeer;
+ published interface XMessageBoxFactory {
+ interface ::com::sun::star::uno::XInterface;
+ ::com::sun::star::awt::XMessageBox createMessageBox([in] ::com::sun::star::awt::XWindowPeer aParent, [in] ::com::sun::star::awt::MessageBoxType eType, [in] long nButtons, [in] string sTitle, [in] string sMessage);
+ };
+ /** @deprecated */ published interface XReschedule {
+ interface ::com::sun::star::uno::XInterface;
+ void reschedule();
+ };
+ published interface XWindowPeer;
+ published interface XSystemChildFactory {
+ interface ::com::sun::star::uno::XInterface;
+ ::com::sun::star::awt::XWindowPeer createSystemChild([in] any Parent, [in] sequence< byte > ProcessId, [in] short SystemType);
+ };
+ published enum WindowClass {
+ TOP = 0,
+ MODALTOP = 1,
+ CONTAINER = 2,
+ SIMPLE = 3
+ };
+ published interface XWindowPeer;
+ published struct WindowDescriptor {
+ ::com::sun::star::awt::WindowClass Type;
+ string WindowServiceName;
+ ::com::sun::star::awt::XWindowPeer Parent;
+ short ParentIndex;
+ ::com::sun::star::awt::Rectangle Bounds;
+ long WindowAttributes;
+ };
+ published interface XDevice;
+ published interface XRegion;
+ published interface XWindowPeer;
+ published interface XToolkit {
+ interface ::com::sun::star::uno::XInterface;
+ ::com::sun::star::awt::XWindowPeer getDesktopWindow();
+ ::com::sun::star::awt::Rectangle getWorkArea();
+ ::com::sun::star::awt::XWindowPeer createWindow([in] ::com::sun::star::awt::WindowDescriptor Descriptor) raises (::com::sun::star::lang::IllegalArgumentException);
+ sequence< ::com::sun::star::awt::XWindowPeer > createWindows([in] sequence< ::com::sun::star::awt::WindowDescriptor > Descriptors) raises (::com::sun::star::lang::IllegalArgumentException);
+ ::com::sun::star::awt::XDevice createScreenCompatibleDevice([in] long Width, [in] long Height);
+ ::com::sun::star::awt::XRegion createRegion();
+ };
+ published interface XToolkit2 {
+ interface ::com::sun::star::awt::XToolkit;
+ interface ::com::sun::star::awt::XDataTransferProviderAccess;
+ interface ::com::sun::star::awt::XSystemChildFactory;
+ interface ::com::sun::star::awt::XMessageBoxFactory;
+ interface ::com::sun::star::awt::XExtendedToolkit;
+ interface ::com::sun::star::awt::XReschedule;
+ };
+ published service Toolkit: ::com::sun::star::awt::XToolkit2;
+ published interface XActionListener;
+ published interface XButton {
+ interface ::com::sun::star::uno::XInterface;
+ void addActionListener([in] ::com::sun::star::awt::XActionListener l);
+ void removeActionListener([in] ::com::sun::star::awt::XActionListener l);
+ void setLabel([in] string Label);
+ void setActionCommand([in] string Command);
+ };
+ published interface XLayoutConstrains {
+ interface ::com::sun::star::uno::XInterface;
+ ::com::sun::star::awt::Size getMinimumSize();
+ ::com::sun::star::awt::Size getPreferredSize();
+ ::com::sun::star::awt::Size calcAdjustedSize([in] ::com::sun::star::awt::Size aNewSize);
+ };
+ published service UnoControlButton {
+ service ::com::sun::star::awt::UnoControl;
+ interface ::com::sun::star::awt::XButton;
+ interface ::com::sun::star::awt::XLayoutConstrains;
+ };
+ };
+ module style {
+ published enum VerticalAlignment {
+ TOP = 0,
+ MIDDLE = 1,
+ BOTTOM = 2
+ };
+ };
+ module graphic {
+ published interface XGraphic;
+ };
+ module awt {
+ published service UnoControlButtonModel {
+ service ::com::sun::star::awt::UnoControlModel;
+ [property, optional] short Align;
+ [property] ::com::sun::star::util::Color BackgroundColor;
+ [property] boolean DefaultButton;
+ [property] boolean Enabled;
+ [property, optional] boolean FocusOnClick;
+ [property] ::com::sun::star::awt::FontDescriptor FontDescriptor;
+ [property] short FontEmphasisMark;
+ [property] short FontRelief;
+ [property] string HelpText;
+ [property] string HelpURL;
+ [property] short ImageAlign;
+ [property, optional] short ImagePosition;
+ [property] string ImageURL;
+ [property, optional, transient] ::com::sun::star::graphic::XGraphic Graphic;
+ [property] string Label;
+ [property, optional] boolean MultiLine;
+ [property] boolean Printable;
+ [property] short PushButtonType;
+ [property, optional] boolean Repeat;
+ [property, optional] long RepeatDelay;
+ [property] short State;
+ [property] boolean Tabstop;
+ [property] ::com::sun::star::util::Color TextColor;
+ [property] ::com::sun::star::util::Color TextLineColor;
+ [property, optional] boolean Toggle;
+ [property, optional] ::com::sun::star::style::VerticalAlignment VerticalAlign;
+ };
+ published interface XItemListener;
+ published interface XCheckBox {
+ interface ::com::sun::star::uno::XInterface;
+ void addItemListener([in] ::com::sun::star::awt::XItemListener l);
+ void removeItemListener([in] ::com::sun::star::awt::XItemListener l);
+ short getState();
+ void setState([in] short n);
+ void setLabel([in] string Label);
+ void enableTriState([in] boolean b);
+ };
+ published service UnoControlCheckBox {
+ service ::com::sun::star::awt::UnoControl;
+ interface ::com::sun::star::awt::XCheckBox;
+ interface ::com::sun::star::awt::XLayoutConstrains;
+ };
+ };
+ module graphic {
+ published interface XGraphic;
+ };
+ module awt {
+ published service UnoControlCheckBoxModel {
+ service ::com::sun::star::awt::UnoControlModel;
+ [property, optional] short Align;
+ [property, optional] long BackgroundColor;
+ [property] boolean Enabled;
+ [property] ::com::sun::star::awt::FontDescriptor FontDescriptor;
+ [property] short FontEmphasisMark;
+ [property] short FontRelief;
+ [property] string HelpText;
+ [property] string HelpURL;
+ [property, optional] short ImagePosition;
+ [property, optional] string ImageURL;
+ [property, optional, transient] ::com::sun::star::graphic::XGraphic Graphic;
+ [property] string Label;
+ [property, optional] boolean MultiLine;
+ [property] boolean Printable;
+ [property] short State;
+ [property] boolean Tabstop;
+ [property] ::com::sun::star::util::Color TextColor;
+ [property] ::com::sun::star::util::Color TextLineColor;
+ [property] boolean TriState;
+ [property, optional] ::com::sun::star::style::VerticalAlignment VerticalAlign;
+ [property, optional] short VisualEffect;
+ [property, optional] short WritingMode;
+ };
+ published interface XTextListener;
+ published interface XTextComponent {
+ interface ::com::sun::star::uno::XInterface;
+ void addTextListener([in] ::com::sun::star::awt::XTextListener l);
+ void removeTextListener([in] ::com::sun::star::awt::XTextListener l);
+ void setText([in] string aText);
+ void insertText([in] ::com::sun::star::awt::Selection Sel, [in] string Text);
+ string getText();
+ string getSelectedText();
+ void setSelection([in] ::com::sun::star::awt::Selection aSelection);
+ ::com::sun::star::awt::Selection getSelection();
+ boolean isEditable();
+ void setEditable([in] boolean bEditable);
+ void setMaxTextLen([in] short nLen);
+ short getMaxTextLen();
+ };
+ published interface XTextLayoutConstrains {
+ interface ::com::sun::star::uno::XInterface;
+ ::com::sun::star::awt::Size getMinimumSize([in] short nCols, [in] short nLines);
+ void getColumnsAndLines([out] short nCols, [out] short nLines);
+ };
+ published service UnoControlEdit {
+ service ::com::sun::star::awt::UnoControl;
+ interface ::com::sun::star::awt::XTextComponent;
+ interface ::com::sun::star::awt::XLayoutConstrains;
+ interface ::com::sun::star::awt::XTextLayoutConstrains;
+ };
+ published interface XActionListener;
+ published interface XItemListener;
+ published interface XComboBox {
+ interface ::com::sun::star::uno::XInterface;
+ void addItemListener([in] ::com::sun::star::awt::XItemListener l);
+ void removeItemListener([in] ::com::sun::star::awt::XItemListener l);
+ void addActionListener([in] ::com::sun::star::awt::XActionListener l);
+ void removeActionListener([in] ::com::sun::star::awt::XActionListener l);
+ void addItem([in] string aItem, [in] short nPos);
+ void addItems([in] sequence< string > aItems, [in] short nPos);
+ void removeItems([in] short nPos, [in] short nCount);
+ short getItemCount();
+ string getItem([in] short nPos);
+ sequence< string > getItems();
+ short getDropDownLineCount();
+ void setDropDownLineCount([in] short nLines);
+ };
+ published service UnoControlComboBox {
+ service ::com::sun::star::awt::UnoControlEdit;
+ interface ::com::sun::star::awt::XComboBox;
+ };
+ interface XItemListListener;
+ interface XItemList {
+ interface ::com::sun::star::uno::XInterface;
+ [attribute, readonly] long ItemCount;
+ void insertItem([in] long Position, [in] string ItemText, [in] string ItemImageURL) raises (::com::sun::star::lang::IndexOutOfBoundsException);
+ void insertItemText([in] long Position, [in] string ItemText) raises (::com::sun::star::lang::IndexOutOfBoundsException);
+ void insertItemImage([in] long Position, [in] string ItemImageURL) raises (::com::sun::star::lang::IndexOutOfBoundsException);
+ void removeItem([in] long Position) raises (::com::sun::star::lang::IndexOutOfBoundsException);
+ void removeAllItems();
+ void setItemText([in] long Position, [in] string ItemText) raises (::com::sun::star::lang::IndexOutOfBoundsException);
+ void setItemImage([in] long Position, [in] string ItemImageURL) raises (::com::sun::star::lang::IndexOutOfBoundsException);
+ void setItemTextAndImage([in] long Position, [in] string ItemText, [in] string ItemImageURL) raises (::com::sun::star::lang::IndexOutOfBoundsException);
+ void setItemData([in] long Position, [in] any ItemData) raises (::com::sun::star::lang::IndexOutOfBoundsException);
+ string getItemText([in] long Position) raises (::com::sun::star::lang::IndexOutOfBoundsException);
+ string getItemImage([in] long Position) raises (::com::sun::star::lang::IndexOutOfBoundsException);
+ ::com::sun::star::beans::Pair< string, string > getItemTextAndImage([in] long Position) raises (::com::sun::star::lang::IndexOutOfBoundsException);
+ any getItemData([in] long Position) raises (::com::sun::star::lang::IndexOutOfBoundsException);
+ sequence< ::com::sun::star::beans::Pair< string, string > > getAllItems();
+ void addItemListListener([in] ::com::sun::star::awt::XItemListListener Listener);
+ void removeItemListListener([in] ::com::sun::star::awt::XItemListListener Listener);
+ };
+ published service UnoControlComboBoxModel {
+ service ::com::sun::star::awt::UnoControlModel;
+ [optional] interface ::com::sun::star::awt::XItemList;
+ [property, optional] short Align;
+ [property] boolean Autocomplete;
+ [property] ::com::sun::star::util::Color BackgroundColor;
+ [property] short Border;
+ [property, optional] long BorderColor;
+ [property] boolean Dropdown;
+ [property] boolean Enabled;
+ [property] ::com::sun::star::awt::FontDescriptor FontDescriptor;
+ [property] short FontEmphasisMark;
+ [property] short FontRelief;
+ [property] string HelpText;
+ [property] string HelpURL;
+ [property, optional] boolean HideInactiveSelection;
+ [property] short LineCount;
+ [property] short MaxTextLen;
+ [property] boolean Printable;
+ [property] boolean ReadOnly;
+ [property] sequence< string > StringItemList;
+ [property] boolean Tabstop;
+ [property] string Text;
+ [property] ::com::sun::star::util::Color TextColor;
+ [property] ::com::sun::star::util::Color TextLineColor;
+ [property, optional] short WritingMode;
+ [property, optional] short MouseWheelBehavior;
+ };
+ published interface XControlContainer {
+ interface ::com::sun::star::uno::XInterface;
+ void setStatusText([in] string StatusText);
+ sequence< ::com::sun::star::awt::XControl > getControls();
+ ::com::sun::star::awt::XControl getControl([in] string aName);
+ void addControl([in] string Name, [in] ::com::sun::star::awt::XControl Control);
+ void removeControl([in] ::com::sun::star::awt::XControl Control);
+ };
+ published interface XUnoControlContainer {
+ interface ::com::sun::star::uno::XInterface;
+ void setTabControllers([in] sequence< ::com::sun::star::awt::XTabController > TabControllers);
+ sequence< ::com::sun::star::awt::XTabController > getTabControllers();
+ void addTabController([in] ::com::sun::star::awt::XTabController TabController);
+ void removeTabController([in] ::com::sun::star::awt::XTabController TabController);
+ };
+ published service UnoControlContainer {
+ service ::com::sun::star::awt::UnoControl;
+ interface ::com::sun::star::awt::XUnoControlContainer;
+ interface ::com::sun::star::awt::XControlContainer;
+ interface ::com::sun::star::container::XContainer;
+ };
+ published service UnoControlContainerModel {
+ service ::com::sun::star::awt::UnoControlModel;
+ [property] ::com::sun::star::util::Color BackgroundColor;
+ [property] boolean Enabled;
+ [property] short Border;
+ [property, optional] long BorderColor;
+ [property] boolean Printable;
+ [property] string Text;
+ [property] string HelpText;
+ [property] string HelpURL;
+ };
+ published interface XCurrencyField {
+ interface ::com::sun::star::uno::XInterface;
+ void setValue([in] double Value);
+ double getValue();
+ void setMin([in] double Value);
+ double getMin();
+ void setMax([in] double Value);
+ double getMax();
+ void setFirst([in] double Value);
+ double getFirst();
+ void setLast([in] double Value);
+ double getLast();
+ void setSpinSize([in] double Value);
+ double getSpinSize();
+ void setDecimalDigits([in] short nDigits);
+ short getDecimalDigits();
+ void setStrictFormat([in] boolean bStrict);
+ boolean isStrictFormat();
+ };
+ published interface XSpinListener;
+ published interface XSpinField {
+ interface ::com::sun::star::uno::XInterface;
+ void addSpinListener([in] ::com::sun::star::awt::XSpinListener l);
+ void removeSpinListener([in] ::com::sun::star::awt::XSpinListener l);
+ void up();
+ void down();
+ void first();
+ void last();
+ void enableRepeat([in] boolean bRepeat);
+ };
+ published service UnoControlCurrencyField {
+ service ::com::sun::star::awt::UnoControlEdit;
+ interface ::com::sun::star::awt::XCurrencyField;
+ [optional] interface ::com::sun::star::awt::XSpinField;
+ };
+ published service UnoControlCurrencyFieldModel {
+ service ::com::sun::star::awt::UnoControlModel;
+ [property] ::com::sun::star::util::Color BackgroundColor;
+ [property] short Border;
+ [property, optional] long BorderColor;
+ [property] string CurrencySymbol;
+ [property] short DecimalAccuracy;
+ [property] boolean Enabled;
+ [property] ::com::sun::star::awt::FontDescriptor FontDescriptor;
+ [property] short FontEmphasisMark;
+ [property] short FontRelief;
+ [property] string HelpText;
+ [property] string HelpURL;
+ [property, optional] boolean HideInactiveSelection;
+ [property] boolean PrependCurrencySymbol;
+ [property] boolean Printable;
+ [property] boolean ReadOnly;
+ [property, optional] boolean Repeat;
+ [property, optional] long RepeatDelay;
+ [property] boolean ShowThousandsSeparator;
+ [property] boolean Spin;
+ [property] boolean StrictFormat;
+ [property] boolean Tabstop;
+ [property] ::com::sun::star::util::Color TextColor;
+ [property] ::com::sun::star::util::Color TextLineColor;
+ [property] double Value;
+ [property] double ValueMax;
+ [property] double ValueMin;
+ [property] double ValueStep;
+ [property, optional] short WritingMode;
+ [property, optional] short MouseWheelBehavior;
+ [property, optional] ::com::sun::star::style::VerticalAlignment VerticalAlign;
+ };
+ };
+ module util {
+ published struct Date {
+ unsigned short Day;
+ unsigned short Month;
+ short Year;
+ };
+ };
+ module awt {
+ published interface XDateField {
+ interface ::com::sun::star::uno::XInterface;
+ void setDate([in] ::com::sun::star::util::Date Date);
+ ::com::sun::star::util::Date getDate();
+ void setMin([in] ::com::sun::star::util::Date Date);
+ ::com::sun::star::util::Date getMin();
+ void setMax([in] ::com::sun::star::util::Date Date);
+ ::com::sun::star::util::Date getMax();
+ void setFirst([in] ::com::sun::star::util::Date Date);
+ ::com::sun::star::util::Date getFirst();
+ void setLast([in] ::com::sun::star::util::Date Date);
+ ::com::sun::star::util::Date getLast();
+ void setLongFormat([in] boolean bLong);
+ boolean isLongFormat();
+ void setEmpty();
+ boolean isEmpty();
+ void setStrictFormat([in] boolean bStrict);
+ boolean isStrictFormat();
+ };
+ published service UnoControlDateField {
+ service ::com::sun::star::awt::UnoControlEdit;
+ interface ::com::sun::star::awt::XDateField;
+ [optional] interface ::com::sun::star::awt::XSpinField;
+ };
+ published service UnoControlDateFieldModel {
+ service ::com::sun::star::awt::UnoControlModel;
+ [property] ::com::sun::star::util::Color BackgroundColor;
+ [property] short Border;
+ [property, optional] long BorderColor;
+ [property] ::com::sun::star::util::Date Date;
+ [property] short DateFormat;
+ [property] ::com::sun::star::util::Date DateMax;
+ [property] ::com::sun::star::util::Date DateMin;
+ [property] boolean DateShowCentury;
+ [property] boolean Dropdown;
+ [property] boolean Enabled;
+ [property] ::com::sun::star::awt::FontDescriptor FontDescriptor;
+ [property] short FontEmphasisMark;
+ [property] short FontRelief;
+ [property] string HelpText;
+ [property] string HelpURL;
+ [property, optional] boolean HideInactiveSelection;
+ [property] boolean Printable;
+ [property] boolean ReadOnly;
+ [property, optional] boolean Repeat;
+ [property, optional] long RepeatDelay;
+ [property] boolean Spin;
+ [property] boolean StrictFormat;
+ [property] boolean Tabstop;
+ [property, optional] string Text;
+ [property] ::com::sun::star::util::Color TextColor;
+ [property] ::com::sun::star::util::Color TextLineColor;
+ [property, optional] short WritingMode;
+ [property, optional] short MouseWheelBehavior;
+ [property, optional] ::com::sun::star::style::VerticalAlignment VerticalAlign;
+ };
+ published interface XDialog {
+ interface ::com::sun::star::uno::XInterface;
+ void setTitle([in] string Title);
+ string getTitle();
+ short execute();
+ void endExecute();
+ };
+ published interface XDialog2 {
+ interface ::com::sun::star::awt::XDialog;
+ void endDialog([in] long Result);
+ void setHelpId([in] string Id);
+ };
+ published interface XTopWindowListener;
+ published interface XTopWindow {
+ interface ::com::sun::star::uno::XInterface;
+ void addTopWindowListener([in] ::com::sun::star::awt::XTopWindowListener xListener);
+ void removeTopWindowListener([in] ::com::sun::star::awt::XTopWindowListener xListener);
+ void toFront();
+ void toBack();
+ void setMenuBar([in] ::com::sun::star::awt::XMenuBar xMenu);
+ };
+ published interface XUnoControlDialog {
+ interface ::com::sun::star::awt::XControlContainer;
+ interface ::com::sun::star::awt::XControl;
+ interface ::com::sun::star::awt::XWindow;
+ interface ::com::sun::star::awt::XTopWindow;
+ interface ::com::sun::star::awt::XDialog2;
+ };
+ published service UnoControlDialog: ::com::sun::star::awt::XUnoControlDialog;
+ };
+ module graphic {
+ published interface XGraphic;
+ };
+ module awt {
+ published service UnoControlDialogModel {
+ service ::com::sun::star::awt::UnoControlModel;
+ interface ::com::sun::star::lang::XMultiServiceFactory;
+ interface ::com::sun::star::container::XContainer;
+ interface ::com::sun::star::container::XNameContainer;
+ [property] ::com::sun::star::util::Color BackgroundColor;
+ [property] boolean Closeable;
+ [property] boolean Enabled;
+ [property] ::com::sun::star::awt::FontDescriptor FontDescriptor;
+ [property] short FontEmphasisMark;
+ [property] short FontRelief;
+ [property] string HelpText;
+ [property] string HelpURL;
+ [property] boolean Moveable;
+ [property] boolean Sizeable;
+ [property] ::com::sun::star::util::Color TextColor;
+ [property] ::com::sun::star::util::Color TextLineColor;
+ [property] string Title;
+ [property, optional] boolean DesktopAsParent;
+ [property, optional] string ImageURL;
+ [property, optional, transient] ::com::sun::star::graphic::XGraphic Graphic;
+ };
+ published service UnoControlEditModel {
+ service ::com::sun::star::awt::UnoControlModel;
+ [property] short Align;
+ [property, optional] boolean AutoHScroll;
+ [property, optional] boolean AutoVScroll;
+ [property] ::com::sun::star::util::Color BackgroundColor;
+ [property] short Border;
+ [property, optional] long BorderColor;
+ [property, optional] short EchoChar;
+ [property] boolean Enabled;
+ [property] ::com::sun::star::awt::FontDescriptor FontDescriptor;
+ [property] short FontEmphasisMark;
+ [property] short FontRelief;
+ [property] boolean HardLineBreaks;
+ [property] string HelpText;
+ [property] string HelpURL;
+ [property, optional] boolean HideInactiveSelection;
+ [property] boolean HScroll;
+ [property, optional] short LineEndFormat;
+ [property] short MaxTextLen;
+ [property] boolean MultiLine;
+ [property, optional] boolean PaintTransparent;
+ [property] boolean Printable;
+ [property] boolean ReadOnly;
+ [property] boolean Tabstop;
+ [property] string Text;
+ [property] ::com::sun::star::util::Color TextColor;
+ [property] ::com::sun::star::util::Color TextLineColor;
+ [property] boolean VScroll;
+ [property, optional] short WritingMode;
+ [property, optional] ::com::sun::star::style::VerticalAlignment VerticalAlign;
+ };
+ published service UnoControlFileControl {
+ service ::com::sun::star::awt::UnoControlEdit;
+ };
+ published service UnoControlFileControlModel {
+ service ::com::sun::star::awt::UnoControlModel;
+ [property] ::com::sun::star::util::Color BackgroundColor;
+ [property] short Border;
+ [property, optional] long BorderColor;
+ [property] boolean Enabled;
+ [property] ::com::sun::star::awt::FontDescriptor FontDescriptor;
+ [property] short FontEmphasisMark;
+ [property] short FontRelief;
+ [property] string HelpText;
+ [property] string HelpURL;
+ [property, optional] boolean HideInactiveSelection;
+ [property] boolean Printable;
+ [property, optional] boolean ReadOnly;
+ [property] boolean Tabstop;
+ [property] string Text;
+ [property] ::com::sun::star::util::Color TextColor;
+ [property] ::com::sun::star::util::Color TextLineColor;
+ [property, optional] ::com::sun::star::style::VerticalAlignment VerticalAlign;
+ };
+ published service UnoControlFixedLine {
+ service ::com::sun::star::awt::UnoControl;
+ };
+ published service UnoControlFixedLineModel {
+ service ::com::sun::star::awt::UnoControlModel;
+ [property] boolean Enabled;
+ [property] ::com::sun::star::awt::FontDescriptor FontDescriptor;
+ [property] short FontEmphasisMark;
+ [property] short FontRelief;
+ [property] string HelpText;
+ [property] string HelpURL;
+ [property] string Label;
+ [property] long Orientation;
+ [property] boolean Printable;
+ [property] ::com::sun::star::util::Color TextColor;
+ [property] ::com::sun::star::util::Color TextLineColor;
+ };
+ published interface XFixedText {
+ interface ::com::sun::star::uno::XInterface;
+ void setText([in] string Text);
+ string getText();
+ void setAlignment([in] short nAlign);
+ short getAlignment();
+ };
+ published service UnoControlFixedText {
+ service ::com::sun::star::awt::UnoControl;
+ interface ::com::sun::star::awt::XFixedText;
+ interface ::com::sun::star::awt::XLayoutConstrains;
+ };
+ published service UnoControlFixedTextModel {
+ service ::com::sun::star::awt::UnoControlModel;
+ [property] short Align;
+ [property] ::com::sun::star::util::Color BackgroundColor;
+ [property] short Border;
+ [property, optional] long BorderColor;
+ [property] boolean Enabled;
+ [property] ::com::sun::star::awt::FontDescriptor FontDescriptor;
+ [property] short FontEmphasisMark;
+ [property] short FontRelief;
+ [property] string HelpText;
+ [property] string HelpURL;
+ [property] string Label;
+ [property] boolean MultiLine;
+ [property] boolean Printable;
+ [property] ::com::sun::star::util::Color TextColor;
+ [property] ::com::sun::star::util::Color TextLineColor;
+ [property, optional] ::com::sun::star::style::VerticalAlignment VerticalAlign;
+ };
+ published service UnoControlFormattedField {
+ service ::com::sun::star::awt::UnoControlEdit;
+ [optional] interface ::com::sun::star::awt::XSpinField;
+ };
+ };
+ module util {
+ published interface XNumberFormatsSupplier;
+ };
+ module awt {
+ published service UnoControlFormattedFieldModel {
+ service ::com::sun::star::awt::UnoControlModel;
+ [property] short Align;
+ [property] ::com::sun::star::util::Color BackgroundColor;
+ [property] short Border;
+ [property, optional] long BorderColor;
+ [property] any EffectiveDefault;
+ [property] double EffectiveMax;
+ [property] double EffectiveMin;
+ [property] double EffectiveValue;
+ [property] boolean Enabled;
+ [property] ::com::sun::star::awt::FontDescriptor FontDescriptor;
+ [property] short FontEmphasisMark;
+ [property] short FontRelief;
+ [property] long FormatKey;
+ [property] ::com::sun::star::util::XNumberFormatsSupplier FormatsSupplier;
+ [property] string HelpText;
+ [property] string HelpURL;
+ [property, optional] boolean HideInactiveSelection;
+ [property] short MaxTextLen;
+ [property] boolean Printable;
+ [property] boolean ReadOnly;
+ [property, optional] boolean Repeat;
+ [property, optional] long RepeatDelay;
+ [property] boolean Spin;
+ [property, optional] boolean StrictFormat;
+ [property] boolean Tabstop;
+ [property] string Text;
+ [property] ::com::sun::star::util::Color TextColor;
+ [property] ::com::sun::star::util::Color TextLineColor;
+ [property] boolean TreatAsNumber;
+ [property, optional] short WritingMode;
+ [property, optional] short MouseWheelBehavior;
+ [property, optional] ::com::sun::star::style::VerticalAlignment VerticalAlign;
+ };
+ published service UnoControlGroupBox {
+ service ::com::sun::star::awt::UnoControl;
+ };
+ published service UnoControlGroupBoxModel {
+ service ::com::sun::star::awt::UnoControlModel;
+ [property] boolean Enabled;
+ [property] ::com::sun::star::awt::FontDescriptor FontDescriptor;
+ [property] short FontEmphasisMark;
+ [property] short FontRelief;
+ [property] string HelpText;
+ [property] string HelpURL;
+ [property] string Label;
+ [property] boolean Printable;
+ [property] ::com::sun::star::util::Color TextColor;
+ [property] ::com::sun::star::util::Color TextLineColor;
+ [property, optional] short WritingMode;
+ };
+ published service UnoControlImageControl {
+ service ::com::sun::star::awt::UnoControl;
+ interface ::com::sun::star::awt::XLayoutConstrains;
+ };
+ };
+ module graphic {
+ published interface XGraphic;
+ };
+ module awt {
+ published service UnoControlImageControlModel {
+ service ::com::sun::star::awt::UnoControlModel;
+ [property] ::com::sun::star::util::Color BackgroundColor;
+ [property] short Border;
+ [property, optional] long BorderColor;
+ [property] boolean Enabled;
+ [property] string HelpText;
+ [property] string HelpURL;
+ [property] string ImageURL;
+ [property, optional, transient] ::com::sun::star::graphic::XGraphic Graphic;
+ [property] boolean Printable;
+ [property] boolean ScaleImage;
+ [property, optional] short ScaleMode;
+ [property, optional] boolean Tabstop;
+ };
+ published interface XActionListener;
+ published interface XItemListener;
+ published interface XListBox {
+ interface ::com::sun::star::uno::XInterface;
+ void addItemListener([in] ::com::sun::star::awt::XItemListener l);
+ void removeItemListener([in] ::com::sun::star::awt::XItemListener l);
+ void addActionListener([in] ::com::sun::star::awt::XActionListener l);
+ void removeActionListener([in] ::com::sun::star::awt::XActionListener l);
+ void addItem([in] string aItem, [in] short nPos);
+ void addItems([in] sequence< string > aItems, [in] short nPos);
+ void removeItems([in] short nPos, [in] short nCount);
+ short getItemCount();
+ string getItem([in] short nPos);
+ sequence< string > getItems();
+ short getSelectedItemPos();
+ sequence< short > getSelectedItemsPos();
+ string getSelectedItem();
+ sequence< string > getSelectedItems();
+ void selectItemPos([in] short nPos, [in] boolean bSelect);
+ void selectItemsPos([in] sequence< short > aPositions, [in] boolean bSelect);
+ void selectItem([in] string aItem, [in] boolean bSelect);
+ boolean isMutipleMode();
+ void setMultipleMode([in] boolean bMulti);
+ short getDropDownLineCount();
+ void setDropDownLineCount([in] short nLines);
+ void makeVisible([in] short nEntry);
+ };
+ published service UnoControlListBox {
+ service ::com::sun::star::awt::UnoControl;
+ interface ::com::sun::star::awt::XListBox;
+ interface ::com::sun::star::awt::XLayoutConstrains;
+ interface ::com::sun::star::awt::XTextLayoutConstrains;
+ };
+ published service UnoControlListBoxModel {
+ service ::com::sun::star::awt::UnoControlModel;
+ [optional] interface ::com::sun::star::awt::XItemList;
+ [property, optional] short Align;
+ [property] ::com::sun::star::util::Color BackgroundColor;
+ [property] short Border;
+ [property, optional] long BorderColor;
+ [property] boolean Dropdown;
+ [property] boolean Enabled;
+ [property] ::com::sun::star::awt::FontDescriptor FontDescriptor;
+ [property] short FontEmphasisMark;
+ [property] short FontRelief;
+ [property] string HelpText;
+ [property] string HelpURL;
+ [property] short LineCount;
+ [property] boolean MultiSelection;
+ [property] boolean Printable;
+ [property] boolean ReadOnly;
+ [property] sequence< short > SelectedItems;
+ [property] sequence< string > StringItemList;
+ [property] boolean Tabstop;
+ [property] ::com::sun::star::util::Color TextColor;
+ [property] ::com::sun::star::util::Color TextLineColor;
+ [property, optional] short WritingMode;
+ [property, optional] short MouseWheelBehavior;
+ [property, maybevoid, optional] short ItemSeparatorPos;
+ };
+ published interface XNumericField {
+ interface ::com::sun::star::uno::XInterface;
+ void setValue([in] double Value);
+ double getValue();
+ void setMin([in] double Value);
+ double getMin();
+ void setMax([in] double Value);
+ double getMax();
+ void setFirst([in] double Value);
+ double getFirst();
+ void setLast([in] double Value);
+ double getLast();
+ void setSpinSize([in] double Value);
+ double getSpinSize();
+ void setDecimalDigits([in] short nDigits);
+ short getDecimalDigits();
+ void setStrictFormat([in] boolean bStrict);
+ boolean isStrictFormat();
+ };
+ published service UnoControlNumericField {
+ service ::com::sun::star::awt::UnoControlEdit;
+ interface ::com::sun::star::awt::XNumericField;
+ [optional] interface ::com::sun::star::awt::XSpinField;
+ };
+ published service UnoControlNumericFieldModel {
+ service ::com::sun::star::awt::UnoControlModel;
+ [property] ::com::sun::star::util::Color BackgroundColor;
+ [property] short Border;
+ [property, optional] long BorderColor;
+ [property] short DecimalAccuracy;
+ [property] boolean Enabled;
+ [property] ::com::sun::star::awt::FontDescriptor FontDescriptor;
+ [property] short FontEmphasisMark;
+ [property] short FontRelief;
+ [property] string HelpText;
+ [property] string HelpURL;
+ [property, optional] boolean HideInactiveSelection;
+ [property] boolean Printable;
+ [property] boolean ReadOnly;
+ [property, optional] boolean Repeat;
+ [property, optional] long RepeatDelay;
+ [property] boolean ShowThousandsSeparator;
+ [property] boolean Spin;
+ [property] boolean StrictFormat;
+ [property] boolean Tabstop;
+ [property] ::com::sun::star::util::Color TextColor;
+ [property] ::com::sun::star::util::Color TextLineColor;
+ [property] double Value;
+ [property] double ValueMax;
+ [property] double ValueMin;
+ [property] double ValueStep;
+ [property, optional] short WritingMode;
+ [property, optional] short MouseWheelBehavior;
+ [property, optional] ::com::sun::star::style::VerticalAlignment VerticalAlign;
+ };
+ published interface XPatternField {
+ interface ::com::sun::star::uno::XInterface;
+ void setMasks([in] string EditMask, [in] string LiteralMask);
+ void getMasks([out] string EditMask, [out] string LiteralMask);
+ void setString([in] string Str);
+ string getString();
+ void setStrictFormat([in] boolean bStrict);
+ boolean isStrictFormat();
+ };
+ published service UnoControlPatternField {
+ service ::com::sun::star::awt::UnoControlEdit;
+ interface ::com::sun::star::awt::XPatternField;
+ [optional] interface ::com::sun::star::awt::XSpinField;
+ };
+ published service UnoControlPatternFieldModel {
+ service ::com::sun::star::awt::UnoControlModel;
+ [property] ::com::sun::star::util::Color BackgroundColor;
+ [property] short Border;
+ [property, optional] long BorderColor;
+ [property] string EditMask;
+ [property] boolean Enabled;
+ [property] ::com::sun::star::awt::FontDescriptor FontDescriptor;
+ [property] short FontEmphasisMark;
+ [property] short FontRelief;
+ [property] string HelpText;
+ [property] string HelpURL;
+ [property, optional] boolean HideInactiveSelection;
+ [property] string LiteralMask;
+ [property] short MaxTextLen;
+ [property] boolean Printable;
+ [property] boolean ReadOnly;
+ [property] boolean StrictFormat;
+ [property] boolean Tabstop;
+ [property] string Text;
+ [property] ::com::sun::star::util::Color TextColor;
+ [property] ::com::sun::star::util::Color TextLineColor;
+ [property, optional] short WritingMode;
+ [property, optional] short MouseWheelBehavior;
+ [property, optional] ::com::sun::star::style::VerticalAlignment VerticalAlign;
+ };
+ published interface XProgressBar {
+ interface ::com::sun::star::uno::XInterface;
+ void setForegroundColor([in] ::com::sun::star::util::Color Color);
+ void setBackgroundColor([in] ::com::sun::star::util::Color Color);
+ void setRange([in] long Min, [in] long Max);
+ void setValue([in] long Value);
+ long getValue();
+ };
+ published service UnoControlProgressBar {
+ service ::com::sun::star::awt::UnoControl;
+ interface ::com::sun::star::awt::XProgressBar;
+ };
+ published service UnoControlProgressBarModel {
+ service ::com::sun::star::awt::UnoControlModel;
+ [property] ::com::sun::star::util::Color BackgroundColor;
+ [property] short Border;
+ [property, optional] long BorderColor;
+ [property] boolean Enabled;
+ [property] ::com::sun::star::util::Color FillColor;
+ [property] string HelpText;
+ [property] string HelpURL;
+ [property] boolean Printable;
+ [property] long ProgressValue;
+ [property] long ProgressValueMax;
+ [property] long ProgressValueMin;
+ };
+ published interface XItemListener;
+ published interface XRadioButton {
+ interface ::com::sun::star::uno::XInterface;
+ void addItemListener([in] ::com::sun::star::awt::XItemListener l);
+ void removeItemListener([in] ::com::sun::star::awt::XItemListener l);
+ boolean getState();
+ void setState([in] boolean b);
+ void setLabel([in] string Label);
+ };
+ published service UnoControlRadioButton {
+ service ::com::sun::star::awt::UnoControl;
+ interface ::com::sun::star::awt::XRadioButton;
+ interface ::com::sun::star::awt::XLayoutConstrains;
+ };
+ };
+ module graphic {
+ published interface XGraphic;
+ };
+ module awt {
+ published service UnoControlRadioButtonModel {
+ service ::com::sun::star::awt::UnoControlModel;
+ [property, optional] short Align;
+ [property, optional] long BackgroundColor;
+ [property] boolean Enabled;
+ [property] ::com::sun::star::awt::FontDescriptor FontDescriptor;
+ [property] short FontEmphasisMark;
+ [property] short FontRelief;
+ [property] string HelpText;
+ [property] string HelpURL;
+ [property, optional] short ImagePosition;
+ [property, optional] string ImageURL;
+ [property, optional, transient] ::com::sun::star::graphic::XGraphic Graphic;
+ [property] string Label;
+ [property, optional] boolean MultiLine;
+ [property] boolean Printable;
+ [property] short State;
+ [property] boolean Tabstop;
+ [property] ::com::sun::star::util::Color TextColor;
+ [property] ::com::sun::star::util::Color TextLineColor;
+ [property, optional] ::com::sun::star::style::VerticalAlignment VerticalAlign;
+ [property, optional] short VisualEffect;
+ [property, optional] short WritingMode;
+ };
+ published interface XAdjustmentListener;
+ published interface XScrollBar {
+ interface ::com::sun::star::uno::XInterface;
+ void addAdjustmentListener([in] ::com::sun::star::awt::XAdjustmentListener l);
+ void removeAdjustmentListener([in] ::com::sun::star::awt::XAdjustmentListener l);
+ void setValue([in] long n);
+ void setValues([in] long nValue, [in] long nVisible, [in] long nMax);
+ long getValue();
+ void setMaximum([in] long n);
+ long getMaximum();
+ void setLineIncrement([in] long n);
+ long getLineIncrement();
+ void setBlockIncrement([in] long n);
+ long getBlockIncrement();
+ void setVisibleSize([in] long n);
+ long getVisibleSize();
+ void setOrientation([in] long n);
+ long getOrientation();
+ };
+ published service UnoControlScrollBar {
+ service ::com::sun::star::awt::UnoControl;
+ interface ::com::sun::star::awt::XScrollBar;
+ };
+ published service UnoControlScrollBarModel {
+ service ::com::sun::star::awt::UnoControlModel;
+ [property, optional] ::com::sun::star::util::Color BackgroundColor;
+ [property] long BlockIncrement;
+ [property] short Border;
+ [property, optional] long BorderColor;
+ [property] boolean Enabled;
+ [property] string HelpText;
+ [property] string HelpURL;
+ [property] long LineIncrement;
+ [property, optional] boolean LiveScroll;
+ [property] long Orientation;
+ [property] boolean Printable;
+ [property, optional] long RepeatDelay;
+ [property] long ScrollValue;
+ [property, optional] long ScrollValueMin;
+ [property] long ScrollValueMax;
+ [property, optional] ::com::sun::star::util::Color SymbolColor;
+ [property, optional] boolean Tabstop;
+ [property] long VisibleSize;
+ };
+ };
+ module util {
+ published struct Time {
+ unsigned long NanoSeconds;
+ unsigned short Seconds;
+ unsigned short Minutes;
+ unsigned short Hours;
+ boolean IsUTC;
+ };
+ };
+ module awt {
+ published interface XTimeField {
+ interface ::com::sun::star::uno::XInterface;
+ void setTime([in] ::com::sun::star::util::Time Time);
+ ::com::sun::star::util::Time getTime();
+ void setMin([in] ::com::sun::star::util::Time Time);
+ ::com::sun::star::util::Time getMin();
+ void setMax([in] ::com::sun::star::util::Time Time);
+ ::com::sun::star::util::Time getMax();
+ void setFirst([in] ::com::sun::star::util::Time Time);
+ ::com::sun::star::util::Time getFirst();
+ void setLast([in] ::com::sun::star::util::Time Time);
+ ::com::sun::star::util::Time getLast();
+ void setEmpty();
+ boolean isEmpty();
+ void setStrictFormat([in] boolean bStrict);
+ boolean isStrictFormat();
+ };
+ published service UnoControlTimeField {
+ service ::com::sun::star::awt::UnoControlEdit;
+ interface ::com::sun::star::awt::XTimeField;
+ [optional] interface ::com::sun::star::awt::XSpinField;
+ };
+ published service UnoControlTimeFieldModel {
+ service ::com::sun::star::awt::UnoControlModel;
+ [property] ::com::sun::star::util::Color BackgroundColor;
+ [property] short Border;
+ [property, optional] long BorderColor;
+ [property] boolean Enabled;
+ [property] ::com::sun::star::awt::FontDescriptor FontDescriptor;
+ [property] short FontEmphasisMark;
+ [property] short FontRelief;
+ [property] string HelpText;
+ [property] string HelpURL;
+ [property, optional] boolean HideInactiveSelection;
+ [property] boolean Printable;
+ [property] boolean ReadOnly;
+ [property, optional] boolean Repeat;
+ [property, optional] long RepeatDelay;
+ [property] boolean Spin;
+ [property] boolean StrictFormat;
+ [property] boolean Tabstop;
+ [property, optional] string Text;
+ [property] ::com::sun::star::util::Color TextColor;
+ [property] ::com::sun::star::util::Color TextLineColor;
+ [property] ::com::sun::star::util::Time Time;
+ [property] short TimeFormat;
+ [property] ::com::sun::star::util::Time TimeMax;
+ [property] ::com::sun::star::util::Time TimeMin;
+ [property, optional] short WritingMode;
+ [property, optional] short MouseWheelBehavior;
+ [property, optional] ::com::sun::star::style::VerticalAlignment VerticalAlign;
+ };
+ published struct VclContainerEvent: ::com::sun::star::lang::EventObject {
+ ::com::sun::star::uno::XInterface Child;
+ };
+ /** @deprecated */ published constants VclWindowPeerAttribute {
+ const long HSCROLL = 256;
+ const long VSCROLL = 512;
+ const long LEFT = 1024;
+ const long CENTER = 2048;
+ const long RIGHT = 4096;
+ const long SPIN = 8192;
+ const long SORT = 16384;
+ const long DROPDOWN = 32768;
+ const long DEFBUTTON = 65536;
+ const long READONLY = 262144;
+ const long CLIPCHILDREN = 524288;
+ const long NOBORDER = 1048576;
+ const long GROUP = 2097152;
+ const long OK = 4194304;
+ const long OK_CANCEL = 8388608;
+ const long YES_NO = 16777216;
+ const long YES_NO_CANCEL = 33554432;
+ const long RETRY_CANCEL = 67108864;
+ const long DEF_OK = 134217728;
+ const long DEF_CANCEL = 268435456;
+ const long DEF_RETRY = 536870912;
+ const long DEF_YES = 1073741824;
+ const long DEF_NO = -2147483648;
+ const long NOLABEL = 536870912;
+ const long AUTOHSCROLL = 1073741824;
+ const long AUTOVSCROLL = -2147483648;
+ };
+ published constants WindowAttribute {
+ const long SHOW = 1;
+ const long FULLSIZE = 2;
+ const long OPTIMUMSIZE = 4;
+ const long MINSIZE = 8;
+ const long BORDER = 16;
+ const long SIZEABLE = 32;
+ const long MOVEABLE = 64;
+ const long CLOSEABLE = 128;
+ /** @deprecated */ const long SYSTEMDEPENDENT = 256;
+ const long NODECORATION = 512;
+ };
+ published struct WindowEvent: ::com::sun::star::lang::EventObject {
+ long X;
+ long Y;
+ long Width;
+ long Height;
+ long LeftInset;
+ long TopInset;
+ long RightInset;
+ long BottomInset;
+ };
+ published interface XActionListener {
+ interface ::com::sun::star::lang::XEventListener;
+ void actionPerformed([in] ::com::sun::star::awt::ActionEvent rEvent);
+ };
+ published interface XActivateListener {
+ interface ::com::sun::star::lang::XEventListener;
+ void windowActivated([in] ::com::sun::star::lang::EventObject e);
+ void windowDeactivated([in] ::com::sun::star::lang::EventObject e);
+ };
+ published interface XAdjustmentListener {
+ interface ::com::sun::star::lang::XEventListener;
+ void adjustmentValueChanged([in] ::com::sun::star::awt::AdjustmentEvent rEvent);
+ };
+ published interface XBitmap {
+ interface ::com::sun::star::uno::XInterface;
+ ::com::sun::star::awt::Size getSize();
+ sequence< byte > getDIB();
+ sequence< byte > getMaskDIB();
+ };
+ published interface XDisplayBitmap;
+ published interface XFont;
+ published interface XGraphics;
+ published interface XDevice {
+ interface ::com::sun::star::uno::XInterface;
+ ::com::sun::star::awt::XGraphics createGraphics();
+ ::com::sun::star::awt::XDevice createDevice([in] long nWidth, [in] long nHeight);
+ ::com::sun::star::awt::DeviceInfo getInfo();
+ sequence< ::com::sun::star::awt::FontDescriptor > getFontDescriptors();
+ ::com::sun::star::awt::XFont getFont([in] ::com::sun::star::awt::FontDescriptor aDescriptor);
+ ::com::sun::star::awt::XBitmap createBitmap([in] long nX, [in] long nY, [in] long nWidth, [in] long nHeight);
+ ::com::sun::star::awt::XDisplayBitmap createDisplayBitmap([in] ::com::sun::star::awt::XBitmap Bitmap);
+ };
+ published interface XDisplayBitmap {
+ interface ::com::sun::star::uno::XInterface;
+ };
+ published interface XEventHandler;
+ published interface XDisplayConnection {
+ interface ::com::sun::star::uno::XInterface;
+ void addEventHandler([in] any window, [in] ::com::sun::star::awt::XEventHandler eventHandler, [in] long eventMask);
+ void removeEventHandler([in] any window, [in] ::com::sun::star::awt::XEventHandler eventHandler);
+ void addErrorHandler([in] ::com::sun::star::awt::XEventHandler errorHandler);
+ void removeErrorHandler([in] ::com::sun::star::awt::XEventHandler errorHandler);
+ any getIdentifier();
+ };
+ published interface XEnhancedMouseClickHandler {
+ interface ::com::sun::star::lang::XEventListener;
+ boolean mousePressed([in] ::com::sun::star::awt::EnhancedMouseEvent e);
+ boolean mouseReleased([in] ::com::sun::star::awt::EnhancedMouseEvent e);
+ };
+ published interface XEventHandler {
+ interface ::com::sun::star::uno::XInterface;
+ boolean handleEvent([in] any event);
+ };
+ /** @deprecated */ published interface XFileDialog {
+ interface ::com::sun::star::uno::XInterface;
+ void setPath([in] string Path);
+ string getPath();
+ void setFilters([in] sequence< string > rFilterNames, [in] sequence< string > rMasks);
+ void setCurrentFilter([in] string Filter);
+ string getCurrentFilter();
+ };
+ published interface XFocusListener {
+ interface ::com::sun::star::lang::XEventListener;
+ void focusGained([in] ::com::sun::star::awt::FocusEvent e);
+ void focusLost([in] ::com::sun::star::awt::FocusEvent e);
+ };
+ published interface XFont {
+ interface ::com::sun::star::uno::XInterface;
+ ::com::sun::star::awt::FontDescriptor getFontDescriptor();
+ ::com::sun::star::awt::SimpleFontMetric getFontMetric();
+ short getCharWidth([in] char c);
+ sequence< short > getCharWidths([in] char nFirst, [in] char nLast);
+ long getStringWidth([in] string str);
+ long getStringWidthArray([in] string str, [out] sequence< long > aDXArray);
+ void getKernPairs([out] sequence< char > Chars1, [out] sequence< char > Chars2, [out] sequence< short > Kerns);
+ };
+ published interface XRegion;
+ published interface XGraphics {
+ interface ::com::sun::star::uno::XInterface;
+ ::com::sun::star::awt::XDevice getDevice();
+ ::com::sun::star::awt::SimpleFontMetric getFontMetric();
+ void setFont([in] ::com::sun::star::awt::XFont xNewFont);
+ void selectFont([in] ::com::sun::star::awt::FontDescriptor aDescription);
+ void setTextColor([in] ::com::sun::star::util::Color nColor);
+ void setTextFillColor([in] ::com::sun::star::util::Color nColor);
+ void setLineColor([in] ::com::sun::star::util::Color nColor);
+ void setFillColor([in] ::com::sun::star::util::Color nColor);
+ void setRasterOp([in] ::com::sun::star::awt::RasterOperation ROP);
+ void setClipRegion([in] ::com::sun::star::awt::XRegion Clipping);
+ void intersectClipRegion([in] ::com::sun::star::awt::XRegion xClipping);
+ void push();
+ void pop();
+ void copy([in] ::com::sun::star::awt::XDevice xSource, [in] long nSourceX, [in] long nSourceY, [in] long nSourceWidth, [in] long nSourceHeight, [in] long nDestX, [in] long nDestY, [in] long nDestWidth, [in] long nDestHeight);
+ void draw([in] ::com::sun::star::awt::XDisplayBitmap xBitmapHandle, [in] long SourceX, [in] long SourceY, [in] long SourceWidth, [in] long SourceHeight, [in] long DestX, [in] long DestY, [in] long DestWidth, [in] long DestHeight);
+ void drawPixel([in] long X, [in] long Y);
+ void drawLine([in] long X1, [in] long Y1, [in] long X2, [in] long Y2);
+ void drawRect([in] long X, [in] long Y, [in] long Width, [in] long Height);
+ void drawRoundedRect([in] long X, [in] long Y, [in] long Width, [in] long Height, [in] long nHorzRound, [in] long nVertRound);
+ void drawPolyLine([in] sequence< long > DataX, [in] sequence< long > DataY);
+ void drawPolygon([in] sequence< long > DataX, [in] sequence< long > DataY);
+ void drawPolyPolygon([in] sequence< sequence< long > > DataX, [in] sequence< sequence< long > > DataY);
+ void drawEllipse([in] long X, [in] long Y, [in] long Width, [in] long Height);
+ void drawArc([in] long X, [in] long Y, [in] long Width, [in] long Height, [in] long X1, [in] long Y1, [in] long X2, [in] long Y2);
+ void drawPie([in] long X, [in] long Y, [in] long Width, [in] long Height, [in] long X1, [in] long Y1, [in] long X2, [in] long Y2);
+ void drawChord([in] long nX, [in] long nY, [in] long nWidth, [in] long nHeight, [in] long nX1, [in] long nY1, [in] long nX2, [in] long nY2);
+ void drawGradient([in] long nX, [in] long nY, [in] long nWidth, [in] long Height, [in] ::com::sun::star::awt::Gradient aGradient);
+ void drawText([in] long X, [in] long Y, [in] string Text);
+ void drawTextArray([in] long X, [in] long Y, [in] string Text, [in] sequence< long > Longs);
+ };
+ };
+ module graphic {
+ published interface XGraphic;
+ };
+ module awt {
+ published interface XGraphics2 {
+ interface ::com::sun::star::awt::XGraphics;
+ void clear([in] ::com::sun::star::awt::Rectangle aRect);
+ void drawImage([in] long nX, [in] long nY, [in] long nWidth, [in] long nHeight, [in] short nStyle, [in] ::com::sun::star::graphic::XGraphic aGraphic);
+ };
+ published interface XImageButton {
+ interface ::com::sun::star::uno::XInterface;
+ void addActionListener([in] ::com::sun::star::awt::XActionListener l);
+ void removeActionListener([in] ::com::sun::star::awt::XActionListener l);
+ void setActionCommand([in] string Command);
+ };
+ published interface XImageProducer;
+ published interface XImageConsumer {
+ interface ::com::sun::star::uno::XInterface;
+ void init([in] long Width, [in] long Height);
+ void setColorModel([in] short BitCount, [in] sequence< long > RGBAPal, [in] long RedMask, [in] long GreenMask, [in] long BlueMask, [in] long AlphaMask);
+ void setPixelsByBytes([in] long nX, [in] long nY, [in] long nWidth, [in] long nHeight, [in] sequence< byte > aProducerData, [in] long nOffset, [in] long nScanSize);
+ void setPixelsByLongs([in] long nX, [in] long nY, [in] long nWidth, [in] long nHeight, [in] sequence< long > aProducerData, [in] long nOffset, [in] long nScanSize);
+ void complete([in] long Status, [in] ::com::sun::star::awt::XImageProducer xProducer);
+ };
+ published interface XImageProducer {
+ interface ::com::sun::star::uno::XInterface;
+ void addConsumer([in] ::com::sun::star::awt::XImageConsumer xConsumer);
+ void removeConsumer([in] ::com::sun::star::awt::XImageConsumer xConsumer);
+ void startProduction();
+ };
+ published interface XPrinterPropertySet {
+ interface ::com::sun::star::beans::XPropertySet;
+ void setHorizontal([in] boolean bHorizontal) raises (::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException);
+ sequence< string > getFormDescriptions();
+ void selectForm([in] string aFormDescription) raises (::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException);
+ sequence< byte > getBinarySetup();
+ void setBinarySetup([in] sequence< byte > data) raises (::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException);
+ };
+ published interface XInfoPrinter {
+ interface ::com::sun::star::awt::XPrinterPropertySet;
+ ::com::sun::star::awt::XDevice createDevice();
+ };
+ published interface XItemListener {
+ interface ::com::sun::star::lang::XEventListener;
+ void itemStateChanged([in] ::com::sun::star::awt::ItemEvent rEvent);
+ };
+ published interface XKeyHandler {
+ interface ::com::sun::star::lang::XEventListener;
+ boolean keyPressed([in] ::com::sun::star::awt::KeyEvent aEvent);
+ boolean keyReleased([in] ::com::sun::star::awt::KeyEvent aEvent);
+ };
+ published interface XKeyListener {
+ interface ::com::sun::star::lang::XEventListener;
+ void keyPressed([in] ::com::sun::star::awt::KeyEvent e);
+ void keyReleased([in] ::com::sun::star::awt::KeyEvent e);
+ };
+ published interface XMenuListener {
+ interface ::com::sun::star::lang::XEventListener;
+ void itemHighlighted([in] ::com::sun::star::awt::MenuEvent aEvent);
+ void itemSelected([in] ::com::sun::star::awt::MenuEvent aEvent);
+ void itemActivated([in] ::com::sun::star::awt::MenuEvent aEvent);
+ void itemDeactivated([in] ::com::sun::star::awt::MenuEvent aEvent);
+ };
+ published interface XMessageBox {
+ interface ::com::sun::star::uno::XInterface;
+ [attribute] string CaptionText;
+ [attribute] string MessageText;
+ short execute();
+ };
+ published interface XMouseClickHandler {
+ interface ::com::sun::star::lang::XEventListener;
+ boolean mousePressed([in] ::com::sun::star::awt::MouseEvent e);
+ boolean mouseReleased([in] ::com::sun::star::awt::MouseEvent e);
+ };
+ published interface XMouseListener {
+ interface ::com::sun::star::lang::XEventListener;
+ void mousePressed([in] ::com::sun::star::awt::MouseEvent e);
+ void mouseReleased([in] ::com::sun::star::awt::MouseEvent e);
+ void mouseEntered([in] ::com::sun::star::awt::MouseEvent e);
+ void mouseExited([in] ::com::sun::star::awt::MouseEvent e);
+ };
+ published interface XMouseMotionHandler {
+ interface ::com::sun::star::lang::XEventListener;
+ boolean mouseDragged([in] ::com::sun::star::awt::MouseEvent e);
+ boolean mouseMoved([in] ::com::sun::star::awt::MouseEvent e);
+ };
+ published interface XMouseMotionListener {
+ interface ::com::sun::star::lang::XEventListener;
+ void mouseDragged([in] ::com::sun::star::awt::MouseEvent e);
+ void mouseMoved([in] ::com::sun::star::awt::MouseEvent e);
+ };
+ published interface XPaintListener {
+ interface ::com::sun::star::lang::XEventListener;
+ void windowPaint([in] ::com::sun::star::awt::PaintEvent e);
+ };
+ published interface XPrinter {
+ interface ::com::sun::star::awt::XPrinterPropertySet;
+ boolean start([in] string nJobName, [in] short nCopies, [in] boolean nCollate) raises (::com::sun::star::awt::PrinterException, ::com::sun::star::lang::IllegalArgumentException);
+ void end() raises (::com::sun::star::awt::PrinterException);
+ void terminate();
+ ::com::sun::star::awt::XDevice startPage() raises (::com::sun::star::awt::PrinterException);
+ void endPage() raises (::com::sun::star::awt::PrinterException);
+ };
+ /** @deprecated */ published interface XProgressMonitor {
+ interface ::com::sun::star::awt::XProgressBar;
+ void addText([in] string Topic, [in] string Text, [in] boolean beforeProgress);
+ void removeText([in] string Topic, [in] boolean beforeProgress);
+ void updateText([in] string Topic, [in] string Text, [in] boolean beforeProgress);
+ };
+ published interface XRegion {
+ interface ::com::sun::star::uno::XInterface;
+ ::com::sun::star::awt::Rectangle getBounds();
+ void clear();
+ void move([in] long nHorzMove, [in] long nVertMove);
+ void unionRectangle([in] ::com::sun::star::awt::Rectangle Rect);
+ void intersectRectangle([in] ::com::sun::star::awt::Rectangle Region);
+ void excludeRectangle([in] ::com::sun::star::awt::Rectangle Rect);
+ void xOrRectangle([in] ::com::sun::star::awt::Rectangle Rect);
+ void unionRegion([in] ::com::sun::star::awt::XRegion Region);
+ void intersectRegion([in] ::com::sun::star::awt::XRegion Region);
+ void excludeRegion([in] ::com::sun::star::awt::XRegion Region);
+ void xOrRegion([in] ::com::sun::star::awt::XRegion Region);
+ sequence< ::com::sun::star::awt::Rectangle > getRectangles();
+ };
+ published interface XSpinListener {
+ interface ::com::sun::star::lang::XEventListener;
+ void up([in] ::com::sun::star::awt::SpinEvent rEvent);
+ void down([in] ::com::sun::star::awt::SpinEvent rEvent);
+ void first([in] ::com::sun::star::awt::SpinEvent rEvent);
+ void last([in] ::com::sun::star::awt::SpinEvent rEvent);
+ };
+ published interface XSystemDependentWindowPeer {
+ interface ::com::sun::star::uno::XInterface;
+ any getWindowHandle([in] sequence< byte > ProcessId, [in] short SystemType);
+ };
+ published interface XTextArea {
+ interface ::com::sun::star::uno::XInterface;
+ string getTextLines();
+ };
+ published interface XTextEditField {
+ interface ::com::sun::star::uno::XInterface;
+ void setEchoChar([in] char cEcho);
+ };
+ published interface XTextListener {
+ interface ::com::sun::star::lang::XEventListener;
+ void textChanged([in] ::com::sun::star::awt::TextEvent rEvent);
+ };
+ published interface XTopWindowListener {
+ interface ::com::sun::star::lang::XEventListener;
+ void windowOpened([in] ::com::sun::star::lang::EventObject e);
+ void windowClosing([in] ::com::sun::star::lang::EventObject e);
+ void windowClosed([in] ::com::sun::star::lang::EventObject e);
+ void windowMinimized([in] ::com::sun::star::lang::EventObject e);
+ void windowNormalized([in] ::com::sun::star::lang::EventObject e);
+ void windowActivated([in] ::com::sun::star::lang::EventObject e);
+ void windowDeactivated([in] ::com::sun::star::lang::EventObject e);
+ };
+ published interface XUserInputInterception {
+ interface ::com::sun::star::uno::XInterface;
+ void addKeyHandler([in] ::com::sun::star::awt::XKeyHandler xHandler);
+ void removeKeyHandler([in] ::com::sun::star::awt::XKeyHandler xHandler);
+ void addMouseClickHandler([in] ::com::sun::star::awt::XMouseClickHandler xHandler);
+ void removeMouseClickHandler([in] ::com::sun::star::awt::XMouseClickHandler xHandler);
+ };
+ published interface XVclContainerListener;
+ /** @deprecated */ published interface XVclContainer {
+ interface ::com::sun::star::uno::XInterface;
+ void addVclContainerListener([in] ::com::sun::star::awt::XVclContainerListener l);
+ void removeVclContainerListener([in] ::com::sun::star::awt::XVclContainerListener l);
+ sequence< ::com::sun::star::awt::XWindow > getWindows();
+ };
+ /** @deprecated */ published interface XVclContainerListener {
+ interface ::com::sun::star::lang::XEventListener;
+ void windowAdded([in] ::com::sun::star::awt::VclContainerEvent e);
+ void windowRemoved([in] ::com::sun::star::awt::VclContainerEvent e);
+ };
+ /** @deprecated */ published interface XVclContainerPeer {
+ interface ::com::sun::star::uno::XInterface;
+ void enableDialogControl([in] boolean bEnable);
+ void setTabOrder([in] sequence< ::com::sun::star::awt::XWindow > WindowOrder, [in] sequence< any > Tabs, [in] boolean GroupControl);
+ void setGroup([in] sequence< ::com::sun::star::awt::XWindow > Windows);
+ };
+ published interface XWindowPeer {
+ interface ::com::sun::star::lang::XComponent;
+ ::com::sun::star::awt::XToolkit getToolkit();
+ void setPointer([in] ::com::sun::star::awt::XPointer Pointer);
+ void setBackground([in] ::com::sun::star::util::Color Color);
+ void invalidate([in] short Flags);
+ void invalidateRect([in] ::com::sun::star::awt::Rectangle Rect, [in] short Flags);
+ };
+ /** @deprecated */ published interface XVclWindowPeer {
+ interface ::com::sun::star::awt::XWindowPeer;
+ boolean isChild([in] ::com::sun::star::awt::XWindowPeer Peer);
+ void setDesignMode([in] boolean bOn);
+ boolean isDesignMode();
+ void enableClipSiblings([in] boolean bClip);
+ void setForeground([in] ::com::sun::star::util::Color Color);
+ void setControlFont([in] ::com::sun::star::awt::FontDescriptor aFont);
+ void getStyles([in] short nType, [out] ::com::sun::star::awt::FontDescriptor Font, [out] ::com::sun::star::util::Color ForegroundColor, [out] ::com::sun::star::util::Color BackgroundColor);
+ void setProperty([in] string PropertyName, [in] any Value);
+ any getProperty([in] string PropertyName);
+ };
+ published interface XWindow2 {
+ interface ::com::sun::star::awt::XWindow;
+ void setOutputSize([in] ::com::sun::star::awt::Size Size);
+ ::com::sun::star::awt::Size getOutputSize();
+ boolean isVisible();
+ boolean isActive();
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list