C++ में प्रस्तुतियों में OLE ऑब्जेक्ट्स का प्रबंधन

परिचय

Object Linking and Embedding (OLE) PowerPoint स्लाइड को अनुमति देता है कि वह किसी अन्य एप्लिकेशन में बनाई गई वस्तु को समाहित करे, जैसे कि Excel वर्कबुक से एक चार्ट। एम्बेडेड ऑब्जेक्ट अपना डेटा प्रस्तुति में संचित करता है। लिंक्ड ऑब्जेक्ट बाहरी फ़ाइल को संदर्भित करता है।

PowerPoint वस्तु को आइकन के रूप में प्रदर्शित कर सकता है या उसकी सामग्री का पूर्वावलोकन दिखा सकता है। वस्तु पर डबल-क्लिक करने से, जब संबंधित एप्लिकेशन उपलब्ध हो, वह संपादन के लिए सक्रिय हो जाता है। Aspose.Slides for C++ एम्बेडेड और लिंक्ड दोनों वस्तुओं को एक OleObjectFrame के रूप में प्रस्तुत करता है।

स्लाइड्स में OLE ऑब्जेक्ट फ्रेम जोड़ें

चार्ट के साथ एक Excel वर्कबुक को एम्बेड करने के लिए, वर्कबुक के बाइट्स और xlsx एक्सटेंशन को OleEmbeddedDataInfo को पास करें। एक्सटेंशन फ़ाइल प्रकार को पहचानता है ताकि PowerPoint संबंधित एप्लिकेशन चुन सके। इस उदाहरण में, AddOleObjectFrame वर्कबुक को पहली स्लाइड पर रखता है और फ्रेम का आकार इस तरह सेट करता है कि वह स्लाइड को कवर करे।

#include <DOM/IShapeCollection.h>
#include <DOM/ISlide.h>
#include <DOM/ISlideSize.h>
#include <DOM/Presentation.h>
#include <Export/SaveFormat.h>
#include <Ole/OleEmbeddedDataInfo.h>
#include <drawing/size_f.h>
#include <system/io/file.h>
#include <system/smart_ptr.h>

using namespace Aspose::Slides;
using namespace Aspose::Slides::DOM::Ole;
using namespace Aspose::Slides::Export;
using namespace System;
using namespace System::IO;

auto presentation = MakeObject<Presentation>();
auto slideSize = presentation->get_SlideSize()->get_Size();
auto slide = presentation->get_Slide(0);

auto fileData = File::ReadAllBytes(u"book.xlsx");
auto dataInfo = MakeObject<OleEmbeddedDataInfo>(fileData, u"xlsx");
slide->get_Shapes()->AddOleObjectFrame(0, 0, slideSize.get_Width(), slideSize.get_Height(), dataInfo);

presentation->Save(u"output.pptx", SaveFormat::Pptx);

लिंक्ड OLE ऑब्जेक्ट फ्रेम जोड़ें

लिंक्ड ओवरलोड AddOleObjectFrame एक OLE क्लास पहचानकर्ता और स्रोत फ़ाइल का पथ लेता है। यहाँ, Excel.Sheet.12 एक Excel वर्कबुक को पहचानता है। उदाहरण 200 × 150 पॉइंट का फ्रेम पहली स्लाइड के शीर्ष और बाएँ किनारों से 20 पॉइंट की दूरी पर रखता है। वर्कबुक को संग्रहित पथ पर सुलभ रहना चाहिए ताकि PowerPoint उसे खोल सके।

#include <DOM/IShapeCollection.h>
#include <DOM/ISlide.h>
#include <DOM/Presentation.h>
#include <Export/SaveFormat.h>
#include <system/io/path.h>
#include <system/smart_ptr.h>

using namespace Aspose::Slides;
using namespace Aspose::Slides::Export;
using namespace System;
using namespace System::IO;

auto presentation = MakeObject<Presentation>();
auto slide = presentation->get_Slide(0);

auto workbookPath = Path::GetFullPath(u"book.xlsx");
slide->get_Shapes()->AddOleObjectFrame(20, 20, 200, 150, u"Excel.Sheet.12", workbookPath);

presentation->Save(u"output.pptx", SaveFormat::Pptx);

OLE ऑब्जेक्ट फ्रेम तक पहुंच

