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/unoprnms.hxx | |
parent | SwXShape: add ChainNext/PrevName UNO property (diff) | |
download | core-db6f15ab21c7292c895a0042dc13072649dbfc9c.tar.gz core-db6f15ab21c7292c895a0042dc13072649dbfc9c.zip |
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/unoprnms.hxx')
-rw-r--r-- | sw/inc/unoprnms.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/inc/unoprnms.hxx b/sw/inc/unoprnms.hxx index bed1254b4a5e..9f0267e872e2 100644 --- a/sw/inc/unoprnms.hxx +++ b/sw/inc/unoprnms.hxx @@ -266,6 +266,7 @@ #define UNO_NAME_BREAK_TYPE "BreakType" #define UNO_NAME_CHAIN_NEXT_NAME "ChainNextName" #define UNO_NAME_CHAIN_PREV_NAME "ChainPrevName" +#define UNO_NAME_CHAIN_NAME "ChainName" #define UNO_NAME_CHAPTER_FORMAT "ChapterFormat" #define UNO_NAME_CLIENT_MAP "ClientMap" #define UNO_NAME_CONDITION "Condition" |