summaryrefslogtreecommitdiff
path: root/svx/source/items
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2010-01-19 08:02:04 +0100
committerMathias Bauer <mba@openoffice.org>2010-01-19 08:02:04 +0100
commit3d7a9891b2309c30da4a12b4cf5f5fd222195f2b (patch)
treeacbaf022ff9fa36f03362772ca270f99dbc1d855 /svx/source/items
parentaae1e6285d0dc4122377f8e7980391f77982de9f (diff)
#i107450#: use reliable way to access attribute name strings
Diffstat (limited to 'svx/source/items')
-rw-r--r--svx/source/items/svxitems.src442
1 files changed, 71 insertions, 371 deletions
diff --git a/svx/source/items/svxitems.src b/svx/source/items/svxitems.src
index 1f11f25da217..c0a94491d51b 100644
--- a/svx/source/items/svxitems.src
+++ b/svx/source/items/svxitems.src
@@ -28,10 +28,78 @@
*
************************************************************************/
// include ------------------------------------------------------------------
+
#include <svx/svxitems.hrc>
- // pragma -------------------------------------------------------------------
+#include <svx/svxids.hrc>
+#include <editeng/editids.hrc>
+
+StringArray RID_ATTR_NAMES
+{
+ ItemList =
+ {
+ < "Scale" ; SID_ATTR_ZOOM ; > ;
+ < "Brush" ; SID_ATTR_BRUSH ; > ;
+ < "Tab stops" ; SID_ATTR_TABSTOP ; > ;
+ < "Character" ; SID_ATTR_CHAR ; > ;
+ < "Font" ; SID_ATTR_CHAR_FONT ; > ;
+ < "Font posture" ; SID_ATTR_CHAR_POSTURE ; > ;
+ < "Font weight" ; SID_ATTR_CHAR_WEIGHT ; > ;
+ < "Shadowed" ; SID_ATTR_CHAR_SHADOWED ; > ;
+ < "Individual words" ; SID_ATTR_CHAR_WORDLINEMODE ; > ;
+ < "Outline" ; SID_ATTR_CHAR_CONTOUR ; > ;
+ < "Strikethrough" ; SID_ATTR_CHAR_STRIKEOUT ; > ;
+ < "Underline" ; SID_ATTR_CHAR_UNDERLINE ; > ;
+ < "Font size" ; SID_ATTR_CHAR_FONTHEIGHT ; > ;
+ < "Rel. Font size" ; SID_ATTR_CHAR_PROPSIZE ; > ;
+ < "Font color" ; SID_ATTR_CHAR_COLOR ; > ;
+ < "Kerning" ; SID_ATTR_CHAR_KERNING ; > ;
+ < "Effects" ; SID_ATTR_CHAR_CASEMAP ; > ;
+ < "Language"; SID_ATTR_CHAR_LANGUAGE ; > ;
+ < "Position" ; SID_ATTR_CHAR_ESCAPEMENT ; > ;
+ < "Blinking" ; SID_ATTR_CHAR_AUTOKERN ; > ;
+ < "Character set color" ; SID_ATTR_CHAR_CHARSETCOLOR ; > ;
+ < "Overline" ; SID_ATTR_CHAR_OVERLINE ; > ;
+ < "Paragraph" ; SID_ATTR_PARA ; > ;
+ < "Alignment" ; SID_ATTR_PARA_ADJUST ; > ;
+ < "Line spacing" ; SID_ATTR_PARA_LINESPACE ; > ;
+ < "Page Break" ; SID_ATTR_PARA_PAGEBREAK ; > ;
+ < "Hyphenation" ; SID_ATTR_PARA_HYPHENZONE ; > ;
+ < "Do not split paragraph"; SID_ATTR_PARA_SPLIT ; > ;
+ < "Orphans" ; SID_ATTR_PARA_ORPHANS ; > ;
+ < "Widows" ; SID_ATTR_PARA_WIDOWS ; > ;
+ < "Spacing" ; SID_ATTR_PARA_ULSPACE ; > ;
+ < "Indent" ; SID_ATTR_PARA_LRSPACE ; > ;
+ < "Indent" ; SID_ATTR_LRSPACE ; > ;
+ < "Spacing" ; SID_ATTR_ULSPACE ; > ;
+ < "Page" ; SID_ATTR_PAGE ; > ;
+ < "Page Style" ; SID_ATTR_PARA_MODEL ; > ;
+ < "Keep with next paragraph"; SID_ATTR_PARA_KEEP ; > ;
+ < "Blinking" ; SID_ATTR_FLASH ; > ;
+ < "Register-true" ; SID_ATTR_PARA_REGISTER ; > ;
+ < "Character background" ; SID_ATTR_BRUSH_CHAR ; > ;
+ < "Asian font" ; SID_ATTR_CHAR_CJK_FONT ; > ;
+ < "Size of Asian font" ; SID_ATTR_CHAR_CJK_FONTHEIGHT ; > ;
+ < "Language of Asian font"; SID_ATTR_CHAR_CJK_LANGUAGE ; > ;
+ < "Posture of Asian font" ; SID_ATTR_CHAR_CJK_POSTURE ; > ;
+ < "Weight of Asian font" ; SID_ATTR_CHAR_CJK_WEIGHT ; > ;
+ < "CTL" ; SID_ATTR_CHAR_CTL_FONT ; > ;
+ < "Size of complex scripts" ; SID_ATTR_CHAR_CTL_FONTHEIGHT ; > ;
+ < "Language of complex scripts";SID_ATTR_CHAR_CTL_LANGUAGE ; > ;
+ < "Posture of complex scripts"; SID_ATTR_CHAR_CTL_POSTURE ; > ;
+ < "Weight of complex scripts"; SID_ATTR_CHAR_CTL_WEIGHT ; > ;
+ < "Double-lined" ; SID_ATTR_CHAR_TWO_LINES ; > ;
+ < "Emphasis mark" ; SID_ATTR_CHAR_EMPHASISMARK ; > ;
+ < "Text spacing" ; SID_ATTR_PARA_SCRIPTSPACE ; > ;
+ < "Hanging punctuation" ; SID_ATTR_PARA_HANGPUNCTUATION ; > ;
+ < "Forbidden characters" ; SID_ATTR_PARA_FORBIDDEN_RULES ; > ;
+ < "Rotation" ; SID_ATTR_CHAR_ROTATED ; > ;
+ < "Scale" ; SID_ATTR_CHAR_SCALEWIDTH ; > ;
+ < "Relief" ; SID_ATTR_CHAR_RELIEF ; > ;
+ < "Vertical text alignment" ; SID_PARA_VERTALIGN ; > ;
+ };
+};
+
- // Extras -------------------------------------------------------------------
String RID_SVXITEMS_EXTRAS_CHARCOLOR
{
Text [ en-US ] = "Font color" ;
@@ -150,375 +218,7 @@ String RID_SVXITEMS_BRUSHSTYLE_BITMAP
{
Text [ en-US ] = "Image" ;
};
- // Typ-Namen der SlotIds ----------------------------------------------------
-String RID_ATTR_ZOOM
-{
- Text [ en-US ] = "Scale" ;
-};
-String RID_ATTR_BRUSH
-{
- Text [ en-US ] = "Brush" ;
-};
-String RID_ATTR_TABSTOP
-{
- Text [ en-US ] = "Tab stops" ;
-};
-String RID_ATTR_TABSTOP_DEFAULTS
-{
- Text = "?" ;
-};
-String RID_ATTR_TABSTOP_POS
-{
- Text = "?" ;
-};
-String RID_ATTR_TABSTOP_OFFSET
-{
- Text = "?" ;
-};
-String RID_ATTR_CHAR
-{
- Text [ en-US ] = "Character" ;
-};
-String RID_ATTR_CHAR_FONT
-{
- Text [ en-US ] = "Font" ;
-};
-String RID_ATTR_CHAR_POSTURE
-{
- Text [ en-US ] = "Font posture" ;
-};
-String RID_ATTR_CHAR_WEIGHT
-{
- Text [ en-US ] = "Font weight" ;
-};
-String RID_ATTR_CHAR_SHADOWED
-{
- Text [ en-US ] = "Shadowed" ;
-};
-String RID_ATTR_CHAR_WORDLINEMODE
-{
- Text [ en-US ] = "Individual words" ;
-};
-String RID_ATTR_CHAR_CONTOUR
-{
- Text [ en-US ] = "Outline" ;
-};
-String RID_ATTR_CHAR_STRIKEOUT
-{
- Text [ en-US ] = "Strikethrough" ;
-};
-String RID_ATTR_CHAR_UNDERLINE
-{
- Text [ en-US ] = "Underline" ;
-};
-String RID_ATTR_CHAR_FONTHEIGHT
-{
- Text [ en-US ] = "Font size" ;
-};
-String RID_ATTR_CHAR_PROPSIZE
-{
- Text [ en-US ] = "Rel. Font Size" ;
-};
-String RID_ATTR_CHAR_COLOR
-{
- Text [ en-US ] = "Font color" ;
-};
-String RID_ATTR_CHAR_KERNING
-{
- Text [ en-US ] = "Kerning" ;
-};
-String RID_ATTR_CHAR_CASEMAP
-{
- Text [ en-US ] = "Effects" ;
-};
-String RID_ATTR_CHAR_LANGUAGE
-{
- Text [ en-US ] = "Language" ;
-};
-String RID_ATTR_CHAR_ESCAPEMENT
-{
- Text [ en-US ] = "Position" ;
-};
-String RID_ATTR_CHAR_FONTLIST
-{
- Text = "?" ;
-};
-String RID_ATTR_CHAR_BLINK
-{
- Text [ en-US ] = "Blinking" ;
-};
-String RID_ATTR_CHAR_CHARSETCOLOR
-{
- Text [ en-US ] = "Character set color";
-};
-String RID_ATTR_CHAR_OVERLINE
-{
- Text [ en-US ] = "Overline" ;
-};
-String RID_ATTR_BORDER_INNER
-{
- Text = "?" ;
-};
-String RID_ATTR_BORDER_OUTER
-{
- Text = "?" ;
-};
-String RID_ATTR_BORDER_SHADOW
-{
- Text = "?" ;
-};
-String RID_ATTR_PARA
-{
- Text [ en-US ] = "Paragraph" ;
-};
-String RID_ATTR_PARA_ADJUST
-{
- Text [ en-US ] = "Alignment" ;
-};
-String RID_ATTR_PARA_ADJUST_LEFT
-{
- Text = "?" ;
-};
-String RID_ATTR_PARA_ADJUST_RIGHT
-{
- Text = "?" ;
-};
-String RID_ATTR_PARA_ADJUST_CENTER
-{
- Text = "?" ;
-};
-String RID_ATTR_PARA_ADJUST_BLOCK
-{
- Text = "?" ;
-};
-String RID_ATTR_PARA_ADJUST_BLOCKLINE
-{
- Text = "?" ;
-};
-String RID_ATTR_PARA_LINESPACE
-{
- Text [ en-US ] = "Line spacing" ;
-};
-String RID_ATTR_PARA_LINESPACE_10
-{
- Text = "?" ;
-};
-String RID_ATTR_PARA_LINESPACE_15
-{
- Text = "?" ;
-};
-String RID_ATTR_PARA_LINESPACE_20
-{
- Text = "?" ;
-};
-String RID_ATTR_PARA_PAGEBREAK
-{
- Text [ en-US ] = "Page Break" ;
-};
-String RID_ATTR_PARA_HYPHENZONE
-{
- Text [ en-US ] = "Hyphenation" ;
-};
-String RID_ATTR_PARA_SPLIT
-{
- Text [ en-US ] = "Do not split paragraph" ;
-};
-String RID_ATTR_PARA_WIDOWS
-{
- Text [ en-US ] = "Orphans" ;
-};
-String RID_ATTR_PARA_ORPHANS
-{
- Text [ en-US ] = "Widows" ;
-};
-String RID_ATTR_PARA_ULSPACE
-{
- Text [ en-US ] = "Spacing" ;
-};
-String RID_ATTR_PARA_LRSPACE
-{
- Text [ en-US ] = "Indent" ;
-};
-String RID_ATTR_POSTIT_AUTHOR
-{
- Text = "?" ;
-};
-String RID_ATTR_POSTIT_DATE
-{
- Text = "?" ;
-};
-String RID_ATTR_POSTIT_TEXT
-{
- Text = "?" ;
-};
-String RID_ATTR_SEARCH
-{
- Text = "?" ;
-};
-String RID_ATTR_LRSPACE
-{
- Text [ en-US ] = "Indent" ;
-};
-String RID_ATTR_ULSPACE
-{
- Text [ en-US ] = "Spacing" ;
-};
-String RID_ATTR_PAGE
-{
- Text [ en-US ] = "Page" ;
-};
-String RID_ATTR_PAGE_SIZE
-{
- Text = "?" ;
-};
-String RID_ATTR_PAGE_MAXSIZE
-{
- Text = "?" ;
-};
-String RID_ATTR_PAGE_PAPERTRAY
-{
- Text = "?" ;
-};
-String RID_ATTR_PAGE_PAPERBIN
-{
- Text = "?" ;
-};
-String RID_ATTR_PAGE_APP
-{
- Text = "?" ;
-};
-String RID_ATTR_PAGE_EXT1
-{
- Text = "?" ;
-};
-String RID_ATTR_PAGE_EXT2
-{
- Text = "?" ;
-};
-String RID_ATTR_PAGE_HEADERSET
-{
- Text = "?" ;
-};
-String RID_ATTR_PAGE_FOOTERSET
-{
- Text = "?" ;
-};
-String RID_ATTR_PAGE_ON
-{
- Text = "?" ;
-};
-String RID_ATTR_PAGE_DYNAMIC
-{
- Text = "?" ;
-};
-String RID_ATTR_PAGE_SHARED
-{
- Text = "?" ;
-};
-String RID_ATTR_PAGE_BSP
-{
- Text = "?" ;
-};
-String RID_ATTR_CHAR_MAPTYPE
-{
- Text = "?" ;
-};
-String RID_ATTR_PARA_MODEL
-{
- Text [ en-US ] = "Page Style" ;
-};
-String RID_ATTR_PARA_KEEP
-{
- Text [ en-US ] = "Keep with next paragraph" ;
-};
-String RID_ATTR_FLASH
-{
- Text [ en-US ] = "Blinking" ;
-};
-String RID_ATTR_PARA_REGISTER
-{
- Text [ en-US ] = "Register-true" ;
-};
-String RID_ATTR_BRUSH_CHAR
-{
- Text [ en-US ] = "Character background";
-};
-String RID_ATTR_CHAR_CJK_FONT
-{
- Text [ en-US ] = "Asian font" ;
-};
-String RID_ATTR_CHAR_CJK_FONTHEIGHT
-{
- Text [ en-US ] = "Size of Asian font" ;
-};
-String RID_ATTR_CHAR_CJK_LANGUAGE
-{
- Text [ en-US ] = "Language of Asian fonts" ;
-};
-String RID_ATTR_CHAR_CJK_POSTURE
-{
- Text [ en-US ] = "Posture of Asian fonts" ;
-};
-String RID_ATTR_CHAR_CJK_WEIGHT
-{
- Text [ en-US ] = "Weight of Asian fonts" ;
-};
-String RID_ATTR_CHAR_CTL_FONT
-{
- Text [ en-US ] = "CTL" ;
-};
-String RID_ATTR_CHAR_CTL_FONTHEIGHT
-{
- Text [ en-US ] = "Size of complex scripts" ;
-};
-String RID_ATTR_CHAR_CTL_LANGUAGE
-{
- Text [ en-US ] = "Language of complex scripts" ;
-};
-String RID_ATTR_CHAR_CTL_POSTURE
-{
- Text [ en-US ] = "Posture of complex scripts" ;
-};
-String RID_ATTR_CHAR_CTL_WEIGHT
-{
- Text [ en-US ] = "Weight of complex scripts" ;
-};
-String RID_ATTR_CHAR_TWO_LINES
-{
- Text [ en-US ] = "Double-lined" ;
-};
-String RID_ATTR_CHAR_EMPHASISMARK
-{
- Text [ en-US ] = "Emphasis mark" ;
-};
-String RID_ATTR_PARA_SCRIPTSPACE
-{
- Text [ en-US ] = "Text spacing";
-};
-String RID_ATTR_PARA_HANGPUNCTUATION
-{
- Text [ en-US ] = "Hanging punctuation";
-};
-String RID_ATTR_PARA_FORBIDDEN_RULES
-{
- Text [ en-US ] = "Forbidden characters";
-};
-String RID_ATTR_CHAR_ROTATED
-{
- Text [ en-US ] = "Rotation" ;
-};
-String RID_ATTR_CHAR_SCALEWIDTH
-{
- Text [ en-US ] = "Scale" ;
-};
-String RID_ATTR_CHAR_RELIEF
-{
- Text [ en-US ] = "Relief";
-};
-String RID_PARA_VERTALIGN
-{
- Text [ en-US ] = "Vertical text alignment";
-};
+
String RID_SVXITEMS_HORJUST_STANDARD
{
Text [ en-US ] = "Horizontal alignment default" ;