1*9ee13d13SAndrew Rist /************************************************************** 2*9ee13d13SAndrew Rist * 3*9ee13d13SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*9ee13d13SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*9ee13d13SAndrew Rist * distributed with this work for additional information 6*9ee13d13SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*9ee13d13SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*9ee13d13SAndrew Rist * "License"); you may not use this file except in compliance 9*9ee13d13SAndrew Rist * with the License. You may obtain a copy of the License at 10*9ee13d13SAndrew Rist * 11*9ee13d13SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 13*9ee13d13SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*9ee13d13SAndrew Rist * software distributed under the License is distributed on an 15*9ee13d13SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*9ee13d13SAndrew Rist * KIND, either express or implied. See the License for the 17*9ee13d13SAndrew Rist * specific language governing permissions and limitations 18*9ee13d13SAndrew Rist * under the License. 19*9ee13d13SAndrew Rist * 20*9ee13d13SAndrew Rist *************************************************************/ 21*9ee13d13SAndrew Rist 22*9ee13d13SAndrew Rist 23cdf0e10cSrcweir #ifndef RPTUI_PAGENUMBER_HXX 24cdf0e10cSrcweir #define RPTUI_PAGENUMBER_HXX 25cdf0e10cSrcweir 26cdf0e10cSrcweir #ifndef _DIALOG_HXX //autogen 27cdf0e10cSrcweir #include <vcl/dialog.hxx> 28cdf0e10cSrcweir #endif 29cdf0e10cSrcweir #ifndef _FIXED_HXX //autogen 30cdf0e10cSrcweir #include <vcl/fixed.hxx> 31cdf0e10cSrcweir #endif 32cdf0e10cSrcweir #include <vcl/lstbox.hxx> 33cdf0e10cSrcweir #include <vcl/field.hxx> 34cdf0e10cSrcweir #ifndef _SV_BUTTON_HXX 35cdf0e10cSrcweir #include <vcl/button.hxx> 36cdf0e10cSrcweir #endif 37cdf0e10cSrcweir #include <com/sun/star/report/XReportDefinition.hpp> 38cdf0e10cSrcweir 39cdf0e10cSrcweir 40cdf0e10cSrcweir namespace rptui 41cdf0e10cSrcweir { 42cdf0e10cSrcweir class OReportController; 43cdf0e10cSrcweir /************************************************************************* 44cdf0e10cSrcweir |* 45cdf0e10cSrcweir |* Groups and Sorting dialog 46cdf0e10cSrcweir |* 47cdf0e10cSrcweir \************************************************************************/ 48cdf0e10cSrcweir class OPageNumberDialog : public ModalDialog 49cdf0e10cSrcweir { 50cdf0e10cSrcweir FixedLine m_aFormat; 51cdf0e10cSrcweir RadioButton m_aPageN; 52cdf0e10cSrcweir RadioButton m_aPageNofM; 53cdf0e10cSrcweir 54cdf0e10cSrcweir FixedLine m_aPosition; 55cdf0e10cSrcweir RadioButton m_aTopPage; 56cdf0e10cSrcweir RadioButton m_aBottomPage; 57cdf0e10cSrcweir FixedLine m_aMisc; 58cdf0e10cSrcweir FixedText m_aAlignment; 59cdf0e10cSrcweir ListBox m_aAlignmentLst; 60cdf0e10cSrcweir 61cdf0e10cSrcweir CheckBox m_aShowNumberOnFirstPage; 62cdf0e10cSrcweir FixedLine m_aFl1; 63cdf0e10cSrcweir OKButton m_aPB_OK; 64cdf0e10cSrcweir CancelButton m_aPB_CANCEL; 65cdf0e10cSrcweir HelpButton m_aPB_Help; 66cdf0e10cSrcweir 67cdf0e10cSrcweir 68cdf0e10cSrcweir ::rptui::OReportController* m_pController; 69cdf0e10cSrcweir ::com::sun::star::uno::Reference< ::com::sun::star::report::XReportDefinition> 70cdf0e10cSrcweir m_xHoldAlive; 71cdf0e10cSrcweir 72cdf0e10cSrcweir OPageNumberDialog(const OPageNumberDialog&); 73cdf0e10cSrcweir void operator =(const OPageNumberDialog&); 74cdf0e10cSrcweir public: 75cdf0e10cSrcweir OPageNumberDialog( Window* pParent 76cdf0e10cSrcweir ,const ::com::sun::star::uno::Reference< ::com::sun::star::report::XReportDefinition>& _xHoldAlive 77cdf0e10cSrcweir ,::rptui::OReportController* _pController); 78cdf0e10cSrcweir virtual ~OPageNumberDialog(); 79cdf0e10cSrcweir virtual short Execute(); 80cdf0e10cSrcweir }; 81cdf0e10cSrcweir // ============================================================================= 82cdf0e10cSrcweir } // namespace rptui 83cdf0e10cSrcweir // ============================================================================= 84cdf0e10cSrcweir #endif // RPTUI_PAGENUMBER_HXX 85