1. 03 May, 2013 3 kayıt (commit)
    • David Tardon's avatar
      fdo#60075 open drawings with connector attached to SVG · 30b248df
      David Tardon yazdı
      This problem arises when there is a connector attached to draw:frame
      element with multiple draw:image elements in it. The import code expects
      that they are different representations of the same image (I have not
      found if this is specified in ODF), so it only selects the most
      "suitable" for import. To do that, it imports them all and then removes
      all but the selected one. The image import context,
      SdXMLGraphicObjectShapeContext, shares the parent frame's attributes,
      which means that all the images in a frame have got the same ID. in
      SdXMLGraphicObjectShapeContext::AddShape, the created css::draw::XShape
      is registered with its ID... That means that anything that refers to the
      frame's ID, like a draw:connector, will always get the _first_ image in
      the frame.
      
      Solution is to extend comphelper::UnoInterfaceToUniqueIdentifierMapper
      to allow reserving an identifier and setting an interface for it later.
      That way, SdXMLFrameShapeContext can reserve its own ID before it starts
      importing the first draw:image, and then set the selected XShape at the
      end.
      
      Change-Id: I2e11cfd38e1e3534df2b3c01d85da0d755a266c3
      30b248df
    • David Tardon's avatar
      the var. must be persistent over multiple calls · 99187570
      David Tardon yazdı
      Change-Id: Ieb48dfe85ed16a8123917b30873f301d523ea381
      99187570
    • Matteo Casalin's avatar
      This method is not implemented · 485b1ac0
      Matteo Casalin yazdı
      Change-Id: I6ef1ce6cbfb121b18f4d79709d141cdf2f01a16f
      485b1ac0
  2. 02 May, 2013 37 kayıt (commit)