flywire / lo-p Goto Github PK
View Code? Open in Web Editor NEWLibreOffice Programming
LibreOffice Programming
Chapter 05 figure 4 is duplicated.
Inside the loop, XLineCursor's gotoStartOfLine() and gotoEndOfLine() highlight a single line. Then the XTextViewCursor instance deselects the line, by moving the cursor to the end of the selection with collapseToEnd(). At the end of the loop, goRight() tries to move the cursor one character to the right. If goRight() succeeds then the cursor is shifted one position to the first character of the next line. When the loop repeats, this line will be selected. If doRight() goRight() fails, then there are no more characters to be read from the document, and the loop finishes.
Source: Text API Overiew Section 6
FreeTTS (https://freetts.sourceforge.net/): Dead Link
Use:
sed '/^^```/{ s/^^/=== "Title"\n /; :a; n; s/^^/ /; /^^ ```$/b; ba; }' file.md
It's probably better to search the online documentation for properties. Cell styles are managed by the TableCellStyle service (see Figure 22 Figure 2) and page styles by the TablePageStyle service (Figure 23 Figure 3). Use lodoc TableCellStyle and lodoc TablePageStyle to access the online information.
Line: XViewSplitable viewSplit = Lo.qi(XViewSplitable.class, xController);
error.
XController controller = Calc.getController(doc);
XViewSplitable viewSplit = Lo.qi(XViewSplitable.class, xController controller);
The description of https://bugs.documentfoundation.org/show_bug.cgi?id=152972#c0 “Javamaker fails with "unknown entity"” made me aware of the issue described at https://flywire.github.io/lo-p/47-Calc_Add-ins.html#24-problems-with-office-types, for which the fix should be to reference both the URE types.rdb
and the LibreOffice offapi.rdb
: In a LibreOffice 7.4 SDK environment on Linux, with the sample file from that section as test.idl
,
$ idlc -I"$OO_SDK_HOME/idl" test.idl
Compiling: test.idl
$ regmerge test.rdb /UCR test.urd
$ javamaker -X"$OFFICE_PROGRAM_PATH/types.rdb" -X"$OFFICE_PROGRAM_PATH/types/offapi.rdb" test.rdb
successfully generates org/openoffice/doubler/XDoubler.class
.
The PDF created with Pandoc/LaTeX is nice looking. Currently not all the .md files can be converted to PDF using Pandoc. In order to be able to create PDF from all the .md files, some changes are needed. I've created a pull request #3 to fix this issue.
There is no XTextWordCursor interface.
Should read:
This uses the same kind of do-while loop as showParagraphs() except that the XTextWordCursor XWordCursor methods gotoEndOfWord() and gotoNextWord() control the iteration. Also, there's no need for an XTextViewCursor instance since the selected words aren't shown on the screen.
The section:
Write.getTextDoc() uses Lo.qi() to cast the document's XComponent interface into an XTextDocument:
Should be followed by:
XTextDocument textDoc = Lo.qi(XTextDocument.class, doc);
In second paragraph
The best that can be done is to execute two searches over the grid of animal names. The first looks only for the search string so it can highlight the matching cells. The second search calls XReplaceabl.replaceAll() XReplaceable.replaceAll() to make the changes.
The format is intended to be MarkDown.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.