1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 package com.sun.star.wizards.agenda;
25 
26 /**
27  * @author rpiterman
28  *
29  */
30 public interface TemplateConsts
31 {
32 
33 	public final static String FILLIN_TITLE = "<title>";
34 	public final static String FILLIN_DATE = "<date>";
35 	public final static String FILLIN_TIME = "<time>";
36 	public final static String FILLIN_LOCATION = "<location>";
37 	/**
38 	 * section name <b>prefix</b> for sections that contain items.
39 	 * this is also used as table name prefix, since each items section
40 	 * must contain a table whose name is identical to the section's name.
41 	 */
42 	public final static String SECTION_ITEMS = "AGENDA_ITEMS";
43 	/**
44 	 * the name of the section which contains the topics.
45 	 */
46 	public final static String SECTION_TOPICS = "AGENDA_TOPICS";
47 	/**
48 	 * the name of the parent minutes section.
49 	 */
50 	public final static String SECTION_MINUTES_ALL = "MINUTES_ALL";
51 	/**
52 	 * the name of the child minutes section.
53 	 * This section will be duplicated for each topic.
54 	 */
55 	public final static String SECTION_MINUTES = "MINUTES"; //public final static String AGENDA_ITEM = "AGENDA_ITEM";
56 	/**
57 	 * tagged headings and names.
58 	 * These will be searched in item tables (in the template) and will be
59 	 * replaced with resource strings.
60 	 *
61 	 * headings...
62 	 */
63 	public final static String FILLIN_MEETING_TYPE = "<meeting-type>";
64 	public final static String FILLIN_BRING = "<bring>";
65 	public final static String FILLIN_READ = "<read>";
66 	public final static String FILLIN_NOTES = "<notes>";
67 	/**
68 	 * names...
69 	 */
70 	public final static String FILLIN_CALLED_BY = "<called-by>";
71 	public final static String FILLIN_FACILITATOR = "<facilitator>";
72 	public final static String FILLIN_PARTICIPANTS = "<attendees>";
73 	public final static String FILLIN_NOTETAKER = "<notetaker>";
74 	public final static String FILLIN_TIMEKEEPER = "<timekeeper>";
75 	public final static String FILLIN_OBSERVERS = "<observers>";
76 	public final static String FILLIN_RESOURCE_PERSONS = "<resource-persons>";
77 	/**
78 	 * Styles (paragraph styles) used for agenda items.
79 	 * headings styles
80 	 *
81 	 */
82 	public final static String STYLE_MEETING_TYPE = "MeetingType";
83 	public final static String STYLE_BRING = "Bring";
84 	public final static String STYLE_READ = "Read";
85 	public final static String STYLE_NOTES = "Notes";
86 	/**
87 	 * names styles
88 	 */
89 	public final static String STYLE_CALLED_BY = "CalledBy";
90 	public final static String STYLE_FACILITATOR = "Facilitator";
91 	public final static String STYLE_PARTICIPANTS = "Attendees";
92 	public final static String STYLE_NOTETAKER = "Notetaker";
93 	public final static String STYLE_TIMEKEEPER = "Timekeeper";
94 	public final static String STYLE_OBSERVERS = "Observers";
95 	public final static String STYLE_RESOURCE_PERSONS = "ResourcePersons";
96 	/**
97 	 * Styles (paragraph styles) used for the <b>text</b> of agenda items
98 	 * The agenda wizard creates fill-in fields with the given styles...)
99 	 *
100 	 * headings fields styles
101 	 */
102 	public final static String STYLE_MEETING_TYPE_TEXT = "MeetingTypeText";
103 	public final static String STYLE_BRING_TEXT = "BringText";
104 	public final static String STYLE_READ_TEXT = "ReadText";
105 	public final static String STYLE_NOTES_TEXT = "NotesText";
106 	/**
107 	 * names field styles
108 	 */
109 	public final static String STYLE_CALLED_BY_TEXT = "CalledByText";
110 	public final static String STYLE_FACILITATOR_TEXT = "FacilitatorText";
111 	public final static String STYLE_PARTICIPANTS_TEXT = "AttendeesText";
112 	public final static String STYLE_NOTETAKER_TEXT = "NotetakerText";
113 	public final static String STYLE_TIMEKEEPER_TEXT = "TimekeeperText";
114 	public final static String STYLE_OBSERVERS_TEXT = "ObserversText";
115 	public final static String STYLE_RESOURCE_PERSONS_TEXT = "ResourcePersonsText";
116 	/**
117 	 * Fillins for the topic table.
118 	 * These strings will be searched inside the topic table as
119 	 * part of detecting its structure.
120 	 */
121 	public final static String FILLIN_TOPIC_NUMBER = "<num>";
122 	public final static String FILLIN_TOPIC_TOPIC = "<topic>";
123 	public final static String FILLIN_TOPIC_RESPONSIBLE = "<responsible>";
124 	public final static String FILLIN_TOPIC_TIME = "<topic-time>";
125 	/**
126 	 * fillins for minutes.
127 	 * These will be searched in the minutes section and will be replaced
128 	 * with the appropriate data.
129 	 */
130 	public final static String FILLIN_MINUTES_TITLE = "<minutes-title>";
131 	public final static String FILLIN_MINUTES_LOCATION = "<minutes-location>";
132 	public final static String FILLIN_MINUTES_DATE = "<minutes-date>";
133 	public final static String FILLIN_MINUTES_TIME = "<minutes-time>";
134 	/**
135 	 * Minutes-topic fillins
136 	 * These will be searched in the minutes-child-section, and
137 	 * will be replaced with topic data.
138 	 */
139 	public final static String FILLIN_MINUTE_NUM = "<mnum>";
140 	public final static String FILLIN_MINUTE_TOPIC = "<mtopic>";
141 	public final static String FILLIN_MINUTE_RESPONSIBLE = "<mresponsible>";
142 	public final static String FILLIN_MINUTE_TIME = "<mtime>";
143 }
144