OpenOffice - Project-Management With Gantt-Charts
OpenOffice - Project-Management With Gantt-Charts
OpenOffice - Project-Management With Gantt-Charts
Gantt-Charts
OpenOffice.org 2.0 Calc
Contents
Contents..............................................................................................................................................1
Copyright and trademark information................................................................................................2
Feedback........................................................................................................................................2
Acknowledgments.........................................................................................................................2
Modifications and updates.............................................................................................................3
Overview............................................................................................................................................1
Starting the Process.............................................................................................................................2
Converting the simple bar-chart into a Gantt chart.............................................................................5
Using the chart as a graphic in other applications..............................................................................9
Extending Gantt charting for Project Management..........................................................................11
About the macro...........................................................................................................................12
Example: Planning a relocation...................................................................................................13
Controlling the Project.................................................................................................................17
Public Documentation License, Version 1.0....................................................................................19
Feedback
Please direct any comments or suggestions about this document to:
grsingleton@openoffice.org
Acknowledgments
I wish to thank every member of the German and French Native Language Communities who
are not mentioned but contributed to my being able to provide a translation.
To S. Schneider for fixing my errors and grammar.
Overview
Gantt Charts are a way to graphically show progress of a project. Management of a project is
made easier if it is viewed as small manageable items where the dependencies are visually
illustrated, parallel processes are discovered, the overall processing time determined and
progress tracked. The tasks of a project can be quite complex and dependent on each other.
With a project management tool, such as a Gantt chart,all subtasks of a task can be viewed
graphically.
In this document a relocation-process to another city is used for all examples and is based upon
the accompanying Calc template, .pjm_template_english.ots which may be downloaded from
http://documentation.openoffice.org/HOW_TO/
Relocation DD to M
House-hunting
Cancel apartment DD
Organise relocation
Relocation
Registration office
Reregister car
In illustration 1, the subtasks of the relocation-process appear on the y-axis, and the time line
on the x-axis. The bars show when a task should start and when it will be finished. Blue bars
show tasks which have been completed. Yellow bars show work which still must be done.
From the dialogue “AutoFormat Chart” define the selection range. Neither the first row
(containing the column label) nor the first column (containing the task name) should be
included as data.
Choose the horizontal bar-chart and click “Columns” to indicate that the data are arranged in
columnar form.
Note: This changes the assignment of the axis in OpenOffice.org Calc. Now the horizontal axis is called “Y” and
the vertical axis is called “X”.
Click “Next >>” once again and enter chart and axis titles:
The task names are on the vertical axis (“Task 1” to “Task 8”) and the time line is on the
horizontal axis.
Note: Ensure that no element in the diagram is selected, because otherwise the axis-properties can not be edited
Select the y-axis, which now is the horizontal time line. (One could also select the
horizontal axis using a left-click then right-click to open the context menu and finally choose
Object Properties ... to format this axis.)
Set the Minimum to the real start-date, In this example this is 01/01/05. Furthermore the axis
should get the start date, so check the checkbox “Automatic” in the line “Axis at”:
The orange bar symbolizes the time up to the start of the task. This bar should be made
invisible. For this select the orange bar with a left-click, and then open its Object Properties
after a right click.
Under the tab “Borders” choose Style – Invisible, and under the tab “Area” choose Fill –
None. Now the chart presents itself as follows:
The current version of Gantt.zip contains the example spreadsheet and the spreadsheet itself
can be downloaded from
http://documentation.openoffice.org/HOW_TO/spreadsheet/pjm_template.ots
Note: This template uses macros and upon opening displays a security warning. Therefore, macros must be
enabled to use the file.
The file, created from the template, contains the following columns:
• “Info” - Information about the progress of the task
• “No.” - unique number of the task. It is recommended to count in intervals of 100, to be
able to add tasks later on
• “Activity” - description of the task
• “Start” - start-date of the task
• “Duration” - planned or actual duration of the task in calendar days
• “End” - end-date of the task. This gets calculated based on the start-date and duration.
• “Progress” in percentage
• “Done” - Duration * progress
• “Undone” - expected time remaining: Duration - Done
• “Predecessor” - List of tasks, which have to be completed, before this task can start.
Separation is made by spaces.
The column titles in the first row can be labeled freely, but the columns must not change their
position.
Some columns have a colored background:
• gray: these columns contain formulas, which are calculated automatically
• light blue: these columns can be edited manually, they can possibly be changed by the
macro.
It is recommended to use the last row for the end of the project. Thus new tasks, which are
inserted above, are displayed in the chart automatically.
In preparing the set of tasks, getting mail forwarded was missed. So we inserted the activity
“Forwarding request” in row 8 after the fact. Therefore this activity has the number 650.
Inserting a row does not automatically copy any formulae, thus all the formulae must be copied
to each cell in the new row manually.
Next insert the start-date for the not-dependent tasks, as well as duration and expected end-
date:
House-hunting starts on 01/03 and should be finished by 31/08. For all the other tasks the
duration is given.
Now, define the dependencies of the tasks. The relocation (700) for example can not start
before the new leasing contract is signed (400) and the relocation is organized (500). The tasks
300-9999 have no dependencies, thus there are no start-dates for these tasks.
Next insert the start-date for the not-dependent tasks, as well as duration and expected end-
date:
House-hunting starts on 01/03 and should be finished by 31/08. For all the other tasks the
duration is given.
Now define the dependencies of the tasks. For example, relocation (700) can not start before
the new leasing contract is signed (400) and relocation is organized (500). The tasks 300-9999
have no dependencies, thus there are no start-dates for these tasks.
As 20% of house-hunting are already done, and the current apartment is already canceled, the
progress is 20% and 100% respectively.
At this point call the macro by clicking on the button “Update”. The duration and end-dates are
calculated, and the column start is completed.
The organization of the relocation, the registration at the office and the opening of an account
can be done simultaneously. On the other hand the bank account can not be moved
immediately, because the current apartment is not yet relocated.
If a task is completed, insert the real End-date, delete the duration and set the progress to
100%. When calling “Update” the next time, the required duration will be calculated.
After each change in the table,invoke the macro ”Update” to update the table accordingly.
The “Info” column shows the current status of the project:
Cancelling the bank's order is due and not on schedule, this means, that the end-date is prior
to the current date.
All the other tasks are not due yet, they are not marked.
1.2. "Contributor" means a person or entity who creates or 2.1 Initial Writer Grant.
contributes to the creation of Modifications.
The Initial Writer hereby grants You a world-wide, royalty-
1.3. "Documentation" means the Original Documentation or free, non-exclusive license to use, reproduce, prepare
Modifications or the combination of the Original Modifications of, compile, publicly perform, publicly display,
Documentation and Modifications, in each case including demonstrate, market, disclose and distribute the
portions thereof. Documentation in any form, on any media or via any
Electronic Distribution Mechanism or other method now
1.4. "Electronic Distribution Mechanism" means a mechanism known or later discovered, and to sublicense the foregoing
generally accepted for the electronic transfer of data. rights to third parties through multiple tiers of sublicensees in
accordance with the terms of this License.
1.5. "Initial Writer" means the individual or entity identified as
the Initial Writer in the notice required by the Appendix. The license rights granted in this Section 2.1 ("Initial Writer
Grant") are effective on the date Initial Writer first distributes
1.6. "Larger Work" means a work which combines Original Documentation under the terms of this License.
Documentation or portions thereof with documentation or
other writings not governed by the terms of this License. 2.2. Contributor Grant.
1.7. "License" means this document. Each Contributor hereby grants You a world-wide, royalty-
free, non-exclusive license to use, reproduce, prepare
1.8. "Modifications" means any addition to or deletion from Modifications of, compile, publicly perform, publicly display,
the substance or structure of either the Original demonstrate, market, disclose and distribute the
Documentation or any previous Modifications, such as a Documentation in any form, on any media or via any
translation, abridgment, condensation, or any other form in Electronic Distribution Mechanism or other method now
which the Original Documentation or previous Modifications known or later discovered, and to sublicense the foregoing
may be recast, transformed or adapted. A work consisting of rights to third parties through multiple tiers of sublicensees in
editorial revisions, annotations, elaborations, and other accordance with the terms of this License.
modifications which, as a whole represent an original work of
authorship, is a Modification. For example, when The license rights granted in this Section 2.2 ("Contributor
Documentation is released as a series of documents, a Grant") are effective on the date Contributor first makes
Modification is: Commercial Use of the Documentation.
A. Any addition to or deletion from the contents of the 3.0 DISTRIBUTION OBLIGATIONS.
Original Documentation or previous Modifications.
3.1. Application of License.
B. Any new documentation that contains any part of the
Original Documentation or previous Modifications. The Modifications which You create or to which You
contribute are governed by the terms of this License, including
1.9. "Original Documentation" means documentation without limitation Section 2.2 ("Contributor Grant"). The
described as Original Documentation in the notice required by Documentation may be distributed only under the terms of this
the Appendix, and which, at the time of its release under this License or a future version of this License released in
License is not already Documentation governed by this accordance with Section 5.0 ("Versions of the License"), and
License. You must include a copy of this License with every copy of
the Documentation You distribute. You may not offer or
1.10. "Editable Form" means the preferred form of the impose any terms that alter or restrict the applicable version of
Documentation for making Modifications to it. The this License or the recipients' rights hereunder. However, You
Documentation can be in an electronic, compressed or archival may include an additional document offering the additional
form, provided the appropriate decompression or de-archiving rights described in Section 3.5 ("Required Notices").
software is widely available for no charge.
3.2. Availability of Documentation.
1.11. "You" (or "Your") means an individual or a legal entity
exercising rights under, and complying with all of the terms of Any Modification which You create or to which You
this License or a future version of this License issued under contribute must be made available publicly in Editable Form
Section 5.0 ("Versions of the License"). For legal entities, under the terms of this License via a fixed medium or an
"You" includes any entity which controls, is controlled by, or accepted Electronic Distribution Mechanism.
is under common control with You. For purposes of this
definition, "control" means (a) the power, direct or indirect, to 3.3. Description of Modifications.
cause the direction or management of such entity, whether by
contract or otherwise, or (b) ownership of more than fifty All Documentation to which You contribute must identify the
[Document Title] 19
Public Documentation License, Version 1.0
changes You made to create that Documentation and the date 5.2. Effect of New Versions.
of any change. You must include a prominent statement that
the Modification is derived, directly or indirectly, from Once Documentation has been published under a particular
Original Documentation provided by the Initial Writer and version of the License, You may always continue to use it
include the name of the Initial Writer in the Documentation or under the terms of that version. You may also choose to use
via an electronic link that describes the origin or ownership of such Documentation under the terms of any subsequent
the Documentation. The foregoing change documentation version of the License published
may be created by using an electronic program that by______________________ [Insert name of the foundation,
automatically tracks changes to the Documentation, and such company, Initial Writer, or whoever may modify this License].
changes must be available publicly for at least five years No one other than ________________________[Insert name
following release of the changed Documentation. of the foundation, company, Initial Writer, or whoever may
modify this License] has the right to modify the terms of this
3.4. Intellectual Property Matters. License. Filling in the name of the Initial Writer, Original
Documentation or Contributor in the notice described in the
Contributor represents that Contributor believes that Appendix shall not be deemed to be Modifications of this
Contributor's Modifications are Contributor's original License.
creation(s) and/or Contributor has sufficient rights to grant the
rights conveyed by this License. 6.0 DISCLAIMER OF WARRANTY.
[Document Title] 20
Public Documentation License, Version 1.0
If Documentation is being acquired by or on behalf of the U.S. The contents of this Documentation are subject to the Public
Government or by a U.S. Government prime contractor or Documentation License Version 1.0 (the "License"); you may
subcontractor (at any tier), then the Government's rights in only use this Documentation if you comply with the terms of
Documentation will be only as set forth in this Agreement; this License. A copy of the License is available at
this is in accordance with 48 CFR 227.7201 through http://www.openoffice.org/licenses/PDL.rtf.
227.7202-4 (for Department of Defense (DOD) acquisitions)
and with 48 CFR 2.101 and 12.212 (for non-DOD The Original Documentation is _________________. The
acquisitions). Initial Writer of the Original Documentation is
______________________ (C) ____. All Rights Reserved.
10.0 MISCELLANEOUS. (Initial Writer contact(s):_______________[Insert
hyperlink/alias].)
This License represents the complete agreement concerning
the subject matter hereof. If any provision of this License is Contributor(s):
held to be unenforceable, such provision shall be reformed ______________________________________.
only to the extent necessary to make it enforceable. This
License shall be governed by California law, excluding its Portions created by ______ are Copyright
conflict-of-law provisions. With respect to disputes or any (C)_________[Insert year(s)]. All Rights Reserved.
litigation relating to this License, the losing party is (Contributor contact(s):________________[Insert
responsible for costs, including without limitation, court costs hyperlink/alias]).
and reasonable attorneys' fees and expenses. The application
of the United Nations Convention on Contracts for the Note: The text of this Appendix may differ slightly from the
International Sale of Goods is expressly excluded. Any law or text of the notices in the files of the Original Documentation.
regulation which provides that the language of a contract shall You should use the text of this Appendix rather than the text
be construed against the drafter shall not apply to this License. found in the Original Documentation for Your Modifications.
Appendix
[Document Title] 21