CStringConstants.m 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  1. //
  2. // CStringConstants.m
  3. // ComPDFKit
  4. //
  5. // Copyright © 2014-2022 PDF Technologies, Inc. All Rights Reserved.
  6. //
  7. // THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
  8. // AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT.
  9. // UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
  10. // This notice may not be removed from this file.
  11. //
  12. #import "CStringConstants.h"
  13. //MARK: - Markup
  14. NSString *CHighlightNoteColorKey = @"SKHighlightNoteColor";
  15. NSString *CHighlightNoteOpacityKey = @"CHighlightNoteOpacity";
  16. NSString *CUnderlineNoteColorKey = @"SKUnderlineNoteColor";
  17. NSString *CUnderlineNoteOpacityKey = @"CUnderlineNoteOpacity";
  18. NSString *CStrikeOutNoteColorKey = @"SKStrikeOutNoteColor";
  19. NSString *CStrikeOutNoteOpacityKey = @"CStrikeOutNoteOpacity";
  20. NSString *CSquigglyNoteColorKey = @"SKSquigglyNoteColor";
  21. NSString *CSquigglyNoteOpacityKey = @"SKSquigglyNoteOpacity";
  22. //MARK: - Ink
  23. NSString *CInkNoteColorKey = @"SKInkNoteColor";
  24. NSString *CInkNoteOpacityKey = @"CInkNoteOpacity";
  25. NSString *CInkNoteLineWidthKey = @"SKInkNoteLineWidth";
  26. NSString *CInkNoteLineStyleKey = @"SKInkNoteLineStyle";
  27. NSString *CInkNoteDashPatternKey = @"SKInkNoteDashPattern";
  28. //MARK: - Eraser
  29. NSString *CEraserkNoteLineWidthKey = @"CEraserkNoteLineWidth";
  30. //MARK: - FreeText
  31. NSString *CFreeTextNoteFontNameKey = @"SKFreeTextNoteFontName";
  32. NSString *CFreeTextNoteFontStyleKey = @"CFreeTextNoteFontStyleKey";
  33. NSString *CFreeTextNoteFontSizeKey = @"SKFreeTextNoteFontSize";
  34. NSString *CFreeTextNoteFontColorKey = @"SKFreeTextNoteFontColor";
  35. NSString *CFreeTextNoteAlignmentKey = @"SKFreeTextNoteAlignment";
  36. NSString *CFreeTextNoteColorKey = @"SKFreeTextNoteColor";
  37. NSString *CFreeTextNoteOpacityKey = @"CFreeTextNoteOpacity";
  38. NSString *CFreeTextNoteBorderColorKey = @"CFreeTextNoteBorderColor";
  39. NSString *CFreeTextNoteLineStyleKey = @"SKFreeTextNoteLineStyle";
  40. NSString *CFreeTextNoteLineWidthKey = @"SKFreeTextNoteLineWidth";
  41. NSString *CFreeTextNoteDashPatternKey = @"SKFreeTextNoteDashPattern";
  42. //MARK: - Note
  43. NSString *CAnchoredNoteColorKey = @"SKAnchoredNoteColor";
  44. NSString *CAnchoredNoteOpacityKey = @"CAnchoredNoteOpacity";
  45. NSString *CAnchoredNoteIconTypeKey = @"SKAnchoredNoteIconType";
  46. //MARK: - Circle
  47. NSString *CCircleNoteColorKey = @"SKCircleNoteColor";
  48. NSString *CCircleNoteOpacityKey = @"CCircleNoteOpacity";
  49. NSString *CCircleNoteInteriorColorKey = @"SKCircleNoteInteriorColor";
  50. NSString *CCircleNoteInteriorOpacityKey = @"CCircleNoteInteriorOpacity";
  51. NSString *CCircleNoteLineWidthKey = @"SKCircleNoteLineWidth";
  52. NSString *CCircleNoteLineStyleKey = @"SKCircleNoteLineStyle";
  53. NSString *CCircleNoteDashPatternKey = @"SKCircleNoteDashPattern";
  54. //MARK: - Square
  55. NSString *CSquareNoteColorKey = @"SKSquareNoteColor";
  56. NSString *CSquareNoteOpacityKey = @"CSquareNoteOpacity";
  57. NSString *CSquareNoteInteriorColorKey = @"SKSquareNoteInteriorColor";
  58. NSString *CSquareNoteInteriorOpacityKey = @"CSquareNoteInteriorOpacity";
  59. NSString *CSquareNoteLineWidthKey = @"SKSquareNoteLineWidth";
  60. NSString *CSquareNoteLineStyleKey = @"SKSquareNoteLineStyle";
  61. NSString *CSquareNoteDashPatternKey = @"SKSquareNoteDashPattern";
  62. //MARK: - Line
  63. NSString *CLineNoteColorKey = @"SKLineNoteColor";
  64. NSString *CLineNoteOpacityKey = @"CLineNoteOpacity";
  65. NSString *CLineNoteLineWidthKey = @"SKLineNoteLineWidth";
  66. NSString *CLineNoteLineStyleKey = @"SKLineNoteLineStyle";
  67. NSString *CLineNoteInteriorColorKey = @"SKLineNoteInteriorColor";
  68. NSString *CLineNoteInteriorOpacityKey = @"CLineNoteInteriorOpacity";
  69. NSString *CLineNoteDashPatternKey = @"SKLineNoteDashPattern";
  70. NSString *CLineNoteStartLineStyleKey = @"SKLineNoteStartLineStyle";
  71. NSString *CLineNoteEndLineStyleKey = @"SKLineNoteEndLineStyle";
  72. //MARK: - Arrow
  73. NSString *CArrowNoteColorKey = @"CArrowNoteColor";
  74. NSString *CArrowNoteOpacityKey = @"CArrowNoteOpacity";
  75. NSString *CArrowNoteLineWidthKey = @"CArrowNoteLineWidth";
  76. NSString *CArrowNoteInteriorColorKey = @"CArrowNoteInteriorColor";
  77. NSString *CArrowNoteInteriorOpacityKey = @"CArrowNoteInteriorOpacity";
  78. NSString *CArrowNoteLineStyleKey = @"CArrowNoteLineStyle";
  79. NSString *CArrowNoteDashPatternKey = @"CArrowNoteDashPatternKey";
  80. NSString *CArrowNoteStartStyleKey = @"CArrowNoteStartStyle";
  81. NSString *CArrowNoteEndStyleKey = @"CArrowNoteEndStyle";
  82. //MARK: - Eraser
  83. NSString *CLinkNoteTypeKey = @"CLinkNoteTypeKey";
  84. //MARK: - Form-TextField
  85. NSString *CAnnotationTextWidgetMultilineKey = @"SKAnnotationTextMultilineKey";
  86. NSString *CAnnotationTextWidgetFontColorKey = @"SKAnnotationTextWidgetFontColorKey";
  87. NSString *CAnnotationTextWidgetBorderColorKey = @"CAnnotationTextWidgetBorderColor";
  88. NSString *CAnnotationTextWidgetBackgroundColorKey = @"SKAnnotationTextWidgetBackgroundColorKey";
  89. NSString *SKAnnotationTextWidgetFontNameKey = @"SKAnnotationTextWidgetFontNameKey";
  90. NSString *SKAnnotationTextWidgetFontStyleKey = @"SKAnnotationTextWidgetFontStyleKey";
  91. NSString *SKAnnotationTextWidgetFontSizeKey = @"SKAnnotationTextWidgetFontSizeKey";
  92. NSString *CAnnotationTextWidgetAlignmenKey = @"SKAnnotationTextWidgetAlignmenKey";
  93. //MARK: - Form_Checkbox
  94. NSString *CAnnotationCheckBoxWidgetCheckedKey = @"CAnnotationCheckBoxWidgetCheckedKey";
  95. NSString *CAnnotationCheckBoxWidgetColorKey = @"CAnnotationCheckBoxWidgetColorKey";
  96. NSString *CAnnotationCheckBoxWidgetBorderColorKey = @"CAnnotationCheckBoxWidgetBorderColor";
  97. NSString *CAnnotationCheckBoxWidgetBackgroundColorKey = @"SKAnnotationCheckBoxWidgetBackgroundColorKey";
  98. NSString *CAnnotationCheckBoxWidgetButtonStyleKey = @"CAnnotationCheckBoxWidgetButtonStyleKey";
  99. //MARK: - Form_Radio
  100. NSString *CAnnotationRadioButtonBoxWidgetCheckedKey = @"CAnnotationRadioButtonBoxWidgetCheckedKey";
  101. NSString *CAnnotationRadioButtonBoxWidgetColorKey = @"CAnnotationRadioButtonBoxWidgetColorKey";
  102. NSString *CAnnotationRadioButtonWidgetBackgroundColorKey = @"SKAnnotationRadioButtonWidgetBackgroundColorKey";
  103. NSString *CAnnotationRadioButtonBoxWidgetBorderColorKey = @"CAnnotationRadioButtonBoxWidgetBorderColor";
  104. NSString *CAnnotationRadioButtonWidgetButtonStyleKey = @"CAnnotationRadioButtonWidgetButtonStyleKey";
  105. //MARK: - Form_ChoiceList
  106. NSString *CAnnotationChoiceListWidgetLineStyleKey = @"CAnnotationChoiceListWidgetLineStyle";
  107. NSString *CAnnotationChoiceListWidgetLineWidthKey = @"CAnnotationChoiceListWidgetLineWidth";
  108. NSString *CAnnotationChoiceListWidgetBorderColorKey = @"CAnnotationChoiceListWidgetBorderColor";
  109. NSString *CAnnotationChoiceListWidgetFontNameKey = @"SKAnnotationChoiceListWidgetFontNameKey";
  110. NSString *CAnnotationChoiceListWidgetFontSizeKey = @"SKAnnotationChoiceListWidgetFontSizeKey";
  111. NSString *CAnnotationChoiceListWidgetFontColorKey = @"SKAnnotationChoiceListWidgetFontColorKey";
  112. NSString *CAnnotationChoiceListWidgetBackgroundColorKey = @"SKAnnotationChoiceListWidgetBackgroundColorKey";
  113. NSString *CAnnotationChoiceListWidgetBackgroundOpacityKey = @"CAnnotationChoiceListWidgetBackgroundOpacity";
  114. NSString *CDefaultChoiceListWidgetWidthKey = @"CDefaultChoiceListWidgetWidth";
  115. NSString *CDefaultChoiceListWidgetHeightKey = @"CDefaultChoiceListWidgetHeight";
  116. NSString *CAnnotationChoiceWidgetLineStyleKey = @"CAnnotationChoiceWidgetLineStyle";
  117. NSString *CAnnotationChoiceWidgetLineWidthKey = @"CAnnotationChoiceWidgetLineWidth";
  118. NSString *CAnnotationChoiceWidgetBorderColorKey = @"CAnnotationChoiceWidgetBorderColor";
  119. NSString *CAnnotationChoiceWidgetFontNameKey = @"SKAnnotationChoiceWidgetFontNameKey";
  120. NSString *CAnnotationChoiceWidgetFontSizeKey = @"SKAnnotationChoiceWidgetFontSizeKey";
  121. NSString *CAnnotationChoiceWidgetFontColorKey = @"SKAnnotationChoiceWidgetFontColorKey";
  122. NSString *CAnnotationChoiceWidgetBackgroundColorKey = @"SKAnnotationChoiceWidgetBackgroundColorKey";
  123. NSString *CAnnotationChoiceWidgetBackgroundOpacityKey = @"CAnnotationChoiceWidgetBackgroundOpacity";
  124. NSString *CDefaultChoiceWidgetWidthKey = @"CDefaultChoiceWidgetWidth";
  125. NSString *CDefaultChoiceWidgetHeightKey = @"CDefaultChoiceWidgetHeight";
  126. NSString *CAnnotationActionButtonWidgetLineStyleKey = @"CAnnotationActionButtonWidgetLineStyle";
  127. NSString *CAnnotationActionButtonWidgetLineWidthKey = @"CAnnotationActionButtonWidgetLineWidth";
  128. NSString *CAnnotationActionButtonWidgetBorderColorKey = @"CAnnotationActionButtonWidgetBorderColor";
  129. NSString *CAnnotationActionButtonWidgetFontNameKey = @"SKAnnotationActionButtonWidgetFontNameKey";
  130. NSString *CAnnotationActionButtonWidgetFontSizeKey = @"SKAnnotationActionButtonWidgetFontSizeKey";
  131. NSString *CAnnotationActionButtonWidgetFontColorKey = @"SKAnnotationActionButtonWidgetFontColorKey";
  132. NSString *CAnnotationActionButtonWidgetBackgroundColorKey = @"SKAnnotationActionButtonWidgetBackgroundColorKey";
  133. NSString *CAnnotationActionButtonWidgetBackgroundOpacityKey = @"CAnnotationActionButtonWidgetBackgroundOpacity";
  134. NSString *CDefaultActionButtonWidgetWidthKey = @"CDefaultActionButtonWidgetWidth";
  135. NSString *CDefaultActionButtonWidgetHeightKey = @"CDefaultActionButtonWidgetHeight";
  136. NSString *CAnnotationSignatureWidgetLineStyleKey = @"CAnnotationSignatureWidgetLineStyle";
  137. NSString *CAnnotationSignatureWidgetLineWidthKey = @"CAnnotationSignatureWidgetLineWidth";
  138. NSString *CAnnotationSignatureWidgetBorderColorKey = @"CAnnotationSignatureWidgetBorderColor";
  139. NSString *CAnnotationSignatureWidgetBackgroundColorKey = @"CAnnotationSignatureWidgetBackgroundColor";
  140. NSString *CAnnotationSignatureWidgetBackgroundOpacityKey = @"CAnnotationSignatureWidgetBackgroundOpacity";
  141. NSString *CDefaultSignatureWidgetWidthKey = @"CDefaultSignatureWidgeWidth";
  142. NSString *CDefaultSignatureWidgeHeightKey = @"CDefaultSignatureWidgeHeight";
  143. //Fill & Sign
  144. NSString *CAnnotationSelfSignTureColorKey = @"SKAnnotationSelfSignTureColorKey";
  145. NSString *CAnnotationSelfSignTureOpacityKey = @"CAnnotationSelfSignTureOpacity";
  146. NSString *CAnnotationSelfSignTureLineWidthKey = @"SKAnnotationSelfSignTureLineWidthKey";
  147. NSString *CAnnotationSelfSignFalseColorKey = @"SKAnnotationSelfSignFalseColorKey";
  148. NSString *CAnnotationSelfSignFalseOpacityKey = @"CAnnotationSelfSignFalseOpacity";
  149. NSString *CAnnotationSelfSignFalseLineWidthKey = @"SKAnnotationSelfSignFalseLineWidthKey";
  150. NSString *CAnnotationSelfSignCircleColorKey = @"SKAnnotationSelfSignCircleColorKey";
  151. NSString *CAnnotationSelfSignCircleOpacityKey = @"CAnnotationSelfSignCircleOpacity";
  152. NSString *CAnnotationSelfSignCircleLineWidthKey = @"SKAnnotationSelfSignCircleLineWidthKey";
  153. NSString *CAnnotationSelfSignLineColorKey = @"SKAnnotationSelfSignLineColorKey";
  154. NSString *CAnnotationSelfSignLineOpacityKey = @"CAnnotationSelfSignLineOpacity";
  155. NSString *CAnnotationSelfSignLineLineWidthKey = @"SKAnnotationSelfSignLineLineWidthKey";
  156. NSString *CAnnotationSelfSignDotColorKey = @"SKAnnotationSelfSignDotColorKey";
  157. NSString *CAnnotationSelfSignDotOpacityKey = @"CAnnotationSelfSignDotOpacity";
  158. NSString *CAnnotationSelfSignDateFormatterKey = @"SKAnnotationSelfSignDateFormatterKey";
  159. NSString *CAnnotationSelfSignDateFormatterIncludeTimeKey = @"SKAnnotationSelfSignDateFormatterIncludeTimeKey";
  160. NSString *CDefaultNoteWidthKey = @"SKDefaultNoteWidth";
  161. NSString *CDefaultNoteHeightKey = @"SKDefaultNoteHeight";
  162. NSString *CDefaultAnchoredNoteWidthKey = @"CDefaultAnchoredNoteWidth";
  163. NSString *CDefaultAnchoredNoteHeightKey = @"CDefaultAnchoredNoteHeight";
  164. NSString *CDefaultTextFieldNoteWidthKey = @"CDefaultTextFieldNoteWidth";
  165. NSString *CDefaultTextFieldNoteHeightKey = @"CDefaultTextFieldNoteHeight";
  166. NSString *CDefaultRadioButtonNoteWidthKey = @"CDefaultRadioButtonNoteWidth";
  167. NSString *CDefaultRadioButtonNoteHeightKey = @"CDefaultRadioButtonNoteHeight";
  168. NSString *CDefaultCheckBoxNoteWidthKey = @"CDefaultCheckBoxNoteWidth";
  169. NSString *CDefaultCheckBoxNoteHeightKey = @"CDefaultCheckBoxNoteHeight";
  170. NSString *CDefaultListMenuNoteWidthKey = @"CDefaultListMenuNoteWidth";
  171. NSString *CDefaultListMenuNoteHeightKey = @"CDefaultListMenuNoteHeight";
  172. NSString *CDefaultComboBoxNoteWidthKey = @"CDefaultComboBoxNoteWidth";
  173. NSString *CDefaultComboBoxNoteHeightKey = @"CDefaultComboBoxNoteHeight";
  174. NSString *CDefaultActionButtonNoteWidthKey = @"CDefaultActionButtonNoteWidth";
  175. NSString *CDefaultActionButtonNoteHeightKey = @"CDefaultActionButtonNoteHeight";
  176. NSString *CDefaultSignatureNoteWidthKey = @"CDefaultSignatureNoteWidth";
  177. NSString *CDefaultSignatureNoteHeightKey = @"CDefaultSignatureNoteHeight";
  178. NSString *CDefaultSignFalseNoteWidthKey = @"CDefaultSignFalseNoteWidth";
  179. NSString *CDefaultSignFalseNoteHeightKey = @"CDefaultSignFalseNoteHeight";
  180. NSString *CDefaultSignTureNoteWidthKey = @"CDefaultSignTureNoteWidth";
  181. NSString *CDefaultSignTureNoteHeightKey = @"CDefaultSignTureNoteHeight";
  182. NSString *CDefaultSignCircleNoteWidthKey = @"CDefaultSignCircleNoteWidth";
  183. NSString *CDefaultSignCircleNoteHeightKey = @"CDefaultSignCircleNoteHeight";
  184. NSString *CDefaultSignLineNoteWidthKey = @"CDefaultSignLineNoteWidth";
  185. NSString *CDefaultSignLineNoteHeightKey = @"CDefaultSignLineNoteHeight";
  186. NSString *CDefaultSignDotNoteWidthKey = @"CDefaultSignDotNoteWidth";
  187. NSString *CDefaultSignDotNoteHeightKey = @"CDefaultSignDotNoteHeight";
  188. //Redact
  189. NSString *CAnnotationRedactBorderColorKey = @"CAnnotationRedactBorderColor";
  190. NSString *CAnnotationRedactFillColorKey = @"KMPDFAnnotationRedactFillColor";
  191. NSString *CAnnotationRedactFontColorKey = @"KMPDFAnnotationRedactFontColor";
  192. NSString *CAnnotationRedactIsOverlayTextKey = @"CAnnotationRedactIsOverlayText";
  193. NSString *CAnnotationRedactTextAlignmentKey = @"KMPDFAnnotationRedactTextAlignment";
  194. NSString *CAnnotationRedactFontSizeKey = @"KMPDFAnnotationRedactFontSize";
  195. NSString *CAnnotationRedactOverlayStringKey = @"CAnnotationRedactOverlayString";
  196. // Measure
  197. NSString *CMeasureLineBorderColorKey = @"CMeasureLineBorderColor";
  198. NSString *CMeasureMultilineBorderColorKey = @"CMeasureMultilineBorderColor";
  199. NSString *CMeasurePolygonalBorderColorKey = @"CMeasurePolygonalBorderColor";
  200. NSString *CMeasureRectanglesBorderColorKey = @"CMeasureRectanglesBorderColor";
  201. NSString *CMeasurePolygonalLineColorKey = @"CAnnotationPolyLineBorderColor";
  202. NSString *CMeasureRectanglesLineColorKey = @"CMeasureRectanglesLineColor";
  203. NSString *CMeasureLineOpacityKey = @"CMeasureLineOpacity";
  204. NSString *CMeasureMultilineOpacityKey = @"CMeasureMultilineOpacity";
  205. NSString *CMeasurePolygonalOpacityKey = @"CMeasurePolygonalOpacity";
  206. NSString *CMeasureRectanglesOpacityKey = @"CMeasureRectanglesOpacity";
  207. NSString *CMeasureLineWidthKey = @"CMeasureLineWidth";
  208. NSString *CMeasureMultilineLineWidthKey = @"CMeasureMultilineLineWidth";
  209. NSString *CMeasurePolygonalLineWidthKey = @"CMeasurePolygonalLineWidth";
  210. NSString *CMeasureRectanglesLineWidthKey = @"CMeasureRectanglesLineWidth";
  211. NSString *CMeasureLineStyleKey = @"CMeasureLineStyle";
  212. NSString *CMeasureMultilineLineStyleKey = @"CMeasureMultilineLineStyle";
  213. NSString *CMeasurePolygonalLineStyleKey = @"CMeasurePolygonalLineStyle";
  214. NSString *CMeasureRectanglesLineStyleKey = @"CMeasureRectanglesLineStyle";
  215. NSString *CMeasureLineDashPatternKey = @"CMeasureLineDashPattern";
  216. NSString *CMeasureMultilineDashPatternKey = @"CMeasureMultilineDashPattern";
  217. NSString *CMeasurePolygonalDashPatternKey = @"CMeasurePolygonalDashPattern";
  218. NSString *CMeasureRectanglesDashPatternKey = @"CMeasureRectanglesDashPattern";
  219. NSString *CMeasureLineStartStyleKey = @"CMeasureLineStartStyle";
  220. NSString *CMeasureLineEndStyleKey = @"CMeasureLineEndStyle";
  221. NSString *CMeasureLineFontNameKey = @"CMeasureLineFontName";
  222. NSString *CMeasureMultilineFontNameKey = @"CMeasureMultilineFontName";
  223. NSString *CMeasurePolygonalFontNameKey = @"CMeasurePolygonalFontName";
  224. NSString *CMeasureRectanglesFontNameKey = @"CMeasureRectanglesFontName";
  225. NSString *CMeasureLineFontStyleKey = @"CMeasureLineFontStyle";
  226. NSString *CMeasureMultilineFontStyleKey = @"CMeasureMultilineFontStyle";
  227. NSString *CMeasurePolygonalFontStyleKey = @"CMeasurePolygonalFontStyle";
  228. NSString *CMeasureRectanglesFontStyleKey = @"CMeasureRectanglesFontStyle";
  229. NSString *CMeasureLineFontSizeKey = @"CMeasureLineFontSize";
  230. NSString *CMeasureMultilineFontSizeKey = @"CMeasureMultilineFontSize";
  231. NSString *CMeasurePolygonalFontSizeKey = @"CMeasurePolygonalFontSize";
  232. NSString *CMeasureRectanglesFontSizeKey = @"CMeasureRectanglesFontSize";
  233. NSString *CMeasureLineFontColorKey = @"CMeasureLineFontColor";
  234. NSString *CMeasureMultilineFontColorKey = @"CMeasureMultilineFontColor";
  235. NSString *CMeasurePolygonalFontColorKey = @"CMeasurePolygonalFontColor";
  236. NSString *CMeasureRectanglesFontColorKey = @"CMeasureRectanglesFontColor";
  237. //待删除
  238. NSString *CAnnotationTextWidgetLineWidthKey = @"CAnnotationTextWidgetLineWidthKey";