1. mst
  2. ooo340

Commits

vg  committed c366646

CWS-TOOLING: integrate CWS fwk95
2009-01-15 13:24:14 +0100 cd r266366 : #i96390# Change method name to use UNO AWT style for mnemonics
2009-01-15 13:23:30 +0100 cd r266365 : #i96390# Change method name to use UNO AWT style for mnemonics
2009-01-12 17:25:13 +0100 cd r266174 : #i97983# Check pointer returned by dynamic_cast
2009-01-12 15:31:40 +0100 cd r266162 : #i97983# Create toolkit popup menus via service manager instead of implementation class
2008-12-11 15:04:34 +0100 cd r265305 : #i95863# Remove user defined properties
2008-12-11 14:56:45 +0100 cd r265302 : #i95606# Update documentation for textfields
2008-12-11 10:06:20 +0100 cd r265250 : #i96390# Fix warning on Solaris compiler
2008-12-09 17:27:32 +0100 cd r265119 : CWS-TOOLING: rebase CWS fwk95 to trunk@264807 (milestone: DEV300:m37)
2008-12-01 13:29:43 +0100 cd r264597 : #i96390# New interfaces and structures for complete UNO AWT menu API
2008-12-01 13:25:22 +0100 cd r264596 : #i96390# Added implementation of the new UNO AWT interfaces and structures for menus
2008-11-28 13:55:19 +0100 cd r264553 : #i96640# Fixed wrong property type for MenuBarCloser
2008-11-28 13:53:56 +0100 cd r264552 : #i96621# Fixed ambiguous usage of && and ||
2008-11-18 16:05:45 +0100 cd r263781 : #i95316# Initialize SvtTabAppearanceCfg to enable system settings changed notiifcation code
2008-11-18 16:05:43 +0100 cd r263780 : #i96155# Fix wrong statement to check for enabled argument
2008-10-20 16:54:37 +0200 cd r262328 : #i10000# migrate CWS fwk95 to SVN.

  • Participants
  • Parent commits 25f44c8
  • Branches default

Comments (0)

Files changed (50)

File chart2/source/controller/main/ChartController_Window.cxx

View file
  • Ignore whitespace
             impl_notifySelectionChangeListeners();
 
         // todo: the context menu should be specified by an xml file in uiconfig
-        uno::Reference< awt::XPopupMenu > xPopupMenu( new VCLXPopupMenu());
+        uno::Reference< awt::XPopupMenu > xPopupMenu( 
+            m_xCC->getServiceManager()->createInstanceWithContext(
+                C2U("com.sun.star.awt.PopupMenu"), m_xCC ), uno::UNO_QUERY );
         uno::Reference< awt::XMenuExtended > xMenuEx( xPopupMenu, uno::UNO_QUERY );
         if( xPopupMenu.is() && xMenuEx.is())
         {
             lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:DiagramObjects"));
             lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:TransformDialog"));
             lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId, C2U(".uno:ArrangeRow"));
-            uno::Reference< awt::XPopupMenu > xArrangePopupMenu( new VCLXPopupMenu());
+            uno::Reference< awt::XPopupMenu > xArrangePopupMenu( 
+                m_xCC->getServiceManager()->createInstanceWithContext(
+                    C2U("com.sun.star.awt.PopupMenu"), m_xCC ), uno::UNO_QUERY );
             uno::Reference< awt::XMenuExtended > xArrangeMenuEx( xArrangePopupMenu, uno::UNO_QUERY );
             if( xArrangePopupMenu.is() && xArrangeMenuEx.is())
             {

File desktop/source/app/app.cxx

View file
  • Ignore whitespace
     SvtFontSubstConfig().Apply();
 
     SvtTabAppearanceCfg aAppearanceCfg;
-	//aAppearanceCfg.SetInitialized();
+	aAppearanceCfg.SetInitialized();
 	aAppearanceCfg.SetApplicationDefaults( this );
 	SvtAccessibilityOptions aOptions;
 	aOptions.SetVCLSettings();

File desktop/source/offacc/acceptor.cxx

View file
  • Ignore whitespace
 
 	// do we want to enable accepting?
 	sal_Bool bEnable = sal_False;
-	if ((nArgs == 1 &&  (aArguments[0] >>= bEnable) )
-		|| (nArgs == 2 && (aArguments[1] >>= bEnable))
-		&& bEnable )
+    if (((nArgs == 1 && (aArguments[0] >>= bEnable)) ||
+         (nArgs == 2 && (aArguments[1] >>= bEnable))) && 
+        bEnable )
 	{
 		m_cEnable.set();
 		bOk = sal_True;
 	}
 
-
 	if (!bOk)
 	{
 		throw IllegalArgumentException(

File framework/source/layoutmanager/layoutmanager.cxx

View file
  • Ignore whitespace
         com::sun::star::beans::Property( LAYOUTMANAGER_PROPNAME_AUTOMATICTOOLBARS, LAYOUTMANAGER_PROPHANDLE_AUTOMATICTOOLBARS, ::getCppuType((const sal_Bool*)NULL), com::sun::star::beans::PropertyAttribute::TRANSIENT  ),
         com::sun::star::beans::Property( LAYOUTMANAGER_PROPNAME_HIDECURRENTUI, LAYOUTMANAGER_PROPHANDLE_HIDECURRENTUI, ::getCppuType((const sal_Bool*)NULL), com::sun::star::beans::PropertyAttribute::TRANSIENT  ),
         com::sun::star::beans::Property( LAYOUTMANAGER_PROPNAME_LOCKCOUNT, LAYOUTMANAGER_PROPHANDLE_LOCKCOUNT, ::getCppuType((const sal_Int32*)NULL), com::sun::star::beans::PropertyAttribute::TRANSIENT|com::sun::star::beans::PropertyAttribute::READONLY  ),
-        com::sun::star::beans::Property( LAYOUTMANAGER_PROPNAME_MENUBARCLOSER, LAYOUTMANAGER_PROPHANDLE_MENUBARCLOSER, ::getCppuType((const Reference< XStatusListener >*)NULL), com::sun::star::beans::PropertyAttribute::TRANSIENT  ),
+        com::sun::star::beans::Property( LAYOUTMANAGER_PROPNAME_MENUBARCLOSER, LAYOUTMANAGER_PROPHANDLE_MENUBARCLOSER, ::getCppuType((const sal_Bool*)NULL), com::sun::star::beans::PropertyAttribute::TRANSIENT  ),
         com::sun::star::beans::Property( LAYOUTMANAGER_PROPNAME_REFRESHVISIBILITY, LAYOUTMANAGER_PROPHANDLE_REFRESHVISIBILITY, ::getCppuType((const sal_Bool*)NULL), com::sun::star::beans::PropertyAttribute::TRANSIENT  )
 	};
 	// Use it to initialize sequence!

File offapi/com/sun/star/awt/MenuItemType.idl

View file
  • Ignore whitespace
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2008 by Sun Microsystems, Inc.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: MenuItemType.idl,v $
+ * $Revision: 1.0 $
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org.  If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_awt_MenuItemType_idl__
+#define __com_sun_star_awt_MenuItemType_idl__
+
+
+//=============================================================================
+
+ module com {  module sun {  module star {  module awt {
+
+//=============================================================================
+
+/** specifies the type of a menu item, as returned by
+    <member scope="com::sun::star::awt">XMenuExtended2::getItemType()</member>.
+ */
+enum MenuItemType
+{
+    /** specifies that the menu item type is unkown.
+    */
+    DONTKNOW,
+
+    /** specifies that the menu item has a text.
+    */
+    STRING,
+
+    /** specifies that the menu item has an image.
+    */
+    IMAGE,
+
+    /** specifies that the menu item has a text <b>and</b> an image.
+    */
+    STRINGIMAGE,
+
+    /** specifies that the menu item is a separator.
+    */
+    SEPARATOR
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif

File offapi/com/sun/star/awt/MenuLogo.idl

View file
  • Ignore whitespace
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2008 by Sun Microsystems, Inc.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: MenuLogo.idl,v $
+ * $Revision: 1.0 $
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org.  If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_awt_MenuLogo_idl__
+#define __com_sun_star_awt_MenuLogo_idl__
+
+#ifndef com_sun_star_graphic_XGraphic_idl
+#include <com/sun/star/graphic/XGraphic.idl>
+#endif
+
+#ifndef __com_sun_star_util_color_idl__
+#include <com/sun/star/util/Color.idl>
+#endif
+
+//=============================================================================
+
+ module com {  module sun {  module star {  module awt {
+
+//=============================================================================
+
+/** specifies a logo to be displayed on a menu, with a background gradient.
+ */
+struct MenuLogo
+{
+    /** specifies the logo image.
+     */
+    ::com::sun::star::graphic::XGraphic Graphic;
+
+    //-------------------------------------------------------------------------
+
+    /** specifies the color at the start point of the gradient.
+     */
+    ::com::sun::star::util::Color StartColor;
+
+    //-------------------------------------------------------------------------
+
+    /** specifies the color at the end point of the gradient.
+     */
+    ::com::sun::star::util::Color EndColor;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif

File offapi/com/sun/star/awt/XMenuBarExtended.idl

View file
  • Ignore whitespace
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2008 by Sun Microsystems, Inc.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: XMenuBarExtended.idl,v $
+ * $Revision: 1.0 $
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org.  If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_awt_XMenuBarExtended_idl__
+#define __com_sun_star_awt_XMenuBarExtended_idl__
+
+#ifndef __com_sun_star_awt_XMenuBar_idl__
+#include <com/sun/star/awt/XMenuBar.idl>
+#endif
+
+#ifndef __com_sun_star_awt_XMenuExtended2_idl__
+#include <com/sun/star/awt/XMenuExtended2.idl>
+#endif
+
+#ifndef com_sun_star_graphic_XGraphic_idl
+#include <com/sun/star/graphic/XGraphic.idl>
+#endif
+
+#ifndef __com_sun_star_awt_Rectangle_idl__
+#include <com/sun/star/awt/Rectangle.idl>
+#endif
+
+//=============================================================================
+
+ module com {  module sun {  module star {  module awt {
+
+ interface XMenuBarButtonListener;
+
+//=============================================================================
+
+/** multiple-inheritance interface designed to ease the use of all functions
+    available for a <type scope="com::sun::star::awt">MenuBar</type>.
+
+    @since OOo 3.1
+ */
+ interface XMenuBarExtended
+{
+    interface com::sun::star::awt::XMenuExtended2;
+    interface com::sun::star::awt::XMenuBar;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif

File offapi/com/sun/star/awt/XMenuExtended.idl

View file
  • Ignore whitespace
 /*************************************************************************
  *
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- * 
+ *
  * Copyright 2008 by Sun Microsystems, Inc.
  *
  * OpenOffice.org - a multi-platform office productivity suite
  * for a copy of the LGPLv3 License.
  *
  ************************************************************************/
-#ifndef __com_sun_star_awt_XMenu_idl__ 
-#define __com_sun_star_awt_XMenu_idl__ 
- 
-#ifndef __com_sun_star_uno_XInterface_idl__ 
-#include <com/sun/star/uno/XInterface.idl> 
-#endif 
+#ifndef __com_sun_star_awt_XMenuExtended_idl__
+#define __com_sun_star_awt_XMenuExtended_idl__
 
-//============================================================================= 
- 
-module com {  module sun {  module star {  module awt {  
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+//=============================================================================
+
+module com {  module sun {  module star {  module awt {
 
 /** specifies extended menu functions.
  */
             specifies the command for the menu item.
     */
     void setCommand( [in] short nItemId, [in] string aCommand );
-    
+
     /** retrieves the command string for the menu item.
 
         @param nItemId
             specifies the menu item ID for which the command URL should be set.
     */
     string getCommand( [in] short nItemId );
-    
+
     /** sets the help command string for the menu item.
 
         @param nItemId
             specifies the help command for the menu item.
     */
     void setHelpCommand( [in] short nItemId, [in] string aHelp );
-    
+
     /** retrieves the help command string for the menu item.
 
         @param nItemId
             specifies the menu item ID for which the help command should be set.
     */
     string getHelpCommand( [in] short nItemId );
-}; 
- 
-}; }; }; };  
- 
-#endif 
+};
+
+}; }; }; };
+
+#endif

File offapi/com/sun/star/awt/XMenuExtended2.idl

View file
  • Ignore whitespace
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2008 by Sun Microsystems, Inc.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: XMenuExtended2.idl,v $
+ * $Revision: 1.0 $
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org.  If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_awt_XMenuExtended2_idl__
+#define __com_sun_star_awt_XMenuExtended2_idl__
+
+#ifndef __com_sun_star_awt_XMenu_idl__
+#include <com/sun/star/awt/XMenu.idl>
+#endif
+
+#ifndef __com_sun_star_awt_XMenuExtended_idl__
+#include <com/sun/star/awt/XMenuExtended.idl>
+#endif
+
+#ifndef __com_sun_star_awt_MenuItemType_idl__
+#include <com/sun/star/awt/MenuItemType.idl>
+#endif
+
+#ifndef __com_sun_star_container_NoSuchElementException_idl__
+#include <com/sun/star/container/NoSuchElementException.idl>
+#endif
+
+//=============================================================================
+
+module com {  module sun {  module star {  module awt {
+
+/** specifies extended menu functions.
+ */
+
+interface XMenuExtended2
+{
+    /** specifies some extended menu functions, like setting a command URL and a help command for a menu item.<br>
+        These functions are available for both menu bar and popup menu.
+    */
+    interface com::sun::star::awt::XMenuExtended;
+
+    /** specifies basic menu functions.
+    */
+    interface com::sun::star::awt::XMenu;
+
+
+    //=========================================================================
+
+    /** checks whether an <type>XMenu</type> is an <type>XPopupMenu</type>.
+
+        @return
+                <TRUE/> if the menu is a <type>PopupMenu</type>, <FALSE/> if it is a <type>MenuBar</type>.
+    */
+    boolean isPopupMenu();
+
+    //.........................................................................
+
+    /** removes all items from the menu.
+    */
+    void clear();
+
+    //.........................................................................
+
+    /** retrieves the type of the menu item.
+
+        @param nItemPos
+            specifies the position of the menu item for which the item type is queried.
+
+        @throws <type scope="com::sun::star::container">NoSuchElementException</type>
+            if there is no menu item in the position specified in <var>nItemPos</var>.
+
+        @see MenuItemType
+    */
+    ::com::sun::star::awt::MenuItemType getItemType( [in] short nItemPos )
+        raises ( ::com::sun::star::container::NoSuchElementException );
+
+    //.........................................................................
+
+    /** specifies whether disabled menu entries should be hidden, or not.
+
+        @param bHide
+            if <TRUE/>, disabled menu entries are hidden.
+
+        @see
+            <member scope="com::sun::star::awt">XMenu::enableItem()</member>
+    */
+    void hideDisabledEntries( [in] boolean bHide );
+
+
+};
+
+}; }; }; };
+
+#endif

File offapi/com/sun/star/awt/XPopupMenuExtended.idl

View file
  • Ignore whitespace
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2008 by Sun Microsystems, Inc.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: XPopupMenuExtended.idl,v $
+ * $Revision: 1.0 $
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org.  If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_awt_XPopupMenuExtended_idl__
+#define __com_sun_star_awt_XPopupMenuExtended_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+#ifndef __com_sun_star_awt_XPopupMenu_idl__
+#include <com/sun/star/awt/XPopupMenu.idl>
+#endif
+
+#ifndef __com_sun_star_awt_XMenuExtended2_idl__
+#include <com/sun/star/awt/XMenuExtended2.idl>
+#endif
+
+#ifndef __com_sun_star_awt_MenuLogo_idl__
+#include <com/sun/star/awt/MenuLogo.idl>
+#endif
+
+#ifndef __com_sun_star_container_NoSuchElementException_idl__
+#include <com/sun/star/container/NoSuchElementException.idl>
+#endif
+
+#ifndef __com_sun_star_awt_KeyEvent_idl__
+#include <com/sun/star/awt/KeyEvent.idl>
+#endif
+
+#ifndef com_sun_star_graphic_XGraphic_idl
+#include <com/sun/star/graphic/XGraphic.idl>
+#endif
+
+//=============================================================================
+
+module com {  module sun {  module star {  module awt {
+
+/** specifies extended functions for a <type scope="com::sun::star::awt">PopupMenu</type>.
+
+    @since OOo 3.1
+ */
+interface XPopupMenuExtended
+{
+    /** specifies basic functions for a popup menu.
+    */
+    interface ::com::sun::star::awt::XPopupMenu;
+
+    /** specifies extended menu functions, available for both
+        <type scope="com::sun::star::awt">MenuBar</type> and
+        <type scope="com::sun::star::awt">PopupMenu</type>.
+    */
+    interface ::com::sun::star::awt::XMenuExtended2;
+
+    //=========================================================================
+
+    /** queries if the <type scope="com::sun::star::awt">PopupMenu</type>
+        is being executed as a result of invoking
+        <member scope="com::sun::star::awt">XPopupMenu::execute()</member>; that is,
+        for a <type>PopupMenu</type> activated by a <type>MenuBar</type> item,
+        this methods returns <FALSE/>.
+
+        @return
+            <TRUE/> if the <type scope="com::sun::star::awt">PopupMenu</type>
+            is being executed, <FALSE/> otherwise.
+
+        @see <member scope="com::sun::star::awt">XPopupMenu::execute()</member>
+
+        @since OOo 3.1
+    */
+    boolean isInExecute();
+
+    /** ends the execution of the <type scope="com::sun::star::awt">PopupMenu</type>.
+        <member scope="com::sun::star::awt">XPopupMenu::execute()</member> will then return 0.
+
+        @see <member scope="com::sun::star::awt">XPopupMenu::execute()</member>
+
+        @since OOo 3.1
+    */
+    void endExecute();
+
+    //=============================================================================
+
+    /** sets the <type>MenuLogo</type> for this <type>PopupMenu</type>.
+
+        @param aMenuLogo
+            the <type>MenuLogo</type>.
+
+        @since OOo 3.1
+    */
+    void setLogo( [in] ::com::sun::star::awt::MenuLogo aMenuLogo );
+
+    /** retrieves the <type>MenuLogo</type> for this <type>PopupMenu</type>.
+
+        @return
+            the <type>MenuLogo</type>.
+
+        @since OOo 3.1
+    */
+    ::com::sun::star::awt::MenuLogo getLogo();
+
+
+    //=========================================================================
+
+
+    /** specifies whether mnemonics are automatically assigned to menu items, or not.
+
+        @param bEnable
+            if <TRUE/>, mnemonics are automatically assigned to menu items.
+    */
+    void enableAutoMnemonics( [in] boolean bEnable );
+
+
+    //=========================================================================
+
+    /** sets the <type>KeyEvent</type> for the menu item.
+
+        <p>The <type>KeyEvent</type> is <b>only</b> used as a container to transport
+        the shortcut information, this methods only draws the text corresponding to
+        this keyboard shortcut. The client code is responsible for listening to
+        keyboard events (typicaly done via <type>XUserInputInterception</type>),
+        and dispatch the respective command.</p>
+
+        @param nItemId
+            specifies the menu item identifier for which the <type>KeyEvent</type> should be set.
+
+        @param aKeyEvent
+            specifies the <type>KeyEvent</type> for the menu item.
+
+        @throws <type scope="com::sun::star::container">NoSuchElementException</type>
+            if there is no menu item with the identifier specified in <var>nItemId</var>.
+
+        @since OOo 3.1
+    */
+    void setAcceleratorKeyEvent( [in] short nItemId, [in] ::com::sun::star::awt::KeyEvent aKeyEvent )
+        raises ( ::com::sun::star::container::NoSuchElementException );
+
+    /** retrieves the <type>KeyEvent</type> for the menu item.
+
+        <p>The <type>KeyEvent</type> is <b>only</b> used as a container to transport
+        the shortcut information, so that in this case
+        <member scope="::com::sun::star::lang::">EventObject::Source</member> is <NULL/>.</p>
+
+        @param nItemId
+            specifies the menu item identifier for which the <type>KeyEvent</type> should be retrieved.
+
+        @return
+            the <type>KeyEvent</type> struct assigned to the requested menu item.
+
+        @throws <type scope="com::sun::star::container">NoSuchElementException</type>
+            if there is no menu item with the identifier specified in <var>nItemId</var>.
+
+        @since OOo 3.1
+    */
+    ::com::sun::star::awt::KeyEvent getAcceleratorKeyEvent( [in] short nItemId )
+        raises ( ::com::sun::star::container::NoSuchElementException );
+
+    //=============================================================================
+
+    /** sets the help text for the menu item.
+
+        @param nItemId
+            specifies the menu item identifier for which the help text should be set.
+
+        @param sHelpText
+            specifies the help text for the menu item.
+
+        @throws <type scope="com::sun::star::container">NoSuchElementException</type>
+            if there is no menu item with the identifier specified in <var>nItemId</var>.
+
+        @since OOo 3.1
+    */
+    void setHelpText( [in] short nItemId, [in] string sHelpText )
+        raises ( ::com::sun::star::container::NoSuchElementException );
+
+    /** retrieves the help text for the menu item.
+
+        @param nItemId
+            specifies the menu item identifier for which the help text should be retrieved.
+
+        @return
+            a string with the help text.
+
+        @throws <type scope="com::sun::star::container">NoSuchElementException</type>
+            if there is no menu item with the identifier specified in <var>nItemId</var>.
+
+        @since OOo 3.1
+    */
+    string getHelpText( [in] short nItemId )
+        raises ( ::com::sun::star::container::NoSuchElementException );
+
+    //=============================================================================
+
+    /** sets the tip help text for the menu item.
+
+        @param nItemId
+            specifies the menu item identifier for which the tip help text should be set.
+
+        @param sTipHelpText
+            specifies the tip help text for the menu item.
+
+        @throws <type scope="com::sun::star::container">NoSuchElementException</type>
+            if there is no menu item with the identifier specified in <var>nItemId</var>.
+
+        @since OOo 3.1
+    */
+    void setTipHelpText( [in] short nItemId, [in] string sTipHelpText )
+        raises ( ::com::sun::star::container::NoSuchElementException );
+
+    /** retrieves the tip help text for the menu item.
+
+        @param nItemId
+            specifies the menu item identifier for which the tip help text should be retrieved.
+
+        @return
+            a string with the tip help text.
+
+        @throws <type scope="com::sun::star::container">NoSuchElementException</type>
+            if there is no menu item with the identifier specified in <var>nItemId</var>.
+
+        @since OOo 3.1
+    */
+    string getTipHelpText( [in] short nItemId )
+        raises ( ::com::sun::star::container::NoSuchElementException );
+
+    //=============================================================================
+
+    /** sets the image for the menu item.
+
+        @param nItemId
+            specifies the menu item identifier for which the image should be set.
+
+        @param xGraphic
+            specifies the image for the menu item.
+
+        @param bScale
+            if <TRUE/>, the image will be scaled to the standard size used internally by
+            the implementation.
+
+        @throws <type scope="com::sun::star::container">NoSuchElementException</type>
+            if there is no menu item with the identifier specified in <var>nItemId</var>.
+
+        @since OOo 3.1
+    */
+    void setItemImage(      [in] short nItemId,
+                            [in] ::com::sun::star::graphic::XGraphic xGraphic,
+                            [in] boolean bScale )
+        raises ( ::com::sun::star::container::NoSuchElementException );
+
+    /** retrieves the image for the menu item.
+
+        @param nItemId
+            specifies the menu item identifier for which the image should be retrieved.
+
+        @return
+            a <type scope="::com::sun::star::graphic::">XGraphic</type> reference
+            to the current image for the requested menu item.
+
+        @throws <type scope="com::sun::star::container">NoSuchElementException</type>
+            if there is no menu item with the identifier specified in <var>nItemId</var>.
+
+        @since OOo 3.1
+    */
+    ::com::sun::star::graphic::XGraphic getItemImage( [in] short nItemId )
+        raises ( ::com::sun::star::container::NoSuchElementException );
+
+    //.............................................................................
+
+
+    /** sets the rotation angle of a menu item image.
+
+        @param nItemId
+            specifies the menu item identifier for which the image angle should be set.
+
+        @param nAngle
+            specifies the rotation angle for the menu item image.
+
+        @throws <type scope="com::sun::star::container">NoSuchElementException</type>
+            if there is no menu item with the identifier specified in <var>nItemId</var>.
+
+        @since OOo 3.1
+    */
+    void setItemImageAngle( [in] short nItemId, [in] long nAngle )
+        raises ( ::com::sun::star::container::NoSuchElementException );
+
+    /** retrieves the rotation angle of a menu item image.
+
+        @param nItemId
+            specifies the menu item identifier for which the rotation angle should be retrieved.
+
+        @return the rotation angle of the menu item image, or 0 if it has no rotation.
+
+        @throws <type scope="com::sun::star::container">NoSuchElementException</type>
+            if there is no menu item with the identifier specified in <var>nItemId</var>.
+
+        @since OOo 3.1
+    */
+    long getItemImageAngle( [in] short nItemId )
+        raises ( ::com::sun::star::container::NoSuchElementException );
+
+    //.............................................................................
+
+    /** sets the mirror mode of a menu item image.
+
+        @param nItemId
+            specifies the menu item identifier for which the mirror mode should be set.
+
+        @param bMirror
+            if <TRUE/>, the item image is mirrored.
+
+        @throws <type scope="com::sun::star::container">NoSuchElementException</type>
+            if there is no menu item with the identifier specified in <var>nItemId</var>.
+
+        @since OOo 3.1
+    */
+    void setItemImageMirrorMode( [in] short nItemId, [in] boolean bMirror )
+        raises ( ::com::sun::star::container::NoSuchElementException );
+
+    /** indicates whether the menu item image is mirrored.
+
+        @param nItemId
+            specifies the menu item identifier for which the image mirror mode should be checked.
+
+        @return <TRUE/> if the item image is mirrored, <FALSE/> otherwise.
+
+        @throws <type scope="com::sun::star::container">NoSuchElementException</type>
+            if there is no menu item with the identifier specified in <var>nItemId</var>.
+
+        @since OOo 3.1
+    */
+    boolean isItemImageInMirrorMode( [in] short nItemId )
+        raises ( ::com::sun::star::container::NoSuchElementException );
+
+};
+
+}; }; }; };
+
+#endif

File offapi/com/sun/star/awt/makefile.mk

View file
  • Ignore whitespace
 #*************************************************************************
 #
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-# 
+#
 # Copyright 2008 by Sun Microsystems, Inc.
 #
 # OpenOffice.org - a multi-platform office productivity suite
 	XLayoutFlow.idl\
 	XLayoutFlowContainer.idl\
 	XLayoutRoot.idl\
-	XLayoutUnit.idl
+	XLayoutUnit.idl \
+	MenuItemType.idl \
+	MenuLogo.idl \
+	XMenuExtended2.idl \
+	XMenuBarExtended.idl \
+	XPopupMenuExtended.idl
 
 # ------------------------------------------------------------------
 

File offapi/com/sun/star/text/AutoTextEntry.idl

View file
  • Ignore whitespace
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: AutoTextEntry.idl,v $
- * $Revision: 1.11 $
+ * $Revision: 1.11.122.1 $
  *
  * This file is part of OpenOffice.org.
  *
  ************************************************************************/
 #ifndef __com_sun_star_text_AutoTextEntry_idl__ 
 #define __com_sun_star_text_AutoTextEntry_idl__ 
- 
+
 #ifndef __com_sun_star_text_XAutoTextEntry_idl__ 
 #include <com/sun/star/text/XAutoTextEntry.idl> 
 #endif 
- 
+
 #ifndef __com_sun_star_text_XText_idl__ 
 #include <com/sun/star/text/XText.idl> 
 #endif 
- 
- 
+
+
 //============================================================================= 
- 
+
  module com {  module sun {  module star {  module text {  
  
 //============================================================================= 
  
 // DocMerge from xml: service com::sun::star::text::AutoTextEntry
 /** provides access to a text block in a group of
-	an <type>AutoTextContainer</type>.@see com::sun::star::text::AutoTextContainer 
+	an <type>AutoTextContainer</type>.
+        @see com::sun::star::text::AutoTextContainer 
 		@see com::sun::star::text::AutoTextGroup
  */
 published service AutoTextEntry
  
 	 
 	// DocMerge from xml: service com::sun::star::text::AutoTextEntry: interface com::sun::star::text::XText
-	/** provides access to the <type scope="com::sun::star::drawing">Text</type> of this entry. 
-
+	/** provides access to the <type>Text</type> of this entry. 
 	 */
 	interface com::sun::star::text::XText; 
  
 //============================================================================= 
  
 }; }; }; };  
- 
+
 #endif 

File offapi/com/sun/star/text/DefaultNumberingProvider.idl

View file
  • Ignore whitespace
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ * 
+ * Copyright 2008 by Sun Microsystems, Inc.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: DefaultNumberingProvider.idl,v $
+ * $Revision: 1.3.818.1 $
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org.  If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
 #ifndef __com_sun_star_text_DefaultNumberingProvider_idl__
 #define __com_sun_star_text_DefaultNumberingProvider_idl__
 
  module com {  module sun {  module star {  module text {
 
 //=============================================================================
-
 /** provides access to language dependent numbering types and supports
     formatting of those numberings.
  */
 
 //=============================================================================
 }; }; }; };
+
 #endif
 

File offapi/com/sun/star/text/Shape.idl

View file
  • Ignore whitespace
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: Shape.idl,v $
- * $Revision: 1.14 $
+ * $Revision: 1.14.122.1 $
  *
  * This file is part of OpenOffice.org.
  *
     [property] com::sun::star::text::XTextFrame AnchorFrame;
     //-------------------------------------------------------------------------
 	/** specifies how the text content is attached to its surrounding
-		<type scope="com::sun::star::drawing">Text</type>.
+		<type>Text</type>.
 	*/
 	[optional, property] com::sun::star::text::TextContentAnchorType AnchorType;
     //-------------------------------------------------------------------------

File offapi/com/sun/star/text/TextContent.idl

View file
  • Ignore whitespace
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: TextContent.idl,v $
- * $Revision: 1.10 $
+ * $Revision: 1.10.122.1 $
  *
  * This file is part of OpenOffice.org.
  *
 
 //=============================================================================
 /** is an object which can be anchored in a text, like instances of
-	<type>TextFrame</type> or <type>TextFields</type>. 
+	<type>TextFrame</type> or <type>TextField</type>. 
 
 	<p>If the concrete <type>TextContent</type> has a textual
 	representation which fades into the surrounding text, then
 
 	/** This interface is used for the attachment of this text content
 		to the surrounding text.
-
 	*/
 	interface com::sun::star::text::XTextContent;
 
 	//-------------------------------------------------------------------------
 	/** specifies how the text content is attached to its surrounding
-		<type scope="com::sun::star::drawing">Text</type>.
+		<type>Text</type>.
 	*/
 	[optional, property] com::sun::star::text::TextContentAnchorType AnchorType;
 

File offapi/com/sun/star/text/TextCursor.idl

View file
  • Ignore whitespace
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: TextCursor.idl,v $
- * $Revision: 1.15 $
+ * $Revision: 1.15.122.1 $
  *
  * This file is part of OpenOffice.org.
  *
 
 // DocMerge from xml: service com::sun::star::text::TextCursor
 /** A <type>TextCursor</type> is a <type>TextRange</type> which can be moved
-	within a <type scope="com::sun::star::drawing">Text</type> object.@see TextRange
+	within a <type>Text</type> object.
+    @see TextRange
  */
 published service TextCursor
 {

File offapi/com/sun/star/text/TextField.idl

View file
  • Ignore whitespace
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: TextField.idl,v $
- * $Revision: 1.11 $
+ * $Revision: 1.11.122.1 $
  *
  * This file is part of OpenOffice.org.
  *
  ************************************************************************/
 #ifndef __com_sun_star_text_TextField_idl__ 
 #define __com_sun_star_text_TextField_idl__ 
- 
+
 #ifndef __com_sun_star_beans_XPropertySet_idl__
 #include <com/sun/star/beans/XPropertySet.idl> 
 #endif 
- 
+
 #ifndef __com_sun_star_text_TextContent_idl__ 
 #include <com/sun/star/text/TextContent.idl> 
 #endif 
- 
+
 #ifndef __com_sun_star_text_XTextField_idl__ 
 #include <com/sun/star/text/XTextField.idl> 
 #endif 
- 
- 
+
+
 //============================================================================= 
- 
+
  module com {  module sun {  module star {  module text {  
  
 //============================================================================= 
  
-/** A <type scope="com::sun::star::form::component">TextField</type> is a <type>TextContent</type> which fades its
+/** A <type>TextField</type> is a <type>TextContent</type> which fades its
 	textual representation into the text range to which it is anchored.
  */
 published service TextField
 //============================================================================= 
  
 }; }; }; };  
- 
+
 #endif 

File offapi/com/sun/star/text/TextFields.idl

View file
  • Ignore whitespace
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: TextFields.idl,v $
- * $Revision: 1.10 $
+ * $Revision: 1.10.122.1 $
  *
  * This file is part of OpenOffice.org.
  *
  ************************************************************************/
 #ifndef __com_sun_star_text_TextFields_idl__ 
 #define __com_sun_star_text_TextFields_idl__ 
- 
+
 #ifndef __com_sun_star_container_XEnumerationAccess_idl__ 
 #include <com/sun/star/container/XEnumerationAccess.idl> 
 #endif 
- 
+
 #ifndef __com_sun_star_util_XRefreshable_idl__ 
 #include <com/sun/star/util/XRefreshable.idl> 
 #endif 
- 
+
 //============================================================================= 
- 
+
  module com {  module sun {  module star {  module text {  
  
 //============================================================================= 
  
 // DocMerge from xml: service com::sun::star::text::TextFields
-/** This is a collection of <type scope="com::sun::star::form::component">TextField</type> instances.
+/** This is a collection of <type>TextField</type> instances.
  */
 published service TextFields
 { 
- 
 	 
 	// DocMerge from xml: service com::sun::star::text::TextFields: interface com::sun::star::container::XEnumerationAccess
 	/** This interface makes it possible to create an enumeration through 
 				all text fields in this container. 
 				 
-		<p>All elements are of type <type>XTextField</type>.
+		<p>All elements are of type <type>XTextField</type>.</p>
 	 */
 	interface com::sun::star::container::XEnumerationAccess; 
  
 //============================================================================= 
  
 }; }; }; };  
- 
+
 #endif 

File offapi/com/sun/star/text/TextFrame.idl

View file
  • Ignore whitespace
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: TextFrame.idl,v $
- * $Revision: 1.14 $
+ * $Revision: 1.14.122.1 $
  *
  * This file is part of OpenOffice.org.
  *
 
 //=============================================================================
 
-/** specifies a rectangular shape which contains a <type scope="com::sun::star::drawing">Text</type> object
-	and is attached to a piece of surrounding <type scope="com::sun::star::drawing">Text</type>.
+/** specifies a rectangular shape which contains a <type>Text</type> object
+	and is attached to a piece of surrounding <type>Text</type>.
 
 	@see Text
 

File offapi/com/sun/star/text/TextGraphicObject.idl

View file
  • Ignore whitespace
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: TextGraphicObject.idl,v $
- * $Revision: 1.12 $
+ * $Revision: 1.12.122.1 $
  *
  * This file is part of OpenOffice.org.
  *
 
 //=============================================================================
 
-/** specifies a graphic which can be embedded in <type scope="com::sun::star::drawing">Text</type>.
+/** specifies a graphic which can be embedded in <type>Text</type>.
  */
 published service TextGraphicObject
 {

File offapi/com/sun/star/text/TextLayoutCursor.idl

View file
  • Ignore whitespace
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: TextLayoutCursor.idl,v $
- * $Revision: 1.9 $
+ * $Revision: 1.9.122.1 $
  *
  * This file is part of OpenOffice.org.
  *
  ************************************************************************/
 #ifndef __com_sun_star_text_TextLayoutCursor_idl__ 
 #define __com_sun_star_text_TextLayoutCursor_idl__ 
- 
+
 #ifndef __com_sun_star_text_TextCursor_idl__ 
 #include <com/sun/star/text/TextCursor.idl> 
 #endif 
- 
+
 #ifndef __com_sun_star_text_XPageCursor_idl__ 
 #include <com/sun/star/text/XPageCursor.idl> 
 #endif 
- 
- 
+
+
 //============================================================================= 
- 
+
  module com {  module sun {  module star {  module text {  
  
 //============================================================================= 
  
 // DocMerge from xml: service com::sun::star::text::TextLayoutCursor
 /** A <type>TextLayoutCursor</type> is a <type>TextRange</type> which can 
-	travel within a layout of a <type scope="com::sun::star::drawing">Text</type> object.
+	travel within a layout of a <type>Text</type> object.
  */
 published service TextLayoutCursor
 { 
 //============================================================================= 
  
 }; }; }; };  
- 
+
 #endif 

File offapi/com/sun/star/text/TextSection.idl

View file
  • Ignore whitespace
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: TextSection.idl,v $
- * $Revision: 1.13 $
+ * $Revision: 1.13.40.1 $
  *
  * This file is part of OpenOffice.org.
  *
 module com { module sun { module star { module text {
 
 //=============================================================================
-/** A <type>TextSection</type> is a range of complete paragraphs within a text.  @
+/** A <type>TextSection</type> is a range of complete paragraphs within a text.
 
 	<p>The content of the section may be the content of a link into another
 	document, a link from the same document, or the result of a DDE

File offapi/com/sun/star/text/TextTable.idl

View file
  • Ignore whitespace
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: TextTable.idl,v $
- * $Revision: 1.19 $
+ * $Revision: 1.19.122.1 $
  *
  * This file is part of OpenOffice.org.
  *
 
 /** is a table of text cells which is anchored to a surrounding text.
 
-    Create and insert a TextTable:
+    <p>Note: The anchor of the actual implementation for text tables 
+    does not have a position in the text. Thus that anchor can not be 
+    used for some operation like <member>XTextContent::attach</member> or
+    <member>XText::insertTextContent</member>
+    or other function that require the object to have a position in the text.</p>
+
+    <p>The reason why a text table still needs an anchor is that for example
+    tables should be insertable via <member>XText::insertTextContent</member>
+    and that interface uses a parameter of that type.</p>
+
+    @example
+
+    <p>Create and insert a TextTable:</p>
 
 	<listing>
     xTable = xTextDoc.createInstance( "com.sun.star.text.TextTable" )
     xTextDoc.getText.insertTextContent( xTextRange, xTable, false )
 	</listing>
 
-
-    <p>Note: The anchor of the actual implementation for text tables 
-    does not have a position in the text. Thus that anchor can not be 
-    used for some operation like <member>attach</member> for example or
-    <member scope="com::sun::star::text">insertTextContent</member>
-    or other function that require the object to have a position in the text.</p>
-
-    <p>The reason why a text table still needs an anchor is that for example
-    tables should be insertable via <member scope="com::sun::star::text">insertTextContent</member>
-    and that interface uses a parameter of that type.</p>
-
     @see    com::sun::star::text::Cell
     @see    com::sun::star::text::CellRange
     @see    com::sun::star::text::TableColumns

File offapi/com/sun/star/text/TextViewCursor.idl

View file
  • Ignore whitespace
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: TextViewCursor.idl,v $
- * $Revision: 1.10 $
+ * $Revision: 1.10.122.1 $
  *
  * This file is part of OpenOffice.org.
  *
  ************************************************************************/
 #ifndef __com_sun_star_text_TextViewCursor_idl__ 
 #define __com_sun_star_text_TextViewCursor_idl__ 
- 
+
 #ifndef __com_sun_star_text_TextLayoutCursor_idl__ 
 #include <com/sun/star/text/TextLayoutCursor.idl> 
 #endif 
- 
+
 #ifndef __com_sun_star_view_XScreenCursor_idl__ 
 #include <com/sun/star/view/XScreenCursor.idl> 
 #endif 
- 
- 
+
+
 //============================================================================= 
- 
+
  module com {  module sun {  module star {  module text {  
  
 //============================================================================= 
  
 // DocMerge from xml: service com::sun::star::text::TextViewCursor
 /** A <type>TextViewCursor</type> is a <type>TextRange</type> which can travel 
-	within a view of a <type scope="com::sun::star::drawing">Text</type> object.@see TextDocumentView
+	within a view of a <type>Text</type> object.
+    @see TextDocumentView
  */
 published service TextViewCursor
 { 
 //============================================================================= 
  
 }; }; }; };  
- 
+
 #endif 

File offapi/com/sun/star/text/XHeaderFooter.idl

View file
  • Ignore whitespace
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: XHeaderFooter.idl,v $
- * $Revision: 1.10 $
+ * $Revision: 1.10.122.1 $
  *
  * This file is part of OpenOffice.org.
  *
  ************************************************************************/
 #ifndef __com_sun_star_text_XHeaderFooter_idl__ 
 #define __com_sun_star_text_XHeaderFooter_idl__ 
- 
+
 #ifndef __com_sun_star_uno_XInterface_idl__ 
 #include <com/sun/star/uno/XInterface.idl> 
 #endif 
- 
+
 #ifndef __com_sun_star_text_XText_idl__ 
 #include <com/sun/star/text/XText.idl> 
 #endif 
- 
- 
+
+
 //============================================================================= 
- 
+
  module com {  module sun {  module star {  module text {  
  
 //============================================================================= 
  
 // DocMerge from xml: interface com::sun::star::text::XHeaderFooter
-/** @deprecated
+/** @deprecated     Use the properties of
+            <type scope="com::sun::star::style">PageProperties</type> instead
  */
 published interface XHeaderFooter: com::sun::star::uno::XInterface
 { 
 //============================================================================= 
  
 }; }; }; };  
- 
+
 #endif 

File offapi/com/sun/star/text/XHeaderFooterPageStyle.idl

View file
  • Ignore whitespace
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: XHeaderFooterPageStyle.idl,v $
- * $Revision: 1.10 $
+ * $Revision: 1.10.122.1 $
  *
  * This file is part of OpenOffice.org.
  *
  ************************************************************************/
 #ifndef __com_sun_star_text_XHeaderFooterPageStyle_idl__ 
 #define __com_sun_star_text_XHeaderFooterPageStyle_idl__ 
- 
+
 #ifndef __com_sun_star_uno_XInterface_idl__ 
 #include <com/sun/star/uno/XInterface.idl> 
 #endif 
- 
+
 #ifndef __com_sun_star_text_XHeaderFooter_idl__ 
 #include <com/sun/star/text/XHeaderFooter.idl> 
 #endif 
- 
- 
+
+
 //============================================================================= 
- 
+
  module com {  module sun {  module star {  module text {  
  
 //============================================================================= 
  
 // DocMerge from xml: interface com::sun::star::text::XHeaderFooterPageStyle
-/** @deprecated
+/** @deprecated     Use the properties of
+            <type scope="com::sun::star::style">PageProperties</type> instead
  */
 published interface XHeaderFooterPageStyle: com::sun::star::uno::XInterface
 { 
 //============================================================================= 
  
 }; }; }; };  
- 
+
 
 #endif 

File offapi/com/sun/star/text/XTextAppendAndConvert.idl

View file
  • Ignore whitespace
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: XTextAppendAndConvert.idl,v $
- * $Revision: 1.4 $
+ * $Revision: 1.4.44.1 $
  *
  * This file is part of OpenOffice.org.
  *
  ************************************************************************/
 #ifndef __com_sun_star_text_XTextAppendAndConvert_idl__ 
 #define __com_sun_star_text_XTextAppendAndConvert_idl__ 
- 
+
 
 #ifndef __com_sun_star_text_XTextAppend_idl__ 
 #include <com/sun/star/text/XTextAppend.idl> 
 #endif 
 
 //============================================================================= 
- 
+
  module com {  module sun {  module star {  module text {  
  
 //============================================================================= 
  
-/** merges the functions of XTextAppend, XTextContentAppend and XTextConvert.
+/** merges the functions of <type>XTextAppend</type>,
+    <type>XTextContentAppend</type> and <type>XTextConvert</type>.
  */
      interface XTextAppendAndConvert
 { 
 //============================================================================= 
  
 }; }; }; };  
- 
+
 #endif 

File offapi/com/sun/star/text/XTextFieldsSupplier.idl

View file
  • Ignore whitespace
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: XTextFieldsSupplier.idl,v $
- * $Revision: 1.11 $
+ * $Revision: 1.11.122.1 $
  *
  * This file is part of OpenOffice.org.
  *
  ************************************************************************/
 #ifndef __com_sun_star_text_XTextFieldsSupplier_idl__ 
 #define __com_sun_star_text_XTextFieldsSupplier_idl__ 
- 
+
 #ifndef __com_sun_star_uno_XInterface_idl__ 
 #include <com/sun/star/uno/XInterface.idl> 
 #endif 
- 
+
 #ifndef __com_sun_star_container_XEnumerationAccess_idl__ 
 #include <com/sun/star/container/XEnumerationAccess.idl> 
 #endif 
- 
+
 #ifndef __com_sun_star_container_XNameAccess_idl__ 
 #include <com/sun/star/container/XNameAccess.idl> 
 #endif 
- 
- 
+
+
 //============================================================================= 
- 
+
  module com {  module sun {  module star {  module text {  
  
 //============================================================================= 
 	 
 	// DocMerge from idl: method com::sun::star::text::XTextFieldsSupplier::getTextFields
 	/** @returns 
-				the collection of <type scope="com::sun::star::form::component">TextField</type> instances 
+				the collection of <type>TextField</type> instances 
 				in this context (i.e. this document).
 	 */
 	com::sun::star::container::XEnumerationAccess getTextFields(); 
 //============================================================================= 
  
 }; }; }; };  
- 
+
 #endif 

File offapi/com/sun/star/text/XTextFrame.idl

View file
  • Ignore whitespace
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: XTextFrame.idl,v $
- * $Revision: 1.11 $
+ * $Revision: 1.11.122.1 $
  *
  * This file is part of OpenOffice.org.
  *
  ************************************************************************/
 #ifndef __com_sun_star_text_XTextFrame_idl__ 
 #define __com_sun_star_text_XTextFrame_idl__ 
- 
+
 #ifndef __com_sun_star_text_XTextContent_idl__ 
 #include <com/sun/star/text/XTextContent.idl> 
 #endif 
- 
+
 #ifndef __com_sun_star_text_XText_idl__ 
 #include <com/sun/star/text/XText.idl> 
 #endif 
- 
- 
+
+
 //============================================================================= 
- 
+
  module com {  module sun {  module star {  module text {  
  
 //============================================================================= 
  
 // DocMerge from xml: interface com::sun::star::text::XTextFrame
-/** provides access to the <type scope="com::sun::star::drawing">Text</type> of a <type>TextFrame</type>.@see TextFrame
+/** provides access to the <type>Text</type> of a <type>TextFrame</type>.
+    @see TextFrame
  */
 published interface XTextFrame: com::sun::star::text::XTextContent
 { 
 	// DocMerge from idl: method com::sun::star::text::XTextFrame::getText
 	/** @returns  
 				the text within this frame. The returned interface belongs 
-				to an object which implements the service <type scope="com::sun::star::drawing">Text</type>.
+				to an object which implements the service <type>Text</type>.
 	 */
 	com::sun::star::text::XText getText(); 
  
 //============================================================================= 
  
 }; }; }; };  
- 
+
 #endif 

File offapi/com/sun/star/text/textfield/docinfo/Custom.idl

View file
  • Ignore whitespace
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ * 
+ * Copyright 2008 by Sun Microsystems, Inc.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: Custom.idl,v $
+ * $Revision: 1.1.2.1 $
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org.  If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+#ifndef __com_sun_star_text_textfield_docinfo_Custom_idl__
+#define __com_sun_star_text_textfield_docinfo_Custom_idl_
+
+#include <com/sun/star/text/TextField.idl>
+
+//=============================================================================
+
+module com { module sun { module star {
+    module text { module textfield { module docinfo {
+
+//=============================================================================
+/** specifies service of a text field that refers to the content of a
+    user-defined field in the document information.
+
+    @since OOo 3.0
+
+    @see com::sun::star::text::TextField
+*/
+published service Custom
+{
+    service  com::sun::star::text::TextField;
+
+    /** the name of the user-defined property that this field refers to.
+     */
+    [property] string Name;
+
+    /** contains the current content of the text field.
+        <p>This property is useful for import/export purposes.</p>
+     */
+    [property] string CurrentPresentation;
+
+    /** If this flag is set to <FALSE/>, the content is updated when 
+        the document information changes.
+     */
+    [property] boolean IsFixed;
+};
+
+//=============================================================================
+
+}; }; }; }; }; };
+
+#endif
+

File offapi/com/sun/star/text/textfield/docinfo/Description.idl

View file
  • Ignore whitespace
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: Description.idl,v $
- * $Revision: 1.4 $
+ * $Revision: 1.4.122.1 $
  *
  * This file is part of OpenOffice.org.
  *
 */
 published service Description
 {
+    service  com::sun::star::text::TextField;
+
     /** contains content information.
 	 */
 	[property] string Content;

File offapi/com/sun/star/text/textfield/docinfo/Info0.idl

View file
  • Ignore whitespace
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: Info0.idl,v $
- * $Revision: 1.4 $
+ * $Revision: 1.4.122.2 $
  *
  * This file is part of OpenOffice.org.
  *
 //=============================================================================
 /** specifies service of a text field that provides the Info0 field that is contained
     in the document information.
+    @deprecated this service is no longer implemented as of OOo 3.0;
+        use com::sun::star::text::textfield::docinfo::Custom instead.
 	@see com::sun::star::text::TextField
 */
 published service Info0

File offapi/com/sun/star/text/textfield/docinfo/Info1.idl

View file