CGFax.py 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #
  2. # This file is part of the LibreOffice project.
  3. #
  4. # This Source Code Form is subject to the terms of the Mozilla Public
  5. # License, v. 2.0. If a copy of the MPL was not distributed with this
  6. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  7. #
  8. # This file incorporates work covered by the following license notice:
  9. #
  10. # Licensed to the Apache Software Foundation (ASF) under one or more
  11. # contributor license agreements. See the NOTICE file distributed
  12. # with this work for additional information regarding copyright
  13. # ownership. The ASF licenses this file to you under the Apache
  14. # License, Version 2.0 (the "License"); you may not use this file
  15. # except in compliance with the License. You may obtain a copy of
  16. # the License at http://www.apache.org/licenses/LICENSE-2.0 .
  17. #
  18. from ..common.ConfigGroup import ConfigGroup
  19. class CGFax(ConfigGroup):
  20. def __init__(self):
  21. self.cp_Style = int()
  22. self.cp_PrintCompanyLogo = bool()
  23. self.cp_PrintDate = bool()
  24. self.cp_PrintSubjectLine = bool()
  25. self.cp_PrintSalutation = bool()
  26. self.cp_PrintCommunicationType = bool()
  27. self.cp_PrintGreeting = bool()
  28. self.cp_PrintFooter = bool()
  29. self.cp_CommunicationType = str()
  30. self.cp_Salutation = str()
  31. self.cp_Greeting = str()
  32. self.cp_SenderAddressType = int()
  33. self.cp_SenderCompanyName = str()
  34. self.cp_SenderStreet = str()
  35. self.cp_SenderPostCode = str()
  36. self.cp_SenderState = str()
  37. self.cp_SenderCity = str()
  38. self.cp_SenderFax = str()
  39. self.cp_ReceiverAddressType = int()
  40. self.cp_Footer = str()
  41. self.cp_FooterOnlySecondPage = bool()
  42. self.cp_FooterPageNumbers = bool()
  43. self.cp_CreationType = int()
  44. self.cp_TemplateName = str()
  45. self.cp_TemplatePath = str()