an uno -> a uno
Change-Id: I538db88f8477dd2d2ad25c372928fec6c11d979d Reviewed-on: https://gerrit.libreoffice.org/72105 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
@@ -108,7 +108,7 @@ static char const ID_DBG_METHODS[] = "Dbg_Methods";
|
||||
|
||||
static char const aSeqLevelStr[] = "[]";
|
||||
|
||||
// Gets the default property for an uno object. Note: There is some
|
||||
// Gets the default property for a uno object. Note: There is some
|
||||
// redirection built in. The property name specifies the name
|
||||
// of the default property.
|
||||
|
||||
@@ -2824,7 +2824,7 @@ Any SbUnoObject::getUnoAny()
|
||||
return aRetAny;
|
||||
}
|
||||
|
||||
// help method to create an Uno-Struct per CoreReflection
|
||||
// help method to create a Uno-Struct per CoreReflection
|
||||
static SbUnoObject* Impl_CreateUnoStruct( const OUString& aClassName )
|
||||
{
|
||||
// get CoreReflection
|
||||
@@ -2869,7 +2869,7 @@ SbxObject* SbUnoFactory::CreateObject( const OUString& rClassName )
|
||||
|
||||
|
||||
// Provisional interface for the UNO-Connection
|
||||
// Deliver a SbxObject, that wrap an Uno-Interface
|
||||
// Deliver a SbxObject, that wrap a Uno-Interface
|
||||
SbxObjectRef GetSbUnoObject( const OUString& aName, const Any& aUnoObj_ )
|
||||
{
|
||||
return new SbUnoObject( aName, aUnoObj_ );
|
||||
@@ -3395,7 +3395,7 @@ SbxVariable* SbUnoClass::Find( const OUString& rName, SbxClassType )
|
||||
}
|
||||
}
|
||||
|
||||
// An UNO service?
|
||||
// A UNO service?
|
||||
if( !pRes )
|
||||
{
|
||||
SbUnoService* pUnoService = findUnoService( aNewName );
|
||||
@@ -3407,7 +3407,7 @@ SbxVariable* SbUnoClass::Find( const OUString& rName, SbxClassType )
|
||||
}
|
||||
}
|
||||
|
||||
// An UNO singleton?
|
||||
// A UNO singleton?
|
||||
if( !pRes )
|
||||
{
|
||||
SbUnoSingleton* pUnoSingleton = findUnoSingleton( aNewName );
|
||||
|
||||
@@ -209,7 +209,7 @@ public:
|
||||
virtual SbxObject* CreateObject( const OUString& ) override;
|
||||
};
|
||||
|
||||
// wrapper for an uno-class
|
||||
// wrapper for a uno-class
|
||||
class SbUnoClass : public SbxObject
|
||||
{
|
||||
const css::uno::Reference< css::reflection::XIdlClass > m_xClass;
|
||||
|
||||
@@ -1597,8 +1597,8 @@ static bool checkUnoStructCopy( bool bVBA, SbxVariableRef const & refVal, SbxVar
|
||||
SbUnoObject* pUnoVal = dynamic_cast<SbUnoObject*>( xValObj.get() );
|
||||
SbUnoStructRefObject* pUnoStructVal = dynamic_cast<SbUnoStructRefObject*>( xValObj.get() );
|
||||
Any aAny;
|
||||
// make doubly sure value is either an Uno object or
|
||||
// an uno struct
|
||||
// make doubly sure value is either a Uno object or
|
||||
// a uno struct
|
||||
if ( pUnoVal || pUnoStructVal )
|
||||
aAny = pUnoVal ? pUnoVal->getUnoAny() : pUnoStructVal->getUnoAny();
|
||||
else
|
||||
@@ -3397,7 +3397,7 @@ SbxVariable* SbiRuntime::FindElement( SbxObject* pObj, sal_uInt32 nOp1, sal_uInt
|
||||
}
|
||||
}
|
||||
|
||||
// #62939 If an uno-class has been found, the wrapper
|
||||
// #62939 If a uno-class has been found, the wrapper
|
||||
// object has to be held, because the uno-class, e. g.
|
||||
// "stardiv", has to be read out of the registry
|
||||
// every time again otherwise
|
||||
@@ -3782,7 +3782,7 @@ SbxVariable* SbiRuntime::CheckArray( SbxVariable* pElem )
|
||||
pPar = pElem->GetParameters();
|
||||
if ( pPar )
|
||||
{
|
||||
// is it an uno-object?
|
||||
// is it a uno-object?
|
||||
SbxBaseRef pObj = pElem->GetObject();
|
||||
if( pObj.is() )
|
||||
{
|
||||
|
||||
@@ -592,7 +592,7 @@ static void createVariableURL( OUString& rStr, const OUString& rLibName,
|
||||
void SfxLibraryContainer::init( const OUString& rInitialDocumentURL, const uno::Reference< embed::XStorage >& rxInitialStorage )
|
||||
{
|
||||
// this might be called from within the ctor, and the impl_init might (indirectly) create
|
||||
// an UNO reference to ourself.
|
||||
// a UNO reference to ourself.
|
||||
// Ensure that we're not destroyed while we're in here
|
||||
osl_atomic_increment( &m_refCount );
|
||||
init_Impl( rInitialDocumentURL, rxInitialStorage );
|
||||
|
||||
@@ -448,7 +448,7 @@ public class LocalOfficeConnection
|
||||
|
||||
/**
|
||||
* Parses a connection URL.
|
||||
* This method accepts an UNO URL with following format:<br>
|
||||
* This method accepts a UNO URL with following format:<br>
|
||||
* <pre>
|
||||
* url := uno:localoffice[,<params>];urp;StarOffice.NamingService
|
||||
* params := <path>[,<pipe>]
|
||||
|
||||
@@ -152,7 +152,7 @@ public class LocalOfficeWindow
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves an UNO XWindowPeer object associated with the OfficeWindow.
|
||||
* Retrieves a UNO XWindowPeer object associated with the OfficeWindow.
|
||||
*
|
||||
* @return The UNO XWindowPeer object associated with the OfficeWindow.
|
||||
*/
|
||||
|
||||
@@ -38,7 +38,7 @@ public interface OfficeWindow
|
||||
Component getAWTComponent();
|
||||
|
||||
/**
|
||||
* Retrieves an UNO XWindowPeer object associated with the OfficeWindow.
|
||||
* Retrieves a UNO XWindowPeer object associated with the OfficeWindow.
|
||||
*
|
||||
* @return The UNO XWindowPeer object associated with the OfficeWindow.
|
||||
*/
|
||||
|
||||
@@ -383,7 +383,7 @@ void Bridge::call_java(
|
||||
}
|
||||
}
|
||||
|
||||
// an UNO proxy wrapping a Java interface
|
||||
// a UNO proxy wrapping a Java interface
|
||||
struct UNO_proxy : public uno_Interface
|
||||
{
|
||||
mutable std::atomic<std::size_t> m_ref;
|
||||
|
||||
@@ -44,7 +44,7 @@ struct Mapping : public uno_Mapping
|
||||
};
|
||||
|
||||
// The environment will be created in uno_initEnvironment. See also the remarks there
|
||||
//Managed cli environment for cli objects an UNO proxies (which are cli
|
||||
//Managed cli environment for cli objects a UNO proxies (which are cli
|
||||
//objects. The uno_Environment is not used for cli objects.
|
||||
ref struct CliEnvHolder {
|
||||
static Cli_environment ^ g_cli_env = nullptr;
|
||||
|
||||
@@ -59,7 +59,7 @@ public:
|
||||
!Cli_environment();
|
||||
|
||||
/**
|
||||
Registers an UNO object as being mapped by this bridge. The resulting
|
||||
Registers a UNO object as being mapped by this bridge. The resulting
|
||||
cli object is represents all interfaces of the UNO object. Therefore the
|
||||
object can be registered only with its OID; a type is not necessary.
|
||||
*/
|
||||
|
||||
@@ -219,7 +219,7 @@ bool UnoInterfaceProxy::CanCastTo(System::Type^ fromType,
|
||||
if (nullptr != findInfo( fromType )) // proxy supports demanded interface
|
||||
return true;
|
||||
|
||||
//query an uno interface for the required type
|
||||
//query a uno interface for the required type
|
||||
|
||||
// we use the first interface in the list (m_listIfaces) to make
|
||||
// the queryInterface call
|
||||
|
||||
@@ -116,7 +116,7 @@ namespace comphelper {
|
||||
// 5. try the last segment of the document URL
|
||||
// this formerly was an INetURLObject::getName( LAST_SEGMENT, true, DecodeMechanism::WithCharset ),
|
||||
// but since we moved this code to comphelper, we do not have access to an INetURLObject anymore
|
||||
// This heuristics here should be sufficient - finally, we will get an UNO title API in a not
|
||||
// This heuristics here should be sufficient - finally, we will get a UNO title API in a not
|
||||
// too distant future (hopefully), then this complete class is superfluous)
|
||||
if ( sDocURL.isEmpty() )
|
||||
{
|
||||
|
||||
@@ -76,7 +76,7 @@ void OPropertyContainerHelper::registerProperty(const OUString& _rName, sal_Int3
|
||||
OSL_ENSURE((_nAttributes & PropertyAttribute::MAYBEVOID) == 0,
|
||||
"OPropertyContainerHelper::registerProperty: don't use this for properties which may be void ! There is a method called \"registerMayBeVoidProperty\" for this !");
|
||||
OSL_ENSURE(!_rMemberType.equals(cppu::UnoType<Any>::get()),
|
||||
"OPropertyContainerHelper::registerProperty: don't give my the type of an uno::Any ! Really can't handle this !");
|
||||
"OPropertyContainerHelper::registerProperty: don't give my the type of a uno::Any ! Really can't handle this !");
|
||||
OSL_ENSURE(_pPointerToMember,
|
||||
"OPropertyContainerHelper::registerProperty: you gave me nonsense : the pointer must be non-NULL");
|
||||
|
||||
@@ -104,7 +104,7 @@ void OPropertyContainerHelper::registerMayBeVoidProperty(const OUString& _rName,
|
||||
OSL_ENSURE((_nAttributes & PropertyAttribute::MAYBEVOID) != 0,
|
||||
"OPropertyContainerHelper::registerMayBeVoidProperty: why calling this when the attributes say nothing about may-be-void ?");
|
||||
OSL_ENSURE(!_rExpectedType.equals(cppu::UnoType<Any>::get()),
|
||||
"OPropertyContainerHelper::registerMayBeVoidProperty: don't give my the type of an uno::Any ! Really can't handle this !");
|
||||
"OPropertyContainerHelper::registerMayBeVoidProperty: don't give my the type of a uno::Any ! Really can't handle this !");
|
||||
OSL_ENSURE(_pPointerToMember,
|
||||
"OPropertyContainerHelper::registerMayBeVoidProperty: you gave me nonsense : the pointer must be non-NULL");
|
||||
|
||||
@@ -123,7 +123,7 @@ void OPropertyContainerHelper::registerPropertyNoMember(const OUString& _rName,
|
||||
const Type& _rType, css::uno::Any const & _pInitialValue)
|
||||
{
|
||||
OSL_ENSURE(!_rType.equals(cppu::UnoType<Any>::get()),
|
||||
"OPropertyContainerHelper::registerPropertyNoMember : don't give my the type of an uno::Any ! Really can't handle this !");
|
||||
"OPropertyContainerHelper::registerPropertyNoMember : don't give my the type of a uno::Any ! Really can't handle this !");
|
||||
OSL_ENSURE(
|
||||
(_pInitialValue.isExtractableTo(_rType)
|
||||
|| (!_pInitialValue.hasValue()
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace comphelper
|
||||
{
|
||||
// TODO: perhaps it's time to think about resources in the comphelper module?
|
||||
// Would be nice to have localized exception strings (a simply resource file containing
|
||||
// strings only would suffice, and could be realized with an UNO service, so we do not
|
||||
// strings only would suffice, and could be realized with a UNO service, so we do not
|
||||
// need the dependency to the Tools project)
|
||||
OUStringBuffer sMessage;
|
||||
sMessage.append( "The property \"" );
|
||||
|
||||
@@ -84,7 +84,7 @@ protected:
|
||||
/// to check file names against whitelists, so that it works with preprocessed input too
|
||||
StringRef getFileNameOfSpellingLoc(SourceLocation spellingLocation) const;
|
||||
/**
|
||||
Checks if the location is inside an UNO file, more specifically, if it forms part of the URE stable interface,
|
||||
Checks if the location is inside a UNO file, more specifically, if it forms part of the URE stable interface,
|
||||
which is not allowed to be changed.
|
||||
*/
|
||||
bool isInUnoIncludeFile(SourceLocation spellingLocation) const;
|
||||
|
||||
@@ -225,7 +225,7 @@ bool SalCall::VisitFunctionDecl(FunctionDecl const* decl)
|
||||
return true;
|
||||
}
|
||||
|
||||
// some base classes are overridden by sub-classes which override both the base-class and an UNO class
|
||||
// some base classes are overridden by sub-classes which override both the base-class and a UNO class
|
||||
if (recordDecl)
|
||||
{
|
||||
auto dc = loplugin::DeclCheck(recordDecl);
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ UNO services to access the configuration database
|
||||
== Functional Overview ==
|
||||
|
||||
This code parses the settings that are described in the [[officecfg]]
|
||||
directory, and provides an UNO API that code can use to set and get
|
||||
directory, and provides a UNO API that code can use to set and get
|
||||
settings.
|
||||
|
||||
== Source Overview ==
|
||||
|
||||
@@ -75,7 +75,7 @@ void CanvasTest::testComposite()
|
||||
aRedTransparent[3] = 0.5; // A
|
||||
aDefaultState.DeviceColor = aRedTransparent;
|
||||
#if 0
|
||||
// words fail me to describe the sheer beauty of allocating an UNO
|
||||
// words fail me to describe the sheer beauty of allocating a UNO
|
||||
// object to represent a polygon, and manually handling the ViewState
|
||||
// and there being no public helper for this - to render ... a rectangle.
|
||||
XCachedPrimitive fillPolyPolygon( [in] XPolyPolygon2D xPolyPolygon, [in] ViewState aViewState, [in] RenderState aRenderState )
|
||||
|
||||
@@ -270,7 +270,7 @@ namespace dbaui
|
||||
*/
|
||||
void addContainerListener(const css::uno::Reference< css::container::XNameAccess>& _xCollection);
|
||||
|
||||
/** opens an uno dialog with the currently selected data source as initialize argument
|
||||
/** opens a uno dialog with the currently selected data source as initialize argument
|
||||
@param _sServiceName
|
||||
The service name of the dialog to be executed.
|
||||
*/
|
||||
|
||||
@@ -122,7 +122,7 @@ namespace dbaui
|
||||
|
||||
const MapInt2String& getIndirectProperties() const { return m_aIndirectPropTranslator; }
|
||||
|
||||
/** translates properties of an UNO data source into SfxItems
|
||||
/** translates properties of a UNO data source into SfxItems
|
||||
@param _rxSource
|
||||
The data source
|
||||
@param _rDest
|
||||
@@ -132,7 +132,7 @@ namespace dbaui
|
||||
const css::uno::Reference< css::beans::XPropertySet >& _rxSource,
|
||||
SfxItemSet& _rDest);
|
||||
|
||||
/** translate SfxItems into properties of an UNO data source
|
||||
/** translate SfxItems into properties of a UNO data source
|
||||
@param _rSource
|
||||
The item set to read from.
|
||||
@param _rxDest
|
||||
|
||||
@@ -96,11 +96,11 @@ namespace desktop
|
||||
" --safe-mode Starts in a safe mode, i.e. starts temporarily with a \n"
|
||||
" fresh user profile and helps to restore a broken \n"
|
||||
" configuration. \n"
|
||||
" --accept={UNO-URL} Specifies an UNO-URL connect-string to create an UNO \n"
|
||||
" --accept={UNO-URL} Specifies a UNO-URL connect-string to create a UNO \n"
|
||||
" acceptor through which other programs can connect to \n"
|
||||
" access the API. Note that API access allows execution \n"
|
||||
" of arbitrary commands. \n"
|
||||
" The syntax of an UNO-URL connect-string is: \n"
|
||||
" The syntax of a UNO-URL connect-string is: \n"
|
||||
" uno:connection-type,params;protocol-name,params;ObjectName \n"
|
||||
" --unaccept={UNO-URL} Closes an acceptor that was created with --accept. Use \n"
|
||||
" --unaccept=all to close all open acceptors. \n"
|
||||
|
||||
@@ -162,7 +162,7 @@ ServiceImpl::ServiceImpl( Sequence<Any> const& args,
|
||||
: m_xComponentContext(xComponentContext),
|
||||
m_bShowUpdateOnly( false )
|
||||
{
|
||||
/* if true then this service is running in an unopkg process and not in an office process */
|
||||
/* if true then this service is running in a unopkg process and not in an office process */
|
||||
boost::optional<sal_Bool> unopkg;
|
||||
boost::optional<OUString> view;
|
||||
try {
|
||||
|
||||
@@ -90,7 +90,7 @@ namespace abp
|
||||
/** a non-UNO wrapper for a data source
|
||||
<p>This class allows to access data sources without the need to compile the respective file with
|
||||
exception handling enabled (hopefully :).</p>
|
||||
<p>In addition to wrapping an UNO data source, an instance of this class can handle at most
|
||||
<p>In addition to wrapping a UNO data source, an instance of this class can handle at most
|
||||
one valid connection, as obtained from the data source.</p>
|
||||
*/
|
||||
class ODataSource
|
||||
|
||||
@@ -446,7 +446,7 @@ Any SAL_CALL IUnknownWrapper::getValue( const OUString& aPropertyName )
|
||||
// I was going to implement an XServiceInfo interface to allow the type
|
||||
// of the automation object to be exposed.. but it seems
|
||||
// from looking at comments in the code that it is possible for
|
||||
// this object to actually wrap an UNO object ( I guess if automation is
|
||||
// this object to actually wrap a UNO object ( I guess if automation is
|
||||
// used from MSO to create Openoffice objects ) Therefore, those objects
|
||||
// will more than likely already have their own XServiceInfo interface.
|
||||
// Instead here I chose a name that should be illegal both in COM and
|
||||
|
||||
@@ -51,7 +51,7 @@ typedef std::unordered_map<OUString, pair<DISPID, unsigned short>> DispIdMap;
|
||||
typedef std::unordered_multimap<OUString, unsigned int> TLBFuncIndexMap;
|
||||
|
||||
// This class wraps an IDispatch and maps XInvocation calls to IDispatch calls on the wrapped object.
|
||||
// If m_TypeDescription is set then this class represents an UNO interface implemented in a COM component.
|
||||
// If m_TypeDescription is set then this class represents a UNO interface implemented in a COM component.
|
||||
// The interface is not a real interface in terms of an abstract class but is realized through IDispatch.
|
||||
class IUnknownWrapper : public WeakImplHelper< XBridgeSupplier2, XInitialization, XAutomationObject, XDefaultProperty, XDefaultMethod, XDirectInvocation, XAutomationInvocation >,
|
||||
|
||||
@@ -214,7 +214,7 @@ protected:
|
||||
// wrapper class knows what type it is represting. The member m_TypeDescription holds this
|
||||
// information.
|
||||
// m_TypeDescription is only useful when an object wraps an IDispatch object that implements
|
||||
// an UNO interface. The value is set during a call to XInitialization::initialize.
|
||||
// a UNO interface. The value is set during a call to XInitialization::initialize.
|
||||
Sequence<Type> m_seqTypes;
|
||||
CComPtr<IUnknown> m_spUnknown;
|
||||
CComPtr<IDispatch> m_spDispatch;
|
||||
|
||||
@@ -86,7 +86,7 @@ protected:
|
||||
// This class realizes the service com.sun.star.bridge.OleBridgeSupplier2 and
|
||||
// com.sun.star.bridge.OleBridgeSupplierVar1. The class implements XBridgeSupplier2 which
|
||||
// interface does not need a Maschine Id in its createBridge function anymore,
|
||||
// If an UNO interface is to be converted then the member m_nUnoWrapperClass determines
|
||||
// If a UNO interface is to be converted then the member m_nUnoWrapperClass determines
|
||||
// what wrapper class is to be used. There are currently InterfaceOleWrapper and
|
||||
// UnoObjectWrapperRemoteOpt. The first is used for the OleBridgeSupplier2 and the
|
||||
// latter for OleBridgeSupplierVar1.
|
||||
|
||||
@@ -71,7 +71,7 @@ extern std::unordered_map<sal_uIntPtr, WeakReference<XInterface> > ComPtrToWrapp
|
||||
|
||||
// Maps XInterface pointers to a weak reference of its wrapper class (i.e.
|
||||
// InterfaceOleWrapper). It is the responsibility of the wrapper to remove the entry when
|
||||
// it is being destroyed. It is used to ensure the identity of objects. That is, an UNO interface
|
||||
// it is being destroyed. It is used to ensure the identity of objects. That is, a UNO interface
|
||||
// is mapped to IDispatch which is kept alive in the COM environment. If the same
|
||||
// UNO interface is mapped again to COM then the IDispach of the first mapped instance
|
||||
// must be returned.
|
||||
@@ -1609,10 +1609,10 @@ void UnoConversionUtilities<T>::variantToAny( const VARIANT* pVariant, Any& rAny
|
||||
}
|
||||
|
||||
}
|
||||
// The function converts an IUnknown* into an UNO interface or struct. The
|
||||
// The function converts an IUnknown* into a UNO interface or struct. The
|
||||
// IUnknown pointer can constitute different kind of objects:
|
||||
// 1. a wrapper of an UNO struct (the wrapper was created by this bridge)
|
||||
// 2. a wrapper of an UNO interface (created by this bridge)
|
||||
// 1. a wrapper of a UNO struct (the wrapper was created by this bridge)
|
||||
// 2. a wrapper of a UNO interface (created by this bridge)
|
||||
// 3. a dispatch object that implements UNO interfaces
|
||||
// 4. a dispatch object.
|
||||
|
||||
@@ -1629,7 +1629,7 @@ void UnoConversionUtilities<T>::variantToAny( const VARIANT* pVariant, Any& rAny
|
||||
// SUPPORTED_INTERFACES_PROP, then the INTERFACE_ADAPTER_FACTORY creates an object that
|
||||
// implements all these interfaces.
|
||||
// This is only done if "pUnknown" is not already a UNO wrapper,
|
||||
// that is it is actually NOT an UNO object that was converted to a COM object. If it is an
|
||||
// that is it is actually NOT a UNO object that was converted to a COM object. If it is an
|
||||
// UNO wrapper than the original UNO object is being extracted, queried for "aType" (if
|
||||
// it is no struct) and returned.
|
||||
template<class T>
|
||||
@@ -1695,7 +1695,7 @@ Any UnoConversionUtilities<T>::createOleObjectWrapper(VARIANT* pVar, const Type&
|
||||
}
|
||||
|
||||
|
||||
// Check if "spUnknown" is a UNO wrapper, that is an UNO object that has been
|
||||
// Check if "spUnknown" is a UNO wrapper, that is a UNO object that has been
|
||||
// passed to COM. Then it supports IUnoObjectWrapper
|
||||
// and we extract the original UNO object.
|
||||
CComQIPtr<IUnoObjectWrapper> spUno( spUnknown);
|
||||
|
||||
@@ -1263,9 +1263,9 @@ STDMETHODIMP InterfaceOleWrapper::GetIDsOfNames(REFIID /*riid*/,
|
||||
// A JScriptValue (ValueObject) object is a COM object in that it implements IDispatch and the
|
||||
// IJScriptValue object interface. Such objects are provided by all UNO wrapper
|
||||
// objects used within a JScript script. To obtain an instance one has to call
|
||||
// "_GetValueObject() or Bridge_GetValueObject()" on an UNO wrapper object (class InterfaceOleWrapper).
|
||||
// "_GetValueObject() or Bridge_GetValueObject()" on a UNO wrapper object (class InterfaceOleWrapper).
|
||||
// A value object is appropriately initialized within the script and passed as
|
||||
// parameter to an UNO object method or property. The convertDispparamsArgs function
|
||||
// parameter to a UNO object method or property. The convertDispparamsArgs function
|
||||
// can easily find out that a param is such an object by querying for the
|
||||
// IJScriptValue interface. By this interface one the type and kind ( out, in/out)
|
||||
// can be determined and the right conversion can be applied.
|
||||
@@ -1517,11 +1517,11 @@ void SAL_CALL InterfaceOleWrapper::initialize( const Sequence< Any >& aArguments
|
||||
{
|
||||
switch( aArguments.getLength() )
|
||||
{
|
||||
case 2: // the object wraps an UNO struct
|
||||
case 2: // the object wraps a UNO struct
|
||||
aArguments[0] >>= m_xInvocation;
|
||||
aArguments[1] >>= m_defaultValueType;
|
||||
break;
|
||||
case 3: // the object wraps an UNO interface
|
||||
case 3: // the object wraps a UNO interface
|
||||
aArguments[0] >>= m_xInvocation;
|
||||
aArguments[1] >>= m_xOrigin;
|
||||
aArguments[2] >>= m_defaultValueType;
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
#include "comifaces.hxx"
|
||||
|
||||
/* creates an UnoTypWrapper and sets the Name property to the value
|
||||
/* creates a UnoTypWrapper and sets the Name property to the value
|
||||
specified by sTypeName.
|
||||
Returns true if the object could be created and initialized.
|
||||
*/
|
||||
|
||||
@@ -298,7 +298,7 @@ namespace pcr
|
||||
|
||||
typedef ::cppu::WeakImplHelper < css::container::XNameReplace
|
||||
> EventHolder_Base;
|
||||
/* An UNO component holding assigned event descriptions, for use with a SvxMacroAssignDlg */
|
||||
/* A UNO component holding assigned event descriptions, for use with a SvxMacroAssignDlg */
|
||||
class EventHolder : public EventHolder_Base
|
||||
{
|
||||
private:
|
||||
|
||||
@@ -523,7 +523,7 @@ Public Sub Main()
|
||||
Function testImplementedInterfaces() As Object
|
||||
'Bridge_ImplementedInterfaces
|
||||
'=================================================
|
||||
' call an UNO function that takes an XEventListener interface
|
||||
' call a UNO function that takes an XEventListener interface
|
||||
'We provide a COM implementation (IDispatch) as EventListener
|
||||
'Open a new empty writer document
|
||||
|
||||
|
||||
@@ -485,7 +485,7 @@ function XSimple_Impl_func( message)
|
||||
|
||||
<h2> Object in JScript</h2>
|
||||
|
||||
This test passes a XCallback to an UNO function of the UNO test control.
|
||||
This test passes a XCallback to a UNO function of the UNO test control.
|
||||
XCallback is implemented by the JScript class XCallback_Impl. The function
|
||||
XCallback::func1 is then called from the UNO test control.
|
||||
<br>
|
||||
|
||||
+1
-1
@@ -87,7 +87,7 @@ class ConfigFlush final : public BaseLock
|
||||
virtual void SAL_CALL removeRefreshListener(const css::uno::Reference< css::util::XRefreshListener >& xListener) override;
|
||||
|
||||
|
||||
// interface to register/create this instance as an UNO service
|
||||
// interface to register/create this instance as a UNO service
|
||||
static OUString impl_getImplementationName();
|
||||
static css::uno::Sequence< OUString > impl_getSupportedServiceNames();
|
||||
static css::uno::Reference< css::uno::XInterface > impl_createInstance(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR);
|
||||
|
||||
+1
-1
@@ -111,7 +111,7 @@ class ContentHandlerFactory : public ::cppu::ImplInheritanceHelper< BaseContaine
|
||||
this new instance. It should be passed to the new object
|
||||
so it can be used internally to create own needed uno resources.
|
||||
|
||||
@return The new instance of this service as an uno reference.
|
||||
@return The new instance of this service as a uno reference.
|
||||
*/
|
||||
static css::uno::Reference< css::uno::XInterface > impl_createInstance(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR);
|
||||
|
||||
|
||||
+1
-1
@@ -169,7 +169,7 @@ class FilterFactory : public ::cppu::ImplInheritanceHelper< BaseContainer
|
||||
this new instance. It should be passed to the new object
|
||||
so it can be used internally to create own needed uno resources.
|
||||
|
||||
@return The new instance of this service as an uno reference.
|
||||
@return The new instance of this service as a uno reference.
|
||||
*/
|
||||
static css::uno::Reference< css::uno::XInterface > impl_createInstance(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR);
|
||||
};
|
||||
|
||||
+1
-1
@@ -111,7 +111,7 @@ class FrameLoaderFactory : public ::cppu::ImplInheritanceHelper< BaseContainer
|
||||
this new instance. It should be passed to the new object
|
||||
so it can be used internally to create own needed uno resources.
|
||||
|
||||
@return The new instance of this service as an uno reference.
|
||||
@return The new instance of this service as a uno reference.
|
||||
*/
|
||||
static css::uno::Reference< css::uno::XInterface > impl_createInstance(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR);
|
||||
|
||||
|
||||
+1
-1
@@ -366,7 +366,7 @@ public:
|
||||
this new instance. It should be passed to the new object
|
||||
so it can be used internally to create own needed uno resources.
|
||||
|
||||
@return The new instance of this service as an uno reference.
|
||||
@return The new instance of this service as a uno reference.
|
||||
*/
|
||||
static css::uno::Reference< css::uno::XInterface > impl_createInstance(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR);
|
||||
};
|
||||
|
||||
@@ -592,7 +592,7 @@ namespace frm
|
||||
return xReturn;
|
||||
}
|
||||
|
||||
// is it an UNO slot?
|
||||
// is it a UNO slot?
|
||||
OUString sUnoProtocolPrefix( ".uno:" );
|
||||
if ( _rURL.Complete.startsWith( sUnoProtocolPrefix ) )
|
||||
{
|
||||
|
||||
@@ -56,7 +56,7 @@ typedef ::cppu::WeakComponentImplHelper<
|
||||
/** Implements the XFilePicker & friends interface(s)
|
||||
for Windows Vista and upcoming versions.
|
||||
|
||||
Note: This will be an UNO wrapper for the real file picker
|
||||
Note: This will be a UNO wrapper for the real file picker
|
||||
implementation only. The real implementation is done in class
|
||||
VistaFilePickerImpl.
|
||||
*/
|
||||
|
||||
@@ -76,7 +76,7 @@ class CloseDispatcher : public ::cppu::WeakImplHelper<
|
||||
|
||||
private:
|
||||
|
||||
/** @short reference to an uno service manager,
|
||||
/** @short reference to a uno service manager,
|
||||
which can be used to create own needed
|
||||
uno resources. */
|
||||
css::uno::Reference< css::uno::XComponentContext > m_xContext;
|
||||
|
||||
@@ -50,7 +50,7 @@ class StartModuleDispatcher : public ::cppu::WeakImplHelper<
|
||||
|
||||
private:
|
||||
|
||||
/** @short reference to an uno service manager,
|
||||
/** @short reference to a uno service manager,
|
||||
which can be used to create own needed
|
||||
uno resources. */
|
||||
css::uno::Reference< css::uno::XComponentContext > m_xContext;
|
||||
@@ -64,7 +64,7 @@ class StartModuleDispatcher : public ::cppu::WeakImplHelper<
|
||||
@descr Such "owner frame" is used as context for all related operations.
|
||||
|
||||
@param xContext
|
||||
an UNO service manager, which is needed to create UNO resource
|
||||
a UNO service manager, which is needed to create UNO resource
|
||||
internally.
|
||||
|
||||
@param xFrame
|
||||
|
||||
@@ -60,7 +60,7 @@ class PersistentWindowState : public ::cppu::WeakImplHelper<
|
||||
|
||||
private:
|
||||
|
||||
/// may we need an uno service manager to create own services
|
||||
/// may we need a uno service manager to create own services
|
||||
css::uno::Reference< css::uno::XComponentContext > m_xContext;
|
||||
|
||||
/// reference to the frame which was created by the office himself
|
||||
|
||||
@@ -120,7 +120,7 @@ typedef ::std::vector< IndicatorInfo > IndicatorStack;
|
||||
|
||||
@descr Internally it uses:
|
||||
- a vcl based
|
||||
- or an uno based and by the frame layouted
|
||||
- or a uno based and by the frame layouted
|
||||
progress implementation.
|
||||
|
||||
This factory create different indicators and control his access
|
||||
@@ -252,21 +252,21 @@ class StatusIndicatorFactory : public ::cppu::WeakImplHelper<
|
||||
/** @short creates a new internal used progress.
|
||||
@descr This factory does not paint the progress itself.
|
||||
It uses helper for that. They can be vcl based or
|
||||
layouted by the frame and provided as an uno interface.
|
||||
layouted by the frame and provided as a uno interface.
|
||||
*/
|
||||
void impl_createProgress();
|
||||
|
||||
/** @short shows the internal used progress.
|
||||
@descr This factory does not paint the progress itself.
|
||||
It uses helper for that. They can be vcl based or
|
||||
layouted by the frame and provided as an uno interface.
|
||||
layouted by the frame and provided as a uno interface.
|
||||
*/
|
||||
void impl_showProgress();
|
||||
|
||||
/** @short hides the internal used progress.
|
||||
@descr This factory does not paint the progress itself.
|
||||
It uses helper for that. They can be vcl based or
|
||||
layouted by the frame and provided as an uno interface.
|
||||
layouted by the frame and provided as a uno interface.
|
||||
*/
|
||||
void impl_hideProgress();
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@ class TitleBarUpdate : public ::cppu::WeakImplHelper<
|
||||
|
||||
private:
|
||||
|
||||
/// may we need an uno service manager to create own services
|
||||
/// may we need a uno service manager to create own services
|
||||
css::uno::Reference< css::uno::XComponentContext > m_xContext;
|
||||
|
||||
/// reference to the frame which was created by the office himself
|
||||
|
||||
@@ -43,7 +43,7 @@ class HelpOnStartup : public ::cppu::WeakImplHelper< css::lang::XServiceInfo,css
|
||||
private:
|
||||
osl::Mutex m_mutex;
|
||||
|
||||
/** @short reference to an uno service manager. */
|
||||
/** @short reference to a uno service manager. */
|
||||
css::uno::Reference< css::uno::XComponentContext > m_xContext;
|
||||
|
||||
/** @short such module manager is used to classify new opened documents. */
|
||||
|
||||
@@ -113,7 +113,7 @@ class JobData final
|
||||
- as a configured job
|
||||
- as a job without any configuration
|
||||
First mode is triggered by an alias, which points to the
|
||||
configuration entries. Second mode is specified by an uno service
|
||||
configuration entries. Second mode is specified by a uno service
|
||||
or implementation name. Then we do the same things (use the same interfaces)
|
||||
but don't handle any configuration data.
|
||||
The effect: This mode can be detected by this member.
|
||||
|
||||
@@ -45,7 +45,7 @@ class ShellJob : public ::cppu::WeakImplHelper< css::lang::XServiceInfo,css::tas
|
||||
// member
|
||||
private:
|
||||
|
||||
/** @short reference to an uno service manager. */
|
||||
/** @short reference to a uno service manager. */
|
||||
css::uno::Reference< css::uno::XComponentContext > m_xContext;
|
||||
|
||||
// native interface
|
||||
|
||||
@@ -134,7 +134,7 @@ public class CheckXTitle
|
||||
}
|
||||
|
||||
|
||||
// prepare an uno URL query and dispatch it
|
||||
// prepare a uno URL query and dispatch it
|
||||
private void prepareQueryAndDispatch(XDispatchProvider xDisProv, String unoURL)
|
||||
{
|
||||
XDispatch xDispatcher = null;
|
||||
|
||||
@@ -285,7 +285,7 @@ public class checkdispatchapi
|
||||
}
|
||||
}
|
||||
|
||||
/** @short create an uno implementation directly.
|
||||
/** @short create a uno implementation directly.
|
||||
*/
|
||||
private Object impl_createUNOComponent(String sName)
|
||||
{
|
||||
|
||||
@@ -64,7 +64,7 @@ public:
|
||||
/** initialize this instance and fill the internal cache.
|
||||
|
||||
@param xSMGR
|
||||
reference to an uno service manager, which is used internally.
|
||||
reference to a uno service manager, which is used internally.
|
||||
*/
|
||||
DocumentAcceleratorConfiguration(
|
||||
const css::uno::Reference< css::uno::XComponentContext >& xContext,
|
||||
|
||||
@@ -51,7 +51,7 @@ public:
|
||||
/** initialize this instance and fill the internal cache.
|
||||
|
||||
@param xSMGR
|
||||
reference to an uno service manager, which is used internally.
|
||||
reference to a uno service manager, which is used internally.
|
||||
*/
|
||||
explicit GlobalAcceleratorConfiguration(const css::uno::Reference< css::uno::XComponentContext >& xContext);
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ public:
|
||||
/** initialize this instance and fill the internal cache.
|
||||
|
||||
@param xSMGR
|
||||
reference to an uno service manager, which is used internally.
|
||||
reference to a uno service manager, which is used internally.
|
||||
*/
|
||||
ModuleAcceleratorConfiguration(
|
||||
const css::uno::Reference< css::uno::XComponentContext >& xContext,
|
||||
|
||||
@@ -199,7 +199,7 @@ void SAL_CALL CloseDispatcher::dispatchWithNotification(const css::util::URL&
|
||||
// Do it asynchronous everytimes!
|
||||
|
||||
// But don't forget to hold ourselves alive.
|
||||
// We are called back from an environment, which doesn't know an uno reference.
|
||||
// We are called back from an environment, which doesn't know a uno reference.
|
||||
// They call us back by using our c++ interface.
|
||||
|
||||
m_xResultListener = xListener;
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace framework{
|
||||
|
||||
/**
|
||||
@short overloaded index operator of hash map to support pattern key search
|
||||
@descr All keys inside this hash map are URL pattern which points to an uno
|
||||
@descr All keys inside this hash map are URL pattern which points to a uno
|
||||
implementation name of a protocol handler service which is registered
|
||||
for this pattern. This operator makes it easy to find such registered
|
||||
handler by using a full qualified URL and compare it with all pattern
|
||||
|
||||
@@ -119,7 +119,7 @@ class PresetHandler
|
||||
/** @short does nothing real.
|
||||
|
||||
@param xContext
|
||||
points to an uno service manager, which is used internally
|
||||
points to a uno service manager, which is used internally
|
||||
to create own needed uno resources.
|
||||
*/
|
||||
PresetHandler(const css::uno::Reference< css::uno::XComponentContext >& xContext);
|
||||
|
||||
@@ -103,7 +103,7 @@ public:
|
||||
private:
|
||||
mutable osl::Mutex m_mutex;
|
||||
|
||||
/** @short reference to an uno service manager, which must be used
|
||||
/** @short reference to a uno service manager, which must be used
|
||||
to created on needed services on demand.
|
||||
*/
|
||||
css::uno::Reference< css::uno::XComponentContext > m_xContext;
|
||||
@@ -197,7 +197,7 @@ public:
|
||||
/** @short initialize a new instance of this load environment.
|
||||
|
||||
@param xContext
|
||||
reference to an uno service manager, which can be used internally
|
||||
reference to a uno service manager, which can be used internally
|
||||
to create on needed services on demand.
|
||||
|
||||
@throw Currently there is no reason to throw such exception!
|
||||
|
||||
@@ -50,7 +50,7 @@ class LoadEnvException
|
||||
should be thrown, if a required item does not exists. */
|
||||
ID_INVALID_MEDIADESCRIPTOR,
|
||||
|
||||
/** @short Its similar to an uno::RuntimeException ....
|
||||
/** @short Its similar to a uno::RuntimeException ....
|
||||
@descr But such runtime exception can break the whole office code.
|
||||
So its capsulated to this specialized load environment only.
|
||||
Mostly it indicates a missing but needed resource ... e.g the
|
||||
|
||||
@@ -359,7 +359,7 @@ css::uno::Sequence< css::beans::NamedValue > JobData::getConfig() const
|
||||
/**
|
||||
@short return information, if this job is part of the global configuration package
|
||||
org.openoffice.Office.Jobs
|
||||
@descr Because jobs can be executed by the dispatch framework using an uno service name
|
||||
@descr Because jobs can be executed by the dispatch framework using a uno service name
|
||||
directly - an executed job must not have any configuration really. Such jobs
|
||||
must provide the right interfaces only! But after finishing jobs can return
|
||||
some information (e.g. for updating her configuration ...). We must know
|
||||
|
||||
@@ -360,7 +360,7 @@ void JobDispatch::impl_dispatchEvent( /*IN*/ const OUString&
|
||||
/**
|
||||
@short dispatch a service
|
||||
@descr We use the given name only to create and if possible to initialize
|
||||
it as an uno service. It can be useful for creating (caching?)
|
||||
it as a uno service. It can be useful for creating (caching?)
|
||||
of e.g. one instance services.
|
||||
|
||||
@param sService
|
||||
|
||||
@@ -722,7 +722,7 @@ void LoadEnv::impl_detectTypeAndFilter()
|
||||
// SAFE ->
|
||||
osl::ClearableMutexGuard aReadLock(m_mutex);
|
||||
|
||||
// Attention: Because our stl media descriptor is a copy of an uno sequence
|
||||
// Attention: Because our stl media descriptor is a copy of a uno sequence
|
||||
// we can't use as an in/out parameter here. Copy it before and don't forget to
|
||||
// update structure afterwards again!
|
||||
css::uno::Sequence< css::beans::PropertyValue > lDescriptor = m_lMediaDescriptor.getAsConstPropertyValueList();
|
||||
|
||||
@@ -152,7 +152,7 @@ public:
|
||||
internal operation asynchronous... we send an event
|
||||
to start and return immediately. But we must be sure that
|
||||
our instance live if the event callback reach us.
|
||||
So we hold an uno reference to ourself.
|
||||
So we hold a uno reference to ourself.
|
||||
*/
|
||||
css::uno::Reference< css::uno::XInterface > m_xHoldRefForAsyncOpAlive;
|
||||
};
|
||||
|
||||
@@ -140,7 +140,7 @@ void Desktop::constructorInit()
|
||||
@descr This constructor initialize a new instance of this class by valid factory,
|
||||
and will be set valid values on his member and baseclasses.
|
||||
|
||||
@attention a) Don't use your own reference during an UNO-Service-ctor! There is no guarantee, that you
|
||||
@attention a) Don't use your own reference during a UNO-Service-ctor! There is no guarantee, that you
|
||||
will get over this. (e.g. using of your reference as parameter to initialize some member)
|
||||
Do such things in DEFINE_INIT_SERVICE() method, which is called automatically after your ctor!!!
|
||||
b) Baseclass OBroadcastHelper is a typedef in namespace cppu!
|
||||
@@ -1709,7 +1709,7 @@ bool Desktop::impl_closeFrames(bool bAllowUI)
|
||||
{
|
||||
css::uno::Reference< css::frame::XFrame > xFrame = lFrames[i];
|
||||
|
||||
// XController.suspend() will show an UI ...
|
||||
// XController.suspend() will show a UI ...
|
||||
// Use it in case it was allowed from outside only.
|
||||
bool bSuspended = false;
|
||||
css::uno::Reference< css::frame::XController > xController( xFrame->getController(), css::uno::UNO_QUERY );
|
||||
|
||||
@@ -439,7 +439,7 @@ private:
|
||||
@descr This constructor initialize a new instance of this class by valid factory,
|
||||
and will be set valid values on his member and baseclasses.
|
||||
|
||||
@attention a) Don't use your own reference during an UNO-Service-ctor! There is no guarantee, that you
|
||||
@attention a) Don't use your own reference during a UNO-Service-ctor! There is no guarantee, that you
|
||||
will get over this. (e.g. using of your reference as parameter to initialize some member)
|
||||
Do such things in DEFINE_INIT_SERVICE() method, which is called automatically after your ctor!!!
|
||||
b) Baseclass OBroadcastHelper is a typedef in namespace cppu!
|
||||
|
||||
@@ -303,7 +303,7 @@ public:
|
||||
}
|
||||
|
||||
/**
|
||||
* Posts an UNO command to the document.
|
||||
* Posts a UNO command to the document.
|
||||
*
|
||||
* Example argument string:
|
||||
*
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace com::sun::star::beans { struct Property; }
|
||||
|
||||
class SbxObject;
|
||||
|
||||
// Returns a SbxObject that wraps an Uno Interface
|
||||
// Returns a SbxObject that wraps a Uno Interface
|
||||
// Implementation in basic/source/classes/sbunoobj.cxx
|
||||
BASIC_DLLPUBLIC SbxObjectRef GetSbUnoObject( const OUString& aName, const css::uno::Any& aUnoObj_ );
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
namespace comphelper
|
||||
{
|
||||
/** Base class to implement an UNO object supporting types and weak references, i.e. the object can be held
|
||||
/** Base class to implement a UNO object supporting types and weak references, i.e. the object can be held
|
||||
weakly (by a css::uno::WeakReference).
|
||||
This implementation copes with reference counting. Upon last release(), the virtual dtor
|
||||
is called.
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace cppu
|
||||
|
||||
class OWeakConnectionPoint;
|
||||
|
||||
/** Base class to implement an UNO object supporting weak references, i.e. the object can be held
|
||||
/** Base class to implement a UNO object supporting weak references, i.e. the object can be held
|
||||
weakly (by a css::uno::WeakReference).
|
||||
This implementation copes with reference counting. Upon last release(), the virtual dtor
|
||||
is called.
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
namespace cppu
|
||||
{
|
||||
|
||||
/** Base class to implement an UNO object supporting weak references, i.e. the object can be held
|
||||
/** Base class to implement a UNO object supporting weak references, i.e. the object can be held
|
||||
weakly (by a css::uno::WeakReference) and aggregation, i.e. the object can be
|
||||
aggregated by another (delegator).
|
||||
This implementation copes with reference counting. Upon last release(), the virtual dtor
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
enum EExitCodes {
|
||||
/* e.g. used to force showing of the command line help */
|
||||
EXITHELPER_NO_ERROR = 0,
|
||||
/* an uno exception was caught during startup */
|
||||
/* a uno exception was caught during startup */
|
||||
EXITHELPER_FATAL_ERROR = 77,
|
||||
/* user force automatic restart after crash */
|
||||
EXITHELPER_CRASH_WITH_RESTART = 79,
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace drawinglayer
|
||||
The process(..) implementation makes a complete iteration over the given
|
||||
sequence of primitives. If the Primitive is not derived from BasePrimitive2D
|
||||
and thus not part of the C++ implementations, it converts ViewInformation2D
|
||||
to the corresponding API implementation (an uno::Sequence< beans::PropertyValue >)
|
||||
to the corresponding API implementation (a uno::Sequence< beans::PropertyValue >)
|
||||
and recursively calls the method process(..) at the primitive with the decomposition
|
||||
derived from that primitive. This is the preparation to handle unknown implementations
|
||||
of the css::graphic::XPrimitive2D interface in the future.
|
||||
|
||||
@@ -74,7 +74,7 @@ namespace framework
|
||||
*/
|
||||
virtual SfxUndoManager& getImplUndoManager() = 0;
|
||||
|
||||
/** provides access to an UNO interface for the XUndoManager implementation. Used when throwing exceptions.
|
||||
/** provides access to a UNO interface for the XUndoManager implementation. Used when throwing exceptions.
|
||||
*/
|
||||
virtual css::uno::Reference< css::document::XUndoManager >
|
||||
getThis() = 0;
|
||||
|
||||
@@ -95,7 +95,7 @@ namespace sfx2
|
||||
|
||||
@todo
|
||||
This probably can also be obtained from the XModel, by calling getURL
|
||||
or getLocation. If both are empty, then we need an UNO way to obtain
|
||||
or getLocation. If both are empty, then we need a UNO way to obtain
|
||||
the URL of the underlying template document - if any. If we have this,
|
||||
we could replace this method with a newly introduced method
|
||||
getDocumentModel and some internal code.
|
||||
|
||||
@@ -130,7 +130,7 @@ class SVT_DLLPUBLIC AcceleratorExecute : private TMutexInit
|
||||
will be used inside the new environment.
|
||||
|
||||
@param rxContext
|
||||
reference to an uno service manager.
|
||||
reference to a uno service manager.
|
||||
|
||||
@param xEnv
|
||||
if it points to a valid frame it will be used
|
||||
|
||||
@@ -96,7 +96,7 @@ public:
|
||||
The method GetUnoControl, used to retrieve the XControl whose parent is a given device, only works
|
||||
if the SdrUnoObj has already been painted at least once onto this device. However, there are valid
|
||||
scenarios where you need certain information on how a control is painted onto a window, without
|
||||
actually painting it. For example, you might be interested in the DeviceInfo of an UNO control.
|
||||
actually painting it. For example, you might be interested in the DeviceInfo of a UNO control.
|
||||
|
||||
For those cases, you can contain an XControl which behaves as the control which *would* be used to
|
||||
paint onto a window.
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
#include <com/sun/star/awt/XUnitConversion.hpp>
|
||||
|
||||
/// An UNO wrapper for the VCL OutputDevice
|
||||
/// A UNO wrapper for the VCL OutputDevice
|
||||
class TOOLKIT_DLLPUBLIC VCLXDevice :
|
||||
public css::awt::XDevice,
|
||||
public css::lang::XTypeProvider,
|
||||
|
||||
@@ -42,9 +42,9 @@ namespace toolkit
|
||||
typedef ::cppu::ImplHelper1 < css::lang::XEventListener
|
||||
> OAccessibleControlContext_IBase;
|
||||
|
||||
/** class implementing the AccessibleContext for an UNO control - to be used in design mode of the control.
|
||||
/** class implementing the AccessibleContext for a UNO control - to be used in design mode of the control.
|
||||
<p><b>life time control<b/><br/>
|
||||
This control should be held weak by the creator (an UNO control), it itself holds a hard reference to the
|
||||
This control should be held weak by the creator (a UNO control), it itself holds a hard reference to the
|
||||
control model, and a weak reference to the control. The reference to the model is freed when the model
|
||||
is being disposed.</p>
|
||||
*/
|
||||
@@ -54,7 +54,7 @@ namespace toolkit
|
||||
,public OAccessibleControlContext_IBase
|
||||
{
|
||||
public:
|
||||
/** creates an accessible context for an uno control
|
||||
/** creates an accessible context for a uno control
|
||||
@param _rxCreator
|
||||
the uno control's XAccessible interface. This must be an XControl, from which an XControlModel
|
||||
can be retrieved.
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@ struct _typelib_TypeDescriptionReference;
|
||||
struct _typelib_TypeDescription;
|
||||
struct _uno_Mapping;
|
||||
|
||||
/** This is the binary specification of an UNO any.
|
||||
/** This is the binary specification of a UNO any.
|
||||
*/
|
||||
typedef struct SAL_DLLPUBLIC_RTTI _uno_Any
|
||||
{
|
||||
|
||||
@@ -36,7 +36,7 @@ struct _typelib_InterfaceTypeDescription;
|
||||
#pragma pack(push, 8)
|
||||
#endif
|
||||
|
||||
/** The binary specification of an UNO environment.
|
||||
/** The binary specification of a UNO environment.
|
||||
*/
|
||||
typedef struct SAL_DLLPUBLIC_RTTI _uno_Environment
|
||||
{
|
||||
@@ -128,11 +128,11 @@ typedef void (SAL_CALL * uno_freeProxyFunc)( struct _uno_ExtEnvironment * pEnv,
|
||||
*/
|
||||
typedef void * (SAL_CALL * uno_memAlloc)( sal_Size nBytes );
|
||||
|
||||
/** The binary specification of an UNO environment supporting interface registration.
|
||||
/** The binary specification of a UNO environment supporting interface registration.
|
||||
*/
|
||||
typedef struct SAL_DLLPUBLIC_RTTI _uno_ExtEnvironment
|
||||
{
|
||||
/** inherits all members of an uno_Environment
|
||||
/** inherits all members of a uno_Environment
|
||||
*/
|
||||
uno_Environment aBase;
|
||||
|
||||
|
||||
@@ -326,7 +326,7 @@ inline bool mapToCpp( Reference< C > * ppRet, uno_Interface * pUnoI )
|
||||
/** Deprecated. This function DOES NOT WORK with Purpose Environments
|
||||
(http://wiki.openoffice.org/wiki/Uno/Binary/Spec/Purpose Environments)
|
||||
|
||||
Maps an UNO interface of the currently used compiler environment to binary C UNO.
|
||||
Maps a UNO interface of the currently used compiler environment to binary C UNO.
|
||||
|
||||
@tparam C interface type
|
||||
@param ppRet inout returned interface pointer
|
||||
|
||||
@@ -36,7 +36,7 @@ namespace utl
|
||||
|
||||
//= DisposableComponent
|
||||
|
||||
/** is a class which controls lifetime of an UNO component via ->XComponent::dispose
|
||||
/** is a class which controls lifetime of a UNO component via ->XComponent::dispose
|
||||
|
||||
You'll usually never use this class directly, but only as parameter for a
|
||||
->SharedUNOComponent class.
|
||||
@@ -69,7 +69,7 @@ namespace utl
|
||||
//= CloseableComponent
|
||||
|
||||
class CloseableComponentImpl;
|
||||
/** is a class which controls lifetime of an UNO component via ->XCloseable::close
|
||||
/** is a class which controls lifetime of a UNO component via ->XCloseable::close
|
||||
|
||||
You'll usually never use this class directly, but only as parameter for a
|
||||
->SharedUNOComponent class.
|
||||
@@ -110,7 +110,7 @@ namespace utl
|
||||
|
||||
/** is a helper class for sharing ownership of a UNO component
|
||||
|
||||
If you need to share an UNO component, which normally needs a dedicated owner,
|
||||
If you need to share a UNO component, which normally needs a dedicated owner,
|
||||
and is lifetime controlled by an explicit disposal action (not necessarily ->XComponent::dispose,
|
||||
but <em>any</em> explicit method call, after which the object is considered
|
||||
to be disposed), between different classes, ->SharedUNOComponent is what you need.
|
||||
|
||||
@@ -123,7 +123,7 @@ namespace ooo
|
||||
|
||||
/// @throws css::uno::RuntimeException
|
||||
VBAHELPER_DLLPUBLIC OUString getAnyAsString( const css::uno::Any& pvargItem );
|
||||
VBAHELPER_DLLPUBLIC OUString VBAToRegexp(const OUString &rIn); // needs to be in an uno service ( already this code is duplicated in basic )
|
||||
VBAHELPER_DLLPUBLIC OUString VBAToRegexp(const OUString &rIn); // needs to be in a uno service ( already this code is duplicated in basic )
|
||||
VBAHELPER_DLLPUBLIC double getPixelTo100thMillimeterConversionFactor( const css::uno::Reference< css::awt::XDevice >& xDevice, bool bVertical);
|
||||
VBAHELPER_DLLPUBLIC double PointsToPixels( const css::uno::Reference< css::awt::XDevice >& xDevice, double fPoints, bool bVertical);
|
||||
VBAHELPER_DLLPUBLIC double PixelsToPoints( const css::uno::Reference< css::awt::XDevice >& xDevice, double fPixels, bool bVertical);
|
||||
|
||||
@@ -91,7 +91,7 @@ public:
|
||||
void SetSmallSymbol();
|
||||
virtual bool set_property(const OString &rKey, const OUString &rValue) override;
|
||||
|
||||
/// Sets the button state according to the FeatureStateEvent emitted by an Uno state change.
|
||||
/// Sets the button state according to the FeatureStateEvent emitted by a Uno state change.
|
||||
virtual void statusChanged(const css::frame::FeatureStateEvent& rEvent);
|
||||
|
||||
virtual FactoryFunction GetUITestFactory() const override;
|
||||
|
||||
@@ -294,7 +294,7 @@ open class Document
|
||||
}
|
||||
|
||||
/**
|
||||
* Posts an UNO command to the document.
|
||||
* Posts a UNO command to the document.
|
||||
*
|
||||
* Example argument string:
|
||||
*
|
||||
|
||||
@@ -25,7 +25,7 @@ import com.sun.star.io.XOutputStream;
|
||||
import java.io.OutputStream;
|
||||
|
||||
/** The <code>OutputStreamToXOutputStreamAdapter</code> wraps
|
||||
an UNO <code>XOutputStream</code> into a Java <code>OutputStream</code>
|
||||
a UNO <code>XOutputStream</code> into a Java <code>OutputStream</code>
|
||||
object in a Java. This allows users to access an <code>OutputStream</code>
|
||||
as if it were an <code>XOutputStream</code>.
|
||||
*/
|
||||
|
||||
@@ -595,10 +595,10 @@ XMultiPropertySet
|
||||
* intended then use an Any variable rather than an Object.
|
||||
*
|
||||
* If a member is an Object or Any and the argument <em>setVal</em> is an Object, other than String or array,
|
||||
* then it is presumed to be an UNO object and queried for XInterface. If successful, the out-param <em>newVal</em>
|
||||
* then it is presumed to be a UNO object and queried for XInterface. If successful, the out-param <em>newVal</em>
|
||||
* returns the XInterface.
|
||||
*
|
||||
* If a member is an UNO interface, then <em>setVal</em> is queried for this interface and the result is returned.
|
||||
* If a member is a UNO interface, then <em>setVal</em> is queried for this interface and the result is returned.
|
||||
* If <em>setVal</em> is null then <em>newVal</em> will be null too after return.
|
||||
* <p>
|
||||
* If a property value is stored using a primitive type the out-parameters
|
||||
|
||||
@@ -24,10 +24,10 @@ import java.util.HashMap;
|
||||
/**
|
||||
* Object representation and parsing of Uno Urls,
|
||||
* which allow to locate a named Uno object in a
|
||||
* different process. An Uno Url consists of the
|
||||
* different process. A Uno Url consists of the
|
||||
* specification of a connection, protocol and
|
||||
* rootOid delimited with a ';'.
|
||||
* The syntax of an Uno Url is
|
||||
* The syntax of a Uno Url is
|
||||
*
|
||||
* <code>
|
||||
* [uno:]connection-type,parameters;protocol-name,parameters;objectname";
|
||||
|
||||
@@ -430,7 +430,7 @@ public class AnyConverter
|
||||
|
||||
/**
|
||||
* Converts a UNO object (struct, exception, sequence, enum or interface) or
|
||||
* an Any containing these types into an UNO object of a specified destination
|
||||
* an Any containing these types into a UNO object of a specified destination
|
||||
* type.
|
||||
*
|
||||
* <p> For interfaces, the argument <em>object</em> is queried for the interface
|
||||
@@ -453,7 +453,7 @@ public class AnyConverter
|
||||
}
|
||||
/**
|
||||
* Converts a UNO object (struct, exception, sequence, enum or interface) or
|
||||
* an Any containing these types into an UNO object of a specified destination
|
||||
* an Any containing these types into a UNO object of a specified destination
|
||||
* type.
|
||||
*
|
||||
* <p>For interfaces, the argument <em>object</em> is queried for the interface
|
||||
|
||||
+2
-2
@@ -713,7 +713,7 @@ types the specified types depend on.</p>
|
||||
<table class="table4">
|
||||
<tr>
|
||||
<td class="cell15"><code>-env:INIFILENAME=<url></code></td>
|
||||
<td class="cell85">url specifies a URL to an UNO ini|rc file of an existing UNO environment (URE, office installation).</td>
|
||||
<td class="cell85">url specifies a URL to a UNO ini|rc file of an existing UNO environment (URE, office installation).</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="cell15"><code>-a, --all</code></td>
|
||||
@@ -759,7 +759,7 @@ types the specified types depend on.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="cell15"><code>-t <name></code></td>
|
||||
<td class="cell85">specifies an UNOIDL type name, e.g. com.sun.star.text.XText (can be used more than once).</td>
|
||||
<td class="cell85">specifies a UNOIDL type name, e.g. com.sun.star.text.XText (can be used more than once).</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="cell15"><code>-p <protocol:cmd(s)></code></td>
|
||||
|
||||
@@ -177,7 +177,7 @@ public class FunctionHelper
|
||||
*
|
||||
* Note: First mode (creation of a child window) can be reached by two different
|
||||
* ways.
|
||||
* - pack the required window handle of our java window inside an UNO object
|
||||
* - pack the required window handle of our java window inside a UNO object
|
||||
* to transport it to the remote office toolkit and get a child office
|
||||
* window.
|
||||
* This is the old way. It's better to use the second one - but to be
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
module com { module sun { module star { module awt {
|
||||
|
||||
|
||||
/** specifies the standard model of an UnoControlButton.
|
||||
/** specifies the standard model of a UnoControlButton.
|
||||
*/
|
||||
published service UnoControlButtonModel
|
||||
{
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
module com { module sun { module star { module awt {
|
||||
|
||||
|
||||
/** specifies the standard model of an UnoControlCheckBox.
|
||||
/** specifies the standard model of a UnoControlCheckBox.
|
||||
*/
|
||||
published service UnoControlCheckBoxModel
|
||||
{
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
module com { module sun { module star { module awt {
|
||||
|
||||
|
||||
/** specifies the standard model of an UnoControlComboBox.
|
||||
/** specifies the standard model of a UnoControlComboBox.
|
||||
*/
|
||||
published service UnoControlComboBoxModel
|
||||
{
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
module com { module sun { module star { module awt {
|
||||
|
||||
|
||||
/** specifies the standard model of an UnoControlContainer.
|
||||
/** specifies the standard model of a UnoControlContainer.
|
||||
*/
|
||||
published service UnoControlContainerModel
|
||||
{
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
module com { module sun { module star { module awt {
|
||||
|
||||
|
||||
/** specifies the standard model of an UnoControlCurrencyField.
|
||||
/** specifies the standard model of a UnoControlCurrencyField.
|
||||
*/
|
||||
published service UnoControlCurrencyFieldModel
|
||||
{
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
module com { module sun { module star { module awt {
|
||||
|
||||
|
||||
/** specifies the standard model of an UnoControlDateField.
|
||||
/** specifies the standard model of a UnoControlDateField.
|
||||
*/
|
||||
published service UnoControlDateFieldModel
|
||||
{
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
module com { module sun { module star { module awt {
|
||||
|
||||
|
||||
/** specifies the standard model of an UnoControlDialog.
|
||||
/** specifies the standard model of a UnoControlDialog.
|
||||
*/
|
||||
published service UnoControlDialogModel
|
||||
{
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
module com { module sun { module star { module awt {
|
||||
|
||||
|
||||
/** specifies the standard model of an UnoControlEdit.
|
||||
/** specifies the standard model of a UnoControlEdit.
|
||||
*/
|
||||
published service UnoControlEditModel
|
||||
{
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
module com { module sun { module star { module awt {
|
||||
|
||||
|
||||
/** specifies the standard model of an UnoControlFileControl.
|
||||
/** specifies the standard model of a UnoControlFileControl.
|
||||
*/
|
||||
published service UnoControlFileControlModel
|
||||
{
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
module com { module sun { module star { module awt {
|
||||
|
||||
|
||||
/** specifies the standard model of an UnoControlFixedHyperlink.
|
||||
/** specifies the standard model of a UnoControlFixedHyperlink.
|
||||
*/
|
||||
service UnoControlFixedHyperlinkModel
|
||||
{
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
module com { module sun { module star { module awt {
|
||||
|
||||
|
||||
/** specifies the standard model of an UnoControlFixedLine.
|
||||
/** specifies the standard model of a UnoControlFixedLine.
|
||||
*/
|
||||
published service UnoControlFixedLineModel
|
||||
{
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user