officecfg/registry/schema/org/openoffice/Office/Calc.xcs | 14 ++++++++++++++ sc/source/ui/dbgui/scuiasciiopt.cxx | 4 ++-- 2 files changed, 16 insertions(+), 2 deletions(-)
New commits: commit 19f3b72f34c487dc97d582712d21734a7e055fd5 Author: Bogdan Visanescu <[email protected]> AuthorDate: Sat May 10 11:56:57 2025 +0300 Commit: Gabriel Masei <[email protected]> CommitDate: Mon May 12 09:18:36 2025 +0200 tdf#165744 Added SeparatorType to ClipboardTextImport and TextToColumnsImport Change-Id: I90b402972f78a2f698fe3cd91e543a1253c95425 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185124 Reviewed-by: Gabriel Masei <[email protected]> Tested-by: Jenkins diff --git a/officecfg/registry/schema/org/openoffice/Office/Calc.xcs b/officecfg/registry/schema/org/openoffice/Office/Calc.xcs index 9d3da5ee9d83..5023d3c9e78e 100644 --- a/officecfg/registry/schema/org/openoffice/Office/Calc.xcs +++ b/officecfg/registry/schema/org/openoffice/Office/Calc.xcs @@ -1129,6 +1129,13 @@ </info> <value>true</value> </prop> + <prop oor:name="SeparatorType" oor:type="xs:short" oor:nillable="false"> + <info> + <desc>Fixed width, separator or detected separator</desc> + <label>SeparatorType</label> + </info> + <value>2</value> + </prop> <prop oor:name="QuotedFieldAsText" oor:type="xs:boolean" oor:nillable="false"> <info> <desc>If true, quoted field is always imported as text with no exception.</desc> @@ -1243,6 +1250,13 @@ </info> <value>true</value> </prop> + <prop oor:name="SeparatorType" oor:type="xs:short" oor:nillable="false"> + <info> + <desc>Fixed width, separator or detected separator</desc> + <label>SeparatorType</label> + </info> + <value>2</value> + </prop> <prop oor:name="Separators" oor:type="xs:string" oor:nillable="false"> <info> <desc>List of Separators - as a String</desc> diff --git a/sc/source/ui/dbgui/scuiasciiopt.cxx b/sc/source/ui/dbgui/scuiasciiopt.cxx index a81d568bdeb2..c17089326809 100644 --- a/sc/source/ui/dbgui/scuiasciiopt.cxx +++ b/sc/source/ui/dbgui/scuiasciiopt.cxx @@ -193,12 +193,12 @@ static void lcl_CreatePropertiesNames ( OUString& rSepPath, Sequence<OUString>& break; case SC_PASTETEXT: rSepPath = aSep_Path_Clpbrd; - nProperties = 14; + nProperties = 15; break; case SC_TEXTTOCOLUMNS: default: rSepPath = aSep_Path_Text2Col; - nProperties = 8; + nProperties = 9; break; } rNames.realloc( nProperties );
