text stringlengths 0 234 |
|---|
-- Table.Head ("End"); |
-- Table.Cline (3, 4); |
-- |
-- Table.Put (""); |
-- Table.Put (""); |
-- Table.Head ("Name"); |
-- Table.Head ("N."); |
-- Table.Put (""); |
-- Table.Put (""); |
-- Table.Put (""); |
-- end Full_Header; |
-- |
-- procedure Light_Header is |
-- |
-- begin |
-- Table.Put (""); |
-- Table.Put (""); |
-- Table.Multicolumn (2, "c", "\stilehead{Leader}"); |
-- -- Table.Put ("Leader N.", "\stilehead"); |
-- -- Table.Put ("Leader""); |
-- Table.Put (""); |
-- Table.Put (""); |
-- Table.Put (""); |
-- Table.Put (""); |
-- Table.Cline (3, 4); |
-- |
-- Table.Multicolumn (1, "c", "WP"); |
-- Table.Multicolumn (1, "c", "WP Name"); |
-- Table.Multicolumn (1, "c", "Name"); |
-- Table.Multicolumn (1, "c", "N."); |
-- Table.Multicolumn (1, "c", "~"); |
-- Table.Multicolumn (1, "c", "PM"); |
-- Table.Multicolumn (1, "c", "Start"); |
-- Table.Multicolumn (1, "c", "End"); |
-- end Light_Header; |
Project_Effort : Person_Months := 0; |
begin |
-- case Style is |
-- when Full => Full_Header; |
-- when Light => Light_Header; |
-- end case; |
Put_Line (Output.all, "\summarywptableheader"); |
-- Table.Hline; |
for Pos in Input.All_WPs loop |
declare |
use EU_Projects.Nodes.Partners; |
procedure Put_Arg (X : String) is |
begin |
Put (Output.all, "{" & X & "}"); |
end Put_Arg; |
WP : constant Project_WP_Access := Element (Pos); |
Wp_Effort : constant Person_Months := Total_Effort (Wp); |
Leader : constant Partner_Access := |
Partner_Access (Input.Find (Node_Label (WP.Leader))); |
begin |
Put (Output.all, "\summarywpitem"); |
Put_Arg (WP.Full_Index (Prefixed => False)); |
Put_Arg (WP.Short_Name); |
Put_Arg (Leader.Short_Name); |
Put_Arg (Leader.Full_Index (Prefixed => False)); |
Put_Arg (Chop (Wp_Effort'Image)); |
Put_Arg (EU_Projects.Times.Image (Formatter, Wp.Starting_Time)); |
Put_Arg (EU_Projects.Times.Image (Formatter, Wp.Ending_Time)); |
New_Line (Output.all); |
Project_Effort := Project_Effort + Wp_Effort; |
-- Table.Hline (Style = Full); |
Function Definition: procedure Compact_Header_Line is |
Function Body: begin |
Table.Multicolumn (2, "c", ""); |
for M in 1 .. Last_Month loop |
if M mod Step = 0 then |
Table.Multicolumn |
(Span => 1, |
Spec => "c", |
Content => "\stilemese{" & Image (M) & "}"); |
else |
Table.Put (""); |
end if; |
Table.Put (""); |
end loop; |
Table.New_Row; |
end Compact_Header_Line; |
procedure First_Header_Line is |
begin |
Table.Put (""); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.