summaryrefslogtreecommitdiffstats
path: root/kexi/doc/dev/kexi_general_import_export.txt
blob: 493349f7354aafa7747026b1e42eb60b7a7b42bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Main goals:
	*) easy extendability
	*) common look and feel for common tasks

**************************

Workflow importing : 
Step 1:
	a)
		Project->Import
			-> File
			-> Connection 
		==> All  types

	b)
		RMB item group in navigator->Import
			-> File
			-> Connection
		==> Only type of item group

------
File based:
Step 2:
	*) Lookup of any ImportSource plugin capable handling any of the possible types
        *) Filling of mime filter list on file dialog page
	*) Loading of plugin previously looked up for handing specified file
Step 3:
	*) Showing user all possible imports, eg all tables from a database
	*) Allowing source specific configuration, eg range selection in a kspread document
Step 4:
	*) loading import GUI plugin for destination kexi mimetype 
	*) Allow the user to choose how to import
			eg for tables:  import new table,
					append data to an existing table
						column remapping, renaming, ...
Step 5:
	*) doing import
		tables	: handing the chosen configuration over to PiggZ's kexidb-import architecture
		*	: GUI plugin is responsible for importing directly or loading an additional, NON visual plugin
Step 6:
	*) DONE
	

**************************

Needed facilities:
	Page Interface:		Wizard<-> Source plugin
				Wizard<-> Destination plugin
	Source interfaces:	Depending on destination type, eg table import interface, report import interface, ....
				Needed for communication between Source and Destination GUI


JoWenn