43 references to RightsManagementPolicy
PresentationUI (43)
MS\Internal\Documents\Application\CommandEnforcer.cs (8)
25
public PolicyBinding(RoutedUICommand command,
RightsManagementPolicy
policy)
44
public
RightsManagementPolicy
Policy
50
private
RightsManagementPolicy
_policy;
105
RightsManagementPolicy
policyToEnforce = _docViewer.RightsManagementPolicy;
118
bool disablePrintScreen = !(((policyToEnforce &
RightsManagementPolicy
.AllowCopy)
119
==
RightsManagementPolicy
.AllowCopy) ||
120
((policyToEnforce &
RightsManagementPolicy
.AllowPrint)
121
==
RightsManagementPolicy
.AllowPrint));
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (13)
167
public
RightsManagementPolicy
RightsManagementPolicy
234
_rightsManagementPolicy =
RightsManagementPolicy
.AllowNothing;
285
if ((RightsManagementPolicy &
RightsManagementPolicy
.AllowPrint) ==
286
RightsManagementPolicy
.AllowPrint)
2152
enforcer.AddBinding(new PolicyBinding(ApplicationCommands.Print,
RightsManagementPolicy
.AllowPrint));
2153
enforcer.AddBinding(new PolicyBinding(ApplicationCommands.PrintPreview,
RightsManagementPolicy
.AllowPrint));
2156
enforcer.AddBinding(new PolicyBinding(ApplicationCommands.Copy,
RightsManagementPolicy
.AllowCopy));
2157
enforcer.AddBinding(new PolicyBinding(ApplicationCommands.Cut,
RightsManagementPolicy
.AllowCopy));
2158
enforcer.AddBinding(new PolicyBinding(ApplicationCommands.Save,
RightsManagementPolicy
.AllowCopy));
2159
enforcer.AddBinding(new PolicyBinding(ApplicationCommands.SaveAs,
RightsManagementPolicy
.AllowCopy));
2162
enforcer.AddBinding(new PolicyBinding(DocumentApplicationDocumentViewer.Sign,
RightsManagementPolicy
.AllowSign));
2163
enforcer.AddBinding(new PolicyBinding(DocumentApplicationDocumentViewer.RequestSigners,
RightsManagementPolicy
.AllowSign));
2196
private
RightsManagementPolicy
_rightsManagementPolicy;
MS\Internal\Documents\DocumentSignatureManager.cs (2)
1159
if ((args.RMPolicy &
RightsManagementPolicy
.AllowSign) ==
RightsManagementPolicy
.AllowSign)
MS\Internal\Documents\RightsManagementLicense.cs (2)
51
internal
RightsManagementPolicy
ConvertToPolicy()
53
return (
RightsManagementPolicy
)(_userRights);
MS\Internal\Documents\RightsManagementManager.cs (12)
146
RightsManagementPolicy
calcRMPolicy =
RightsManagementPolicy
.AllowView;
158
calcRMPolicy =
RightsManagementPolicy
.AllowNothing;
173
RightsManagementPolicy
.AllowAnnotate |
174
RightsManagementPolicy
.AllowCopy |
175
RightsManagementPolicy
.AllowSign |
176
RightsManagementPolicy
.AllowPrint |
177
RightsManagementPolicy
.AllowView;
1227
private void OnRMPolicyChange(
RightsManagementPolicy
newPolicy)
1602
internal RightsManagementPolicyEventArgs(
RightsManagementPolicy
rmPolicy)
1617
public
RightsManagementPolicy
RMPolicy
1629
private
RightsManagementPolicy
_rmPolicy;
MS\Internal\Documents\RightsManagementPermissions.cs (6)
19
AllowNothing =
RightsManagementPolicy
.AllowNothing,
20
AllowView =
RightsManagementPolicy
.AllowView,
21
AllowPrint =
RightsManagementPolicy
.AllowPrint,
22
AllowCopy =
RightsManagementPolicy
.AllowCopy,
23
AllowSign =
RightsManagementPolicy
.AllowSign,
24
AllowAnnotate =
RightsManagementPolicy
.AllowAnnotate,