Skip to content

Commit

Permalink
[SFPF] Data Type fix
Browse files Browse the repository at this point in the history
[SFPF] Change domain specific data type to generic ones
  • Loading branch information
Bomberus committed Nov 9, 2023
1 parent 1daa7e3 commit a5bbff8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 23 deletions.
20 changes: 2 additions & 18 deletions file-formats/sfpf/sfpf-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,28 +80,12 @@
"embed": {
"title": "Font Embed",
"description": "Font Embed",
"type": "string",
"enum": [
"doNotEmbedFonts",
"embedFonts"
],
"enumDescriptions": [
"Do not embed fonts",
"Embed fonts"
]
"type": "boolean"
},
"mirroring": {
"title": "Mirror in RTL",
"description": "Mirror in RTL",
"type": "string",
"enum": [
"noMirroringInRtlLanguages",
"mirroringInRtlLanguages"
],
"enumDescriptions": [
"No mirroring in RTL languages",
"Mirroring in RTL languages"
]
"type": "boolean"
}
},
"additionalProperties": false,
Expand Down
10 changes: 5 additions & 5 deletions file-formats/sfpf/type/zif_aff_sfpf_v1.intf.abap
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ INTERFACE zif_aff_sfpf_v1
"! <p class="shorttext">Name</p>
"! Name
"! $required
name TYPE fpname,
name TYPE c LENGTH 30,
"! <p class="shorttext">Description</p>
"! Description
"! $required
description TYPE fptext,
description TYPE c LENGTH 60,
"! <p class="shorttext">Dataprovider</p>
"! Dataprovider
"! $required
dataprovider TYPE fpdpname,
dataprovider TYPE c LENGTH 40,
"! <p class="shorttext">Font Embed</p>
"! Font Embed
embed TYPE fpfntemb,
embed TYPE abap_boolean,
"! <p class="shorttext">Mirror in RTL</p>
"! Mirror in RTL
mirroring TYPE fpmirroring,
mirroring TYPE abap_boolean,
END OF ty_main.
ENDINTERFACE.

0 comments on commit a5bbff8

Please sign in to comment.