Skip to content

Instantly share code, notes, and snippets.

View kuldikin's full-sized avatar

Aleksandr kuldikin

  • Saint Petersburg, Russia
View GitHub Profile
@kuldikin
kuldikin / makeImgOffline
Created February 13, 2014 18:29
OpenOffice macros. Makes all images in .odt file available offline.
Sub Main
'Inspect ThisComponent.getDrawPage()
ConvertAllLinkedGraphics
End Sub
Sub ConvertAllLinkedGraphics(Optional aDoc)
Dim oDoc ' Working document
Dim oDP ' Draw page
Dim i% ' Index counter
Dim oGraph ' Graph object in the draw page