https://bz.apache.org/ooo/show_bug.cgi?id=127464

--- Comment #18 from [email protected] <[email protected]> ---
I don't know what means:
"The problem is, that the pictures are used for filling. After use, the
fill-style definition like <draw:fill-image
draw:name="WN14B736_5f_2_5f_X30Y30_5f_2"
draw:display-name="WN14B736_2_X30Y30_2"
xlink:href="Pictures/1000000000000654000008B6D97E5E90.bmp" xlink:type="simple"
xlink:show="embed" xlink:actuate="onLoad"/>
stays in the subdocument styles.xml."
Could you inform to me how to remove it from there?
Even if I deleted the 2nd sheet the file size did not reduce, that is the
visible sheet seemed empty, but almost all the data remained in the file.

This document is to show the pictures. So it is not possible to enter the
results only in this case. The results are then in another sheet already. So
that works, but I can not get the image summary.
Pictures are inserted there with macro as:

  oLinked=Doc.createInstance("com.sun.star.drawing.GraphicObjectShape")
  url$=sPath+"/"+sFile 
  surl$=sDie+"_"+Trim(Str(fi-43))
  If oBitmaps.hasByName(surl) Then
    oBitmaps.removeByName(surl)
  End If
  aPos.X=(Sheet.getCellByPosition((Nx+2)*i+pX+1,(Ny+3)*j+pY+6).Position.X)+rX
  aPos.Y=(Sheet.getCellByPosition((Nx+2)*i+pX+1,(Ny+3)*j+pY+6).Position.Y)+rY

  oBitmaps.insertByName(surl,url)
  oLinked.GraphicURL=converttourl(url$)
  rem oLinked.Anchor=Sheet.getCellByPosition((Nx+2)*i+pX+1,(Ny+3)*j+pY+6)

  c=oDrawPage.count

  oLinked.RotateAngle=rot
  oLinked.ShearAngle=0
  If mirrorX="Y" Then
    oLinked.IsMirrored=True
  Else
    oLinked.IsMirrored=False
  End If
  oLinked.Position=aPos
  oLinked.Size=aSize
  oLinked.Name=sDie
  oDrawPage.add(oLinked)

-- 
You are receiving this mail because:
You are the assignee for the issue.

Reply via email to