Index: main/sw/source/filter/ww8/wrtww8gr.cxx =================================================================== --- main/sw/source/filter/ww8/wrtww8gr.cxx (revision 1372702) +++ main/sw/source/filter/ww8/wrtww8gr.cxx (working copy) @@ -71,7 +71,8 @@ #include "wrtww8.hxx" #include "ww8par.hxx" #include "escher.hxx" - +#include "ww8attributeoutput.hxx" +#include "fmturl.hxx" #include "docsh.hxx" #include @@ -364,6 +365,14 @@ void WW8Export::OutGrf(const sw::Frame &rFrame) { + const SwFmtURL& rURL = rFrame.GetFrmFmt().GetAttrSet().GetURL(); + bool bURLStarted = false; + if( rURL.GetURL().Len() && rFrame.GetWriterType() == sw::Frame::eGraphic) + { + bURLStarted = true; + m_pAttrOutput->StartURL( rURL.GetURL(), rURL.GetTargetFrameName() ); + } + // GrfNode fuer spaeteres rausschreiben der Grafik merken pGrf->Insert(rFrame); @@ -485,6 +494,9 @@ OutputField( 0, ww::eINCLUDEPICTURE, String(), WRITEFIELD_CLOSE ); } // <-- + + if( bURLStarted ) + m_pAttrOutput->EndURL(); } GraphicDetails& GraphicDetails::operator=(const GraphicDetails &rOther)