1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
23 #include <sfx2/tabdlg.hxx>
24 #include <vcl/lstbox.hxx>
25 #include <vcl/fixed.hxx>
26 #include <svtools/svmedit.hxx>
27 #include <vcl/field.hxx>
28 #include <svtools/stdctrl.hxx>
29 #include <com/sun/star/frame/XController.hpp>
30 #include <com/sun/star/text/XTextCursor.hpp>
31 #include <com/sun/star/text/XWordCursor.hpp>
32 #include <com/sun/star/text/XParagraphCursor.hpp>
33 #include <com/sun/star/text/XPageCursor.hpp>
34 #include <com/sun/star/text/XSentenceCursor.hpp>
35 #include <com/sun/star/awt/XFileDialog.hpp>
36 #include <com/sun/star/awt/XTextComponent.hpp>
37 #include <com/sun/star/awt/XListBox.hpp>
38 #include <com/sun/star/awt/XProgressMonitor.hpp>
39 #include <com/sun/star/awt/TextAlign.hpp>
40 #include <com/sun/star/awt/XScrollBar.hpp>
41 #include <com/sun/star/awt/XVclContainerPeer.hpp>
42 #include <com/sun/star/awt/XTabControllerModel.hpp>
43 #include <com/sun/star/awt/XMessageBox.hpp>
44 #include <com/sun/star/awt/XTextEditField.hpp>
45 #include <com/sun/star/awt/Style.hpp>
46 #include <com/sun/star/awt/XTimeField.hpp>
47 #include <com/sun/star/awt/XVclWindowPeer.hpp>
48 #include <com/sun/star/awt/XControlModel.hpp>
49 #include <com/sun/star/awt/XSpinField.hpp>
50 #include <com/sun/star/awt/XUnoControlContainer.hpp>
51 #include <com/sun/star/awt/XTextLayoutConstrains.hpp>
52 #include <com/sun/star/awt/XNumericField.hpp>
53 #include <com/sun/star/awt/XButton.hpp>
54 #include <com/sun/star/awt/XTextArea.hpp>
55 #include <com/sun/star/awt/XImageButton.hpp>
56 #include <com/sun/star/awt/XFixedText.hpp>
57 #include <com/sun/star/awt/XControlContainer.hpp>
58 #include <com/sun/star/awt/XDialog.hpp>
59 #include <com/sun/star/awt/ScrollBarOrientation.hpp>
60 #include <com/sun/star/awt/XRadioButton.hpp>
61 #include <com/sun/star/awt/XCurrencyField.hpp>
62 #include <com/sun/star/awt/XPatternField.hpp>
63 #include <com/sun/star/awt/VclWindowPeerAttribute.hpp>
64 #include <com/sun/star/awt/XTabController.hpp>
65 #include <com/sun/star/awt/XVclContainer.hpp>
66 #include <com/sun/star/awt/XDateField.hpp>
67 #include <com/sun/star/awt/XComboBox.hpp>
68 #include <com/sun/star/awt/XControl.hpp>
69 #include <com/sun/star/awt/XCheckBox.hpp>
70 #include <com/sun/star/awt/MessageBoxCommand.hpp>
71 #include <com/sun/star/awt/XLayoutConstrains.hpp>
72 #include <com/sun/star/awt/XProgressBar.hpp>
73 #include <com/sun/star/container/XNameAccess.hpp>
74 #include <svtools/treelistbox.hxx>
79 #define GETFLDVAL(rField) (rField).Denormalize((rField).GetValue(FUNIT_TWIP))
80 #define SETFLDVAL(rField, lValue) (rField).SetValue((rField).Normalize(lValue), FUNIT_TWIP)
85 SwLabRec(): lHDist(0), lVDist(0), lWidth(0), lHeight(0), lLeft(0), lUpper(0), lPWidth(0), lPHeight(0), nCols(0), nRows(0), bCont(false) {}
87 void SetFromItem( const SwLabItem
& rItem
);
88 void FillItem( SwLabItem
& rItem
) const;
106 class SwLabRecs
: public std::vector
<SwLabRec
*> {
110 for(const_iterator it
= begin(); it
!= end(); ++it
)
117 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */