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 package com.sun.star.wizards.agenda;
24 
25 /**
26  * @author rpiterman
27  *
28  */
29 public interface TemplateConsts
30 {
31 
32     public final static String FILLIN_TITLE = "<title>";
33     public final static String FILLIN_DATE = "<date>";
34     public final static String FILLIN_TIME = "<time>";
35     public final static String FILLIN_LOCATION = "<location>";
36     /**
37      * section name <b>prefix</b> for sections that contain items.
38      * this is also used as table name prefix, since each items section
39      * must contain a table whos name is identical name to the section's name.
40      */
41     public final static String SECTION_ITEMS = "AGENDA_ITEMS";
42     /**
43      * the name of the section which contains the topics.
44      */
45     public final static String SECTION_TOPICS = "AGENDA_TOPICS";
46     /**
47      * the name of the parent minutes section.
48      */
49     public final static String SECTION_MINUTES_ALL = "MINUTES_ALL";
50     /**
51      * the name of the child nimutes section.
52      * This section will be duplicated for each topic.
53      */
54     public final static String SECTION_MINUTES = "MINUTES";    //public final static String AGENDA_ITEM = "AGENDA_ITEM";
55     /**
56      * taged headings and names.
57      * These will be searched in item tables (in the template) and will be
58      * replaced with resource strings.
59      *
60      * headings...
61      */
62     public final static String FILLIN_MEETING_TYPE = "<meeting-type>";
63     public final static String FILLIN_BRING = "<bring>";
64     public final static String FILLIN_READ = "<read>";
65     public final static String FILLIN_NOTES = "<notes>";
66     /**
67      * names...
68      */
69     public final static String FILLIN_CALLED_BY = "<called-by>";
70     public final static String FILLIN_FACILITATOR = "<facilitator>";
71     public final static String FILLIN_PARTICIPANTS = "<attendees>";
72     public final static String FILLIN_NOTETAKER = "<notetaker>";
73     public final static String FILLIN_TIMEKEEPER = "<timekeeper>";
74     public final static String FILLIN_OBSERVERS = "<observers>";
75     public final static String FILLIN_RESOURCE_PERSONS = "<resource-persons>";
76     /**
77      * Styles (paragraph styles) used for agenda items.
78      * headings styles
79      *
80      */
81     public final static String STYLE_MEETING_TYPE = "MeetingType";
82     public final static String STYLE_BRING = "Bring";
83     public final static String STYLE_READ = "Read";
84     public final static String STYLE_NOTES = "Notes";
85     /**
86      * names styles
87      */
88     public final static String STYLE_CALLED_BY = "CalledBy";
89     public final static String STYLE_FACILITATOR = "Facilitator";
90     public final static String STYLE_PARTICIPANTS = "Attendees";
91     public final static String STYLE_NOTETAKER = "Notetaker";
92     public final static String STYLE_TIMEKEEPER = "Timekeeper";
93     public final static String STYLE_OBSERVERS = "Observers";
94     public final static String STYLE_RESOURCE_PERSONS = "ResourcePersons";
95     /**
96      * Styles (paragraph styles) used for the <b>text</b> of agenda items
97      * The agenda wizard creates fill-in fields with the given styles...)
98      *
99      * headings fields styles
100      */
101     public final static String STYLE_MEETING_TYPE_TEXT = "MeetingTypeText";
102     public final static String STYLE_BRING_TEXT = "BringText";
103     public final static String STYLE_READ_TEXT = "ReadText";
104     public final static String STYLE_NOTES_TEXT = "NotesText";
105     /**
106      * names field styles
107      */
108     public final static String STYLE_CALLED_BY_TEXT = "CalledByText";
109     public final static String STYLE_FACILITATOR_TEXT = "FacilitatorText";
110     public final static String STYLE_PARTICIPANTS_TEXT = "AttendeesText";
111     public final static String STYLE_NOTETAKER_TEXT = "NotetakerText";
112     public final static String STYLE_TIMEKEEPER_TEXT = "TimekeeperText";
113     public final static String STYLE_OBSERVERS_TEXT = "ObserversText";
114     public final static String STYLE_RESOURCE_PERSONS_TEXT = "ResourcePersonsText";
115     /**
116      * Fillins for the topic table.
117      * These strings will be searched inside the topic table as
118      * part of detecting its structure.
119      */
120     public final static String FILLIN_TOPIC_NUMBER = "<num>";
121     public final static String FILLIN_TOPIC_TOPIC = "<topic>";
122     public final static String FILLIN_TOPIC_RESPONSIBLE = "<responsible>";
123     public final static String FILLIN_TOPIC_TIME = "<topic-time>";
124     /**
125      * fillins for minutes.
126      * These will be searched in the minutes section and will be replaced
127      * with the appropriate data.
128      */
129     public final static String FILLIN_MINUTES_TITLE = "<minutes-title>";
130     public final static String FILLIN_MINUTES_LOCATION = "<minutes-location>";
131     public final static String FILLIN_MINUTES_DATE = "<minutes-date>";
132     public final static String FILLIN_MINUTES_TIME = "<minutes-time>";
133     /**
134      * Minutes-topic fillins
135      * These will be searched in the minutes-child-section, and
136      * will be replaced with topic data.
137      */
138     public final static String FILLIN_MINUTE_NUM = "<mnum>";
139     public final static String FILLIN_MINUTE_TOPIC = "<mtopic>";
140     public final static String FILLIN_MINUTE_RESPONSIBLE = "<mresponsible>";
141     public final static String FILLIN_MINUTE_TIME = "<mtime>";
142 }
143