get_EmbeddedData का उपयोग करके एम्बेडेड OLE फ्रेम में संग्रहीत फ़ाइल को पढ़ें। यह उदाहरण पहली स्लाइड पर पहले शैप की जांच करता है और एम्बेडेड डेटा उपलब्ध होने पर फ़ाइल एक्सटेंशन और बाइट काउंट प्रिंट करता है।

#include <DOM/IOleEmbeddedDataInfo.h>
#include <DOM/IOleObjectFrame.h>
#include <DOM/IShapeCollection.h>
#include <DOM/ISlide.h>
#include <DOM/Presentation.h>
#include <iostream>
#include <system/smart_ptr.h>

using namespace Aspose::Slides;
using namespace System;

auto presentation = MakeObject<Presentation>(u"sample.pptx");
auto shapes = presentation->get_Slide(0)->get_Shapes();

auto frame = shapes->get_Count() > 0 ? AsCast<IOleObjectFrame>(shapes->idx_get(0)) : nullptr;
if (!frame || frame->get_IsObjectLink())
{
    std::cout << "The first shape is not an embedded OLE object." << std::endl;
    return;
}

auto data = frame->get_EmbeddedData();
auto bytes = data ? data->get_EmbeddedFileData() : nullptr;
if (!bytes || bytes->get_Length() == 0)
{
    std::cout << "The frame contains no embedded file data." << std::endl;
    return;
}

std::wcout << L"Embedded file extension: " << data->get_EmbeddedFileExtension() << L", size: " << bytes->get_Length() << L" bytes." << std::endl;

लिंक्ड OLE ऑब्जेक्ट फ्रेम गुणों तक पहुंच

लिंक्ड फ्रेम के लिए, get_IsObjectLink true लौटाता है और get_LinkPathLong स्रोत फ़ाइल को पहचानता है। उदाहरण पहली स्लाइड पर पहले शैप के लिए संग्रहित पथ को प्रिंट करता है। एक PPT प्रस्तुति get_LinkPathRelative में सापेक्ष पथ भी संग्रहीत कर सकती है, जिसे उदाहरण उपलब्ध होने पर प्रिंट करता है।

#include <DOM/IOleObjectFrame.h>
#include <DOM/IShapeCollection.h>
#include <DOM/ISlide.h>
#include <DOM/Presentation.h>
#include <iostream>
#include <system/smart_ptr.h>
#include <system/string.h>

using namespace Aspose::Slides;
using namespace System;

auto presentation = MakeObject<Presentation>(u"sample.ppt");
auto shapes = presentation->get_Slide(0)->get_Shapes();

auto frame = shapes->get_Count() > 0 ? AsCast<IOleObjectFrame>(shapes->idx_get(0)) : nullptr;
if (!frame || !frame->get_IsObjectLink())
{
    std::cout << "The first shape is not a linked OLE object." << std::endl;
    return;
}

std::wcout << L"Linked file: " << frame->get_LinkPathLong() << std::endl;
if (!String::IsNullOrEmpty(frame->get_LinkPathRelative()))
{
    std::wcout << L"Relative path: " << frame->get_LinkPathRelative() << std::endl;
}

OLE ऑब्जेक्ट डेटा बदलें

यह उदाहरण पहली स्लाइड पर पहले शैप में एक एम्बेडेड XLSX वर्कबुक की अपेक्षा करता है। यह वर्कबुक को मेमोरी से खोलता है, पहले वर्कशीट में कोशिकाओं E1:E4 में एक लेबल और तीन मान लिखता है, और वर्कबुक को वापस मेमोरी में XLSX प्रारूप में सहेजता है। SetEmbeddedData फ्रेम में संग्रहीत डेटा को बदल देता है ताकि संपादित कोशिकाएँ एम्बेडेड वर्कबुक के खुलने पर उपलब्ध हों।

#include "Aspose.Cells/Cell.h"
#include "Aspose.Cells/Cells.h"
#include "Aspose.Cells/Initializer.h"
#include "Aspose.Cells/OoxmlSaveOptions.h"
#include "Aspose.Cells/SaveFormat.h"
#include "Aspose.Cells/U16String.h"
#include "Aspose.Cells/Vector.h"
#include "Aspose.Cells/Workbook.h"
#include "Aspose.Cells/Worksheet.h"
#include "Aspose.Cells/WorksheetCollection.h"
#include <DOM/IOleEmbeddedDataInfo.h>
#include <DOM/IOleObjectFrame.h>
#include <DOM/IShapeCollection.h>
#include <DOM/ISlide.h>
#include <DOM/Presentation.h>
#include <Export/SaveFormat.h>
#include <Ole/OleEmbeddedDataInfo.h>
#include <iostream>
#include <system/smart_ptr.h>
#include <vector>

using namespace Aspose::Slides;
using namespace Aspose::Slides::DOM::Ole;
using namespace Aspose::Slides::Export;
using namespace System;

auto presentation = MakeObject<Presentation>(u"sample.pptx");
auto shapes = presentation->get_Slide(0)->get_Shapes();

auto frame = shapes->get_Count() > 0 ? AsCast<IOleObjectFrame>(shapes->idx_get(0)) : nullptr;
if (!frame || frame->get_IsObjectLink())
{
    std::cout << "The first shape is not an embedded OLE object." << std::endl;
    return;
}

auto data = frame->get_EmbeddedData();
auto bytes = data ? data->get_EmbeddedFileData() : nullptr;
if (!bytes || bytes->get_Length() == 0)
{
    std::cout << "The frame contains no embedded file data." << std::endl;
    return;
}

auto extension = data->get_EmbeddedFileExtension().TrimStart(u'.');
if (!extension.Equals(u"xlsx", StringComparison::OrdinalIgnoreCase))
{
    std::cout << "The embedded file is not an XLSX workbook." << std::endl;
    return;
}

Aspose::Cells::Startup();
{
    Aspose::Cells::Vector<uint8_t> input(bytes->data().data(), bytes->get_Length());
    Aspose::Cells::Workbook workbook(input);
    auto cells = workbook.GetWorksheets().Get(0).GetCells();
    cells.Get(0, 4).PutValue(Aspose::Cells::U16String("E"));
    cells.Get(1, 4).PutValue(12);
    cells.Get(2, 4).PutValue(14);
    cells.Get(3, 4).PutValue(15);

    Aspose::Cells::OoxmlSaveOptions options(Aspose::Cells::SaveFormat::Xlsx);
    auto output = workbook.Save(options);
    auto updatedBytes = MakeArray<uint8_t>(std::vector<uint8_t>(output.GetData(), output.GetData() + output.GetLength()));
    auto updatedData = MakeObject<OleEmbeddedDataInfo>(updatedBytes, u"xlsx");
    frame->SetEmbeddedData(updatedData);
}
Aspose::Cells::Cleanup();

presentation->Save(u"output.pptx", SaveFormat::Pptx);

स्लाइड्स में अन्य फ़ाइल प्रकार एम्बेड करें

आप HTML दस्तावेज़, PDF, और ZIP अभिलेख भी एम्बेड कर सकते हैं। यह उदाहरण AddOleObjectFrame का उपयोग करके पहली स्लाइड पर अलग-अलग फ्रेम में एक HTML दस्तावेज़ और एक ZIP अभिलेख रखता है। set_IsObjectIcon को true के साथ कॉल करने से प्रत्येक फ़ाइल को आइकन के रूप में प्रदर्शित किया जाता है, जिसे पाठक डबल-क्लिक करके संबंधित एप्लिकेशन में खोल सकता है।

#include <DOM/IOleObjectFrame.h>
#include <DOM/IShapeCollection.h>
#include <DOM/ISlide.h>
#include <DOM/Presentation.h>
#include <Export/SaveFormat.h>
#include <Ole/OleEmbeddedDataInfo.h>
#include <system/io/file.h>
#include <system/smart_ptr.h>

using namespace Aspose::Slides;
using namespace Aspose::Slides::DOM::Ole;
using namespace Aspose::Slides::Export;
using namespace System;
using namespace System::IO;

auto presentation = MakeObject<Presentation>();
auto slide = presentation->get_Slide(0);

auto htmlData = File::ReadAllBytes(u"sample.html");
auto htmlDataInfo = MakeObject<OleEmbeddedDataInfo>(htmlData, u"html");
auto htmlOleFrame = slide->get_Shapes()->AddOleObjectFrame(150, 120, 50, 50, htmlDataInfo);
htmlOleFrame->set_IsObjectIcon(true);

auto zipData = File::ReadAllBytes(u"sample.zip");
auto zipDataInfo = MakeObject<OleEmbeddedDataInfo>(zipData, u"zip");
auto zipOleFrame = slide->get_Shapes()->AddOleObjectFrame(150, 220, 50, 50, zipDataInfo);
zipOleFrame->set_IsObjectIcon(true);

