You are on page 1of 12

Request for Proposals

Rev 1 (03-07-2012)

Importing and converting xls files to SQLite in


iOS5 and creating a tree table representation with
charts
(Storyboard based xcode 4.2)

March 2012

Date
03-07-2012

Version
1

Author
Roberto Torres

Approved
03-07-2012

Comments
Release 0

Request for Proposals

Rev 1 (03-07-2012)

Request for Proposals

Rev 1 (03-07-2012)

C ONTENT
Goal .............................................................................................................................................................. 4
Scope ............................................................................................................. Error! Bookmark not defined.
Introduction.................................................................................................................................................. 4
Description of the Required Behavior .......................................................................................................... 4
Source Data Structure .................................................................................................................................. 5
Sheet 1 data.................................................................................................................................................. 6
Sheet 2 graphic representation .................................................................................................................... 9
Charts ......................................................................................................................................................... 10

Request for Proposals

Rev 1 (03-07-2012)

G OAL
The aim of this document is to describe all the requirements needed to
be covered by the development requested. This document also
indicates the person that should be contacted and the mail address
where the proposal should be sent.

I NTRODUCTION
The application needs to read xls files, transform them into SQLite format and
represent them as a tree table in devices with iOS5.

D ESCRIPTION OF THE R EQUIRED


B EHAVIOR
If we have a look to Figure 1, what we need is:
a) The application has to read a XLS file stored in a server.
b) The XLS file will contain data grouped as in the file1.xls example
c) The application will be able to parse the data contained in the xls and
show it graphically as explained in the diagram below

Request for Proposals

Rev 1 (03-07-2012)

App reads XLS file


stored in a server

App

Data is parsed and is


used to create the
graphics

S OURCE D ATA S TRUCTURE


The XLS will have 6 different sheets. Every sheet contains tables that will be
represented graphically as described next.

Request for Proposals

Rev 1 (03-07-2012)

S HEE T 1

DAT A

The sheet 1 will contain data as shown in this example. The CHRT:ADDS file structure will never change.

CHRT: ADDS
Title 1
Title 1.1
Title 1.2
Title 1.3
Title 1.4
Title 1.5
Title 2
Title 2.1
Title 2.2
Title 2.3
Title 2.4
(n Titles)
Title n.1
Title n.2
Title n.3
Etc.

XDV
110,0
Apr-11
110,0
20,0
40,0
10,0
10,0
30,0
110,0
20,0
25,0
30,0
35,0

May-11
110,0
20,0
40,0
10,0
10,0
30,0
110,0
20,0
25,0
30,0
35,0

EFD
WER
GHR
vs. EER
ERT
QEE
120,0
4,0%
7,2%
-6,8%
220,0
3,8%
Jun-11
Jul-11
Aug-11
Sep-11
Oct-11
Nov-11
Dec-11
Jan-12
Feb-12
Mar-12
110,0
110,0
110,0
110,0
110,0
110,0
110,0
110,0
110,0
110,0
20,0
20,0
20,0
20,0
20,0
20,0
20,0
20,0
20,0
20,0
40,0
40,0
40,0
40,0
40,0
40,0
40,0
40,0
40,0
40,0
10,0
10,0
10,0
10,0
10,0
10,0
10,0
10,0
10,0
10,0
10,0
10,0
10,0
10,0
10,0
10,0
10,0
10,0
10,0
10,0
30,0
30,0
30,0
30,0
30,0
30,0
30,0
30,0
30,0
30,0
110,0
110,0
110,0
110,0
110,0
110,0
110,0
110,0
110,0
110,0
20,0
20,0
20,0
20,0
20,0
20,0
20,0
20,0
20,0
20,0
25,0
25,0
25,0
25,0
25,0
25,0
25,0
25,0
25,0
25,0
30,0
30,0
30,0
30,0
30,0
30,0
30,0
30,0
30,0
30,0
35,0
35,0
35,0
35,0
35,0
35,0
35,0
35,0
35,0
35,0

