Difference between revisions of "Embeddings"

From Freeplane - free mind mapping and knowledge management software
(Created page with "= Embeddings (Zipped mindmap handling, e.g. for embedded images) = git branch: embeddings 1st step: map = directory (optionally multiple maps) - save mindmap folder/data in ...")
 
 
Line 2: Line 2:
 
git branch: embeddings
 
git branch: embeddings
  
1st step: map = directory (optionally multiple maps)
+
* 1st step: map = directory (optionally multiple maps)
- save mindmap folder/data in IExtension (do not change NodeModel!)
+
** save mindmap folder/data in IExtension (do not change NodeModel!)
- create temp. directory
+
** create temp. directory
- _external_ images only, new actions for embedded images!
+
** _external_ images only, new actions for embedded images! (actions are filtered depending on radio button ext./embedded!)
    (actions are filtered depending on radio button ext./embedded!)
+
** reference counting
- reference counting
+
** challenge: clones
- challenge: clones
+
** add new classes/packages as far as possible
- add new classes/packages as far as possible
+
* 2nd step: copy between mind maps
2nd step: copy between mind maps
+
* 3rd step:  import + export filters
3rd step:  import + export filters
 
  
 
UNDO: when to actually delete files with refcount=0 => on shutdown, maybe
 
UNDO: when to actually delete files with refcount=0 => on shutdown, maybe
Line 31: Line 30:
  
 
special challenges:
 
special challenges:
- only for node extensions (ext. images) or also handle references in node
+
* only for node extensions (ext. images) or also handle references in node HTML using protocol changes?
  HTML using protocol changes?
+
* threading
- threading
+
* .mmz or use .mm and auto-detect type
- .mmz or use .mm and auto-detect type
 

Latest revision as of 10:39, 18 April 2015

Embeddings (Zipped mindmap handling, e.g. for embedded images)

git branch: embeddings

  • 1st step: map = directory (optionally multiple maps)
    • save mindmap folder/data in IExtension (do not change NodeModel!)
    • create temp. directory
    • _external_ images only, new actions for embedded images! (actions are filtered depending on radio button ext./embedded!)
    • reference counting
    • challenge: clones
    • add new classes/packages as far as possible
  • 2nd step: copy between mind maps
  • 3rd step: import + export filters

UNDO: when to actually delete files with refcount=0 => on shutdown, maybe with a "trash" concept

completely transparent zip handling with truezip library (EPL)?

different protocols: external file with relative path (in zip) vs absolute path (global) --> like in office (save in document vs save externally) --> different action for relative vs global?

change export filters

use different URLs for internal (mmz) files and external (mm) files (http:// URLs are not changed!)

Volker: there can be references audio/video/ppt/text files that can be embedded or external. i.e. icons or fonts could be embedded

special challenges:

  • only for node extensions (ext. images) or also handle references in node HTML using protocol changes?
  • threading
  • .mmz or use .mm and auto-detect type