presentation->Save(u"output.pptx", SaveFormat::Pptx);

एम्बेडेड ऑब्जेक्ट्स के लिए फ़ाइल प्रकार सेट करें

OleEmbeddedDataInfo में एक्सटेंशन प्रदान किए गए बाइट्स के फ़ॉर्मेट का वर्णन करता है। यदि पहली स्लाइड पर पहला शैप पहले से ही गलत एक्सटेंशन के साथ एक ZIP अभिलेख रखता है, तो उसके प्रकार को ठीक करने के लिए SetEmbeddedData का उपयोग करें। उदाहरण वर्तमान एक्सटेंशन को प्रिंट करता है और वही अभिलेख बाइट्स को zip एक्सटेंशन के साथ सहेजता है।

#include <DOM/IOleEmbeddedDataInfo.h>
#include <DOM/IOleObjectFrame.h>
#include <DOM/IShapeCollection.h>
#include <DOM/ISlide.h>
#include <DOM/Presentation.h>
#include <Export/SaveFormat.h>
#include <Ole/OleEmbeddedDataInfo.h>
#include <iostream>
#include <system/smart_ptr.h>

using namespace Aspose::Slides;
using namespace Aspose::Slides::DOM::Ole;
using namespace Aspose::Slides::Export;
using namespace System;

auto presentation = MakeObject<Presentation>(u"sample.pptx");
auto shapes = presentation->get_Slide(0)->get_Shapes();

auto frame = shapes->get_Count() > 0 ? AsCast<IOleObjectFrame>(shapes->idx_get(0)) : nullptr;
if (!frame || frame->get_IsObjectLink())
{
    std::cout << "The first shape is not an embedded OLE object." << std::endl;
    return;
}

auto data = frame->get_EmbeddedData();
auto bytes = data ? data->get_EmbeddedFileData() : nullptr;
if (!bytes || bytes->get_Length() == 0)
{
    std::cout << "The frame contains no embedded file data." << std::endl;
    return;
}

std::wcout << L"Current embedded file extension: " << data->get_EmbeddedFileExtension() << std::endl;
auto archiveData = MakeObject<OleEmbeddedDataInfo>(bytes, u"zip");
frame->SetEmbeddedData(archiveData);

presentation->Save(u"output.pptx", SaveFormat::Pptx);

एम्बेडेड ऑब्जेक्ट्स के लिए आइकन इमेज और शीर्षक सेट करें

एक एम्बेडेड ऑब्जेक्ट के लिए आइकन को अनुकूलित करने के लिए, प्रस्तुति के इमेज कलेक्शन से एक इमेज को get_SubstitutePictureFormat द्वारा लौटाए गए फ़ॉर्मेट में चित्र को असाइन करें और set_SubstitutePictureTitle से शीर्षक सेट करें। उदाहरण पहली स्लाइड पर पहले शैप के लिए एक PNG इमेज का उपयोग करता है और आइकन व शीर्षक प्रदर्शित करने के लिए true के साथ set_IsObjectIcon को कॉल करता है।

#include <DOM/IImageCollection.h>
#include <DOM/IOleObjectFrame.h>
#include <DOM/IPictureFillFormat.h>
#include <DOM/IShapeCollection.h>
#include <DOM/ISlide.h>
#include <DOM/ISlidesPicture.h>
#include <DOM/Presentation.h>
#include <Export/SaveFormat.h>
#include <iostream>
#include <system/io/file.h>
#include <system/smart_ptr.h>

using namespace Aspose::Slides;
using namespace Aspose::Slides::Export;
using namespace System;
using namespace System::IO;

auto presentation = MakeObject<Presentation>(u"sample.pptx");
auto shapes = presentation->get_Slide(0)->get_Shapes();

auto frame = shapes->get_Count() > 0 ? AsCast<IOleObjectFrame>(shapes->idx_get(0)) : nullptr;
if (!frame || frame->get_IsObjectLink())
{
    std::cout << "The first shape is not an embedded OLE object." << std::endl;
    return;
}

