an is used before a vowel sound
not before vowels with a consonant sound so its a url not an url Change-Id: Ic27ff3bee67469284d460c31ced6f63cb3633db2 Reviewed-on: https://gerrit.libreoffice.org/72062 Reviewed-by: Jens Carl <j.carl43@gmx.de> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
parent
0dc4773917
commit
1156f981ac
@ -632,7 +632,7 @@ public class LocalOfficeConnection
|
||||
*/
|
||||
private static String getPipeName() throws UnsupportedEncodingException
|
||||
{
|
||||
// turn user name into an URL and file system safe name (% chars will not work)
|
||||
// turn user name into a URL and file system safe name (% chars will not work)
|
||||
String aPipeName = System.getProperty("user.name") + OFFICE_ID_SUFFIX;
|
||||
aPipeName = aPipeName.replace( "_", "%B7" );
|
||||
return java.net.URLEncoder.encode( aPipeName, "UTF-8" ).replace( "+", "%20" ).replace( "%", "_" );
|
||||
|
@ -9,5 +9,5 @@ Contains database pieces, drivers, etc.
|
||||
- This test does not run automatically. It can be triggered with setting
|
||||
the environment variable "CONNECTIVITY_TEST_MYSQL_DRIVER".
|
||||
|
||||
- The environment variable should contain an URL of the following format:
|
||||
- The environment variable should contain a URL of the following format:
|
||||
[user]/[passwd]@sdbc:mysql:mysqlc:[host]:[port]/[db_name]
|
||||
|
@ -85,7 +85,7 @@ void MysqlTestDriver::setUp()
|
||||
test::BootstrapFixture::setUp();
|
||||
|
||||
/* Get URL from environment variable. This test suite should run only when
|
||||
* there is an URL given. This is because it can be used for testing connection to
|
||||
* there is a URL given. This is because it can be used for testing connection to
|
||||
* external databases as well.
|
||||
*
|
||||
* Example URL:
|
||||
|
@ -393,7 +393,7 @@ OUString SvxHyperlinkTabPageBase::GetSchemeFromURL( const OUString& rStrURL )
|
||||
INetProtocol aProtocol = aURL.GetProtocol();
|
||||
|
||||
// our new INetUrlObject now has the ability
|
||||
// to detect if an Url is valid or not :-(
|
||||
// to detect if a Url is valid or not :-(
|
||||
if ( aProtocol == INetProtocol::NotValid )
|
||||
{
|
||||
if ( rStrURL.startsWithIgnoreAsciiCase( INET_HTTP_SCHEME ) )
|
||||
|
@ -483,13 +483,13 @@ void SvxPathTabPage::ChangeCurrentEntry( const OUString& _rFolder )
|
||||
sUser = pPathImpl->sUserPath;
|
||||
sWritable = pPathImpl->sWritablePath;
|
||||
|
||||
// old path is an URL?
|
||||
// old path is a URL?
|
||||
INetURLObject aObj( sWritable );
|
||||
bool bURL = ( aObj.GetProtocol() != INetProtocol::NotValid );
|
||||
INetURLObject aNewObj( _rFolder );
|
||||
aNewObj.removeFinalSlash();
|
||||
|
||||
// then the new path also an URL else system path
|
||||
// then the new path also a URL else system path
|
||||
OUString sNewPathStr = bURL ? _rFolder : aNewObj.getFSysPath( FSysStyle::Detect );
|
||||
|
||||
bool bChanged =
|
||||
|
@ -178,7 +178,7 @@ ODatabaseDocument::ODatabaseDocument(const ::rtl::Reference<ODatabaseModelImpl>&
|
||||
|
||||
if ( !m_pImpl->getURL().isEmpty() )
|
||||
{
|
||||
// if the previous incarnation of the DatabaseDocument already had an URL, then creating this incarnation
|
||||
// if the previous incarnation of the DatabaseDocument already had a URL, then creating this incarnation
|
||||
// here is effectively loading the document.
|
||||
// #i105505#
|
||||
m_aViewMonitor.onLoadedDocument();
|
||||
|
@ -457,8 +457,8 @@ void SAL_CALL DBContentLoader::load(const Reference< XFrame > & rFrame, const OU
|
||||
|
||||
if ( !bCreateNew )
|
||||
{
|
||||
// We need to XLoadable::load the document if it does not yet have an URL.
|
||||
// If it already *does* have an URL, then it was either passed in the arguments, or a previous incarnation
|
||||
// We need to XLoadable::load the document if it does not yet have a URL.
|
||||
// If it already *does* have a URL, then it was either passed in the arguments, or a previous incarnation
|
||||
// of that model existed before (which can happen if a model is closed, but an associated DataSource is kept
|
||||
// alive 'til loading the document again).
|
||||
bool bNeedLoad = xModel->getURL().isEmpty();
|
||||
|
@ -266,7 +266,7 @@ Reference< css::frame::XDispatch > SAL_CALL SbaExternalSourceBrowser::queryDisp
|
||||
css::util::URL aNewUrl = aURL;
|
||||
|
||||
// split the css::util::URL
|
||||
OSL_ENSURE( m_xUrlTransformer.is(), "SbaExternalSourceBrowser::queryDispatch : could not create an URLTransformer !" );
|
||||
OSL_ENSURE( m_xUrlTransformer.is(), "SbaExternalSourceBrowser::queryDispatch : could not create a URLTransformer !" );
|
||||
if ( m_xUrlTransformer.is() )
|
||||
m_xUrlTransformer->parseStrict( aNewUrl );
|
||||
|
||||
|
@ -581,7 +581,7 @@ namespace dbaui
|
||||
|
||||
bool OConnectionHelper::createDirectoryDeep(const OUString& _rPathURL)
|
||||
{
|
||||
// get an URL object analyzing the URL for us ...
|
||||
// get a URL object analyzing the URL for us ...
|
||||
INetURLObject aParser;
|
||||
aParser.SetURL(_rPathURL);
|
||||
|
||||
|
@ -70,7 +70,7 @@ OUString expandUnoRcUrl( OUString const & url );
|
||||
|
||||
/** appends a relative path to a url.
|
||||
|
||||
The relative path must already be correctly encoded for use in an URL.
|
||||
The relative path must already be correctly encoded for use in a URL.
|
||||
If the URL starts with vnd.sun.star.expand then the relative path will
|
||||
be again encoded for use in an "expand" URL.
|
||||
*/
|
||||
|
@ -153,7 +153,7 @@ public:
|
||||
was a value provided or not. This is necessary to flag the extension in the update dialog
|
||||
properly as "browser based update". The return value will only then not be initialized
|
||||
if there is no <code><update-website></code>. If the element exists, then it must
|
||||
have at least one child element containing an URL.
|
||||
have at least one child element containing a URL.
|
||||
|
||||
The <code><update-website></code> and <code><update-download></code>
|
||||
elements are mutually exclusive.
|
||||
|
@ -457,7 +457,7 @@ void BackendDb::writeSimpleElement(
|
||||
|
||||
}
|
||||
|
||||
/// The key elements have an url attribute and are always children of the root element.
|
||||
/// The key elements have a url attribute and are always children of the root element.
|
||||
Reference<css::xml::dom::XNode> BackendDb::writeKeyElement(
|
||||
OUString const & url)
|
||||
{
|
||||
|
@ -253,7 +253,7 @@ static OUString getUString(const char* pString)
|
||||
return OStringToOUString(sString, RTL_TEXTENCODING_UTF8);
|
||||
}
|
||||
|
||||
/// Try to convert a relative URL to an absolute one, unless it already looks like an URL.
|
||||
/// Try to convert a relative URL to an absolute one, unless it already looks like a URL.
|
||||
static OUString getAbsoluteURL(const char* pURL)
|
||||
{
|
||||
OUString aURL(getUString(pURL));
|
||||
|
@ -1,6 +1,6 @@
|
||||
Tests for using the default URL for update information. This URL is currently contained in
|
||||
the version.ini (ExtensionUpdateURL) and is used to obtain update information for extensions which do not provide
|
||||
an URL themselves.
|
||||
a URL themselves.
|
||||
|
||||
The extensions default1.oxt and default2.oxt do not have a URL for update information.
|
||||
|
||||
|
@ -77,7 +77,7 @@ Result:
|
||||
The Update Dialog should show the publisher name as provided in the description.xml. For example,
|
||||
when lang=en-US was selected: My OpenOffice en-US
|
||||
|
||||
A release notes link is displayed with an URL to the release notes as provided in
|
||||
A release notes link is displayed with a URL to the release notes as provided in
|
||||
the description.xml. For example, when lang=en-US was selected:
|
||||
"http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en-US.html
|
||||
|
||||
@ -124,7 +124,7 @@ Result:
|
||||
The Update Dialog should show the publisher name as provided in the description.xml. For example,
|
||||
when lang=en-US was selected: My OpenOffice en-US
|
||||
|
||||
A release notes link is displayed with an URL to the release notes as provided in the release notes
|
||||
A release notes link is displayed with a URL to the release notes as provided in the release notes
|
||||
field on the edit page for the extension in the repository.
|
||||
|
||||
================================================================================
|
||||
@ -165,7 +165,7 @@ Office:
|
||||
Result:
|
||||
The Update Dialog should show the publisher name as provided in the repository.
|
||||
|
||||
A release notes link is displayed with an URL to the release notes as provided in the
|
||||
A release notes link is displayed with a URL to the release notes as provided in the
|
||||
pub10.oxt. For example, when the locale of the office is en-US then this page will be
|
||||
displayed:
|
||||
For example,
|
||||
|
@ -45,7 +45,7 @@ For example
|
||||
|
||||
|
||||
The different test folders for the update are also committed in project extensions/www
|
||||
so that the files can be obtain via an URL. The structure and the contents is about the
|
||||
so that the files can be obtain via a URL. The structure and the contents is about the
|
||||
same as the content
|
||||
of desktop/test/deployment/update
|
||||
For example in
|
||||
|
@ -77,7 +77,7 @@ Result:
|
||||
The Update Dialog should show the publisher name as provided in "Provider URL" field
|
||||
of the extension edit page (not release).
|
||||
|
||||
A release notes link is displayed with an URL to the release notes as provided in
|
||||
A release notes link is displayed with a URL to the release notes as provided in
|
||||
the "Provider Title" field of the extension release edit page.
|
||||
|
||||
When running the update then the web browser should navigate to
|
||||
@ -125,7 +125,7 @@ Result:
|
||||
The Update Dialog should show the publisher name as provided in the description.xml.
|
||||
That is: My OpenOffice en-US and NOT "FOO".
|
||||
|
||||
A release notes link is displayed with an URL to the release notes as provided in
|
||||
A release notes link is displayed with a URL to the release notes as provided in
|
||||
the description.xml. That is:
|
||||
http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_xxx.html
|
||||
|
||||
|
@ -20,7 +20,7 @@ opened for editing. Possible parameters are
|
||||
As any ActiveX control this one should be registered.
|
||||
To let MSIE register it itself the "CODEBASE" parameter
|
||||
for the "OBJECT" tag should be specified
|
||||
with an URL to the library "so_activex.dll".
|
||||
with a URL to the library "so_activex.dll".
|
||||
The example of registration with "OBJECT" tag is in example.html.
|
||||
|
||||
Also it can be done using regsvr32 application.
|
||||
|
@ -46,7 +46,7 @@ namespace pcr
|
||||
if ( _rxORB.is() )
|
||||
{
|
||||
xTransform.set( URLTransformer::create(comphelper::getComponentContext(_rxORB)) );
|
||||
OSL_ENSURE( xTransform.is(), "UnoURL::UnoURL: could not create an URL transformer!" );
|
||||
OSL_ENSURE( xTransform.is(), "UnoURL::UnoURL: could not create a URL transformer!" );
|
||||
if ( xTransform.is() )
|
||||
xTransform->parseStrict( m_aURL );
|
||||
}
|
||||
|
4
filter/source/config/cache/cacheitem.hxx
vendored
4
filter/source/config/cache/cacheitem.hxx
vendored
@ -162,13 +162,13 @@ typedef std::unordered_map< OUString,
|
||||
std::vector<OUString> > CacheItemRegistration;
|
||||
|
||||
|
||||
/** @short is used to collect all matching types of an URL
|
||||
/** @short is used to collect all matching types of a URL
|
||||
during type detection.
|
||||
|
||||
@descr Every type in this list is combined with an information,
|
||||
which property matched to the given URL. The user of this
|
||||
structure can decide then, if a deep detection should be
|
||||
suppressed e.g. if an URLPattern was used.
|
||||
suppressed e.g. if a URLPattern was used.
|
||||
*/
|
||||
struct FlatDetectionInfo
|
||||
{
|
||||
|
2
filter/source/config/cache/typedetection.cxx
vendored
2
filter/source/config/cache/typedetection.cxx
vendored
@ -420,7 +420,7 @@ OUString SAL_CALL TypeDetection::queryTypeByDescriptor(css::uno::Sequence< css::
|
||||
// verify every flat detected (or preselected!) type
|
||||
// by calling its registered deep detection service.
|
||||
// But break this loop if a type match to the given descriptor
|
||||
// by an URL pattern(!) or if deep detection isn't allowed from
|
||||
// by a URL pattern(!) or if deep detection isn't allowed from
|
||||
// outside (bAllowDeep=sal_False) or break the whole detection by
|
||||
// throwing an exception if creation of the might needed input
|
||||
// stream failed by e.g. an IO exception ...
|
||||
|
@ -113,7 +113,7 @@ OdfFlatXml::importer(
|
||||
const Reference< XDocumentHandler >& docHandler,
|
||||
const Sequence< OUString >& /* userData */)
|
||||
{
|
||||
// Read InputStream to read from and an URL used for the system id
|
||||
// Read InputStream to read from and a URL used for the system id
|
||||
// of the InputSource we create from the given sourceData sequence
|
||||
Reference<XInputStream> inputStream;
|
||||
OUString paramName;
|
||||
|
@ -96,7 +96,7 @@ public class DocumentViewHelper
|
||||
XDispatchProvider.class, xController.getFrame() );
|
||||
if ( null != xProvider )
|
||||
{
|
||||
// need an URLTransformer
|
||||
// need a URLTransformer
|
||||
XURLTransformer xTransformer = UnoRuntime.queryInterface(
|
||||
XURLTransformer.class, m_orb.createInstance( "com.sun.star.util.URLTransformer" ) );
|
||||
xTransformer.parseStrict( aURL );
|
||||
|
@ -41,12 +41,12 @@ namespace frm
|
||||
public:
|
||||
UrlTransformer( const css::uno::Reference< css::uno::XComponentContext >& _rxORB );
|
||||
|
||||
/** returns an URL object for the given URL string
|
||||
/** returns a URL object for the given URL string
|
||||
*/
|
||||
css::util::URL
|
||||
getStrictURL( const OUString& _rURL ) const;
|
||||
|
||||
/** returns an URL object for the given URL ASCII string
|
||||
/** returns a URL object for the given URL ASCII string
|
||||
*/
|
||||
css::util::URL
|
||||
getStrictURLFromAscii( const sal_Char* _pAsciiURL ) const;
|
||||
@ -57,7 +57,7 @@ namespace frm
|
||||
parseSmartWithAsciiProtocol( css::util::URL& _rURL, const sal_Char* _pAsciiURL ) const;
|
||||
|
||||
private:
|
||||
/** ensures that we have an URLTransformer instance in <member>m_xTransformer</member>
|
||||
/** ensures that we have a URLTransformer instance in <member>m_xTransformer</member>
|
||||
|
||||
@return
|
||||
<TRUE/> if and only if m_xTransformer is not <NULL/>
|
||||
|
@ -45,8 +45,8 @@ namespace svt
|
||||
{
|
||||
NOT_BOUND, // never bound
|
||||
UNKNOWN, // bound, but validity is unknown
|
||||
VALID, // bound to an URL, and valid
|
||||
INVALID // bound to an URL, and invalid
|
||||
VALID, // bound to a URL, and valid
|
||||
INVALID // bound to a URL, and invalid
|
||||
};
|
||||
|
||||
private:
|
||||
|
@ -1604,7 +1604,7 @@ bool implIsInvalid( const OUString & rURL )
|
||||
|
||||
OUString SvtFileDialog::implGetInitialURL( const OUString& _rPath, const OUString& _rFallback )
|
||||
{
|
||||
// an URL parser for the fallback
|
||||
// a URL parser for the fallback
|
||||
INetURLObject aURLParser;
|
||||
|
||||
// set the path
|
||||
|
@ -62,14 +62,14 @@ struct ImageListItemDescriptor
|
||||
{
|
||||
ImageListItemDescriptor() : nMaskMode( ImageMaskMode_Color ) {}
|
||||
|
||||
OUString aURL; // an URL to a bitmap with several images inside
|
||||
OUString aURL; // a URL to a bitmap with several images inside
|
||||
Color aMaskColor; // a color used as transparent
|
||||
OUString aMaskURL; // an URL to an optional bitmap used as a mask
|
||||
OUString aMaskURL; // a URL to an optional bitmap used as a mask
|
||||
ImageMaskMode nMaskMode; // an enum to describe the current mask mode
|
||||
std::unique_ptr<ImageItemListDescriptor>
|
||||
pImageItemList; // an array of ImageItemDescriptors that describes every image
|
||||
OUString aHighContrastURL; // an URL to an optional high contrast bitmap with several images inside
|
||||
OUString aHighContrastMaskURL; // an URL to an optional high contrast bitmap as a mask
|
||||
OUString aHighContrastURL; // a URL to an optional high contrast bitmap with several images inside
|
||||
OUString aHighContrastMaskURL; // a URL to an optional high contrast bitmap as a mask
|
||||
};
|
||||
|
||||
typedef std::vector<std::unique_ptr<ImageListItemDescriptor> > ImageListDescriptor;
|
||||
|
@ -267,7 +267,7 @@ public class checkdispatchapi
|
||||
impl_closeFrame(xFrame);
|
||||
}
|
||||
|
||||
/** @short load an URL into the current test frame.
|
||||
/** @short load a URL into the current test frame.
|
||||
*/
|
||||
private void impl_loadIntoFrame(XFrame xFrame, String sURL, PropertyValue args[]) throws Exception
|
||||
{
|
||||
|
@ -69,7 +69,7 @@ MailToDispatcher::~MailToDispatcher()
|
||||
|
||||
/**
|
||||
@short decide if this dispatch implementation can be used for requested URL or not
|
||||
@descr A protocol handler is registered for an URL pattern inside configuration and will
|
||||
@descr A protocol handler is registered for a URL pattern inside configuration and will
|
||||
be asked by the generic dispatch mechanism inside framework, if he can handle this
|
||||
special URL which match his registration. He can agree by returning of a valid dispatch
|
||||
instance or disagree by returning <NULL/>.
|
||||
|
@ -71,7 +71,7 @@ ServiceHandler::~ServiceHandler()
|
||||
|
||||
/**
|
||||
@short decide if this dispatch implementation can be used for requested URL or not
|
||||
@descr A protocol handler is registered for an URL pattern inside configuration and will
|
||||
@descr A protocol handler is registered for a URL pattern inside configuration and will
|
||||
be asked by the generic dispatch mechanism inside framework, if he can handle this
|
||||
special URL which match his registration. He can agree by returning of a valid dispatch
|
||||
instance or disagree by returning <NULL/>.
|
||||
|
@ -735,7 +735,7 @@ void AddonsOptions_Impl::ReadImages( ImageManager& aImageManager )
|
||||
|
||||
Sequence< Any > aAddonImageItemNodeValues = GetProperties( aAddonImageItemNodePropNames );
|
||||
|
||||
// An user-defined image entry must have an URL. As "ImageIdentifier" has a higher priority
|
||||
// An user-defined image entry must have a URL. As "ImageIdentifier" has a higher priority
|
||||
// we also check if we already have an images association.
|
||||
if (( aAddonImageItemNodeValues[0] >>= aURL ) &&
|
||||
!aURL.isEmpty() &&
|
||||
|
@ -141,7 +141,7 @@ bool HandlerCache::search( const OUString& sURL, ProtocolHandler* pReturn ) cons
|
||||
}
|
||||
|
||||
/**
|
||||
@short search for a registered handler by using an URL struct
|
||||
@short search for a registered handler by using a URL struct
|
||||
@descr We combine necessary parts of this struct to a valid URL string
|
||||
and call our other search method ...
|
||||
It's a helper for outside code.
|
||||
|
@ -48,7 +48,7 @@ namespace {
|
||||
/**
|
||||
@short implements a dispatch object for jobs
|
||||
@descr Such dispatch object will be used by the generic dispatch mechanism if
|
||||
an URL "vnd.sun.star.job:alias=<name>" occurs.
|
||||
a URL "vnd.sun.star.job:alias=<name>" occurs.
|
||||
Then an instance of this class will be created and used.
|
||||
This new instance will be called within his method
|
||||
dispatch() or dispatchWithNotification() for executing the
|
||||
@ -185,7 +185,7 @@ void SAL_CALL JobDispatch::initialize( const css::uno::Sequence< css::uno::Any >
|
||||
|
||||
/**
|
||||
@short implementation of XDispatchProvider::queryDispatches()
|
||||
@descr Every protocol handler will be asked for his agreement, if an URL was queried
|
||||
@descr Every protocol handler will be asked for his agreement, if a URL was queried
|
||||
for which this handler is registered. It's the chance for this handler to validate
|
||||
the given URL and return a dispatch object (may be itself) or not.
|
||||
|
||||
|
@ -2422,7 +2422,7 @@ void AutoRecovery::implts_registerDocument(const css::uno::Reference< css::frame
|
||||
implts_specifyAppModuleAndFactory(aNew);
|
||||
|
||||
// Hack! Check for "illegal office documents"... as e.g. the Basic IDE
|
||||
// It's not really a full featured office document. It doesn't provide an URL, any filter, a factory URL etcpp.
|
||||
// It's not really a full featured office document. It doesn't provide a URL, any filter, a factory URL etcpp.
|
||||
// TODO file bug to Basic IDE developers. They must remove the office document API from its service.
|
||||
if (
|
||||
(aNew.OrgURL.isEmpty()) &&
|
||||
@ -3423,7 +3423,7 @@ void AutoRecovery::implts_generateNewTempURL(const OUString& sBack
|
||||
// and define a unique name, so we can locate it later.
|
||||
// This unique name must solve an optimization problem too!
|
||||
// In case we are asked to save unmodified documents too - and one of them
|
||||
// is an empty one (because it was new created using e.g. an URL private:factory/...)
|
||||
// is an empty one (because it was new created using e.g. a URL private:factory/...)
|
||||
// we should not save it really. Then we put the information about such "empty document"
|
||||
// into the configuration and don't create any recovery file on disk.
|
||||
// We use the title of the document to make it unique.
|
||||
|
@ -669,7 +669,7 @@ public:
|
||||
}
|
||||
|
||||
/**
|
||||
* Loads a document from an URL.
|
||||
* Loads a document from a URL.
|
||||
*
|
||||
* @param pUrl the URL of the document to load
|
||||
* @param pFilterOptions options for the import filter, e.g. SkipImages.
|
||||
|
@ -38,7 +38,7 @@ enum class EEControlBits
|
||||
ALLOWBIGOBJS = 0x00000800, // Portion info in text object
|
||||
ONLINESPELLING = 0x00001000, // During the edit Spelling
|
||||
STRETCHING = 0x00002000, // Stretch mode
|
||||
MARKNONURLFIELDS = 0x00004000, // Mark fields other than URL with color
|
||||
MARKNONURLFIELDS = 0x00004000, // Mark fields other tha URL with color
|
||||
MARKURLFIELDS = 0x00008000, // Mark URL fields with color
|
||||
MARKFIELDS = (MARKNONURLFIELDS | MARKURLFIELDS),
|
||||
RTFSTYLESHEETS = 0x00020000, // Use Stylesheets when imported
|
||||
|
@ -122,7 +122,7 @@ bool FileExists( const OUString &rURL );
|
||||
OUString GetDictionaryWriteablePath();
|
||||
std::vector< OUString > GetDictionaryPaths();
|
||||
|
||||
/// @returns an URL for a new and writable dictionary rDicName.
|
||||
/// @returns a URL for a new and writable dictionary rDicName.
|
||||
/// The URL will point to the path given by 'GetDictionaryWriteablePath'
|
||||
LNG_DLLPUBLIC OUString GetWritableDictionaryURL( const OUString &rDicName );
|
||||
|
||||
|
@ -1396,7 +1396,7 @@ SAL_DLLPUBLIC oslFileError SAL_CALL osl_getCanonicalName(
|
||||
Base directory URL to which the relative path is related to.
|
||||
|
||||
@param[in] pustrRelativeFileURL
|
||||
An URL of a file or directory relative to the directory path specified by pustrBaseDirectoryURL
|
||||
A URL of a file or directory relative to the directory path specified by pustrBaseDirectoryURL
|
||||
or an absolute path.
|
||||
If pustrRelativeFileURL denotes an absolute path pustrBaseDirectoryURL will be ignored.
|
||||
|
||||
|
@ -139,7 +139,7 @@ public:
|
||||
Base directory URL to which the relative path is related to.
|
||||
|
||||
@param[in] ustrRelativeFileURL
|
||||
An URL of a file or directory relative to the directory path specified by ustrBaseDirectoryURL
|
||||
A URL of a file or directory relative to the directory path specified by ustrBaseDirectoryURL
|
||||
or an absolute path.
|
||||
If ustrRelativeFileURL denotes an absolute path ustrBaseDirectoryURL will be ignored.
|
||||
|
||||
|
@ -46,7 +46,7 @@ namespace svt
|
||||
/** transforms the given URL content into a system-dependent notation, if possible, and
|
||||
sets it as current display text
|
||||
|
||||
<p>If the user enters an URL such as "file:///c:/some%20directory", then this will be converted
|
||||
<p>If the user enters a URL such as "file:///c:/some%20directory", then this will be converted
|
||||
to "c:\some directory" for better readability.</p>
|
||||
|
||||
@param _rURL
|
||||
|
@ -59,7 +59,7 @@ namespace svx
|
||||
*/
|
||||
void setURL( const OUString& _rURL );
|
||||
|
||||
/** returns the current database location, in form of an URL (not a system path)
|
||||
/** returns the current database location, in form of a URL (not a system path)
|
||||
*/
|
||||
OUString getURL() const;
|
||||
|
||||
|
@ -751,7 +751,7 @@ public:
|
||||
|
||||
/** Create an INetURLObject from a file system path.
|
||||
|
||||
@param rFSysPath A file system path. An URL is not allowed here!
|
||||
@param rFSysPath A file system path. A URL is not allowed here!
|
||||
|
||||
@param eStyle The notation of rFSysPath.
|
||||
*/
|
||||
@ -760,7 +760,7 @@ public:
|
||||
/** Set this INetURLObject to a file URL constructed from a file system
|
||||
path.
|
||||
|
||||
@param rFSysPath A file system path. An URL is not allowed here!
|
||||
@param rFSysPath A file system path. A URL is not allowed here!
|
||||
|
||||
@param eStyle The notation of rFSysPath.
|
||||
|
||||
|
@ -51,7 +51,7 @@ public:
|
||||
*/
|
||||
static Size SizeByThemeName(const OUString&);
|
||||
|
||||
/** Check whether a IconThemeInfo can be constructed from an URL */
|
||||
/** Check whether a IconThemeInfo can be constructed from a URL */
|
||||
static bool UrlCanBeParsed(const OUString& url);
|
||||
|
||||
/** Find an icon theme by its id in a vector.
|
||||
|
@ -52,7 +52,7 @@ public:
|
||||
std::vector< unsigned char > key, bool eot = false);
|
||||
|
||||
/**
|
||||
Returns an URL for a file where to store contents of a given temporary font.
|
||||
Returns a URL for a file where to store contents of a given temporary font.
|
||||
The file may or not may not exist yet, and will be cleaned up automatically as appropriate.
|
||||
Use activateTemporaryFont() to actually enable usage of the font.
|
||||
|
||||
|
@ -270,7 +270,7 @@ public:
|
||||
*/
|
||||
void SetLinkDest( sal_Int32 nLinkId, sal_Int32 nDestId );
|
||||
/** Set the URL for a link
|
||||
<p>will change a dest type link to an URL type link if necessary</p>
|
||||
<p>will change a dest type link to a URL type link if necessary</p>
|
||||
@param nLinkId
|
||||
the link to be changed
|
||||
|
||||
|
@ -933,7 +933,7 @@ The following structure describes the permissions used in PDF security
|
||||
*/
|
||||
void SetLinkDest( sal_Int32 nLinkId, sal_Int32 nDestId );
|
||||
/** Set the URL for a link
|
||||
will change a dest type link to an URL type link if necessary
|
||||
will change a dest type link to a URL type link if necessary
|
||||
@param nLinkId
|
||||
the link to be changed
|
||||
|
||||
|
@ -103,7 +103,7 @@ open class LibreOffice
|
||||
}
|
||||
|
||||
/**
|
||||
* Loads a document from an URL.
|
||||
* Loads a document from a URL.
|
||||
*
|
||||
* @param pUrl the URL of the document to load
|
||||
* @param pFilterOptions options for the import filter, e.g. SkipImages.
|
||||
|
@ -95,7 +95,7 @@ class DocumentViewHelper
|
||||
XDispatchProvider.class, xController.getFrame() );
|
||||
if ( null != xProvider )
|
||||
{
|
||||
// need an URLTransformer
|
||||
// need a URLTransformer
|
||||
XURLTransformer xTransformer = UnoRuntime.queryInterface(
|
||||
XURLTransformer.class, m_orb.createInstance( "com.sun.star.util.URLTransformer" ) );
|
||||
xTransformer.parseStrict( aURL );
|
||||
|
@ -65,7 +65,7 @@ public class FunctionHelper
|
||||
|
||||
|
||||
/**
|
||||
* This convert an URL (formatted as a string) to a struct com.sun.star.util.URL.
|
||||
* This convert a URL (formatted as a string) to a struct com.sun.star.util.URL.
|
||||
* It use a special service to do that: the URLTransformer.
|
||||
* Because some API calls need it and it's not allowed to set "Complete"
|
||||
* part of the util struct only. The URL must be parsed.
|
||||
@ -425,7 +425,7 @@ public class FunctionHelper
|
||||
|
||||
|
||||
/**
|
||||
* Dispatch an URL to given frame.
|
||||
* Dispatch a URL to given frame.
|
||||
* Caller can register himself for following status events for dispatched
|
||||
* URL too. But nobody guarantee that such notifications will occur.
|
||||
* (see dispatchWithNotification() if you interest on that)
|
||||
@ -494,7 +494,7 @@ public class FunctionHelper
|
||||
|
||||
|
||||
/**
|
||||
* Load document specified by an URL into given frame synchronously.
|
||||
* Load document specified by a URL into given frame synchronously.
|
||||
* The result of this operation will be the loaded document for success
|
||||
* or null if loading failed.
|
||||
*
|
||||
|
@ -316,7 +316,7 @@ public class AsciiReplaceFilter
|
||||
/**
|
||||
* Implements the real filter method. We detect if it must be an import or an export.
|
||||
* Depends on that we use an existing stream (given inside the MediaDescriptor)
|
||||
* or open it by using an URL (must be a part of the descriptor too).
|
||||
* or open it by using a URL (must be a part of the descriptor too).
|
||||
*
|
||||
* @param lDescriptor
|
||||
* the MediaDescriptor which describes the document
|
||||
|
@ -44,7 +44,7 @@ import com.sun.star.uno.UnoRuntime;
|
||||
@title helper to analyze necessary option properties of our filter
|
||||
@description Our filter needs some necessary properties for working:
|
||||
- a stream for input or output
|
||||
- or an URL for creating such streams
|
||||
- or a URL for creating such streams
|
||||
- information about required action on filtering
|
||||
|
||||
@attention This class mustn't be threadsafe - because instances of it
|
||||
|
@ -28,7 +28,7 @@ to allow scripting to load different documents.
|
||||
As any ActiveX control this one should be registered.
|
||||
To let MSIE register it itself the "CODEBASE" parameter
|
||||
for the "OBJECT" tag should be specified
|
||||
with an URL to the library "so_activex.dll".
|
||||
with a URL to the library "so_activex.dll".
|
||||
|
||||
Also it can be done using regsvr32 application.
|
||||
To do it please write
|
||||
|
@ -127,7 +127,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
|
||||
*/
|
||||
Reference < XDesktop2 > xComponentLoader = Desktop::create(xComponentContext);
|
||||
|
||||
/* Loads a component specified by an URL into the specified new or existing
|
||||
/* Loads a component specified by a URL into the specified new or existing
|
||||
frame.
|
||||
*/
|
||||
OUString sAbsoluteDocUrl, sWorkingDir, sDocPathUrl, sArgDocUrl;
|
||||
|
@ -118,7 +118,7 @@ published service UnoControlButtonModel
|
||||
[optional, property] short ImagePosition;
|
||||
|
||||
|
||||
/** specifies an URL to an image to use for the button.
|
||||
/** specifies a URL to an image to use for the button.
|
||||
@see Graphic
|
||||
*/
|
||||
[property] string ImageURL;
|
||||
|
@ -93,7 +93,7 @@ published service UnoControlCheckBoxModel
|
||||
[optional, property] short ImagePosition;
|
||||
|
||||
|
||||
/** specifies an URL to an image to display besides the label of the control
|
||||
/** specifies a URL to an image to display besides the label of the control
|
||||
@see Graphic
|
||||
*/
|
||||
[optional, property] string ImageURL;
|
||||
|
@ -76,7 +76,7 @@ published service UnoControlImageControlModel
|
||||
[property] string HelpURL;
|
||||
|
||||
|
||||
/** specifies an URL to an image to use for the control.
|
||||
/** specifies a URL to an image to use for the control.
|
||||
@see Graphic
|
||||
*/
|
||||
[property] string ImageURL;
|
||||
|
@ -94,7 +94,7 @@ published service UnoControlRadioButtonModel
|
||||
[optional, property] short ImagePosition;
|
||||
|
||||
|
||||
/** specifies an URL to an image to display besides the label of the control
|
||||
/** specifies a URL to an image to display besides the label of the control
|
||||
@see Graphic
|
||||
*/
|
||||
[optional, property] string ImageURL;
|
||||
|
@ -68,7 +68,7 @@ service UnoControlRoadmapModel
|
||||
|
||||
|
||||
|
||||
/** specifies an URL to an image to use for the control.
|
||||
/** specifies a URL to an image to use for the control.
|
||||
The image is placed in the lower right corner of the control
|
||||
@see Graphic
|
||||
*/
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
module com { module sun { module star { module deployment {
|
||||
|
||||
/** Objects implementing this interface provide an URL to the root of
|
||||
/** Objects implementing this interface provide a URL to the root of
|
||||
an installed package.
|
||||
|
||||
@since OOo 2.3
|
||||
|
@ -47,7 +47,7 @@ module com { module sun { module star { module document {
|
||||
*/
|
||||
published service OfficeDocument
|
||||
{
|
||||
/** represents a component which is created from an URL and arguments
|
||||
/** represents a component which is created from a URL and arguments
|
||||
|
||||
<p>
|
||||
It is a representation of a resource in the sense that it was
|
||||
@ -67,7 +67,7 @@ published service OfficeDocument
|
||||
*/
|
||||
interface com::sun::star::util::XModifiable;
|
||||
|
||||
/** offers a simple way to store a component to an URL
|
||||
/** offers a simple way to store a component to a URL
|
||||
|
||||
<p>
|
||||
This interface supports functionality
|
||||
|
@ -29,18 +29,18 @@ module com { module sun { module star { module document {
|
||||
|
||||
/**
|
||||
<p>This interface encapsulates functionality to get/resolve binary data streams.
|
||||
It is used to transform binary data to an URL or to transform an URL to binary
|
||||
It is used to transform binary data to a URL or to transform a URL to binary
|
||||
data. The binary data is represented through input and output streams.</p>
|
||||
|
||||
<p>In the case of transforming an URL to binary data, the <code>getInputStream</code>
|
||||
<p>In the case of transforming a URL to binary data, the <code>getInputStream</code>
|
||||
method is used. This returns a com::sun::star::io::XInputStream
|
||||
from which the binary data, transformed from the given URL, can be read.</p>
|
||||
|
||||
<p>In the case of transforming binary data to an URL, a
|
||||
<p>In the case of transforming binary data to a URL, a
|
||||
com::sun::star::io::XOutputStream is created first to write
|
||||
the binary data to. After this, the <code>resolveOutputStream</code> method can
|
||||
be used to transform the binary data, represented through the
|
||||
com::sun::star::io::XOutputStream interface, to an URL.</p>
|
||||
com::sun::star::io::XOutputStream interface, to a URL.</p>
|
||||
*/
|
||||
published interface XBinaryStreamResolver: com::sun::star::uno::XInterface
|
||||
{
|
||||
@ -50,12 +50,12 @@ published interface XBinaryStreamResolver: com::sun::star::uno::XInterface
|
||||
com::sun::star::io::XInputStream getInputStream( [in] string aURL );
|
||||
|
||||
/** creates an output stream, to which binary data can be written.
|
||||
After writing, an URL can be retrieved by a call to
|
||||
After writing, a URL can be retrieved by a call to
|
||||
XBinaryStreamResolver::resolveOutputStream().
|
||||
*/
|
||||
com::sun::star::io::XOutputStream createOutputStream();
|
||||
|
||||
/** converts the output stream, data has been written to, to an URL in
|
||||
/** converts the output stream, data has been written to, to a URL in
|
||||
source URL namespace.
|
||||
*/
|
||||
string resolveOutputStream( [in] com::sun::star::io::XOutputStream aBinaryStream );
|
||||
|
@ -49,7 +49,7 @@ published service GraphicObjectShape
|
||||
|
||||
service com::sun::star::drawing::RotationDescriptor;
|
||||
|
||||
/** This is an url to the source bitmap for this graphic shape.
|
||||
/** This is a url to the source bitmap for this graphic shape.
|
||||
|
||||
@deprecated as of LibreOffice 6.1 - use Graphic instead
|
||||
|
||||
@ -61,7 +61,7 @@ published service GraphicObjectShape
|
||||
*/
|
||||
[property] string GraphicURL;
|
||||
|
||||
/** This is an url to the stream ("in document" or linked graphic) for this graphic shape.
|
||||
/** This is a url to the stream ("in document" or linked graphic) for this graphic shape.
|
||||
*/
|
||||
[property] string GraphicStreamURL;
|
||||
|
||||
|
@ -48,7 +48,7 @@ interface XResourceId
|
||||
*/
|
||||
string getResourceURL ();
|
||||
|
||||
/** Return an URL object of the resource URL that may contain arguments.
|
||||
/** Return a URL object of the resource URL that may contain arguments.
|
||||
*/
|
||||
com::sun::star::util::URL getFullResourceURL ();
|
||||
|
||||
|
@ -45,7 +45,7 @@ published enum FormButtonType
|
||||
RESET,
|
||||
|
||||
|
||||
/** When the button is clicked, an URL set for the button is opened.
|
||||
/** When the button is clicked, a URL set for the button is opened.
|
||||
@see com::sun::star::form::component::CommandButton::TargetURL
|
||||
@see com::sun::star::form::component::CommandButton::TargetFrame
|
||||
*/
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
module com { module sun { module star { module frame {
|
||||
|
||||
/** provides an easy way to dispatch an URL using one call instead of multiple ones.
|
||||
/** provides an easy way to dispatch a URL using one call instead of multiple ones.
|
||||
|
||||
<p>
|
||||
Normally a complete dispatch is split into different parts:
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
module com { module sun { module star { module frame {
|
||||
|
||||
/** this is a simple interface to load components by an URL into a
|
||||
/** this is a simple interface to load components by a URL into a
|
||||
frame environment
|
||||
|
||||
@see Desktop
|
||||
@ -38,7 +38,7 @@ module com { module sun { module star { module frame {
|
||||
*/
|
||||
published interface XComponentLoader: com::sun::star::uno::XInterface
|
||||
{
|
||||
/** loads a component specified by an URL into the specified
|
||||
/** loads a component specified by a URL into the specified
|
||||
new or existing frame.
|
||||
|
||||
@param URL
|
||||
|
@ -53,7 +53,7 @@ module com { module sun { module star { module frame {
|
||||
*/
|
||||
published interface XDispatch: com::sun::star::uno::XInterface
|
||||
{
|
||||
/** dispatches (executes) an URL
|
||||
/** dispatches (executes) a URL
|
||||
|
||||
<p>
|
||||
It is only allowed to dispatch URLs for which this XDispatch
|
||||
|
@ -28,7 +28,7 @@
|
||||
|
||||
module com { module sun { module star { module frame {
|
||||
|
||||
/** offers a simple way to initialize a component or load it from an URL.
|
||||
/** offers a simple way to initialize a component or load it from a URL.
|
||||
<p>In case an object supports the interface the object must be initialized
|
||||
with either initNew() or load() call before any usage. In case the object
|
||||
is already initialized the mentioned methods should throw DoubleInitializationException.
|
||||
@ -43,7 +43,7 @@ published interface XLoadable: com::sun::star::uno::XInterface
|
||||
void initNew()
|
||||
raises( DoubleInitializationException, com::sun::star::io::IOException, com::sun::star::uno::Exception );
|
||||
|
||||
/** loads a component from an URL
|
||||
/** loads a component from a URL
|
||||
@param lArguments
|
||||
parameters for saving
|
||||
(see com::sun::star::document::MediaDescriptor for further details)
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
module com { module sun { module star { module frame {
|
||||
|
||||
/** represents a component which is created from an URL and arguments.
|
||||
/** represents a component which is created from a URL and arguments.
|
||||
|
||||
<p>
|
||||
It is a representation of a resource in the sense that it was
|
||||
|
@ -27,7 +27,7 @@
|
||||
|
||||
module com { module sun { module star { module frame {
|
||||
|
||||
/** offers a simple way to store a component to an URL.
|
||||
/** offers a simple way to store a component to a URL.
|
||||
|
||||
<p>
|
||||
It is usually only useful for two cases:
|
||||
|
@ -55,7 +55,7 @@ interface XGalleryTheme : com::sun::star::container::XIndexAccess
|
||||
<p>This method iterates over each item of the Gallery theme
|
||||
and updates it accordingly. Main purpose is to automatically
|
||||
regenerate the thumbnails and to remove invalid items, that is items
|
||||
who have got an URL that has become invalid. This method also
|
||||
who have got a URL that has become invalid. This method also
|
||||
optimizes underlying data structures.</p>
|
||||
*/
|
||||
void update();
|
||||
|
@ -91,7 +91,7 @@ struct LineDescriptor
|
||||
|
||||
<p>The property will be ignored if #HasPrimaryButton is `FALSE`.</p>
|
||||
|
||||
<p>If you need to specify a graphic which does not have an URL, but is available as
|
||||
<p>If you need to specify a graphic which does not have a URL, but is available as
|
||||
com::sun::star::graphic::XGraphic only, then you must leave
|
||||
<code>PrimaryButtonImageURL</code> empty, and use the #PrimaryButtonImage property.
|
||||
|
||||
@ -136,7 +136,7 @@ struct LineDescriptor
|
||||
|
||||
<p>The property will be ignored if #HasSecondaryButton is `FALSE`.</p>
|
||||
|
||||
<p>If you need to specify a graphic which does not have an URL, but is available as
|
||||
<p>If you need to specify a graphic which does not have a URL, but is available as
|
||||
com::sun::star::graphic::XGraphic only, then you must leave
|
||||
<code>SecondaryButtonImageURL</code> empty, and use the #SecondaryButtonImage property.
|
||||
|
||||
|
@ -44,7 +44,7 @@ interface XImageControl
|
||||
*/
|
||||
interface com::sun::star::form::XImageProducerSupplier;
|
||||
|
||||
/** specifies an URL to an image to use for the control.
|
||||
/** specifies a URL to an image to use for the control.
|
||||
*/
|
||||
[attribute,bound] string ImageURL;
|
||||
|
||||
|
@ -46,7 +46,7 @@ interface XStringResourcePersistence: com::sun::star::resource::XStringResourceM
|
||||
StringResourceWithLocation and
|
||||
StringResourceWithStorage
|
||||
|
||||
The StringResourceWithLocation is initialized with an URL
|
||||
The StringResourceWithLocation is initialized with a URL
|
||||
specifying a location used to load data from and store data to,
|
||||
see StringResourceWithLocation.
|
||||
|
||||
|
@ -59,7 +59,7 @@ enum ExtAltNameType
|
||||
DIRECTORY_NAME,
|
||||
|
||||
/**
|
||||
* The entry contains an url.
|
||||
* The entry contains a url.
|
||||
* The value of CertAltNameEntry contains a OUString.
|
||||
*
|
||||
* @see com::sun::star::security::CertAltNameEntry
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
module com { module sun { module star { module text {
|
||||
|
||||
/** These constants are used to specify which parts of an URL are displayed
|
||||
/** These constants are used to specify which parts of a URL are displayed
|
||||
in a field.
|
||||
*/
|
||||
published constants FilenameDisplayFormat
|
||||
|
@ -74,7 +74,7 @@ published interface XSimpleFileAccess: com::sun::star::uno::XInterface
|
||||
void kill( [in] string FileURL )
|
||||
raises( com::sun::star::ucb::CommandAbortedException, com::sun::star::uno::Exception );
|
||||
|
||||
/** Checks if an URL represents a folder
|
||||
/** Checks if a URL represents a folder
|
||||
|
||||
@param FileURL
|
||||
URL to be checked
|
||||
|
@ -98,7 +98,7 @@ published interface XURLTransformer: com::sun::star::uno::XInterface
|
||||
/** returns a representation of the URL for UI purposes only
|
||||
|
||||
<p>
|
||||
Sometimes it can be useful to show an URL on an user interface
|
||||
Sometimes it can be useful to show a URL on an user interface
|
||||
in a more "human readable" form. Such URL can't be used on any API
|
||||
call, but make it easier for the user to understand it.
|
||||
</p>
|
||||
|
@ -645,7 +645,7 @@
|
||||
</info>
|
||||
<prop oor:name="URL" oor:type="xs:string">
|
||||
<info>
|
||||
<desc>Specifies an URL that should be recovered after the next Office
|
||||
<desc>Specifies a URL that should be recovered after the next Office
|
||||
start.</desc>
|
||||
</info>
|
||||
</prop>
|
||||
@ -1283,7 +1283,7 @@
|
||||
<!-- UIHints: Tools AutoCorrect/AutoFormat Options - URL
|
||||
recognition -->
|
||||
<info>
|
||||
<desc>Specifies if character strings which could represent an URL
|
||||
<desc>Specifies if character strings which could represent a URL
|
||||
should be converted to a hyperlink.</desc>
|
||||
<label>Detect URL</label>
|
||||
</info>
|
||||
|
@ -4719,7 +4719,7 @@ uno::Sequence< uno::Sequence< beans::StringPair > > SAL_CALL OStorage::getRelati
|
||||
for ( sal_Int32 nInd2 = 0; nInd2 < aSeq[nInd1].getLength(); nInd2++ )
|
||||
if ( aSeq[nInd1][nInd2].First == "Type" )
|
||||
{
|
||||
// the type is usually an URL, so the check should be case insensitive
|
||||
// the type is usually a URL, so the check should be case insensitive
|
||||
if ( aSeq[nInd1][nInd2].Second.equalsIgnoreAsciiCase( sType ) )
|
||||
{
|
||||
aResult.realloc( ++nEntriesNum );
|
||||
|
@ -105,7 +105,7 @@ public class _FillProperties extends MultiPropertyTest {
|
||||
};
|
||||
|
||||
/**
|
||||
* This property must have an URL format
|
||||
* This property must have a URL format
|
||||
*/
|
||||
public void _FillBitmapURL() {
|
||||
log.println("Testing with custom Property tester");
|
||||
|
@ -43,7 +43,7 @@ import com.sun.star.uno.UnoRuntime;
|
||||
* This test needs the following object relations :
|
||||
* <ul>
|
||||
* <li> <code>'FrameLoader.URL'</code> (of type <code>String</code>):
|
||||
* an url or component to be loaded </li>
|
||||
* a url or component to be loaded </li>
|
||||
* <li> <code>'FrameLoader.Frame'</code> <b>(optional)</b>
|
||||
* (of type <code>com.sun.star.frame.XFrame</code>):
|
||||
* a target frame where component to be loaded. If this
|
||||
|
@ -127,7 +127,7 @@ public class _XStorable extends MultiMethodTest {
|
||||
* and no exceptions were thrown.
|
||||
*/
|
||||
public void _storeAsURL() {
|
||||
// getting an url to store
|
||||
// getting a url to store
|
||||
String url = utils.getOfficeTemp(
|
||||
tParam.getMSF());
|
||||
|
||||
@ -145,7 +145,7 @@ public class _XStorable extends MultiMethodTest {
|
||||
tRes.tested("storeAsURL()", false);
|
||||
}
|
||||
} else {
|
||||
log.println("an url to store is not found");
|
||||
log.println("a url to store is not found");
|
||||
}
|
||||
}
|
||||
|
||||
@ -155,7 +155,7 @@ public class _XStorable extends MultiMethodTest {
|
||||
* and no exceptions were thrown.
|
||||
*/
|
||||
public void _storeToURL() {
|
||||
// getting an url to store
|
||||
// getting a url to store
|
||||
String url = utils.getOfficeTemp(
|
||||
tParam.getMSF());
|
||||
|
||||
@ -171,7 +171,7 @@ public class _XStorable extends MultiMethodTest {
|
||||
tRes.tested("storeToURL()", false);
|
||||
}
|
||||
} else {
|
||||
log.println("an url to store is not found");
|
||||
log.println("a url to store is not found");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -42,7 +42,7 @@ import com.sun.star.util.XURLTransformer;
|
||||
* This test needs the following object relations :
|
||||
* <ul>
|
||||
* <li> <code>'FrameLoader.URL'</code> (of type <code>String</code>):
|
||||
* an url of component to be loaded </li>
|
||||
* a url of component to be loaded </li>
|
||||
* <li> <code>'FrameLoader.Frame'</code> <b>(optional)</b>
|
||||
* (of type <code>com.sun.star.frame.XFrame</code>):
|
||||
* a target frame where component to be loaded. If this
|
||||
|
@ -1552,7 +1552,7 @@ void SAL_CALL OReportDefinition::load( const uno::Sequence< beans::PropertyValue
|
||||
|
||||
::comphelper::NamedValueCollection aArguments( _rArguments );
|
||||
|
||||
// the source for the to-be-created storage: either an URL, or a stream
|
||||
// the source for the to-be-created storage: either a URL, or a stream
|
||||
uno::Reference< io::XInputStream > xStream;
|
||||
OUString sURL;
|
||||
|
||||
|
@ -914,7 +914,7 @@ oslFileError SAL_CALL osl_searchFileURL(
|
||||
rtl_uString *ustrSysPath = nullptr;
|
||||
oslFileError error;
|
||||
|
||||
/* First try to interpret the file name as an URL even a relative one */
|
||||
/* First try to interpret the file name as a URL even a relative one */
|
||||
error = osl_getSystemPathFromFileURL_( ustrFileName, &ustrUNCPath, true );
|
||||
|
||||
/* So far we either have an UNC path or something invalid
|
||||
|
@ -4965,7 +4965,7 @@ namespace osl_Directory
|
||||
|
||||
CPPUNIT_ASSERT_EQUAL_MESSAGE
|
||||
(
|
||||
"Cannot convert the system path back to an URL",
|
||||
"Cannot convert the system path back to a URL",
|
||||
osl::FileBase::E_None, rc
|
||||
);
|
||||
return tmpTestPath;
|
||||
|
@ -98,7 +98,7 @@ class SvxURLField;
|
||||
class XclExpHyperlink : public XclExpRecord
|
||||
{
|
||||
public:
|
||||
/** Constructs the HLINK record from an URL text field. */
|
||||
/** Constructs the HLINK record from a URL text field. */
|
||||
explicit XclExpHyperlink( const XclExpRoot& rRoot,
|
||||
const SvxURLField& rUrlField, const ScAddress& rScPos );
|
||||
virtual ~XclExpHyperlink() override;
|
||||
|
@ -246,7 +246,7 @@ private:
|
||||
|
||||
// URL conversion =============================================================
|
||||
|
||||
/** This class contains static methods to decode an URL stored in an Excel file.
|
||||
/** This class contains static methods to decode a URL stored in an Excel file.
|
||||
@descr Excel URLs can contain a sheet name, for instance: path\[test.xls]Sheet1
|
||||
This sheet name will be extracted automatically. */
|
||||
class XclImpUrlHelper
|
||||
|
@ -1140,7 +1140,7 @@ OUString SAL_CALL ScEditFieldObj::getPresentation( sal_Bool bShowCommand )
|
||||
case text::textfield::Type::URL:
|
||||
{
|
||||
if (pField->GetClassId() != text::textfield::Type::URL)
|
||||
// Not an URL field, but URL is expected.
|
||||
// Not a URL field, but URL is expected.
|
||||
throw uno::RuntimeException();
|
||||
|
||||
const SvxURLField* pURL = static_cast<const SvxURLField*>(pField);
|
||||
|
@ -2184,7 +2184,7 @@ void ScGridWindow::MouseButtonUp( const MouseEvent& rMEvt )
|
||||
bool bAlt = rMEvt.IsMod2();
|
||||
if ( !bAlt && !bRefMode && !bDouble && nMouseStatus == SC_GM_URLDOWN )
|
||||
{
|
||||
// Only execute on ButtonUp, if ButtonDown also was done on an URL
|
||||
// Only execute on ButtonUp, if ButtonDown also was done on a URL
|
||||
|
||||
OUString aName, aUrl, aTarget;
|
||||
if ( GetEditUrl( rMEvt.GetPosPixel(), &aName, &aUrl, &aTarget ) )
|
||||
|
@ -213,7 +213,7 @@ void SdTransferable::CreateObjectReplacement( SdrObject* pObj )
|
||||
|
||||
if( auto pURL = dynamic_cast< const SvxURLField *>( pData ) )
|
||||
{
|
||||
// #i63399# This special code identifies TextFrames which have just an URL
|
||||
// #i63399# This special code identifies TextFrames which have just a URL
|
||||
// as content and directly add this to the clipboard, probably to avoid adding
|
||||
// an unnecessary DrawObject to the target where paste may take place. This is
|
||||
// wanted only for SdrObjects with no fill and no line, else it is necessary to
|
||||
|
@ -748,7 +748,7 @@ void BackingWindow::dispatchURL( const OUString& i_rURL,
|
||||
if( !xProvider.is())
|
||||
return;
|
||||
|
||||
// get an URL transformer to clean up the URL
|
||||
// get a URL transformer to clean up the URL
|
||||
css::util::URL aDispatchURL;
|
||||
aDispatchURL.Complete = i_rURL;
|
||||
|
||||
|
@ -1868,7 +1868,7 @@ SfxDocumentMetaData::loadFromMedium(const OUString & URL,
|
||||
{
|
||||
css::uno::Reference<css::io::XInputStream> xIn;
|
||||
utl::MediaDescriptor md(Medium);
|
||||
// if we have an URL parameter, it replaces the one in the media descriptor
|
||||
// if we have a URL parameter, it replaces the one in the media descriptor
|
||||
if (!URL.isEmpty()) {
|
||||
md[ utl::MediaDescriptor::PROP_URL() ] <<= URL;
|
||||
md[ utl::MediaDescriptor::PROP_READONLY() ] <<= true;
|
||||
|
@ -3252,7 +3252,7 @@ SfxMedium::SfxMedium( const uno::Sequence<beans::PropertyValue>& aArgs ) :
|
||||
// QUESTION: there is some treatment of Salvage in Init_Impl; align!
|
||||
if ( !pSalvageItem->GetValue().isEmpty() )
|
||||
{
|
||||
// if an URL is provided in SalvageItem that means that the FileName refers to a temporary file
|
||||
// if a URL is provided in SalvageItem that means that the FileName refers to a temporary file
|
||||
// that must be copied here
|
||||
|
||||
const SfxStringItem* pFileNameItem = SfxItemSet::GetItem<SfxStringItem>(pImpl->m_pSet.get(), SID_FILE_NAME, false);
|
||||
|
@ -640,7 +640,7 @@ void SAL_CALL SfxPrintHelper::print(const uno::Sequence< beans::PropertyValue >&
|
||||
// We try to convert it to a file URL. If its possible
|
||||
// we put the system path to the item set and let vcl work with it.
|
||||
// No ucb or thread will be necessary then. In case it couldn't be
|
||||
// converted it's not an URL nor a system path. Then we can't accept
|
||||
// converted it's not a URL nor a system path. Then we can't accept
|
||||
// this parameter and have to throw an exception.
|
||||
const OUString& sSystemPath(sTemp);
|
||||
OUString sFileURL;
|
||||
|
@ -1198,7 +1198,7 @@ OUString SfxViewShell::GetSelectionText
|
||||
sending emails.
|
||||
|
||||
When called with "CompleteWords == TRUE", it is for example sufficient
|
||||
with having the Cursor positioned somewhere within an URL in-order
|
||||
with having the Cursor positioned somewhere within a URL in-order
|
||||
to have the entire URL returned.
|
||||
*/
|
||||
|
||||
|
@ -262,7 +262,7 @@ IMPL_LINK_NOARG( SvtMatchContext_Impl, Select_Impl, void*, void )
|
||||
|
||||
for (auto const& completion : aCompletions)
|
||||
{
|
||||
// convert the file into an URL
|
||||
// convert the file into a URL
|
||||
OUString sURL;
|
||||
osl::FileBase::getFileURLFromSystemPath(completion, sURL);
|
||||
// note: if this doesn't work, we're not interested in: we're checking the
|
||||
@ -581,7 +581,7 @@ IMPL_LINK_NOARG( MatchContext_Impl, Select_Impl, void*, void )
|
||||
|
||||
for (auto const& completion : aCompletions)
|
||||
{
|
||||
// convert the file into an URL
|
||||
// convert the file into a URL
|
||||
OUString sURL;
|
||||
osl::FileBase::getFileURLFromSystemPath(completion, sURL);
|
||||
// note: if this doesn't work, we're not interested in: we're checking the
|
||||
|
@ -118,7 +118,7 @@ CPPUNIT_TEST_FIXTURE(SwUnoWriter, testGraphicDesciptorURL)
|
||||
uno::Reference<beans::XPropertySet> xTextGraphic(
|
||||
xFactory->createInstance("com.sun.star.text.TextGraphicObject"), uno::UNO_QUERY);
|
||||
|
||||
// Set an URL on it.
|
||||
// Set a URL on it.
|
||||
OUString aGraphicURL = m_directories.getURLFromSrc(DATA_DIRECTORY) + "test.jpg";
|
||||
xTextGraphic->setPropertyValue("GraphicURL", uno::makeAny(aGraphicURL));
|
||||
xTextGraphic->setPropertyValue("AnchorType",
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include <com/sun/star/io/XStream.hpp>
|
||||
#include <com/sun/star/beans/PropertyValue.hpp>
|
||||
|
||||
/* class for a thread to retrieve an input stream given by an URL
|
||||
/* class for a thread to retrieve an input stream given by a URL
|
||||
|
||||
#i73788#
|
||||
*/
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user