diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-06-13 19:37:37 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-06-13 20:07:16 +0200 |
commit | db6f15ab21c7292c895a0042dc13072649dbfc9c (patch) | |
tree | dbb2957ae985302cafe854b0d72ddfb4b7ee21c4 /sw/inc/unomid.h | |
parent | 599643ec944dd3cad37a65e99d443e2010c8a36f (diff) |
SwXShape: add ChainName UNO property
Shapes may not have a unique name, but TextFrames always have. So in
order to be able to link shapes with textboxes, provide a ChainName
property that's the name of the underlying TextFrame. This kills two
birds with one stone:
- we can have a unique name for each shape
- the names can be used for TextFrame linking, as they are valid
TextFrame names
Change-Id: Ie96f267d392d9fe5388c5eacff9b873f1639054c
Diffstat (limited to 'sw/inc/unomid.h')
-rw-r--r-- | sw/inc/unomid.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/inc/unomid.h b/sw/inc/unomid.h index 11d14c96664f..9d514a2350b1 100644 --- a/sw/inc/unomid.h +++ b/sw/inc/unomid.h @@ -56,6 +56,7 @@ #define MID_CHAIN_PREVNAME 0 #define MID_CHAIN_NEXTNAME 1 +#define MID_CHAIN_NAME 2 #define MID_LINENUMBER_COUNT 0 #define MID_LINENUMBER_STARTVALUE 1 |