/trunk/main/writerfilter/source/doctok/ |
H A D | DffImpl.cxx | 350 if (nOffset + 8 < getCount()) in get_blip() 352 WW8StructBase aTmp(this, nOffset, 0x8); in get_blip() 369 if (! (nOffset & 1 << 31) && nOffset > 0 && getDocument() != NULL) in get_blip() 372 nOffset, 0x8); in get_blip() 399 if (nOffset > 0 && getDocument() != NULL) 402 nOffset, 0x8); 483 sal_uInt32 nOffset = 0x8; in resolveNoAuto() local 486 while (nOffset + 6 <= nCount) in resolveNoAuto() 488 sal_uInt16 nPid = getU16(nOffset); in resolveNoAuto() 489 sal_uInt32 nValue = getU32(nOffset + 2); in resolveNoAuto() [all …]
|
H A D | WW8StyleSheet.cxx | 33 sal_uInt32 nOffset = get_size() + 2; in initPayload() local 36 entryOffsets.push_back(nOffset); in initPayload() 38 sal_uInt32 cbStd = getU16(nOffset); in initPayload() 39 nOffset += cbStd + 2; in initPayload() 42 entryOffsets.push_back(nOffset); in initPayload() 99 sal_uInt32 nOffset = pParentStyleSheet->get_cbSTDBaseInFile() + 2; in get_xstzName1() local 101 if (nOffset < getCount()) in get_xstzName1() 103 sal_uInt32 nCount = getU16(nOffset); in get_xstzName1() 107 Sequence aSeq(mSequence, nOffset + 2, nCount * 2); in get_xstzName1()
|
H A D | WW8PropertySetImpl.hxx | 49 WW8PropertyImpl(WW8Stream & rStream, sal_uInt32 nOffset, sal_uInt32 nCount); 50 WW8PropertyImpl(const WW8StructBase & rBase, sal_uInt32 nOffset, 53 WW8PropertyImpl(WW8StructBase * pBase, sal_uInt32 nOffset, 77 WW8PropertySetImpl(WW8Stream & rStream, sal_uInt32 nOffset, 80 WW8PropertySetImpl(const WW8StructBase & rBase, sal_uInt32 nOffset, 93 virtual WW8Property::Pointer_t getAttribute(sal_uInt32 nOffset) const; 119 sal_uInt32 nOffset) in WW8PropertySetIteratorImpl() argument 120 : mpAttrSet(pAttrSet), mnOffset(nOffset) in WW8PropertySetIteratorImpl()
|
/trunk/main/drawinglayer/source/primitive2d/ |
H A D | svggradientprimitive2d.cxx | 197 sal_Int32 nOffset) const in createRun() 355 sal_Int32 nOffset) const in createAtom() 379 aColorTo, rTo.getOffset() + nOffset)); in createAtom() 501 sal_Int32 nOffset(0); in create2DDecomposition() local 506 nOffset++; in create2DDecomposition() 531 nOffset = 1; in create2DDecomposition() 556 nOffset++; in create2DDecomposition() 639 sal_Int32 nOffset) const in createAtom() 649 const double fScaleTo(rTo.getOffset() + nOffset); in createAtom() 829 sal_Int32 nOffset(1); in create2DDecomposition() local [all …]
|
/trunk/main/sd/source/ui/slidesorter/view/ |
H A D | SlsInsertionIndicatorOverlay.cxx | 59 rBox.Left() - nOffset, in GrowRectangle() 60 rBox.Top() - nOffset, in GrowRectangle() 61 rBox.Right() + nOffset, in GrowRectangle() 62 rBox.Bottom() + nOffset); in GrowRectangle() 146 const sal_Int32 nOffset ( in Create() local 154 aPreviewSize.Width() + 2 * gnShadowBorder + nCount*nOffset, in Create() 155 aPreviewSize.Height() + 2 * gnShadowBorder + nCount*nOffset); in Create() 198 const sal_Int32 nOffset, in PaintRepresentatives() argument 214 aPageOffset = Point(0, nOffset); in PaintRepresentatives() 218 aPageOffset = Point(nOffset, 0); in PaintRepresentatives() [all …]
|
/trunk/main/sw/source/core/text/ |
H A D | frmcrsr.cxx | 87 if( nOffset < pFrmAtPos->GetOfst() && in GetAdjFrmAtPos() 90 xub_StrLen nNew = nOffset; in GetAdjFrmAtPos() 105 if( nOffset && bRightMargin ) in GetAdjFrmAtPos() 287 xub_StrLen nOffset = rPos.nContent.GetIndex(); in GetCharRect() local 310 pFrm->GetOfst() < nOffset && in GetCharRect() 387 xub_StrLen nOffset = rPos.nContent.GetIndex(); in GetAutoPos() local 479 if ( GetTxt().Len() < nOffset ) in GetTopOfLine() 522 aLine.CharCrsrToLine( nOffset ); in GetTopOfLine() 638 if( STRING_LEN != nOffset ) in _GetCrsrOfst() 642 pPos->nContent.Assign( pTxtNd, nOffset ); in _GetCrsrOfst() [all …]
|
H A D | porfld.cxx | 681 sal_uInt16 nOffset = 0; in Paint() local 737 if( nOffset < nMinDist ) in Paint() 738 nOffset = 0; in Paint() 745 nOffset /= 2; in Paint() 750 nOffset = nOffset - nMinDist; in Paint() 956 if( nOffset < nMinDist ) in Paint() 957 nOffset = 0; in Paint() 962 nOffset /= 2; in Paint() 963 if( nOffset < nMinDist ) in Paint() 967 nOffset = nOffset - nMinDist; in Paint() [all …]
|
/trunk/main/sw/source/core/fields/ |
H A D | flddat.cxx | 62 nOffset(0) in SwDateTimeField() 95 if (nOffset) in Expand() 112 pTmp->SetOffset(nOffset); in Copy() 141 nOffset = rStr.ToInt32(); in SetPar2() 150 if (nOffset) in GetPar2() 151 return String::CreateFromInt32(nOffset); in GetPar2() 202 if (bUseOffset && nOffset) in GetDate() 203 nVal += nOffset / 60 / 24; in GetDate() 221 aDT += Time(0, nOffset); in GetTime() 248 rVal <<= (sal_Int32)nOffset; in QueryValue() [all …]
|
/trunk/main/sal/textenc/ |
H A D | convertbig5hkscs.c | 103 sal_Int32 nOffset = pBig5Hkscs2001RowOffsets[nRow]; in ImplConvertBig5HkscsToUnicode() local 106 if (nOffset != -1) in ImplConvertBig5HkscsToUnicode() 108 sal_uInt32 nFirstLast = pBig5Hkscs2001Data[nOffset++]; in ImplConvertBig5HkscsToUnicode() 113 = pBig5Hkscs2001Data[nOffset + (nChar - nFirst)]; in ImplConvertBig5HkscsToUnicode() 193 nOffset += nLast - nFirst + 1; in ImplConvertBig5HkscsToUnicode() 194 nFirst = pBig5Hkscs2001Data[nOffset++]; in ImplConvertBig5HkscsToUnicode() 339 sal_Int32 nOffset = pBig5Hkscs2001PlaneOffsets[nChar >> 16]; in ImplConvertUnicodeToBig5Hkscs() local 340 if (nOffset != -1) in ImplConvertUnicodeToBig5Hkscs() 342 nOffset in ImplConvertUnicodeToBig5Hkscs() 345 if (nOffset != -1) in ImplConvertUnicodeToBig5Hkscs() [all …]
|
/trunk/main/sw/source/filter/ww8/ |
H A D | WW8Sttbf.cxx | 51 sal_uInt8 WW8Struct::getU8(sal_uInt32 nOffset) in getU8() argument 55 if (nOffset < mn_size) in getU8() 57 nResult = mp_data[mn_offset + nOffset]; in getU8() 63 ::rtl::OUString WW8Struct::getUString(sal_uInt32 nOffset, in getUString() argument 72 (&pNew, reinterpret_cast<const sal_Unicode *>(&mp_data[mn_offset + nOffset]), in getUString() 81 nOffset, nCount); in getUString() 91 ::rtl::OUString WW8Struct::getString(sal_uInt32 nOffset, in getString() argument 98 ::rtl::OString aOStr(reinterpret_cast<const sal_Char *>(&mp_data[mn_offset + nOffset]), in getString() 107 nOffset, nCount); in getString()
|
/trunk/main/vcl/source/gdi/ |
H A D | sallayout.cxx | 296 int nOffset; in GetLocalizedChar() local 303 nOffset = 0; in GetLocalizedChar() 337 nOffset = 0x17E0 - '0'; // khmer in GetLocalizedChar() 340 nOffset = 0x0ED0 - '0'; // lao in GetLocalizedChar() 355 nOffset = 0x0B66 - '0'; // oriya in GetLocalizedChar() 358 nOffset = 0x0BE7 - '0'; // tamil in GetLocalizedChar() 364 nOffset = 0x0E50 - '0'; // thai in GetLocalizedChar() 382 nChar += nOffset; in GetLocalizedChar() 1308 long nOffset = 0; in ApplyAsianKerning() local 1337 nOffset += nDelta; in ApplyAsianKerning() [all …]
|
/trunk/main/store/source/ |
H A D | storcach.hxx | 49 sal_uInt32 nOffset); 55 sal_uInt32 nOffset); 61 sal_uInt32 nOffset); 66 sal_uInt32 nOffset); 73 sal_uInt32 nOffset) = 0; 77 sal_uInt32 nOffset) = 0; 81 sal_uInt32 nOffset) = 0; 84 sal_uInt32 nOffset) = 0;
|
H A D | lockbyte.hxx | 70 sal_uInt32 nOffset); 78 sal_uInt32 nOffset); 87 sal_uInt32 nOffset, 98 sal_uInt32 nOffset, 128 sal_uInt32 nOffset) = 0; 132 sal_uInt32 nOffset) = 0; 135 sal_uInt32 nOffset, 140 sal_uInt32 nOffset,
|
/trunk/main/svx/source/stbctrls/ |
H A D | zoomsliderctrl.cxx | 92 sal_uInt16 SvxZoomSliderControl::Offset2Zoom( long nOffset ) const in Offset2Zoom() 97 if ( nOffset < nSliderXOffset ) in Offset2Zoom() 100 if ( nOffset > nControlWidth - nSliderXOffset ) in Offset2Zoom() 111 if ( Abs(nCurrent - nOffset) < nSnappingEpsilon ) in Offset2Zoom() 113 nOffset = nCurrent; in Offset2Zoom() 122 if ( nOffset < nControlWidth / 2 ) in Offset2Zoom() 128 const long nOffsetToSliderLeft = nOffset - nSliderXOffset; in Offset2Zoom() 137 const long nOffsetToSliderCenter = nOffset - nControlWidth/2; in Offset2Zoom() 163 const long nOffset = (nSliderPixelPerZoomPercent * nCurrentZoom) / 1000; in Zoom2Offset() local 164 nRet += nOffset; in Zoom2Offset() [all …]
|
/trunk/main/package/source/package/zipapi/ |
H A D | ZipFile.cxx | 501 xSeek->seek( rEntry.nOffset ); in hasValidPassword() 545 if ( rEntry.nOffset <= 0 ) in getInputStream() 576 if ( rEntry.nOffset <= 0 ) in getDataStream() 614 if ( rEntry.nOffset <= 0 ) in getRawData() 635 if ( rEntry.nOffset <= 0 ) in getWrappedRawStream() 648 sal_Int32 nPos = -rEntry.nOffset; in readLOC() 808 aMemGrabber >> aEntry.nOffset; in readCEN() 810 aEntry.nOffset += nLocPos; in readCEN() 811 aEntry.nOffset *= -1; in readCEN() 1041 aGrabber.seek( nOffset ); in getCRC() [all …]
|
/trunk/main/sd/source/ui/framework/configuration/ |
H A D | ResourceId.cxx | 534 sal_uInt32 nOffset = 0; in IsBoundToAnchor() local 538 while (nOffset < nCount) in IsBoundToAnchor() 540 if ( ! maResourceURLs[nLocalAnchorURLCount - nOffset].equals( in IsBoundToAnchor() 541 (*paAnchorURLs)[nCount - 1 - nOffset])) in IsBoundToAnchor() 545 ++nOffset; in IsBoundToAnchor() 550 if ( ! psFirstAnchorURL->equals(maResourceURLs[nLocalAnchorURLCount - nOffset])) in IsBoundToAnchor() 576 for (sal_uInt32 nOffset=0; nOffset<nAnchorURLCount; ++nOffset) in IsBoundToAnchor() local 578 if ( ! maResourceURLs[nLocalAnchorURLCount - nOffset].equals( in IsBoundToAnchor() 579 rAnchorURLs[nAnchorURLCount - 1 - nOffset])) in IsBoundToAnchor()
|
/trunk/main/sw/source/core/edit/ |
H A D | ednumber.cxx | 413 sal_Bool SwEditShell::MoveParagraph( long nOffset ) in MoveParagraph() argument 476 long nOffset = 0; in MoveNumParas() local 483 nOffset = aPos.nNode.GetIndex() - in MoveNumParas() 493 nOffset = nIdx - nStt; in MoveNumParas() 524 nOffset = 1; in MoveNumParas() 526 nOffset = nIdx - nStt; in MoveNumParas() 529 nOffset = 1; in MoveNumParas() 532 if( nOffset ) in MoveNumParas() 550 sal_Bool SwEditShell::OutlineUpDown( short nOffset ) in OutlineUpDown() argument 557 bRet = GetDoc()->OutlineUpDown( *pCrsr, nOffset ); in OutlineUpDown() [all …]
|
/trunk/main/sc/source/ui/cctrl/ |
H A D | tbzoomsliderctrl.cxx | 167 sal_uInt16 ScZoomSliderWnd::Offset2Zoom( long nOffset ) const in Offset2Zoom() 173 if( nOffset < nSliderXOffset ) in Offset2Zoom() 175 if( nOffset > nControlWidth - nSliderXOffset ) in Offset2Zoom() 186 if ( Abs(nCurrent - nOffset) < nSnappingEpsilon ) in Offset2Zoom() 188 nOffset = nCurrent; in Offset2Zoom() 197 if( nOffset < nControlWidth / 2 ) in Offset2Zoom() 203 const long nOffsetToSliderLeft = nOffset - nSliderXOffset; in Offset2Zoom() 212 const long nOffsetToSliderCenter = nOffset - nControlWidth/2; in Offset2Zoom() 240 const long nOffset = (nSliderPixelPerZoomPercent * nCurrentZoom) / 1000; in Zoom2Offset() local 241 nRect += nOffset; in Zoom2Offset() [all …]
|
/trunk/main/sc/source/filter/html/ |
H A D | htmlpars.cxx | 276 nOffset = (sal_uInt16)(*pOffset)[nPos]; in MakeCol() 278 pOffset->Insert( nOffset ); in MakeCol() 284 pOffset->Insert( nOffset + nWidth ); in MakeCol() 295 nOffset = (sal_uInt16)(*pOffset)[nPos]; in MakeColNoRef() 297 pOffset->Insert( nOffset ); in MakeColNoRef() 301 pOffset->Insert( nOffset + nWidth ); in MakeColNoRef() 511 if ( pE->nOffset < nOff2 ) in GetWidth() 512 return nOff2 - pE->nOffset; in GetWidth() 638 pE->nOffset = pOffsets[nCol]; in SetWidths() 693 pE->nOffset = nColOffset; in Colonize() [all …]
|
/trunk/main/sw/source/core/doc/ |
H A D | doccorr.cxx | 197 const xub_StrLen nOffset, in CorrAbs() argument 204 aNewPos.nContent += nOffset; in CorrAbs() 206 getIDocumentMarkAccess()->correctMarksAbsolute(rOldNode, rNewPos, nOffset); in CorrAbs() 274 const xub_StrLen nOffset ) in PaMCorrRel() argument 280 xub_StrLen nCntIdx = rNewPos.nContent.GetIndex() + nOffset; in PaMCorrRel() 324 const xub_StrLen nOffset, in CorrRel() argument 327 getIDocumentMarkAccess()->correctMarksRelative(rOldNode, rNewPos, nOffset); in CorrRel() 335 … lcl_PaMCorrRel1( rTbl[ n ], &rOldNode.GetNode(), aNewPos, aNewPos.nContent.GetIndex() + nOffset ); in CorrRel() 340 ::PaMCorrRel(rOldNode, rNewPos, nOffset); in CorrRel()
|
H A D | docnum.cxx | 288 if (nOffset < 0) in OutlineUpDown() 291 nNum = -nOffset; in OutlineUpDown() 296 nNum = nOffset; in OutlineUpDown() 483 if( nOffset >= 0 ) in MoveOutlinePara() 520 if( nOffset < 0 && nAktPos < sal_uInt16(-nOffset) ) in MoveOutlinePara() 537 if( nOffset < 0 ) in MoveOutlinePara() 546 if( nOffset >= 0 ) in MoveOutlinePara() 1959 long nOffs = nOffset; in MoveParagraph() 1960 if( nOffset > 0 ) in MoveParagraph() 1963 nEndIdx += nOffset; in MoveParagraph() [all …]
|
/trunk/main/ooxml/source/framework/OOXMLViewer/src/org/apache/openoffice/ooxml/viewer/tokenview/ |
H A D | LineContainer.java | 80 public Line<TokenType> GetLineForOffset (final int nOffset) in GetLineForOffset() argument 82 final int nLineIndex = GetLineIndexForOffset(nOffset, 0); in GetLineForOffset() 152 final int nOffset, in GetLineIndexForOffset() argument 160 if (maLines.get(nMedIndex).GetEndOffset() <= nOffset) in GetLineIndexForOffset() 167 if (maLines.get(nIndex).ContainsOffset(nOffset)) in GetLineIndexForOffset() 174 if (maLines.get(nIndex).GetStartOffset() > nOffset) in GetLineIndexForOffset() 182 if (maLines.get(nIndex).GetEndOffset() < nOffset) in GetLineIndexForOffset()
|
/trunk/main/connectivity/source/drivers/flat/ |
H A D | ETable.cxx | 816 if(nOffset > 0) in seekRow() 818 for(sal_Int32 i = 0;i<nOffset;++i) in seekRow() 821 else if(nOffset < 0) in seekRow() 823 for(sal_Int32 i = nOffset;i;++i) in seekRow() 829 if(nOffset < 0) in seekRow() 830 nOffset = m_nRowPos + nOffset; in seekRow() 841 else if(m_nMaxRowCount && nOffset > m_nMaxRowCount) // offset is outside the table in seekRow() 848 aIter = m_aRowPosToFilePos.upper_bound(nOffset); in seekRow() 854 while(m_nRowPos != nOffset) in seekRow() 883 m_nFilePos = nOffset; in seekRow() [all …]
|
/trunk/main/sw/source/core/bastyp/ |
H A D | bparr.cxx | 308 ++( *--pTo = *--pFrom )->nOffset; in Insert() 337 pLast->nOffset = 0; in Insert() 356 ++( *--pTo = *--pFrom )->nOffset; in Insert() 359 ((ElementPtr&)rElem)->nOffset = sal_uInt16(pos); in Insert() 396 (*pTo)->nOffset = (*pTo)->nOffset - nel; in Remove() 464 ((ElementPtr&)rElem)->nOffset = sal_uInt16(idx - p->nStart); in Replace() 518 (*pElem)->nOffset = nOff++; in Compress() 540 (*pElem)->nOffset = (*pElem)->nOffset - n; in Compress()
|
/trunk/main/sw/source/core/undo/ |
H A D | unnum.cxx | 254 nNewStt( 0 ), nOffset( nOff ) in SwUndoMoveNum() 278 rContext.GetDoc().MoveParagraph( rPam, -nOffset, in UndoImpl() 291 rContext.GetDoc().MoveParagraph(rPam, nOffset, UNDO_OUTLINE_UD == GetId()); in RedoImpl() 300 0 < nOffset ? 1 : -1 ); in RepeatImpl() 304 rDoc.MoveParagraph(rContext.GetRepeatPaM(), nOffset, sal_False); in RepeatImpl() 313 nOffset( nOff ) in SwUndoNumUpDown() 322 rContext.GetDoc().NumUpDown(rPam, 1 != nOffset ); in UndoImpl() 328 rContext.GetDoc().NumUpDown(rPam, 1 == nOffset); in RedoImpl() 333 rContext.GetDoc().NumUpDown(rContext.GetRepeatPaM(), 1 == nOffset); in RepeatImpl()
|