/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* To be called if you want to reuse the same object for exportin different documents. You don't need to call this if you just constructed the object, in this case it is already
initialized.. This method has to be called before you use getControlId for controls on the given page.
This way a performance optimization can be done for faster access to the control ids The page the control belongs to must have been examined and sought to. For performance reasons, this method is allowed to be called for any controls, even those which
do not have a number style. In this case, an empty string is returned. This method will collect all form layer related data of the given draw page This method does not export styles (e.g. font properties of the controls), or any references
external instances may have to the control models contained in the form layer (e.g. uno control
shapes in the drawing layer may have such references) No top level element describing the whole collection is inserted. I.e. if within your document, you
expect the the forms collection to be stored like
If your document contains form controls which are not to be exported for whatever reason,
you need to announce the models of these controls (can be retrieved from XControlShape::getControl)
to the form layer exporter.
Of course you have to do this before calling