Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moving Items missing #55

Open
kucint opened this issue Sep 4, 2019 · 1 comment
Open

moving Items missing #55

kucint opened this issue Sep 4, 2019 · 1 comment
Milestone

Comments

@kucint
Copy link

kucint commented Sep 4, 2019

Is there any way to move (reparent) already existing Storage/Stream item to another Storage?
if not, I suggest to add a method to CFItem:
CFItem.MoveItem(CFItem itemToMove, CFStorage newParent);

This shall move a child item with all its underlying objects to another parent within the same CompoundFile.
Currently, to reparent an item, the object and whole underlying object tree must be manually copied, finally the original tree must be deleted. This is extremely inefficient approach.
Best!

@jeremy-visionaid
Copy link
Collaborator

@kucint Not currently, though as you mentioned it is possible. If you wanted to add support for that to the 3.0 branch though you are welcome!

@jeremy-visionaid jeremy-visionaid added this to the 3.1 milestone Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants