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