Warning, file /office/calligra/filters/libmsooxml/MsooXmlCommonReaderMethods.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002  * This file is part of Office 2007 Filters for Calligra
0003  *
0004  * Copyright (C) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
0005  *
0006  * Contact: Suresh Chande suresh.chande@nokia.com
0007  *
0008  * This library is free software; you can redistribute it and/or
0009  * modify it under the terms of the GNU Lesser General Public License
0010  * version 2.1 as published by the Free Software Foundation.
0011  *
0012  * This library is distributed in the hope that it will be useful, but
0013  * WITHOUT ANY WARRANTY; without even the implied warranty of
0014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
0015  * Lesser General Public License for more details.
0016  *
0017  * You should have received a copy of the GNU Lesser General Public
0018  * License along with this library; if not, write to the Free Software
0019  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
0020  * 02110-1301 USA
0021  *
0022  */
0023 
0024 // This is not a normal header, *don't* add include guards to it.
0025 // This will cause the compiler to get wrong offsets and to corrupt the stack.
0026 
0027 // included by DocxXmlDocumentReader and PptxXmlSlideReader
0028 
0029 protected:
0030 void initInternal(); //!< should be called from ctor
0031 void doneInternal(); //!< should be called from dtor
0032 
0033 KoFilter::ConversionStatus read_t();
0034 
0035 QString m_relativeFromV; //!< used by read_positionV()
0036 QString m_relativeFromH; //!< used by read_positionH()
0037 QString m_alignV; //!< used by read_align()
0038 QString m_alignH; //!< used by read_align()
0039 int m_posOffsetV; //!< used by read_posOffset()
0040 bool m_hasPosOffsetV; //!< used by read_posOffset()
0041 int m_posOffsetH; //!< used by read_posOffset()
0042 bool m_hasPosOffsetH; //!< used by read_posOffset()
0043 
0044 QString m_docPrName; //!< set by read_docPr()
0045 QString m_docPrDescr; //!< set by read_docPr()
0046 
0047 //! @todo set it
0048 bool m_insideHdr; //!< used to indicate that we're parsing inside hdr (header)
0049 //! @todo set it
0050 bool m_insideFtr; //!< used to indicate that we're parsing inside ftr (footer)
0051 
0052 bool m_choiceAccepted; // Whether choice provided something we implement
0053 
0054 bool m_read_t_args;
0055 
0056 // 2010 specific, meant to offer choice between paths based on what is supported
0057 KoFilter::ConversionStatus read_AlternateContent();
0058 KoFilter::ConversionStatus read_Choice();
0059 KoFilter::ConversionStatus read_Fallback();
0060