Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index

On 23/09/2012 19:06, Mirosław Zalewski wrote:
On 23/09/2012 at 18:43, AndrewB <> wrote:

Do I really have to do them one-at-a-time?
You can write a macro or unzip ODT file and modify one of XML files in there.
hope this code will help



sub changeanchoring
odocument = thiscomponent
Dim oDocGraphics as Object
dim oGraphic1 as Object
dim sGfilename as string
dim vAlleFotos as variant

oDocGraphics = odocument.GraphicObjects

 vAlleFotos = oDocGraphics.getElementNames()
             For iG = 0 to oDocGraphics.count - 1
             iFotNr = ig + 1

                sFotMetNr = vAlleFotos(iG)
                oGraphic1 = oDocGraphics.GetbyName(sFotMetNr)
if oGraphic1.AnchorType <> oGraphic1.AnchorType =
end sub

But if you don't have any programming background, then I am afraid that doing
them one-by-one will be easiest solution. Quite tiresome, though.

For unsubscribe instructions e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


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.