1 /************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27 package com.sun.star.wizards.agenda; 28 29 /** 30 * @author rpiterman 31 * 32 */ 33 public interface TemplateConsts 34 { 35 36 public final static String FILLIN_TITLE = "<title>"; 37 public final static String FILLIN_DATE = "<date>"; 38 public final static String FILLIN_TIME = "<time>"; 39 public final static String FILLIN_LOCATION = "<location>"; 40 /** 41 * section name <b>prefix</b> for sections that contain items. 42 * this is also used as table name prefix, since each items section 43 * must contain a table whos name is identical name to the section's name. 44 */ 45 public final static String SECTION_ITEMS = "AGENDA_ITEMS"; 46 /** 47 * the name of the section which contains the topics. 48 */ 49 public final static String SECTION_TOPICS = "AGENDA_TOPICS"; 50 /** 51 * the name of the parent minutes section. 52 */ 53 public final static String SECTION_MINUTES_ALL = "MINUTES_ALL"; 54 /** 55 * the name of the child nimutes section. 56 * This section will be duplicated for each topic. 57 */ 58 public final static String SECTION_MINUTES = "MINUTES"; //public final static String AGENDA_ITEM = "AGENDA_ITEM"; 59 /** 60 * taged headings and names. 61 * These will be searched in item tables (in the template) and will be 62 * replaced with resource strings. 63 * 64 * headings... 65 */ 66 public final static String FILLIN_MEETING_TYPE = "<meeting-type>"; 67 public final static String FILLIN_BRING = "<bring>"; 68 public final static String FILLIN_READ = "<read>"; 69 public final static String FILLIN_NOTES = "<notes>"; 70 /** 71 * names... 72 */ 73 public final static String FILLIN_CALLED_BY = "<called-by>"; 74 public final static String FILLIN_FACILITATOR = "<facilitator>"; 75 public final static String FILLIN_PARTICIPANTS = "<attendees>"; 76 public final static String FILLIN_NOTETAKER = "<notetaker>"; 77 public final static String FILLIN_TIMEKEEPER = "<timekeeper>"; 78 public final static String FILLIN_OBSERVERS = "<observers>"; 79 public final static String FILLIN_RESOURCE_PERSONS = "<resource-persons>"; 80 /** 81 * Styles (paragraph styles) used for agenda items. 82 * headings styles 83 * 84 */ 85 public final static String STYLE_MEETING_TYPE = "MeetingType"; 86 public final static String STYLE_BRING = "Bring"; 87 public final static String STYLE_READ = "Read"; 88 public final static String STYLE_NOTES = "Notes"; 89 /** 90 * names styles 91 */ 92 public final static String STYLE_CALLED_BY = "CalledBy"; 93 public final static String STYLE_FACILITATOR = "Facilitator"; 94 public final static String STYLE_PARTICIPANTS = "Attendees"; 95 public final static String STYLE_NOTETAKER = "Notetaker"; 96 public final static String STYLE_TIMEKEEPER = "Timekeeper"; 97 public final static String STYLE_OBSERVERS = "Observers"; 98 public final static String STYLE_RESOURCE_PERSONS = "ResourcePersons"; 99 /** 100 * Styles (paragraph styles) used for the <b>text</b> of agenda items 101 * The agenda wizard creates fill-in fields with the given styles...) 102 * 103 * headings fields styles 104 */ 105 public final static String STYLE_MEETING_TYPE_TEXT = "MeetingTypeText"; 106 public final static String STYLE_BRING_TEXT = "BringText"; 107 public final static String STYLE_READ_TEXT = "ReadText"; 108 public final static String STYLE_NOTES_TEXT = "NotesText"; 109 /** 110 * names field styles 111 */ 112 public final static String STYLE_CALLED_BY_TEXT = "CalledByText"; 113 public final static String STYLE_FACILITATOR_TEXT = "FacilitatorText"; 114 public final static String STYLE_PARTICIPANTS_TEXT = "AttendeesText"; 115 public final static String STYLE_NOTETAKER_TEXT = "NotetakerText"; 116 public final static String STYLE_TIMEKEEPER_TEXT = "TimekeeperText"; 117 public final static String STYLE_OBSERVERS_TEXT = "ObserversText"; 118 public final static String STYLE_RESOURCE_PERSONS_TEXT = "ResourcePersonsText"; 119 /** 120 * Fillins for the topic table. 121 * These strings will be searched inside the topic table as 122 * part of detecting its structure. 123 */ 124 public final static String FILLIN_TOPIC_NUMBER = "<num>"; 125 public final static String FILLIN_TOPIC_TOPIC = "<topic>"; 126 public final static String FILLIN_TOPIC_RESPONSIBLE = "<responsible>"; 127 public final static String FILLIN_TOPIC_TIME = "<topic-time>"; 128 /** 129 * fillins for minutes. 130 * These will be searched in the minutes section and will be replaced 131 * with the appropriate data. 132 */ 133 public final static String FILLIN_MINUTES_TITLE = "<minutes-title>"; 134 public final static String FILLIN_MINUTES_LOCATION = "<minutes-location>"; 135 public final static String FILLIN_MINUTES_DATE = "<minutes-date>"; 136 public final static String FILLIN_MINUTES_TIME = "<minutes-time>"; 137 /** 138 * Minutes-topic fillins 139 * These will be searched in the minutes-child-section, and 140 * will be replaced with topic data. 141 */ 142 public final static String FILLIN_MINUTE_NUM = "<mnum>"; 143 public final static String FILLIN_MINUTE_TOPIC = "<mtopic>"; 144 public final static String FILLIN_MINUTE_RESPONSIBLE = "<mresponsible>"; 145 public final static String FILLIN_MINUTE_TIME = "<mtime>"; 146 } 147