auto imageBytes = File::ReadAllBytes(u"image.png");
auto iconImage = presentation->get_Images()->AddImage(imageBytes);
frame->set_IsObjectIcon(true);
frame->get_SubstitutePictureFormat()->get_Picture()->set_Image(iconImage);
frame->set_SubstitutePictureTitle(u"Embedded workbook");

presentation->Save(u"output.pptx", SaveFormat::Pptx);

OLE ऑब्जेक्ट फ्रेम को आकार बदलने और पुन:स्थापित होने से रोकें

जब PowerPoint लिंक्ड ऑब्जेक्ट के पूर्वावलोकन को रीफ़्रेश करता है, तो फ्रेम स्थानांतरित या आकार बदल सकता है। उस लिंक के लिए मैन्युअल अपडेट की मांग करने हेतु set_UpdateAutomatic को false के साथ कॉल करें। उदाहरण यह सेटिंग पहली स्लाइड पर पहले शैप पर लागू करता है जब वह एक लिंक्ड OLE फ्रेम हो।

#include <DOM/IOleObjectFrame.h>
#include <DOM/IShapeCollection.h>
#include <DOM/ISlide.h>
#include <DOM/Presentation.h>
#include <Export/SaveFormat.h>
#include <iostream>
#include <system/smart_ptr.h>

using namespace Aspose::Slides;
using namespace Aspose::Slides::Export;
using namespace System;

auto presentation = MakeObject<Presentation>(u"sample.pptx");
auto shapes = presentation->get_Slide(0)->get_Shapes();

auto frame = shapes->get_Count() > 0 ? AsCast<IOleObjectFrame>(shapes->idx_get(0)) : nullptr;
if (!frame || !frame->get_IsObjectLink())
{
    std::cout << "The first shape is not a linked OLE object." << std::endl;
    return;
}

frame->set_UpdateAutomatic(false);

presentation->Save(u"output.pptx", SaveFormat::Pptx);

एम्बेडेड फ़ाइलें निकालें

मूल बाइट्स निकालने के लिए get_EmbeddedFileData पढ़ें और आउटपुट का नाम देने के लिए get_EmbeddedFileExtension पढ़ें। यह उदाहरण पहली स्लाइड पर शीर्ष-स्तर के शैप्स को स्कैन करता है, लिंक्ड ऑब्जेक्ट्स को छोड़ता है, और प्रत्येक एम्बेडेड फ़ाइल को वर्तमान डायरेक्टरी में लिखता है। शैप इंडेक्स समान एक्सटेंशन वाली फ़ाइलों को अलग करता है।

#include <DOM/IOleEmbeddedDataInfo.h>
#include <DOM/IOleObjectFrame.h>
#include <DOM/IShapeCollection.h>
#include <DOM/ISlide.h>
#include <DOM/Presentation.h>
#include <iostream>
#include <system/io/file.h>
#include <system/io/path.h>
#include <system/smart_ptr.h>
#include <system/string.h>

using namespace Aspose::Slides;
using namespace System;
using namespace System::IO;

auto presentation = MakeObject<Presentation>(u"sample.pptx");
auto shapes = presentation->get_Slide(0)->get_Shapes();

auto extracted = 0;
for (auto index = 0; index < shapes->get_Count(); ++index)
{
    auto frame = AsCast<IOleObjectFrame>(shapes->idx_get(index));
    if (!frame || frame->get_IsObjectLink())
        continue;

    auto data = frame->get_EmbeddedData();
    auto bytes = data ? data->get_EmbeddedFileData() : nullptr;
    if (!bytes || bytes->get_Length() == 0)
    {
        std::cout << "Shape " << index << " contains no embedded file data." << std::endl;
        continue;
    }

    auto extension = data->get_EmbeddedFileExtension().TrimStart(u'.');
    auto path = Path::ChangeExtension(String::Format(u"OLE_object_{0}", index), extension);
    File::WriteAllBytes(path, bytes);
    ++extracted;
}

std::cout << "Extracted " << extracted << " embedded files." << std::endl;

एम्बेडेड और लिंक्ड OLE ऑब्जेक्ट्स की सूची

get_ObjectProgId मेथड एप्लिकेशन से जुड़ी OLE ऑब्जेक्ट प्रकार को पहचानता है। उदाहरण के लिए, Word.Document.12 एक Word दस्तावेज़ को पहचानता है। एम्बेडेड फ़ाइल एक्सटेंशन एक अलग मान है। केवल ProgID संग्रहीत डेटा के फ़ॉर्मेट या वैधता की पुष्टि नहीं कर सकता।

