Witam,
Potrzebuję osadzić (nie zlinkować, tak jak jest to w kodzie poniżej) plik swf flashowy do arkusza
calc. Chcę to oczywiście zrobić z poziomu kodu basic.
Jak to zrobić, żeby plik był osadzony w dokumencie? Proszę o pilną pomoc!!!
Sub test()
dim a as Object
a=ThisComponent.CreateInstance("com.sun.star.drawing.PluginShape")
ThisComponent.Sheets.getByIndex(0).drawpage.add(a)
aPoint=createUnoStruct("com.sun.star.awt.Point")
aSize=createUnoStruct ("com.sun.star.awt.Size")
aPoint.X=0
aPoint.Y=0
aSize.Width=1000
aSize.Height=1000
a.setPosition(aPoint)
a.setSize(aSize)
a.PluginURL=ConvertToURL("C:\przykladowyplik.swf")
End Sub
Pozdrawiam
Jacek D.
--
Unsubscribe instructions: E-mail to users+help@pl.libreoffice.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/pl/users/
All messages sent to this list will be publicly archived and cannot be deleted
Context
- [pl-users] Załączenie pliku flash swf do calc · jac_dyl
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.