"an OLE", to complete:
https://gerrit.libreoffice.org/#/c/75983/

Change-Id: Idd5b9286348b4fa1e3382983c72b010654a1f4c2
Reviewed-on: https://gerrit.libreoffice.org/76038
Tested-by: Jenkins
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
This commit is contained in:
Andrea Gelmini
2019-07-21 08:28:37 +02:00
parent 59b5eca703
commit 8a3912c8eb
9 changed files with 11 additions and 11 deletions
@@ -70,7 +70,7 @@ service AccessibleSpreadsheetDocumentView
A child where calling getAccessibleChild()
an object that supports this service is returned for
the current OLE object in edit mode. It exists
only if a OLE object is in edit mode.</li>
only if an OLE object is in edit mode.</li>
</ul>
<p>The following rules apply to the children order. General it
represents the paint order. The object in the background came
@@ -51,7 +51,7 @@ public class ChartDocumentTest implements DocumentTest
{
m_textDocument = OfficeDocument.blankDocument( i_orb, DocumentType.WRITER );
// create a OLE shape in the document
// create an OLE shape in the document
final XMultiServiceFactory factory = UnoRuntime.queryInterface( XMultiServiceFactory.class, m_textDocument.getDocument() );
final String shapeServiceName = "com.sun.star.text.TextEmbeddedObject";
final XPropertySet shapeProps = UnoRuntime.queryInterface( XPropertySet.class, factory.createInstance( shapeServiceName ) );
+1 -1
View File
@@ -141,7 +141,7 @@ SvBaseLink::SvBaseLink( SfxLinkUpdateMode nUpdateMode, SotClipboardFormatId nCon
bVisible = bSynchron = true;
bWasLastEditOK = false;
// It is going to be a Ole-Link,
// It is going to be an OLE-Link,
pImplData->ClientType.nUpdateMode = nUpdateMode;
pImplData->ClientType.nCntntType = nContentType;
pImplData->ClientType.bIntrnlLnk = false;
+1 -1
View File
@@ -314,7 +314,7 @@ bool Storage::IsStorageFile( SvStream* pStream )
sal_uInt64 nPos = pStream->Tell();
bRet = ( aHdr.Load( *pStream ) && aHdr.Check() );
// It's not a stream error if it is too small for a OLE storage header
// It's not a stream error if it is too small for an OLE storage header
if ( pStream->GetErrorCode() == ERRCODE_IO_CANTSEEK )
pStream->ResetError();
pStream->Seek( nPos );
@@ -53,7 +53,7 @@ public:
explicit ViewContactOfSdrOle2Obj(SdrOle2Obj& rOle2Obj);
virtual ~ViewContactOfSdrOle2Obj() override;
// helper for creating a OLE sequence for this object. It takes care od attributes, needed
// helper for creating an OLE sequence for this object. It takes care od attributes, needed
// scaling (e.g. for EmptyPresObj's), the correct graphic and other stuff. It is used from
// createViewIndependentPrimitive2DSequence with false, and with evtl. HighContrast true
// from the VOC which knows that
+1 -1
View File
@@ -131,7 +131,7 @@ bool SvxOle2Shape::setPropertyValueImpl( const OUString& rName, const SfxItemPro
OUString aCLSID;
if( rValue >>= aCLSID )
{
// init a ole object with a global name
// init an OLE object with a global name
SvGlobalName aClassName;
if( aClassName.MakeId( aCLSID ) )
{
+1 -1
View File
@@ -246,7 +246,7 @@ const Graphic* SwOLENode::GetGraphic()
}
/**
* Loading a OLE object that has been moved to the Undo Area
* Loading an OLE object that has been moved to the Undo Area
*/
bool SwOLENode::RestorePersistentData()
{
+2 -2
View File
@@ -382,7 +382,7 @@ SwFrameFormat* SwWW8ImplReader::MakeGrafInContent(const WW8_PIC& rPic,
SwFrameFormat* pFlyFormat = nullptr;
if (rFileName.isEmpty() && m_nObjLocFc) // then it should be a OLE-Object
if (rFileName.isEmpty() && m_nObjLocFc) // then it should be an OLE-Object
pFlyFormat = ImportOle(pGraph, &aFlySet, &rGrfSet);
if( !pFlyFormat ) // then just as graphic
@@ -659,7 +659,7 @@ SwFrameFormat* SwWW8ImplReader::ImportGraf(SdrTextObj const * pTextObj,
// Now add the link or rather the graphic to the doc
const Graphic& rGraph = pGraphObject->GetGraphic();
if (m_nObjLocFc) // is it a OLE-Object?
if (m_nObjLocFc) // is it an OLE-Object?
pRet = ImportOle(&rGraph, &aAttrSet, &aGrSet, pObject->GetBLIPSizeRectangle());
if (!pRet)
@@ -119,7 +119,7 @@ public:
{
return name && m_nameToPathMap.find(name) != m_nameToPathMap.end();
}
/** return a new stream for a ole zone */
/** return a new stream for an OLE zone */
librevenge::RVNGInputStream* getSubStreamByName(const char* name) override
{
if (m_nameToPathMap.find(name) == m_nameToPathMap.end() || !m_xContent.is())
@@ -160,7 +160,7 @@ public:
return nullptr;
}
/** return a new stream for a ole zone */
/** return a new stream for an OLE zone */
librevenge::RVNGInputStream* getSubStreamById(unsigned id) override
{
char const* name = subStreamName(id);