DocumentationMarkup.hpp 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*##############################################################################
  2. HPCC SYSTEMS software Copyright (C) 2016 HPCC Systems®.
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. ############################################################################## */
  13. #ifndef _DOCUMENTATION_MARKUP_HPP
  14. #define _DOCUMENTATION_MARKUP_HPP
  15. static const char* DM_SECT2 = "sect2";
  16. static const char* DM_SECT2_END = "</sect2>\n";
  17. static const char* DM_SECT3_BEGIN = "";
  18. static const char* DM_SECT3_END = "";
  19. static const char* DM_SECT4_BEGIN = "";
  20. static const char* DM_SECT4_END = "";
  21. static const char* DM_ID = "id";
  22. static const char* DM_PARA = "para";
  23. static const char* DM_PARA_BEGIN = "<para><emphasis role=\"bold\">";
  24. static const char* DM_PARA_END = "</emphasis></para>\n";
  25. static const char* DM_LINE_BREAK = "<?linebreak?>";
  26. static const char* DM_LINE_BREAK2 = "_<?linebreak?>";
  27. static const char* DM_TITLE_BEGIN = DM_PARA_BEGIN;
  28. static const char* DM_TITLE_END = DM_PARA_END;
  29. static const char* DM_TITLE_LITERAL = "title";
  30. static const char* DM_TABLE_BEGIN = "<informaltable colsep=\"1\" rowsep=\"1\" ";
  31. static const char* DM_TABLE_ID_BEGIN = "id=\"";
  32. static const char* DM_TABLE_ID_UNDEFINED = "UNDEFINED";
  33. static const char* DM_TABLE_ID_END = "\">\n";
  34. static const char* DM_TABLE_END = "</informaltable>\n";
  35. static const char* DM_TABLE_ROW = "row";
  36. static const char* DM_TABLE_ENTRY = "entry";
  37. static const char* DM_TGROUP = "tgroup";
  38. static const char* DM_TGROUP4_BEGIN = "<tgroup cols=\"4\" align=\"left\">\n";
  39. static const char* DM_TGROUP4_END = "</tgroup>\n";
  40. static const char* DM_TGROUP_END = "</tgroup>\n";
  41. static const char* DM_TBODY_BEGIN = "<thead><row>\n<entry>attribute</entry>\n<entry>values</entry>\n<entry>default</entry>\n<entry>required</entry>\n</row>\n</thead><tbody>\n";
  42. static const char* DM_TBODY_END = "</tbody>\n";
  43. static const char* DM_COL_SPEC4 = "<colspec colwidth=\"155pt\" /><colspec colwidth=\"2*\" /><colspec colwidth=\"1*\" /><colspec colwidth=\"0.5*\" />\n";
  44. static const char* DM_HEADING = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE sect1 PUBLIC \"-//OASIS//DTD DocBook XML V4.5//EN\"\n\"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd\">\n";
  45. #endif // _DOCUMENTATION_MARKUP_HPP