diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2016-09-01 20:37:51 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2016-09-23 23:25:49 +0200 |
commit | 260cd3aeea2d02507dd131ee2028c4f48f7562f8 (patch) | |
tree | cefc4785f11746e77ba6353e3e0bc67cde4fc56a /sw/inc | |
parent | 178a23a827f16e046e5d5efb2aa2aa3fc990452a (diff) |
MM account next record fields for progress dialog
When calculating the maximum document count, we were not accounting
"next record" fields in the document, like in labels etc.
Also any selection of records was ignored.
Fixes accounting part of tdf#101841.
Change-Id: I703d2186d44d2e5426c4af0d4b2d89e0fe820039
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/IDocumentFieldsAccess.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/inc/IDocumentFieldsAccess.hxx b/sw/inc/IDocumentFieldsAccess.hxx index f73e51c81d8e..83d65b5ca109 100644 --- a/sw/inc/IDocumentFieldsAccess.hxx +++ b/sw/inc/IDocumentFieldsAccess.hxx @@ -130,6 +130,8 @@ namespace com { namespace sun { namespace star { namespace uno { class Any; } } virtual void InsDelFieldInFieldLst(bool bIns, const SwTextField& rField) = 0; + virtual sal_Int32 GetRecordsPerDocument() const = 0; + protected: virtual ~IDocumentFieldsAccess() {}; }; |