Lines 117-122
Link Here
|
117 |
#include <osl/time.h> |
117 |
#include <osl/time.h> |
118 |
#include <rtl/random.h> |
118 |
#include <rtl/random.h> |
119 |
#include "WW8Sttbf.hxx" |
119 |
#include "WW8Sttbf.hxx" |
|
|
120 |
#include <editeng/charrotateitem.hxx> |
120 |
#include "WW8FibData.hxx" |
121 |
#include "WW8FibData.hxx" |
121 |
|
122 |
|
122 |
using namespace sw::util; |
123 |
using namespace sw::util; |
Lines 1930-1936
Link Here
|
1930 |
} |
1931 |
} |
1931 |
} |
1932 |
} |
1932 |
|
1933 |
|
1933 |
static sal_uInt16 lcl_TCFlags(const SwTableBox * pBox, long nRowSpan) |
1934 |
static sal_uInt16 lcl_TCFlags(SwDoc &rDoc, const SwTableBox * pBox, long nRowSpan) |
1934 |
{ |
1935 |
{ |
1935 |
sal_uInt16 nFlags = 0; |
1936 |
sal_uInt16 nFlags = 0; |
1936 |
|
1937 |
|
Lines 1953-1958
Link Here
|
1953 |
default: |
1954 |
default: |
1954 |
break; |
1955 |
break; |
1955 |
} |
1956 |
} |
|
|
1957 |
const SwStartNode * pSttNd = pBox->GetSttNd(); |
1958 |
if(pSttNd) |
1959 |
{ |
1960 |
SwNodeIndex aIdx( *pSttNd ); |
1961 |
const SwCntntNode * pCNd = pSttNd->GetNodes().GoNext( &aIdx ); |
1962 |
if( pCNd && pCNd->IsTxtNode()) |
1963 |
{ |
1964 |
SfxItemSet aCoreSet(rDoc.GetAttrPool(), RES_CHRATR_ROTATE, RES_CHRATR_ROTATE); |
1965 |
((SwTxtNode*)pCNd)->GetAttr( aCoreSet, 0, ((SwTxtNode*)pCNd)->GetTxt().Len()); |
1966 |
const SvxCharRotateItem * pRotate = NULL; |
1967 |
const SfxPoolItem * pRotItem; |
1968 |
if ( SFX_ITEM_SET == aCoreSet.GetItemState(RES_CHRATR_ROTATE, sal_True, &pRotItem)) |
1969 |
{ |
1970 |
pRotate = (SvxCharRotateItem*)pRotItem; |
1971 |
if(pRotate && pRotate->GetValue() == 900) |
1972 |
{ |
1973 |
nFlags = nFlags | 0x0004 | 0x0008; |
1974 |
} |
1975 |
else if(pRotate && pRotate->GetValue() == 2700 ) |
1976 |
{ |
1977 |
nFlags = nFlags | 0x0004 | 0x0010; |
1978 |
} |
1979 |
} |
1980 |
} |
1981 |
} |
1956 |
} |
1982 |
} |
1957 |
|
1983 |
|
1958 |
return nFlags; |
1984 |
return nFlags; |
Lines 2248-2254
Link Here
|
2248 |
if ( m_rWW8Export.bWrtWW8 ) |
2274 |
if ( m_rWW8Export.bWrtWW8 ) |
2249 |
{ |
2275 |
{ |
2250 |
sal_uInt16 nFlags = |
2276 |
sal_uInt16 nFlags = |
2251 |
lcl_TCFlags(pTabBox1, *aItRowSpans); |
2277 |
lcl_TCFlags(*m_rWW8Export.pDoc, pTabBox1, *aItRowSpans); |
2252 |
m_rWW8Export.InsUInt16( nFlags ); |
2278 |
m_rWW8Export.InsUInt16( nFlags ); |
2253 |
} |
2279 |
} |
2254 |
|
2280 |
|