Request for Proposals

Rev 1 (03-07-2012)

Request for Proposals

Rev 1 (03-07-2012)

S HEE T 2

DAT A

MENU:
TEST1

NTD

EAM

VNM

ZoO

DEF.

WER

WRF

25,3%

18,1%

4,3p.p.

5,3p.p.

6,3p.p.

20,1%

2,3.p.p.

NovOct-11 11

Dec11

Apr11
Title 1

May11

Jun11

Jul11

Aug11

Sep11

Jan12

Feb12

Mar12

21,0% 21,0% 21,0% 21,0% 21,0%

21,0% 21,0%

21,0% 21,0%

21,0% 21,0% 21,0%

Title 1.1

20,0% 20,0% 20,0% 20,0% 20,0%

20,0% 20,0%

20,0% 20,0%

20,0% 20,0% 20,0%

Title 1.2

30,0% 30,0% 30,0% 30,0% 30,0%

30,0% 30,0%

30,0% 30,0%

30,0% 30,0% 30,0%

Title 1.3

25,0% 25,0% 25,0% 25,0% 25,0%

25,0% 25,0%

25,0% 25,0%

25,0% 25,0% 25,0%

Title 1.4

20,0% 20,0% 20,0% 20,0% 20,0%

20,0% 20,0%

20,0% 20,0%

20,0% 20,0% 20,0%

Title 1.5

40,0% 40,0% 40,0% 40,0% 40,0%

40,0% 40,0%

40,0% 40,0%

40,0% 40,0% 40,0%

Title 2.1

25,0% 25,0% 25,0% 25,0% 25,0%

25,0% 25,0%

25,0% 25,0%

25,0% 25,0% 25,0%

Title 2.2

30,0% 30,0% 30,0% 30,0% 30,0%

30,0% 30,0%

30,0% 30,0%

30,0% 30,0% 30,0%

Title 2.3

20,0% 20,0% 20,0% 20,0% 20,0%

20,0% 20,0%

20,0% 20,0%

20,0% 20,0% 20,0%

Title 2.4

40,0% 40,0% 40,0% 40,0% 40,0%

40,0% 40,0%

40,0% 40,0%

40,0% 40,0% 40,0%

Title 2.5

20,0% 20,0% 20,0% 20,0% 20,0%

20,0% 20,0%

20,0% 20,0%

20,0% 20,0% 20,0%

Title 2.6

30,0% 30,0% 30,0% 30,0% 30,0%

30,0% 30,0%

30,0% 30,0%

30,0% 30,0% 30,0%

15,0% 15,0% 15,0% 15,0% 15,0%

15,0% 15,0%

15,0% 15,0%

15,0% 15,0% 15,0%

3,0%

3,0%

3,0%

3,0%

Title 2

Description
1
Title
3.1
Title
3.1.1

3,0%

3,0%

3,0%

3,0%

3,0%

3,0%

3,0%

3,0%

Request for Proposals

Rev 1 (03-07-2012)

S HEE T 2

G RAPH IC RE PRESE NTA TI O N

Sample graph with 3 levels data representation.


A dynamic component should be created to graphically represent a table with as many levels as the Excel will have. Depending on the number of levels, the table will be expandable
or not. The table has to be scrollable if the data does not fit the screen. It should be formatted for landscape and portrait mode.

Request for Proposals

Rev 1 (03-07-2012)

C HA RT S

Graphs that show the evolution of the values should be also created. The component has to be editable in color, values and legends. The graph should represent the values
of a row. The row will be defined in a parameter.

Request for Proposals

Rev 1 (03-07-2012)

Two types of graphs should be defined for each data group of the XLS. In order to make a dynamic
application, the development should consider representing a graph that includes information from as
many rows as the document will have. It also should be able to change depending on the time scale
selected by the user (as shown in the image).
Methods should be implemented to get the rows and easily represent the graphs.

Request for Proposals

Rev 1 (03-07-2012)

You might also like