OpenOffice-OODoc - probably a bug : replaceElement looses original font

Posted on Wed May 21 14:56:03 2008 by glider
probably a bug : replaceElement looses original font
i have 2 documents A and B. In document A i define some styles ( paragraph + character ). I then use replaceElement to copy all the named styles
if($doc){ #now copy the named style root of the source file my $named_style_root_to_replace = $my_target_styles->getNamedStyleRoot(); if($named_style_root_to_replace){ $my_target_styles->replaceElement($named_style_root_to_replace, $named_style_root); } }
the style is copied, however the font of the copied style differs from the original.
Direct Responses: 8026 | Write a response