diff options
author | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2017-10-18 13:09:59 +0400 |
---|---|---|
committer | Ashod Nakashian <ashnakash@gmail.com> | 2017-10-22 07:12:48 +0200 |
commit | db61ca5b3abbd2df433bcab516f8fa2cfbc01944 (patch) | |
tree | 28a09d8a15c749284900dca91444bf0aebb02089 /sfx2/classification | |
parent | e4c912f6b0855d3f0cf713cb4e4ecdb00a28e263 (diff) |
TSCP: support abbreviated classification names
Change-Id: Ib7edc491d2f8a69c48f1515ba29d79e09c88c3b7
Reviewed-on: https://gerrit.libreoffice.org/43627
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'sfx2/classification')
-rw-r--r-- | sfx2/classification/baf.xsd | 1 | ||||
-rw-r--r-- | sfx2/classification/example.xml | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/sfx2/classification/baf.xsd b/sfx2/classification/baf.xsd index a0bae6cc9ff1..abf003b38624 100644 --- a/sfx2/classification/baf.xsd +++ b/sfx2/classification/baf.xsd @@ -68,6 +68,7 @@ </xs:sequence> <xs:attribute name="Identifier" type="xs:anyURI" use="required"/> <xs:attribute name="Name" type="xs:string" use="optional"/> + <xs:attribute name="loextAbbreviatedName" type="xs:string" use="optional"/> </xs:complexType> </xs:element> <!-- Impact Level --> diff --git a/sfx2/classification/example.xml b/sfx2/classification/example.xml index 82098031ff91..a5065e3d959a 100644 --- a/sfx2/classification/example.xml +++ b/sfx2/classification/example.xml @@ -9,7 +9,7 @@ </baf:AdministrativeData> <baf:Included> <!-- Translators: the Name attribute in this string can be localized --> - <baf:BusinessAuthorizationCategory Identifier="urn:example:tscp:1:non-business" Name="Non-Business"> + <baf:BusinessAuthorizationCategory Identifier="urn:example:tscp:1:non-business" Name="Non-Business" loextAbbreviatedName="NB"> <baf:LabelingRules/> <baf:ImpactLevel> <baf:Scale>UK-Cabinet</baf:Scale> @@ -17,7 +17,7 @@ </baf:ImpactLevel> </baf:BusinessAuthorizationCategory> <!-- Translators: the Name attribute in this string can be localized --> - <baf:BusinessAuthorizationCategory Identifier="urn:example:tscp:1:general-business" Name="General Business"> + <baf:BusinessAuthorizationCategory Identifier="urn:example:tscp:1:general-business" Name="General Business" loextAbbreviatedName="GB"> <baf:LabelingRules> <baf:VisualMarkingPart> <baf:Identifier>Document: Header</baf:Identifier> @@ -31,7 +31,7 @@ </baf:ImpactLevel> </baf:BusinessAuthorizationCategory> <!-- Translators: the Name attribute in this string can be localized --> - <baf:BusinessAuthorizationCategory Identifier="urn:example:tscp:1:confidential" Name="Confidential"> + <baf:BusinessAuthorizationCategory Identifier="urn:example:tscp:1:confidential" Name="Confidential" loextAbbreviatedName="Conf"> <baf:LabelingRules> <baf:VisualMarkingPart> <baf:Identifier>Document: Header</baf:Identifier> @@ -55,7 +55,7 @@ </baf:ImpactLevel> </baf:BusinessAuthorizationCategory> <!-- Translators: the Name attribute in this string can be localized --> - <baf:BusinessAuthorizationCategory Identifier="urn:example:tscp:1:internal-only" Name="Internal Only"> + <baf:BusinessAuthorizationCategory Identifier="urn:example:tscp:1:internal-only" Name="Internal Only" loextAbbreviatedName="IO"> <baf:LabelingRules> <baf:VisualMarkingPart> <baf:Identifier>Document: Header</baf:Identifier> |