1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef INCLUDED_SVX_INC_SVX_ITEMS_HRC
21 #define INCLUDED_SVX_INC_SVX_ITEMS_HRC
23 #include <sal/types.h>
24 #include <svx/svxitems.hrc>
25 #include <svx/svxids.hrc>
26 #include <editeng/editids.hrc>
29 #define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
31 const std::pair<const char*, sal_uInt16> RID_ATTR_NAMES[] =
33 { NC_("RID_ATTR_NAMES", "Scale") , SID_ATTR_ZOOM },
34 { NC_("RID_ATTR_NAMES", "Brush") , SID_ATTR_BRUSH },
35 { NC_("RID_ATTR_NAMES", "Tab stops") , SID_ATTR_TABSTOP },
36 { NC_("RID_ATTR_NAMES", "Character") , SID_ATTR_CHAR },
37 { NC_("RID_ATTR_NAMES", "Font") , SID_ATTR_CHAR_FONT },
38 { NC_("RID_ATTR_NAMES", "Font posture") , SID_ATTR_CHAR_POSTURE },
39 { NC_("RID_ATTR_NAMES", "Font weight") , SID_ATTR_CHAR_WEIGHT },
40 { NC_("RID_ATTR_NAMES", "Shadowed") , SID_ATTR_CHAR_SHADOWED },
41 { NC_("RID_ATTR_NAMES", "Individual words") , SID_ATTR_CHAR_WORDLINEMODE },
42 { NC_("RID_ATTR_NAMES", "Outline") , SID_ATTR_CHAR_CONTOUR },
43 { NC_("RID_ATTR_NAMES", "Strikethrough") , SID_ATTR_CHAR_STRIKEOUT },
44 { NC_("RID_ATTR_NAMES", "Underline") , SID_ATTR_CHAR_UNDERLINE },
45 { NC_("RID_ATTR_NAMES", "Font size") , SID_ATTR_CHAR_FONTHEIGHT },
46 { NC_("RID_ATTR_NAMES", "Font color") , SID_ATTR_CHAR_COLOR },
47 { NC_("RID_ATTR_NAMES", "Kerning") , SID_ATTR_CHAR_KERNING },
48 { NC_("RID_ATTR_NAMES", "Effects") , SID_ATTR_CHAR_CASEMAP },
49 { NC_("RID_ATTR_NAMES", "Language"), SID_ATTR_CHAR_LANGUAGE },
50 { NC_("RID_ATTR_NAMES", "Position") , SID_ATTR_CHAR_ESCAPEMENT },
51 { NC_("RID_ATTR_NAMES", "Character blinking") , SID_ATTR_CHAR_AUTOKERN },
52 { NC_("RID_ATTR_NAMES", "Character set color") , SID_ATTR_CHAR_CHARSETCOLOR },
53 { NC_("RID_ATTR_NAMES", "Overline") , SID_ATTR_CHAR_OVERLINE },
54 { NC_("RID_ATTR_NAMES", "Alignment") , SID_ATTR_PARA_ADJUST },
55 { NC_("RID_ATTR_NAMES", "Line spacing") , SID_ATTR_PARA_LINESPACE },
56 { NC_("RID_ATTR_NAMES", "Page Break") , SID_ATTR_PARA_PAGEBREAK },
57 { NC_("RID_ATTR_NAMES", "Hyphenation") , SID_ATTR_PARA_HYPHENZONE },
58 { NC_("RID_ATTR_NAMES", "Do not split paragraph"), SID_ATTR_PARA_SPLIT },
59 { NC_("RID_ATTR_NAMES", "Orphans") , SID_ATTR_PARA_ORPHANS },
60 { NC_("RID_ATTR_NAMES", "Widows") , SID_ATTR_PARA_WIDOWS },
61 { NC_("RID_ATTR_NAMES", "Paragraph spacing") , SID_ATTR_PARA_ULSPACE },
62 { NC_("RID_ATTR_NAMES", "Paragraph indent") , SID_ATTR_PARA_LRSPACE },
63 { NC_("RID_ATTR_NAMES", "Indent") , SID_ATTR_LRSPACE },
64 { NC_("RID_ATTR_NAMES", "Spacing") , SID_ATTR_ULSPACE },
65 { NC_("RID_ATTR_NAMES", "Page") , SID_ATTR_PAGE },
66 { NC_("RID_ATTR_NAMES", "Page Style") , SID_ATTR_PARA_MODEL },
67 { NC_("RID_ATTR_NAMES", "Keep with next paragraph"), SID_ATTR_PARA_KEEP },
68 { NC_("RID_ATTR_NAMES", "Blinking") , SID_ATTR_FLASH },
69 { NC_("RID_ATTR_NAMES", "Register-true") , SID_ATTR_PARA_REGISTER },
70 { NC_("RID_ATTR_NAMES", "Character background") , SID_ATTR_BRUSH_CHAR },
71 { NC_("RID_ATTR_NAMES", "Asian font") , SID_ATTR_CHAR_CJK_FONT },
72 { NC_("RID_ATTR_NAMES", "Size of Asian font") , SID_ATTR_CHAR_CJK_FONTHEIGHT },
73 { NC_("RID_ATTR_NAMES", "Language of Asian font"), SID_ATTR_CHAR_CJK_LANGUAGE },
74 { NC_("RID_ATTR_NAMES", "Posture of Asian font") , SID_ATTR_CHAR_CJK_POSTURE },
75 { NC_("RID_ATTR_NAMES", "Weight of Asian font") , SID_ATTR_CHAR_CJK_WEIGHT },
76 { NC_("RID_ATTR_NAMES", "CTL") , SID_ATTR_CHAR_CTL_FONT },
77 { NC_("RID_ATTR_NAMES", "Size of complex scripts") , SID_ATTR_CHAR_CTL_FONTHEIGHT },
78 { NC_("RID_ATTR_NAMES", "Language of complex scripts"),SID_ATTR_CHAR_CTL_LANGUAGE },
79 { NC_("RID_ATTR_NAMES", "Posture of complex scripts"), SID_ATTR_CHAR_CTL_POSTURE },
80 { NC_("RID_ATTR_NAMES", "Weight of complex scripts"), SID_ATTR_CHAR_CTL_WEIGHT },
81 { NC_("RID_ATTR_NAMES", "Double-lined") , SID_ATTR_CHAR_TWO_LINES },
82 { NC_("RID_ATTR_NAMES", "Emphasis mark") , SID_ATTR_CHAR_EMPHASISMARK },
83 { NC_("RID_ATTR_NAMES", "Text spacing") , SID_ATTR_PARA_SCRIPTSPACE },
84 { NC_("RID_ATTR_NAMES", "Hanging punctuation") , SID_ATTR_PARA_HANGPUNCTUATION },
85 { NC_("RID_ATTR_NAMES", "Forbidden characters") , SID_ATTR_PARA_FORBIDDEN_RULES },
86 { NC_("RID_ATTR_NAMES", "Rotation") , SID_ATTR_CHAR_ROTATED },
87 { NC_("RID_ATTR_NAMES", "Character scaling") , SID_ATTR_CHAR_SCALEWIDTH },
88 { NC_("RID_ATTR_NAMES", "Relief") , SID_ATTR_CHAR_RELIEF },
89 { NC_("RID_ATTR_NAMES", "Vertical text alignment") , SID_PARA_VERTALIGN }
94 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */