summaryrefslogtreecommitdiff
path: root/officecfg
diff options
context:
space:
mode:
authorLaurent BP <laurent.balland-poirier@laposte.net>2017-12-17 17:14:55 +0100
committerEike Rathke <erack@redhat.com>2017-12-21 23:16:23 +0100
commit3bd4957191f12457c17404645bab0794639c95f8 (patch)
treebecaaebd679efe51a4803b428896e9f79863ff83 /officecfg
parent4eaeb8058d75d03e782d37b430b68890aa374f2c (diff)
tdf#113979 Add option to Skip empty cells
During "Txt to column", empty cells should erase previous content (see tdf#69981) But during paste, user may want to keep previous content. This option makes all users happy. During import of CSV file, this option is hidden. In the same time, I've tried to remove some duplicate code. Update: properties offsets are now enum and replace define const Change-Id: I88be2d0432ff804033cff050422e666fa2882efd Reviewed-on: https://gerrit.libreoffice.org/46651 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'officecfg')
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/Calc.xcs14
1 files changed, 14 insertions, 0 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/Calc.xcs b/officecfg/registry/schema/org/openoffice/Office/Calc.xcs
index 42d535a6a795..2d5e7a8696e0 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Calc.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Calc.xcs
@@ -1177,6 +1177,13 @@
</info>
<value>true</value>
</prop>
+ <prop oor:name="SkipEmptyCells" oor:type="xs:boolean" oor:nillable="false">
+ <info>
+ <desc>If true, Calc preserves previous content of cells when pasting empty ones. If false, Calc delete content of previous cells.</desc>
+ <label>SkipEmptyCells</label>
+ </info>
+ <value>true</value>
+ </prop>
<prop oor:name="Language" oor:type="xs:int" oor:nillable="false">
<info>
<desc>Language to use for CSV import. This determines how the numbers are parsed.</desc>
@@ -1245,6 +1252,13 @@
</info>
<value> </value>
</prop>
+ <prop oor:name="SkipEmptyCells" oor:type="xs:boolean" oor:nillable="false">
+ <info>
+ <desc>If true, Calc preserves previous content of cells when pasting empty ones. If false, Calc delete content of previous cells.</desc>
+ <label>SkipEmptyCells</label>
+ </info>
+ <value>false</value>
+ </prop>
<prop oor:name="TextSeparators" oor:type="xs:string" oor:nillable="false">
<info>
<desc>Text Separators</desc>