1c4eee24dSAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3c4eee24dSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4c4eee24dSAndrew Rist * or more contributor license agreements. See the NOTICE file 5c4eee24dSAndrew Rist * distributed with this work for additional information 6c4eee24dSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7c4eee24dSAndrew Rist * to you under the Apache License, Version 2.0 (the 8c4eee24dSAndrew Rist * "License"); you may not use this file except in compliance 9c4eee24dSAndrew Rist * with the License. You may obtain a copy of the License at 10c4eee24dSAndrew Rist * 11c4eee24dSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12c4eee24dSAndrew Rist * 13c4eee24dSAndrew Rist * Unless required by applicable law or agreed to in writing, 14c4eee24dSAndrew Rist * software distributed under the License is distributed on an 15c4eee24dSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16c4eee24dSAndrew Rist * KIND, either express or implied. See the License for the 17c4eee24dSAndrew Rist * specific language governing permissions and limitations 18c4eee24dSAndrew Rist * under the License. 19c4eee24dSAndrew Rist * 20c4eee24dSAndrew Rist *************************************************************/ 21c4eee24dSAndrew Rist 22c4eee24dSAndrew Rist 23cdf0e10cSrcweir #ifndef _ABOUT_HXX 24cdf0e10cSrcweir #define _ABOUT_HXX 25cdf0e10cSrcweir 26cdf0e10cSrcweir // include --------------------------------------------------------------- 27cdf0e10cSrcweir 28cdf0e10cSrcweir #include <vcl/button.hxx> 29cdf0e10cSrcweir #include <svtools/svmedit.hxx> 30*23c0a6f8SAriel Constenla-Haile #include <svtools/fixedhyper.hxx> 31cdf0e10cSrcweir #include <tools/list.hxx> 32cdf0e10cSrcweir #include <svtools/stdctrl.hxx> 33*23c0a6f8SAriel Constenla-Haile #include <sfx2/basedlgs.hxx> // SfxModalDialog 34cdf0e10cSrcweir 35cdf0e10cSrcweir // class AboutDialog ----------------------------------------------------- 36cdf0e10cSrcweir 37cdf0e10cSrcweir class AboutDialog : public SfxModalDialog 38cdf0e10cSrcweir { 39cdf0e10cSrcweir private: 40*23c0a6f8SAriel Constenla-Haile OKButton maOKButton; 41*23c0a6f8SAriel Constenla-Haile FixedInfo maVersionText; 42*23c0a6f8SAriel Constenla-Haile MultiLineEdit maBuildInfoEdit; 43*23c0a6f8SAriel Constenla-Haile MultiLineEdit maCopyrightEdit; 44*23c0a6f8SAriel Constenla-Haile svt::FixedHyperlink maCreditsLink; 45cdf0e10cSrcweir 46*23c0a6f8SAriel Constenla-Haile Image maAppLogo; 47cdf0e10cSrcweir 48*23c0a6f8SAriel Constenla-Haile String maCopyrightTextStr; 49*23c0a6f8SAriel Constenla-Haile rtl::OUString maVersionData; 50cdf0e10cSrcweir 51*23c0a6f8SAriel Constenla-Haile void InitControls(); 52*23c0a6f8SAriel Constenla-Haile void ApplyStyleSettings(); 53*23c0a6f8SAriel Constenla-Haile void LayoutControls( Size& aDlgSize ); 54cdf0e10cSrcweir 55*23c0a6f8SAriel Constenla-Haile const rtl::OUString GetBuildId() const; 56*23c0a6f8SAriel Constenla-Haile const rtl::OUString GetBuildVersionString() const; 57cdf0e10cSrcweir 58*23c0a6f8SAriel Constenla-Haile DECL_DLLPRIVATE_LINK(OpenLinkHdl_Impl, svt::FixedHyperlink* ); 59cdf0e10cSrcweir 60cdf0e10cSrcweir protected: 61*23c0a6f8SAriel Constenla-Haile virtual sal_Bool Close(); 62*23c0a6f8SAriel Constenla-Haile virtual void Paint( const Rectangle& ); 63cdf0e10cSrcweir 64cdf0e10cSrcweir public: 65*23c0a6f8SAriel Constenla-Haile AboutDialog( Window* pParent, const ResId& nId ); 66*23c0a6f8SAriel Constenla-Haile ~AboutDialog(); 67cdf0e10cSrcweir 68cdf0e10cSrcweir }; 69cdf0e10cSrcweir 70cdf0e10cSrcweir #endif // #ifndef _ABOUT_HXX 71cdf0e10cSrcweir 72cdf0e10cSrcweir 73