TemplateConsts.py 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. #
  2. # This file is part of the LibreOffice project.
  3. #
  4. # This Source Code Form is subject to the terms of the Mozilla Public
  5. # License, v. 2.0. If a copy of the MPL was not distributed with this
  6. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  7. #
  8. # This file incorporates work covered by the following license notice:
  9. #
  10. # Licensed to the Apache Software Foundation (ASF) under one or more
  11. # contributor license agreements. See the NOTICE file distributed
  12. # with this work for additional information regarding copyright
  13. # ownership. The ASF licenses this file to you under the Apache
  14. # License, Version 2.0 (the "License"); you may not use this file
  15. # except in compliance with the License. You may obtain a copy of
  16. # the License at http://www.apache.org/licenses/LICENSE-2.0 .
  17. #
  18. class TemplateConsts:
  19. FILLIN_TITLE = "<title>"
  20. FILLIN_TITLE = "<title>"
  21. FILLIN_DATE = "<date>"
  22. FILLIN_TIME = "<time>"
  23. FILLIN_LOCATION = "<location>"
  24. '''
  25. section name <b>prefix</b> for sections that contain items.
  26. this is also used as table name prefix, since each items section
  27. must contain a table whose name is identical name to the section's name.
  28. '''
  29. SECTION_ITEMS = "AGENDA_ITEMS"
  30. '''
  31. the name of the section which contains the topics.
  32. '''
  33. SECTION_TOPICS = "AGENDA_TOPICS"
  34. '''
  35. the name of the parent minutes section.
  36. '''
  37. SECTION_MINUTES_ALL = "MINUTES_ALL"
  38. '''
  39. the name of the child minutes section.
  40. This section will be duplicated for each topic.
  41. '''
  42. SECTION_MINUTES = "MINUTES"
  43. '''
  44. tagged headings and names.
  45. These will be searched in item tables (in the template) and will be
  46. replaced with resource strings.
  47. headings...
  48. '''
  49. FILLIN_MEETING_TYPE = "<meeting-type>"
  50. FILLIN_BRING = "<bring>"
  51. FILLIN_READ = "<read>"
  52. FILLIN_NOTES = "<notes>"
  53. '''
  54. names...
  55. '''
  56. FILLIN_CALLED_BY = "<called-by>"
  57. FILLIN_FACILITATOR = "<facilitator>"
  58. FILLIN_PARTICIPANTS = "<attendees>"
  59. FILLIN_NOTETAKER = "<notetaker>"
  60. FILLIN_TIMEKEEPER = "<timekeeper>"
  61. FILLIN_OBSERVERS = "<observers>"
  62. FILLIN_RESOURCE_PERSONS = "<resource-persons>"
  63. '''
  64. fillins for minutes.
  65. These will be searched in the minutes section and will be replaced
  66. with the appropriate data.
  67. '''
  68. FILLIN_MINUTES_TITLE = "<minutes-title>"
  69. FILLIN_MINUTES_LOCATION = "<minutes-location>"
  70. FILLIN_MINUTES_DATE = "<minutes-date>"
  71. FILLIN_MINUTES_TIME = "<minutes-time>"
  72. '''
  73. Minutes-topic fillins
  74. These will be searched in the minutes-child-section, and
  75. will be replaced with topic data.
  76. '''
  77. FILLIN_MINUTE_NUM = "<mnum>"
  78. FILLIN_MINUTE_TOPIC = "<mtopic>"
  79. FILLIN_MINUTE_RESPONSIBLE = "<mresponsible>"
  80. FILLIN_MINUTE_TIME = "<mtime>"