~ubuntu-branches/ubuntu/trusty/libwpd/trusty

« back to all changes in this revision

Viewing changes to src/lib/WP3StylesListener.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Rene Engelhard
  • Date: 2006-10-24 12:14:42 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20061024121442-z8c0itk65vgwmu3g
Tags: 0.8.7-4
update debian/copyright, mmh... 

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
        WPXStylesListener(pageList),
36
36
        m_pageListHardPageMark(m_pageList.end()),
37
37
        m_currentPage(WPXPageSpan()),
 
38
        m_currentTable(NULL),
38
39
        m_tableList(tableList), 
39
40
        m_tempMarginLeft(1.0f),
40
41
        m_tempMarginRight(1.0f),
159
160
                }
160
161
                
161
162
        }
162
 
 
163
163
}
164
164
 
165
165
void WP3StylesListener::pageFormChange(const uint16_t length, const uint16_t width, const WPXFormOrientation orientation, const bool isPersistent)
245
245
 
246
246
void WP3StylesListener::insertRow()
247
247
{
248
 
        if (!isUndoOn() && m_currentTable != NULL) 
 
248
        if (!isUndoOn()) 
249
249
        {
250
250
                m_currentPageHasContent = true;
251
251
                m_currentTable->insertRow();
254
254
 
255
255
void WP3StylesListener::insertCell()
256
256
{
257
 
        if (!isUndoOn() && m_currentTable != NULL)
 
257
        if (!isUndoOn())
258
258
        {
259
259
                m_currentPageHasContent = true;
260
260
#if 0