Ask Your Question
0

how can i select and delete multiple ole objects in writer [closed]

asked 2014-01-23 18:38:32 +0200

enachemitica gravatar image

I have 400 ole objects in one writer document and i can't select and delete multiple objects (just one at a time).

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2016-02-19 03:46:06.797009

1 Answer

Sort by » oldest newest most voted
0

answered 2014-01-24 08:20:10 +0200

oweng gravatar image

Unfortunately no. This is the type of task that the Navigator is ideally designed for, but the UI for the Navigator currently does not allow selecting multiple entries. The related enhancement request for allowing multiple selections in the Navigator is fdo#54834 (although the wording is heading-specific, the principle is the same).

All I can suggest is, if the file is in ODT or DOCX format, you open the file using an archive manager, and manually remove the objects. The objects themselves are usually stored in sub-directories (one per object), so removing the actual objects in this way is the easy part. The harder part is then cleaning up all the references in the XML (content.xmlin the case of an ODT). The references will all look somewhat like:

<draw:frame draw:style-name="fr1" draw:name="Object1" text:anchor-type="paragraph" svg:width="64.01pt" svg:height="37.56pt" draw:z-index="0">
    <draw:object xlink:href="./Object 1" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
    <draw:image xlink:href="./ObjectReplacements/Object 1" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
</draw:frame>
edit flag offensive delete link more

Comments

Thanks for your answer !

enachemitica gravatar imageenachemitica ( 2014-01-24 11:08:40 +0200 )edit

Question Tools

1 follower

Stats

Asked: 2014-01-23 18:38:32 +0200

Seen: 939 times

Last updated: Jan 24 '14