उदाहरण sample.pptx में प्रत्येक स्लाइड को स्कैन करता है और नेस्टेड समूहों में जाने के लिए IGroupShape::get_Shapes का अनुसरण करता है। प्रत्येक IOleObjectFrame के लिए, यह स्लाइड नंबर, shape name, get_IsObjectLink, और मूल ProgID को प्रिंट करता है। अपरिचित ProgID जैसा संग्रहीत है वैसा ही दिखता है। खाली ProgID अंतिम कॉलम को खाली छोड़ देता है। उदाहरण केवल मेटाडेटा पढ़ता है, बिना OLE सामग्री को निकालने, खोलने या सक्रिय करने के।

#include <DOM/IGroupShape.h>
#include <DOM/IOleObjectFrame.h>
#include <DOM/IShapeCollection.h>
#include <DOM/ISlide.h>
#include <DOM/ISlideCollection.h>
#include <DOM/Presentation.h>
#include <iostream>
#include <system/smart_ptr.h>

using namespace Aspose::Slides;
using namespace System;

auto presentation = MakeObject<Presentation>(u"sample.pptx");

auto reportObjects = [](const auto& self, const SharedPtr<IShapeCollection>& shapes, int slideNumber) -> void
{
    for (auto index = 0; index < shapes->get_Count(); ++index)
    {
        auto shape = shapes->idx_get(index);
        if (auto frame = AsCast<IOleObjectFrame>(shape))
        {
            std::wcout << slideNumber << L" | " << shape->get_Name() << L" | " << std::boolalpha << frame->get_IsObjectLink() << L" | " << frame->get_ObjectProgId() << std::endl;
        }
        else if (auto group = AsCast<IGroupShape>(shape))
        {
            self(self, group->get_Shapes(), slideNumber);
        }
    }
};

std::wcout << L"Slide | Shape | IsObjectLink | ObjectProgId" << std::endl;
for (auto index = 0; index < presentation->get_Slides()->get_Count(); ++index)
{
    auto slide = presentation->get_Slide(index);
    reportObjects(reportObjects, slide->get_Shapes(), slide->get_SlideNumber());
}

अक्सर पूछे जाने वाले प्रश्न

जब मैं OLE ऑब्जेक्ट को PDF या छवि में निर्यात करता हूँ तो क्या दिखाई देता है?
निर्यात में स्लाइड पर दिखाई देने वाला आइकन या पूर्वावलोकन छवि दिखता है। उसकी उपस्थिति को नियंत्रित करने के लिए, निर्यात से पहले एक कस्टम पूर्वावलोकन सेट करें। एम्बेडेड फ़ाइल को PDF अटैचमेंट के रूप में शामिल करने के लिए, PdfOptions::set_IncludeOleData को true के साथ कॉल करें। यह विकल्प डिफ़ॉल्ट रूप से निष्क्रिय है। देखें Preserve Embedded OLE Files as PDF Attachments।

मैं PowerPoint में OLE फ्रेम के आकस्मिक बदलावों को कैसे रोक सकता हूँ?
shape-level locks लागू करें ताकि फ्रेम को स्थानांतरित करने या आकार बदलने जैसी क्रियाओं को प्रतिबंधित किया जा सके।

जब मैं प्रस्तुति खोलता हूँ तो लिंक्ड Excel ऑब्जेक्ट क्यों स्थानांतरित या आकार बदलता है?
PowerPoint लिंक्ड वर्कशीट रेंज के आयामों का उपयोग करके पूर्वावलोकन को रीफ़्रेश कर सकता है। आयामों को स्थिर रखने के लिए, फ्रेम को रेंज के अनुसार फिट करें या रेंज को एक निश्चित फ्रेम में स्केल करें और एक मेल खाता हुआ पूर्वावलोकन प्रदान करें। देखें Working Solution for Worksheet Resizing।

क्या PPTX प्रस्तुति लिंक्ड OLE ऑब्जेक्ट के लिए सापेक्ष पथ संग्रहीत कर सकती है?
सापेक्ष पथ केवल पुराने PPT फॉर्मेट में उपलब्ध है। PPTX के लिए, प्राप्तकर्ता द्वारा पहुँच योग्य पूर्ण पथ का उपयोग करें या फ़ाइल को प्रस्तुति में एम्बेड करें।